-
#2034 Update generated code for beta
This release changes the pinned API version to2025-04-30.preview
.- Add support for
BillingMode
onCheckoutSessionSubscriptionDataParams
,InvoiceCreatePreviewScheduleDetailsParams
,InvoiceCreatePreviewSubscriptionDetailsParams
,QuotePreviewSubscriptionSchedule
,QuoteSubscriptionDataParams
,QuoteSubscriptionData
,SubscriptionParams
,SubscriptionScheduleParams
,SubscriptionSchedule
, andSubscription
- Add support for new values
aw_tin
,az_tin
,bd_bin
,bf_ifu
,bj_ifu
,cm_niu
,cv_nif
,et_tin
,kg_tin
, andla_tin
on enumsCheckoutSessionCollectedInformationTaxIds.Type
,OrderTaxDetailsTaxId.Type
, andQuotePreviewInvoiceCustomerTaxIds.Type
- Add support for
AccountNumber
onConfirmationTokenPaymentMethodPreviewAcssDebit
andPaymentMethodAcssDebit
- Add support for new value
balance_settings.updated
on enumEvent.Type
- Add support for
-
#2054 Unexport GetBaseEvent and V2ErrorCode
- ⚠️ Unexported
GetBaseEvent
-->getBaseEvent
. This function should not be called. Instead, type-cast theV2Event
to a concrete Event struct. - ⚠️ Removed the
V2ErrorCode
type. Error codes should not be handled programmatically for V2 errors.
- ⚠️ Unexported