This release changes the pinned API version to 2026-04-22.dahlia.
- #1842 Update generated code
- Add support for
balance_reportandpayout_reconciliation_reportonAccountSession::ComponentandAccountSessionCreateParams::Component - Add support for
app_distributionandsunbit_paymentsonAccount::Capability,AccountCreateParams::Capability, andAccountUpdateParams::Capability - Add support for
sunbitonCharge::PaymentMethodDetail,ConfirmationToken::PaymentMethodPreview,ConfirmationTokenCreateParams::PaymentMethodDatum,PaymentAttemptRecord::PaymentMethodDetail,PaymentIntentConfirmParams::PaymentMethodDatum,PaymentIntentCreateParams::PaymentMethodDatum,PaymentIntentUpdateParams::PaymentMethodDatum,PaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams,PaymentMethodConfiguration,PaymentMethodCreateParams,PaymentMethod,PaymentRecord::PaymentMethodDetail,SetupIntentConfirmParams::PaymentMethodDatum,SetupIntentCreateParams::PaymentMethodDatum, andSetupIntentUpdateParams::PaymentMethodDatum - Add support for
locationandreaderonCharge::PaymentMethodDetail::Klarna,PaymentAttemptRecord::PaymentMethodDetail::Klarna, andPaymentRecord::PaymentMethodDetail::Klarna - Add support for
mandateonCharge::PaymentMethodDetail::Pix,PaymentAttemptRecord::PaymentMethodDetail::Pix, andPaymentRecord::PaymentMethodDetail::Pix - Add support for
managed_paymentsonCheckout::SessionCreateParams,Checkout::Session,PaymentIntent,PaymentLinkCreateParams,PaymentLink,SetupIntent, andSubscription - Add support for
mandate_optionsonCheckout::Session::PaymentMethodOption::Pix,Checkout::SessionCreateParams::PaymentMethodOption::Pix,PaymentIntent::PaymentMethodOption::Pix,PaymentIntentConfirmParams::PaymentMethodOption::Pix,PaymentIntentCreateParams::PaymentMethodOption::Pix, andPaymentIntentUpdateParams::PaymentMethodOption::Pix - Change type of
Checkout::SessionCreateParams::PaymentMethodOption::Pix.setup_future_usage,PaymentIntentConfirmParams::PaymentMethodOption::Pix.setup_future_usage,PaymentIntentCreateParams::PaymentMethodOption::Pix.setup_future_usage, andPaymentIntentUpdateParams::PaymentMethodOption::Pix.setup_future_usagefromliteral('none')toenum('none'|'off_session') - ⚠️ Change type of
Checkout::Session::PaymentMethodOption::Pix.setup_future_usageandPaymentIntent::PaymentMethodOption::Pix.setup_future_usagefromliteral('none')toenum('none'|'off_session') - Add support for
pixonInvoice::PaymentSetting::PaymentMethodOption,InvoiceCreateParams::PaymentSetting::PaymentMethodOption,InvoiceUpdateParams::PaymentSetting::PaymentMethodOption,Mandate::PaymentMethodDetail,SetupAttempt::PaymentMethodDetail,SetupIntent::PaymentMethodOption,SetupIntentConfirmParams::PaymentMethodOption,SetupIntentCreateParams::PaymentMethodOption,SetupIntentUpdateParams::PaymentMethodOption,Subscription::PaymentSetting::PaymentMethodOption,SubscriptionCreateParams::PaymentSetting::PaymentMethodOption, andSubscriptionUpdateParams::PaymentSetting::PaymentMethodOption - Add support for
upionInvoice::PaymentSetting::PaymentMethodOption,InvoiceCreateParams::PaymentSetting::PaymentMethodOption,InvoiceUpdateParams::PaymentSetting::PaymentMethodOption,Subscription::PaymentSetting::PaymentMethodOption,SubscriptionCreateParams::PaymentSetting::PaymentMethodOption, andSubscriptionUpdateParams::PaymentSetting::PaymentMethodOption - Add support for
card_presenceonIssuing::Authorization - Add support for
allowed_card_presencesandblocked_card_presencesonIssuing::Card::SpendingControl,Issuing::CardCreateParams::SpendingControl,Issuing::CardUpdateParams::SpendingControl,Issuing::Cardholder::SpendingControl,Issuing::CardholderCreateParams::SpendingControl, andIssuing::CardholderUpdateParams::SpendingControl - Add support for
amountandcurrencyonMandate::MultiUse - Add support for
amount_to_confirmonPaymentIntentConfirmParams - Add support for
klarna_display_qr_codeonPaymentIntent::NextAction - Add support for
motoonSetupAttempt::PaymentMethodDetail::Card - Add support for
pix_display_qr_codeonSetupIntent::NextAction
- Add support for
- #1846 Fix 2D array parameter encoding
- Fixes an issue encoding two-dimensional array request params where the SDK incorrectly flattens the array.
- #1841 Replace other require cgi with require cgi/escape