This release changes the pinned API version to 2026-04-22.dahlia.
- #2056 Update generated code
- Add support for
balance_reportandpayout_reconciliation_reportonAccountSession.componentsandAccountSession.create().$params.component - Add support for
app_distributionandsunbit_paymentsonAccount.capabilities,Account.create().$params.capability, andAccount.update().$params.capability - Add support for new values
fee_credit_funding,inbound_transfer_reversal, andinbound_transferon enumBalanceTransaction.type - Add support for
sunbitonCharge.payment_method_details,ConfirmationToken.create().$params.payment_method_datum,ConfirmationToken.payment_method_preview,PaymentAttemptRecord.payment_method_details,PaymentIntent.confirm().$params.payment_method_datum,PaymentIntent.create().$params.payment_method_datum,PaymentIntent.update().$params.payment_method_datum,PaymentMethod.create().$params,PaymentMethodConfiguration.create().$params,PaymentMethodConfiguration.update().$params,PaymentMethodConfiguration,PaymentMethod,PaymentRecord.payment_method_details,SetupIntent.confirm().$params.payment_method_datum,SetupIntent.create().$params.payment_method_datum, andSetupIntent.update().$params.payment_method_datum - Add support for new values
phantom_cashandusdton enumsCharge.payment_method_details.crypto.token_currency,PaymentAttemptRecord.payment_method_details.crypto.token_currency, andPaymentRecord.payment_method_details.crypto.token_currency - Add support for
locationandreaderonCharge.payment_method_details.klarna,PaymentAttemptRecord.payment_method_details.klarna, andPaymentRecord.payment_method_details.klarna - Add support for
mandateonCharge.payment_method_details.pix,PaymentAttemptRecord.payment_method_details.pix, andPaymentRecord.payment_method_details.pix - Add support for
managed_paymentsonCheckout.Session,Checkout\Session.create().$params,PaymentIntent,PaymentLink.create().$params,PaymentLink,SetupIntent, andSubscription - Add support for
mandate_optionsonCheckout.Session.payment_method_options.pix,Checkout\Session.create().$params.payment_method_option.pix,PaymentIntent.confirm().$params.payment_method_option.pix,PaymentIntent.create().$params.payment_method_option.pix,PaymentIntent.payment_method_options.pix, andPaymentIntent.update().$params.payment_method_option.pix - Change type of
Checkout\Session.create().$params.payment_method_option.pix.setup_future_usage,PaymentIntent.confirm().$params.payment_method_option.pix.setup_future_usage,PaymentIntent.create().$params.payment_method_option.pix.setup_future_usage, andPaymentIntent.update().$params.payment_method_option.pix.setup_future_usagefromliteral('none')toenum('none'|'off_session') - Add support for new values
fo_vat,gi_tin,it_cf, andpy_rucon enumsCheckout.Session.customer_details.tax_ids[].type,Invoice.customer_tax_ids[].type,Tax.Calculation.customer_details.tax_ids[].type,Tax.Transaction.customer_details.tax_ids[].type, andTaxId.type - ⚠️ Change type of
Checkout.Session.payment_method_options.pix.setup_future_usageandPaymentIntent.payment_method_options.pix.setup_future_usagefromliteral('none')toenum('none'|'off_session') - Add support for new value
sunbiton enumsConfirmationToken.payment_method_preview.typeandPaymentMethod.type - Add support for
pixonInvoice.create().$params.payment_setting.payment_method_option,Invoice.payment_settings.payment_method_options,Invoice.update().$params.payment_setting.payment_method_option,Mandate.payment_method_details,SetupAttempt.payment_method_details,SetupIntent.confirm().$params.payment_method_option,SetupIntent.create().$params.payment_method_option,SetupIntent.payment_method_options,SetupIntent.update().$params.payment_method_option,Subscription.create().$params.payment_setting.payment_method_option,Subscription.payment_settings.payment_method_options, andSubscription.update().$params.payment_setting.payment_method_option - Add support for
upionInvoice.create().$params.payment_setting.payment_method_option,Invoice.payment_settings.payment_method_options,Invoice.update().$params.payment_setting.payment_method_option,Subscription.create().$params.payment_setting.payment_method_option,Subscription.payment_settings.payment_method_options, andSubscription.update().$params.payment_setting.payment_method_option - Add support for new values
pixandupion enumsInvoice.payment_settings.payment_method_typesandSubscription.payment_settings.payment_method_types - Add support for
card_presenceonIssuing.Authorization - Add support for
allowed_card_presencesandblocked_card_presencesonIssuing.Card.spending_controls,Issuing.Cardholder.spending_controls,Issuing\Card.create().$params.spending_control,Issuing\Card.update().$params.spending_control,Issuing\Cardholder.create().$params.spending_control, andIssuing\Cardholder.update().$params.spending_control - Add support for new value
fulfillment_erroron enumIssuing.Card.cancellation_reason - Add support for new value
fulfillment_erroron enumIssuing.Card.replacement_reason - Add support for
amountandcurrencyonMandate.multi_use - Add support for
amount_to_confirmonPaymentIntent.confirm().$params - Add support for new value
sunbiton enumsPaymentIntent.excluded_payment_method_typesandSetupIntent.excluded_payment_method_types - Add support for
klarna_display_qr_codeonPaymentIntent.next_action - Add support for new value
sunbiton enumPaymentLink.payment_method_types - Add support for new values
low,not_assessed, andunknownon enumRadar.PaymentEvaluation.signals.fraudulent_payment.risk_level - Add support for new value
accounton enumRadar.ValueList.item_type - Add support for
motoonSetupAttempt.payment_method_details.card - Add support for
pix_display_qr_codeonSetupIntent.next_action - Add support for error codes
action_blockedandapproval_requiredonInvoice.last_finalization_error,PaymentIntent.last_payment_error,SetupAttempt.setup_error,SetupIntent.last_setup_error, andStripeError
- Add support for
- #2052 Fix 2D array parameter encoding
- Fixes an issue encoding two-dimensional array request params where the SDK incorrectly flattens the array.