# Adds support for Sunbit, a buy now, pay later payment method ## What’s new Adds support for [Sunbit](https://docs.stripe.com/payments/sunbit.md), a buy now, pay later (BNPL) payment method. Sunbit is a synchronous redirect-based payment method that allows customers to pay in 3, 6, 12, or 18 monthly installments. Sunbit is supported when using [PaymentIntents](https://docs.stripe.com/api/payment_intents.md?api-version=2026-04-22.dahlia), [Charges](https://docs.stripe.com/api/charges.md?api-version=2026-04-22.dahlia), [Checkout Sessions](https://docs.stripe.com/api/checkout/sessions.md?api-version=2026-04-22.dahlia) and [Payment Links](https://docs.stripe.com/api/payment-link.md?api-version=2026-04-22.dahlia). US connected accounts can also now accept Sunbit payments. To start accepting Sunbit payments, see [Sunbit payment method](https://docs.stripe.com/payments/sunbit/accept-a-payment.md). ## Impact You can now offer US customers an installment payment option through Sunbit, which can help increase conversion rates by providing flexible payment terms. Sunbit is a single-use payment method, so customers need to go through the authorization flow for each transaction. ## Changes #### REST API | Parameters | Change | Resources or endpoints | | ----------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `sunbit_payments` | Added | [Account#create.capabilities](/api/accounts/create?api-version=2026-04-22.dahlia#create_account-capabilities), [Account#update.capabilities](/api/accounts/update?api-version=2026-04-22.dahlia#update_account-capabilities), [Account.capabilities](/api/accounts/object?api-version=2026-04-22.dahlia#account_object-capabilities) | | `sunbit` | Added | [Charge.payment_method_details](/api/charges/object?api-version=2026-04-22.dahlia#charge_object-payment_method_details), [ConfirmationToken.payment_method_preview](/api/confirmation_tokens/object?api-version=2026-04-22.dahlia#confirmation_token_object-payment_method_preview), [ConfirmationToken.testHelpers#create.payment_method_data](/api/confirmation_tokens/test_create?api-version=2026-04-22.dahlia#test_create-payment_method_data), [PaymentAttemptRecord.payment_method_details](/api/payment-attempt-record/object?api-version=2026-04-22.dahlia#payment_attempt_record_object-payment_method_details), [PaymentIntent#confirm.payment_method_data](/api/payment_intents/confirm?api-version=2026-04-22.dahlia#confirm_payment_intent-payment_method_data), [PaymentIntent#create.payment_method_data](/api/payment_intents/create?api-version=2026-04-22.dahlia#create_payment_intent-payment_method_data), [PaymentIntent#update.payment_method_data](/api/payment_intents/update?api-version=2026-04-22.dahlia#update_payment_intent-payment_method_data), [PaymentMethod](/api/payment_methods/object?api-version=2026-04-22.dahlia#payment_method_object), [PaymentMethod#create](/api/payment_methods/create?api-version=2026-04-22.dahlia#create_payment_method), [PaymentMethodConfiguration](/api/payment_method_configurations/object?api-version=2026-04-22.dahlia#payment_method_configuration_object), [PaymentMethodConfiguration#create](/api/payment_method_configurations/create?api-version=2026-04-22.dahlia#create_payment_method_configurations), [PaymentMethodConfiguration#update](/api/payment_method_configurations/update?api-version=2026-04-22.dahlia#update_payment_method_configurations), [PaymentRecord.payment_method_details](/api/payment-record/object?api-version=2026-04-22.dahlia#payment_record_object-payment_method_details), [SetupIntent#confirm.payment_method_data](/api/setup_intents/confirm?api-version=2026-04-22.dahlia#confirm_setup_intent-payment_method_data), [SetupIntent#create.payment_method_data](/api/setup_intents/create?api-version=2026-04-22.dahlia#create_setup_intent-payment_method_data), [SetupIntent#update.payment_method_data](/api/setup_intents/update?api-version=2026-04-22.dahlia#update_setup_intent-payment_method_data) | | Value | Change | Enums | | -------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `sunbit` | Added | [PaymentIntent#create](/api/payment_intents/create?api-version=2026-04-22.dahlia#create_payment_intent-excluded_payment_method_types), [PaymentIntent#update](/api/payment_intents/update?api-version=2026-04-22.dahlia#update_payment_intent-excluded_payment_method_types), [PaymentIntent#confirm](/api/payment_intents/confirm?api-version=2026-04-22.dahlia#confirm_payment_intent-excluded_payment_method_types), [PaymentIntent](/api/payment_intents/object?api-version=2026-04-22.dahlia#payment_intent_object-excluded_payment_method_types), [SetupIntent#create](/api/setup_intents/create?api-version=2026-04-22.dahlia#create_setup_intent-excluded_payment_method_types), [SetupIntent#update](/api/setup_intents/update?api-version=2026-04-22.dahlia#update_setup_intent-excluded_payment_method_types), [SetupIntent](/api/setup_intents/object?api-version=2026-04-22.dahlia#setup_intent_object-excluded_payment_method_types), [ConfirmationToken.testHelpers#create.payment_method_data](/api/confirmation_tokens/test_create?api-version=2026-04-22.dahlia#test_create-payment_method_data-type), [PaymentIntent#create.payment_method_data](/api/payment_intents/create?api-version=2026-04-22.dahlia#create_payment_intent-payment_method_data-type), [PaymentIntent#update.payment_method_data](/api/payment_intents/update?api-version=2026-04-22.dahlia#update_payment_intent-payment_method_data-type), [PaymentIntent#confirm.payment_method_data](/api/payment_intents/confirm?api-version=2026-04-22.dahlia#confirm_payment_intent-payment_method_data-type), [SetupIntent#create.payment_method_data](/api/setup_intents/create?api-version=2026-04-22.dahlia#create_setup_intent-payment_method_data-type), [SetupIntent#update.payment_method_data](/api/setup_intents/update?api-version=2026-04-22.dahlia#update_setup_intent-payment_method_data-type), [SetupIntent#confirm.payment_method_data](/api/setup_intents/confirm?api-version=2026-04-22.dahlia#confirm_setup_intent-payment_method_data-type), [ConfirmationToken.payment_method_preview](/api/confirmation_tokens/object?api-version=2026-04-22.dahlia#confirmation_token_object-payment_method_preview-type), [PaymentMethod](/api/payment_methods/object?api-version=2026-04-22.dahlia#payment_method_object-type), [Customer#list_payment_methods](/api/payment_methods/customer_list?api-version=2026-04-22.dahlia#list_customer_payment_methods-type), [PaymentMethod#list](/api/payment_methods/list?api-version=2026-04-22.dahlia#list_payment_methods-type), [PaymentMethod#create](/api/payment_methods/create?api-version=2026-04-22.dahlia#create_payment_method-type), [Checkout.Session#create](/api/checkout/sessions/create?api-version=2026-04-22.dahlia#create_checkout_session-payment_method_types), [PaymentLink#create](/api/payment-link/create?api-version=2026-04-22.dahlia#create_payment_link-payment_method_types), [PaymentLink#update](/api/payment-link/update?api-version=2026-04-22.dahlia#update_payment_link-payment_method_types), [PaymentLink](/api/payment-link/object?api-version=2026-04-22.dahlia#payment_link_object-payment_method_types) | #### Ruby | Parameters | Change | Resources or methods | | ----------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `sunbit_payments` | Added | [Account::Capability](/api/accounts/object?api-version=2026-04-22.dahlia#account_object-capabilities), [AccountCreateParams::Capability](/api/accounts/create?api-version=2026-04-22.dahlia#create_account-capabilities), [AccountUpdateParams::Capability](/api/accounts/update?api-version=2026-04-22.dahlia#update_account-capabilities) | | `sunbit` | Added | [Charge::PaymentMethodDetail](/api/charges/object?api-version=2026-04-22.dahlia#charge_object-payment_method_details), [ConfirmationToken::PaymentMethodPreview](/api/confirmation_tokens/object?api-version=2026-04-22.dahlia#confirmation_token_object-payment_method_preview), [ConfirmationTokenCreateParams::PaymentMethodDatum](/api/confirmation_tokens/test_create?api-version=2026-04-22.dahlia#test_create-payment_method_data), [PaymentAttemptRecord::PaymentMethodDetail](/api/payment-attempt-record/object?api-version=2026-04-22.dahlia#payment_attempt_record_object-payment_method_details), [PaymentIntentConfirmParams::PaymentMethodDatum](/api/payment_intents/confirm?api-version=2026-04-22.dahlia#confirm_payment_intent-payment_method_data), [PaymentIntentCreateParams::PaymentMethodDatum](/api/payment_intents/create?api-version=2026-04-22.dahlia#create_payment_intent-payment_method_data), [PaymentIntentUpdateParams::PaymentMethodDatum](/api/payment_intents/update?api-version=2026-04-22.dahlia#update_payment_intent-payment_method_data), [PaymentMethod](/api/payment_methods/object?api-version=2026-04-22.dahlia#payment_method_object), [PaymentMethodConfiguration](/api/payment_method_configurations/object?api-version=2026-04-22.dahlia#payment_method_configuration_object), [PaymentMethodConfigurationCreateParams](/api/payment_method_configurations/create?api-version=2026-04-22.dahlia#create_payment_method_configurations), [PaymentMethodConfigurationUpdateParams](/api/payment_method_configurations/update?api-version=2026-04-22.dahlia#update_payment_method_configurations), [PaymentMethodCreateParams](/api/payment_methods/create?api-version=2026-04-22.dahlia#create_payment_method), [PaymentRecord::PaymentMethodDetail](/api/payment-record/object?api-version=2026-04-22.dahlia#payment_record_object-payment_method_details), [SetupIntentConfirmParams::PaymentMethodDatum](/api/setup_intents/confirm?api-version=2026-04-22.dahlia#confirm_setup_intent-payment_method_data), [SetupIntentCreateParams::PaymentMethodDatum](/api/setup_intents/create?api-version=2026-04-22.dahlia#create_setup_intent-payment_method_data), [SetupIntentUpdateParams::PaymentMethodDatum](/api/setup_intents/update?api-version=2026-04-22.dahlia#update_setup_intent-payment_method_data) | #### Python | Parameters | Change | Resources or methods | | ----------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `sunbit_payments` | Added | [Account.Capability](/api/accounts/object?api-version=2026-04-22.dahlia#account_object-capabilities), [AccountCreateParamsCapability](/api/accounts/create?api-version=2026-04-22.dahlia#create_account-capabilities), [AccountModifyParamsCapability](/api/accounts/update?api-version=2026-04-22.dahlia#update_account-capabilities) | | `sunbit` | Added | [Charge.PaymentMethodDetail](/api/charges/object?api-version=2026-04-22.dahlia#charge_object-payment_method_details), [ConfirmationToken.PaymentMethodPreview](/api/confirmation_tokens/object?api-version=2026-04-22.dahlia#confirmation_token_object-payment_method_preview), [ConfirmationTokenCreateParamsPaymentMethodDatum](/api/confirmation_tokens/test_create?api-version=2026-04-22.dahlia#test_create-payment_method_data), [PaymentAttemptRecord.PaymentMethodDetail](/api/payment-attempt-record/object?api-version=2026-04-22.dahlia#payment_attempt_record_object-payment_method_details), [PaymentIntentConfirmParamsPaymentMethodDatum](/api/payment_intents/confirm?api-version=2026-04-22.dahlia#confirm_payment_intent-payment_method_data), [PaymentIntentCreateParamsPaymentMethodDatum](/api/payment_intents/create?api-version=2026-04-22.dahlia#create_payment_intent-payment_method_data), [PaymentIntentModifyParamsPaymentMethodDatum](/api/payment_intents/update?api-version=2026-04-22.dahlia#update_payment_intent-payment_method_data), [PaymentMethod](/api/payment_methods/object?api-version=2026-04-22.dahlia#payment_method_object), [PaymentMethodConfiguration](/api/payment_method_configurations/object?api-version=2026-04-22.dahlia#payment_method_configuration_object), [PaymentMethodConfigurationCreateParams](/api/payment_method_configurations/create?api-version=2026-04-22.dahlia#create_payment_method_configurations), [PaymentMethodConfigurationModifyParams](/api/payment_method_configurations/update?api-version=2026-04-22.dahlia#update_payment_method_configurations), [PaymentMethodCreateParams](/api/payment_methods/create?api-version=2026-04-22.dahlia#create_payment_method), [PaymentRecord.PaymentMethodDetail](/api/payment-record/object?api-version=2026-04-22.dahlia#payment_record_object-payment_method_details), [SetupIntentConfirmParamsPaymentMethodDatum](/api/setup_intents/confirm?api-version=2026-04-22.dahlia#confirm_setup_intent-payment_method_data), [SetupIntentCreateParamsPaymentMethodDatum](/api/setup_intents/create?api-version=2026-04-22.dahlia#create_setup_intent-payment_method_data), [SetupIntentModifyParamsPaymentMethodDatum](/api/setup_intents/update?api-version=2026-04-22.dahlia#update_setup_intent-payment_method_data) | | Value | Change | Enums | | -------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `sunbit` | Added | [PaymentIntentCreateParams](/api/payment_intents/create?api-version=2026-04-22.dahlia#create_payment_intent-excluded_payment_method_types), [PaymentIntentModifyParams](/api/payment_intents/update?api-version=2026-04-22.dahlia#update_payment_intent-excluded_payment_method_types), [PaymentIntentConfirmParams](/api/payment_intents/confirm?api-version=2026-04-22.dahlia#confirm_payment_intent-excluded_payment_method_types), [PaymentIntent](/api/payment_intents/object?api-version=2026-04-22.dahlia#payment_intent_object-excluded_payment_method_types), [SetupIntentCreateParams](/api/setup_intents/create?api-version=2026-04-22.dahlia#create_setup_intent-excluded_payment_method_types), [SetupIntentModifyParams](/api/setup_intents/update?api-version=2026-04-22.dahlia#update_setup_intent-excluded_payment_method_types), [SetupIntent](/api/setup_intents/object?api-version=2026-04-22.dahlia#setup_intent_object-excluded_payment_method_types), [ConfirmationTokenCreateParamsPaymentMethodDatum](/api/confirmation_tokens/test_create?api-version=2026-04-22.dahlia#test_create-payment_method_data-type), [PaymentIntentCreateParamsPaymentMethodDatum](/api/payment_intents/create?api-version=2026-04-22.dahlia#create_payment_intent-payment_method_data-type), [PaymentIntentModifyParamsPaymentMethodDatum](/api/payment_intents/update?api-version=2026-04-22.dahlia#update_payment_intent-payment_method_data-type), [PaymentIntentConfirmParamsPaymentMethodDatum](/api/payment_intents/confirm?api-version=2026-04-22.dahlia#confirm_payment_intent-payment_method_data-type), [SetupIntentCreateParamsPaymentMethodDatum](/api/setup_intents/create?api-version=2026-04-22.dahlia#create_setup_intent-payment_method_data-type), [SetupIntentModifyParamsPaymentMethodDatum](/api/setup_intents/update?api-version=2026-04-22.dahlia#update_setup_intent-payment_method_data-type), [SetupIntentConfirmParamsPaymentMethodDatum](/api/setup_intents/confirm?api-version=2026-04-22.dahlia#confirm_setup_intent-payment_method_data-type), [ConfirmationToken.PaymentMethodPreview](/api/confirmation_tokens/object?api-version=2026-04-22.dahlia#confirmation_token_object-payment_method_preview-type), [PaymentMethod](/api/payment_methods/object?api-version=2026-04-22.dahlia#payment_method_object-type), [CustomerListPaymentMethodsParams](/api/payment_methods/customer_list?api-version=2026-04-22.dahlia#list_customer_payment_methods-type), [PaymentMethodListParams](/api/payment_methods/list?api-version=2026-04-22.dahlia#list_payment_methods-type), [PaymentMethodCreateParams](/api/payment_methods/create?api-version=2026-04-22.dahlia#create_payment_method-type), [checkout.SessionCreateParams](/api/checkout/sessions/create?api-version=2026-04-22.dahlia#create_checkout_session-payment_method_types), [PaymentLinkCreateParams](/api/payment-link/create?api-version=2026-04-22.dahlia#create_payment_link-payment_method_types), [PaymentLinkModifyParams](/api/payment-link/update?api-version=2026-04-22.dahlia#update_payment_link-payment_method_types), [PaymentLink](/api/payment-link/object?api-version=2026-04-22.dahlia#payment_link_object-payment_method_types) | #### PHP | Parameters | Change | Resources or methods | | ----------------- | ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `sunbit_payments` | Added | [Account.capabilities](/api/accounts/object?api-version=2026-04-22.dahlia#account_object-capabilities), [Account.create().$params.capability](/api/accounts/create?api-version=2026-04-22.dahlia#create_account-capabilities), [Account.update().$params.capability](/api/accounts/update?api-version=2026-04-22.dahlia#update_account-capabilities) | | `sunbit` | Added | [Charge.payment_method_details](/api/charges/object?api-version=2026-04-22.dahlia#charge_object-payment_method_details), [ConfirmationToken.create().$params.payment_method_datum](/api/confirmation_tokens/test_create?api-version=2026-04-22.dahlia#test_create-payment_method_data), [ConfirmationToken.payment_method_preview](/api/confirmation_tokens/object?api-version=2026-04-22.dahlia#confirmation_token_object-payment_method_preview), [PaymentAttemptRecord.payment_method_details](/api/payment-attempt-record/object?api-version=2026-04-22.dahlia#payment_attempt_record_object-payment_method_details), [PaymentIntent.confirm().$params.payment_method_datum](/api/payment_intents/confirm?api-version=2026-04-22.dahlia#confirm_payment_intent-payment_method_data), [PaymentIntent.create().$params.payment_method_datum](/api/payment_intents/create?api-version=2026-04-22.dahlia#create_payment_intent-payment_method_data), [PaymentIntent.update().$params.payment_method_datum](/api/payment_intents/update?api-version=2026-04-22.dahlia#update_payment_intent-payment_method_data), [PaymentMethod](/api/payment_methods/object?api-version=2026-04-22.dahlia#payment_method_object), [PaymentMethod.create().$params](/api/payment_methods/create?api-version=2026-04-22.dahlia#create_payment_method), [PaymentMethodConfiguration](/api/payment_method_configurations/object?api-version=2026-04-22.dahlia#payment_method_configuration_object), [PaymentMethodConfiguration.create().$params](/api/payment_method_configurations/create?api-version=2026-04-22.dahlia#create_payment_method_configurations), [PaymentMethodConfiguration.update().$params](/api/payment_method_configurations/update?api-version=2026-04-22.dahlia#update_payment_method_configurations), [PaymentRecord.payment_method_details](/api/payment-record/object?api-version=2026-04-22.dahlia#payment_record_object-payment_method_details), [SetupIntent.confirm().$params.payment_method_datum](/api/setup_intents/confirm?api-version=2026-04-22.dahlia#confirm_setup_intent-payment_method_data), [SetupIntent.create().$params.payment_method_datum](/api/setup_intents/create?api-version=2026-04-22.dahlia#create_setup_intent-payment_method_data), [SetupIntent.update().$params.payment_method_datum](/api/setup_intents/update?api-version=2026-04-22.dahlia#update_setup_intent-payment_method_data) | | Value | Change | Enums | | -------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | `sunbit` | Added | [ConfirmationToken.payment_method_preview](/api/confirmation_tokens/object?api-version=2026-04-22.dahlia#confirmation_token_object-payment_method_preview-type), [PaymentMethod](/api/payment_methods/object?api-version=2026-04-22.dahlia#payment_method_object-type), [PaymentIntent](/api/payment_intents/object?api-version=2026-04-22.dahlia#payment_intent_object-excluded_payment_method_types), [SetupIntent](/api/setup_intents/object?api-version=2026-04-22.dahlia#setup_intent_object-excluded_payment_method_types), [PaymentLink](/api/payment-link/object?api-version=2026-04-22.dahlia#payment_link_object-payment_method_types) | #### Java | Parameters | Change | Resources or methods | | ----------------------------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `appDistribution`, `sunbitPayments` | Added | [Account.capabilities](/api/accounts/object?api-version=2026-04-22.dahlia#account_object-capabilities), [AccountCreateParams.capabilities](/api/accounts/create?api-version=2026-04-22.dahlia#create_account-capabilities), [AccountUpdateParams.capabilities](/api/accounts/update?api-version=2026-04-22.dahlia#update_account-capabilities) | | `sunbit` | Added | [Charge.payment_method_details](/api/charges/object?api-version=2026-04-22.dahlia#charge_object-payment_method_details), [ConfirmationToken.payment_method_preview](/api/confirmation_tokens/object?api-version=2026-04-22.dahlia#confirmation_token_object-payment_method_preview), [ConfirmationTokenCreateParams.payment_method_data](/api/confirmation_tokens/test_create?api-version=2026-04-22.dahlia#test_create-payment_method_data), [PaymentAttemptRecord.payment_method_details](/api/payment-attempt-record/object?api-version=2026-04-22.dahlia#payment_attempt_record_object-payment_method_details), [PaymentIntentConfirmParams.payment_method_data](/api/payment_intents/confirm?api-version=2026-04-22.dahlia#confirm_payment_intent-payment_method_data), [PaymentIntentCreateParams.payment_method_data](/api/payment_intents/create?api-version=2026-04-22.dahlia#create_payment_intent-payment_method_data), [PaymentIntentUpdateParams.payment_method_data](/api/payment_intents/update?api-version=2026-04-22.dahlia#update_payment_intent-payment_method_data), [PaymentMethod](/api/payment_methods/object?api-version=2026-04-22.dahlia#payment_method_object), [PaymentMethodConfiguration](/api/payment_method_configurations/object?api-version=2026-04-22.dahlia#payment_method_configuration_object), [PaymentMethodConfigurationCreateParams](/api/payment_method_configurations/create?api-version=2026-04-22.dahlia#create_payment_method_configurations), [PaymentMethodConfigurationUpdateParams](/api/payment_method_configurations/update?api-version=2026-04-22.dahlia#update_payment_method_configurations), [PaymentMethodCreateParams](/api/payment_methods/create?api-version=2026-04-22.dahlia#create_payment_method), [PaymentRecord.payment_method_details](/api/payment-record/object?api-version=2026-04-22.dahlia#payment_record_object-payment_method_details), [SetupIntentConfirmParams.payment_method_data](/api/setup_intents/confirm?api-version=2026-04-22.dahlia#confirm_setup_intent-payment_method_data), [SetupIntentCreateParams.payment_method_data](/api/setup_intents/create?api-version=2026-04-22.dahlia#create_setup_intent-payment_method_data), [SetupIntentUpdateParams.payment_method_data](/api/setup_intents/update?api-version=2026-04-22.dahlia#update_setup_intent-payment_method_data) | | Value | Change | Enums | | -------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `sunbit` | Added | [PaymentIntentCreateParams](/api/payment_intents/create?api-version=2026-04-22.dahlia#create_payment_intent-excludedPaymentMethodTypes), [PaymentIntentUpdateParams](/api/payment_intents/update?api-version=2026-04-22.dahlia#update_payment_intent-excludedPaymentMethodTypes), [PaymentIntentConfirmParams](/api/payment_intents/confirm?api-version=2026-04-22.dahlia#confirm_payment_intent-excludedPaymentMethodTypes), [SetupIntentCreateParams](/api/setup_intents/create?api-version=2026-04-22.dahlia#create_setup_intent-excludedPaymentMethodTypes), [SetupIntentUpdateParams](/api/setup_intents/update?api-version=2026-04-22.dahlia#update_setup_intent-excludedPaymentMethodTypes), [ConfirmationTokenCreateParams.payment_method_data](/api/confirmation_tokens/test_create?api-version=2026-04-22.dahlia#test_create-payment_method_data-type), [PaymentIntentCreateParams.payment_method_data](/api/payment_intents/create?api-version=2026-04-22.dahlia#create_payment_intent-payment_method_data-type), [PaymentIntentUpdateParams.payment_method_data](/api/payment_intents/update?api-version=2026-04-22.dahlia#update_payment_intent-payment_method_data-type), [PaymentIntentConfirmParams.payment_method_data](/api/payment_intents/confirm?api-version=2026-04-22.dahlia#confirm_payment_intent-payment_method_data-type), [SetupIntentCreateParams.payment_method_data](/api/setup_intents/create?api-version=2026-04-22.dahlia#create_setup_intent-payment_method_data-type), [SetupIntentUpdateParams.payment_method_data](/api/setup_intents/update?api-version=2026-04-22.dahlia#update_setup_intent-payment_method_data-type), [SetupIntentConfirmParams.payment_method_data](/api/setup_intents/confirm?api-version=2026-04-22.dahlia#confirm_setup_intent-payment_method_data-type), [CustomerListPaymentMethodsParams](/api/payment_methods/customer_list?api-version=2026-04-22.dahlia#list_customer_payment_methods-type), [PaymentMethodListParams](/api/payment_methods/list?api-version=2026-04-22.dahlia#list_payment_methods-type), [PaymentMethodCreateParams](/api/payment_methods/create?api-version=2026-04-22.dahlia#create_payment_method-type), [checkout.SessionCreateParams](/api/checkout/sessions/create?api-version=2026-04-22.dahlia#create_checkout_session-paymentMethodTypes), [PaymentLinkCreateParams](/api/payment-link/create?api-version=2026-04-22.dahlia#create_payment_link-paymentMethodTypes), [PaymentLinkUpdateParams](/api/payment-link/update?api-version=2026-04-22.dahlia#update_payment_link-paymentMethodTypes) | #### Node.js | Parameters | Change | Resources or methods | | ----------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `sunbit_payments` | Added | [Account.capabilities](/api/accounts/object?api-version=2026-04-22.dahlia#account_object-capabilities), [AccountCreateParams.capabilities](/api/accounts/create?api-version=2026-04-22.dahlia#create_account-capabilities), [AccountUpdateParams.capabilities](/api/accounts/update?api-version=2026-04-22.dahlia#update_account-capabilities) | | `sunbit` | Added | [Charge.payment_method_details](/api/charges/object?api-version=2026-04-22.dahlia#charge_object-payment_method_details), [ConfirmationToken.payment_method_preview](/api/confirmation_tokens/object?api-version=2026-04-22.dahlia#confirmation_token_object-payment_method_preview), [ConfirmationTokenCreateParams.testHelpers.payment_method_data](/api/confirmation_tokens/test_create?api-version=2026-04-22.dahlia#test_create-payment_method_data), [PaymentAttemptRecord.payment_method_details](/api/payment-attempt-record/object?api-version=2026-04-22.dahlia#payment_attempt_record_object-payment_method_details), [PaymentIntentConfirmParams.payment_method_data](/api/payment_intents/confirm?api-version=2026-04-22.dahlia#confirm_payment_intent-payment_method_data), [PaymentIntentCreateParams.payment_method_data](/api/payment_intents/create?api-version=2026-04-22.dahlia#create_payment_intent-payment_method_data), [PaymentIntentUpdateParams.payment_method_data](/api/payment_intents/update?api-version=2026-04-22.dahlia#update_payment_intent-payment_method_data), [PaymentMethod](/api/payment_methods/object?api-version=2026-04-22.dahlia#payment_method_object), [PaymentMethodConfiguration](/api/payment_method_configurations/object?api-version=2026-04-22.dahlia#payment_method_configuration_object), [PaymentMethodConfigurationCreateParams](/api/payment_method_configurations/create?api-version=2026-04-22.dahlia#create_payment_method_configurations), [PaymentMethodConfigurationUpdateParams](/api/payment_method_configurations/update?api-version=2026-04-22.dahlia#update_payment_method_configurations), [PaymentMethodCreateParams](/api/payment_methods/create?api-version=2026-04-22.dahlia#create_payment_method), [PaymentRecord.payment_method_details](/api/payment-record/object?api-version=2026-04-22.dahlia#payment_record_object-payment_method_details), [SetupIntentConfirmParams.payment_method_data](/api/setup_intents/confirm?api-version=2026-04-22.dahlia#confirm_setup_intent-payment_method_data), [SetupIntentCreateParams.payment_method_data](/api/setup_intents/create?api-version=2026-04-22.dahlia#create_setup_intent-payment_method_data), [SetupIntentUpdateParams.payment_method_data](/api/setup_intents/update?api-version=2026-04-22.dahlia#update_setup_intent-payment_method_data) | | Value | Change | Enums | | -------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `sunbit` | Added | [PaymentIntentCreateParams](/api/payment_intents/create?api-version=2026-04-22.dahlia#create_payment_intent-excluded_payment_method_types), [PaymentIntentUpdateParams](/api/payment_intents/update?api-version=2026-04-22.dahlia#update_payment_intent-excluded_payment_method_types), [PaymentIntentConfirmParams](/api/payment_intents/confirm?api-version=2026-04-22.dahlia#confirm_payment_intent-excluded_payment_method_types), [PaymentIntent](/api/payment_intents/object?api-version=2026-04-22.dahlia#payment_intent_object-excluded_payment_method_types), [SetupIntentCreateParams](/api/setup_intents/create?api-version=2026-04-22.dahlia#create_setup_intent-excluded_payment_method_types), [SetupIntentUpdateParams](/api/setup_intents/update?api-version=2026-04-22.dahlia#update_setup_intent-excluded_payment_method_types), [SetupIntent](/api/setup_intents/object?api-version=2026-04-22.dahlia#setup_intent_object-excluded_payment_method_types), [ConfirmationTokenCreateParams.testHelpers.payment_method_data](/api/confirmation_tokens/test_create?api-version=2026-04-22.dahlia#test_create-payment_method_data-type), [PaymentIntentCreateParams.payment_method_data](/api/payment_intents/create?api-version=2026-04-22.dahlia#create_payment_intent-payment_method_data-type), [PaymentIntentUpdateParams.payment_method_data](/api/payment_intents/update?api-version=2026-04-22.dahlia#update_payment_intent-payment_method_data-type), [PaymentIntentConfirmParams.payment_method_data](/api/payment_intents/confirm?api-version=2026-04-22.dahlia#confirm_payment_intent-payment_method_data-type), [SetupIntentCreateParams.payment_method_data](/api/setup_intents/create?api-version=2026-04-22.dahlia#create_setup_intent-payment_method_data-type), [SetupIntentUpdateParams.payment_method_data](/api/setup_intents/update?api-version=2026-04-22.dahlia#update_setup_intent-payment_method_data-type), [SetupIntentConfirmParams.payment_method_data](/api/setup_intents/confirm?api-version=2026-04-22.dahlia#confirm_setup_intent-payment_method_data-type), [ConfirmationToken.payment_method_preview](/api/confirmation_tokens/object?api-version=2026-04-22.dahlia#confirmation_token_object-payment_method_preview-type), [PaymentMethod](/api/payment_methods/object?api-version=2026-04-22.dahlia#payment_method_object-type), [CustomerListPaymentMethodsParams](/api/payment_methods/customer_list?api-version=2026-04-22.dahlia#list_customer_payment_methods-type), [PaymentMethodListParams](/api/payment_methods/list?api-version=2026-04-22.dahlia#list_payment_methods-type), [PaymentMethodCreateParams](/api/payment_methods/create?api-version=2026-04-22.dahlia#create_payment_method-type), [Checkout.SessionCreateParams](/api/checkout/sessions/create?api-version=2026-04-22.dahlia#create_checkout_session-payment_method_types), [PaymentLinkCreateParams](/api/payment-link/create?api-version=2026-04-22.dahlia#create_payment_link-payment_method_types), [PaymentLinkUpdateParams](/api/payment-link/update?api-version=2026-04-22.dahlia#update_payment_link-payment_method_types), [PaymentLink](/api/payment-link/object?api-version=2026-04-22.dahlia#payment_link_object-payment_method_types) | #### Go | Parameters | Change | Resources or methods | | ----------------------------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `AppDistribution`, `SunbitPayments` | Added | [AccountCapabilities](/api/accounts/object?api-version=2026-04-22.dahlia#account_object-capabilities), [AccountCapabilitiesParams](/api/accounts/update?api-version=2026-04-22.dahlia#update_account-capabilities) | | `Sunbit` | Added | [ChargePaymentMethodDetails](/api/charges/object?api-version=2026-04-22.dahlia#charge_object-payment_method_details), [ConfirmationTokenPaymentMethodDataParams](/api/confirmation_tokens/test_create?api-version=2026-04-22.dahlia#test_create-payment_method_data), [ConfirmationTokenPaymentMethodPreview](/api/confirmation_tokens/object?api-version=2026-04-22.dahlia#confirmation_token_object-payment_method_preview), [PaymentAttemptRecordPaymentMethodDetails](/api/payment-attempt-record/object?api-version=2026-04-22.dahlia#payment_attempt_record_object-payment_method_details), [PaymentIntentConfirmPaymentMethodDataParams](/api/payment_intents/confirm?api-version=2026-04-22.dahlia#confirm_payment_intent-payment_method_data), [PaymentIntentPaymentMethodDataParams](/api/payment_intents/create?api-version=2026-04-22.dahlia#create_payment_intent-payment_method_data), [PaymentMethod](/api/payment_methods/object?api-version=2026-04-22.dahlia#payment_method_object), [PaymentMethodConfiguration](/api/payment_method_configurations/object?api-version=2026-04-22.dahlia#payment_method_configuration_object), [PaymentMethodConfigurationParams](/api/payment_method_configurations/create?api-version=2026-04-22.dahlia#create_payment_method_configurations), [PaymentMethodParams](/api/payment_methods/create?api-version=2026-04-22.dahlia#create_payment_method), [PaymentRecordPaymentMethodDetails](/api/payment-record/object?api-version=2026-04-22.dahlia#payment_record_object-payment_method_details), [SetupIntentConfirmPaymentMethodDataParams](/api/setup_intents/confirm?api-version=2026-04-22.dahlia#confirm_setup_intent-payment_method_data), [SetupIntentPaymentMethodDataParams](/api/setup_intents/create?api-version=2026-04-22.dahlia#create_setup_intent-payment_method_data) | | Value | Change | Enums | | -------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `sunbit` | Added | [ConfirmationTokenPaymentMethodPreview](/api/confirmation_tokens/object?api-version=2026-04-22.dahlia#confirmation_token_object-payment_method_preview-Type), [PaymentMethod](/api/payment_methods/object?api-version=2026-04-22.dahlia#payment_method_object-Type), [PaymentIntent](/api/payment_intents/object?api-version=2026-04-22.dahlia#payment_intent_object-ExcludedPaymentMethodTypes), [SetupIntent](/api/setup_intents/object?api-version=2026-04-22.dahlia#setup_intent_object-ExcludedPaymentMethodTypes), [PaymentLink](/api/payment-link/object?api-version=2026-04-22.dahlia#payment_link_object-PaymentMethodTypes) | #### .NET | Parameters | Change | Resources or methods | | ----------------------------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `AppDistribution`, `SunbitPayments` | Added | [Account.Capabilities](/api/accounts/object?api-version=2026-04-22.dahlia#account_object-capabilities), [AccountCapabilitiesOptions](/api/accounts/update?api-version=2026-04-22.dahlia#update_account-capabilities) | | `Sunbit` | Added | [Charge.PaymentMethodDetails](/api/charges/object?api-version=2026-04-22.dahlia#charge_object-payment_method_details), [ConfirmationToken.PaymentMethodPreview](/api/confirmation_tokens/object?api-version=2026-04-22.dahlia#confirmation_token_object-payment_method_preview), [ConfirmationTokenPaymentMethodDataOptions](/api/confirmation_tokens/test_create?api-version=2026-04-22.dahlia#test_create-payment_method_data), [PaymentAttemptRecord.PaymentMethodDetails](/api/payment-attempt-record/object?api-version=2026-04-22.dahlia#payment_attempt_record_object-payment_method_details), [PaymentIntentPaymentMethodDataOptions](/api/payment_intents/create?api-version=2026-04-22.dahlia#create_payment_intent-payment_method_data), [PaymentMethod](/api/payment_methods/object?api-version=2026-04-22.dahlia#payment_method_object), [PaymentMethodConfiguration](/api/payment_method_configurations/object?api-version=2026-04-22.dahlia#payment_method_configuration_object), [PaymentMethodConfigurationCreateOptions](/api/payment_method_configurations/create?api-version=2026-04-22.dahlia#create_payment_method_configurations), [PaymentMethodConfigurationUpdateOptions](/api/payment_method_configurations/update?api-version=2026-04-22.dahlia#update_payment_method_configurations), [PaymentMethodCreateOptions](/api/payment_methods/create?api-version=2026-04-22.dahlia#create_payment_method), [PaymentRecord.PaymentMethodDetails](/api/payment-record/object?api-version=2026-04-22.dahlia#payment_record_object-payment_method_details), [SetupIntentPaymentMethodDataOptions](/api/setup_intents/create?api-version=2026-04-22.dahlia#create_setup_intent-payment_method_data) | ## Upgrade #### REST API 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. If you use an SDK, upgrade to the corresponding SDK version for this API version. - If you don’t use an SDK, update your [API requests](https://docs.stripe.com/api/versioning.md) to include `Stripe-Version: 2026-04-22.dahlia` 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### Ruby 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your Ruby SDK to the latest version. 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### Python 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your Python SDK to the latest version. 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### PHP 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your PHP SDK to the latest version. 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### Java 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your Java SDK to the latest version. 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### Node.js 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your Node SDK to the latest version. 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### Go 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your Go SDK to the latest version. 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). #### .NET 1. [View your current API version](https://docs.stripe.com/upgrades.md#view-your-api-version-and-the-latest-available-upgrade-in-workbench) in Workbench. 1. Upgrade your .NET SDK to the latest version. 1. Upgrade the API version used for [webhook endpoints](https://docs.stripe.com/webhooks/versioning.md). 1. [Test your integration](https://docs.stripe.com/testing.md) against the new version. 1. If you use Connect, [test your Connect integration](https://docs.stripe.com/connect/testing.md). 1. In Workbench, [perform the upgrade](https://docs.stripe.com/upgrades.md#perform-the-upgrade). You can [roll back the version](https://docs.stripe.com/upgrades.md#roll-back-your-api-version) for 72 hours. Learn more about [Stripe API upgrades](https://docs.stripe.com/upgrades.md). ## Related changes - [Adds support for Pix recurring payments](https://docs.stripe.com/changelog/dahlia/2026-04-22/pix-recurring-payments-support.md) - [Adds the moto property to Setup Attempt payment method details for cards](https://docs.stripe.com/changelog/dahlia/2026-04-22/setup-attempt-payment-method-details-for-cards-moto.md) - [Adds QR code support for Klarna payments with Terminal readers](https://docs.stripe.com/changelog/dahlia/2026-04-22/klarna-payments-with-terminal-readers-qr-code-support.md) - [Adds an amount confirmation parameter to the Payment Intent API](https://docs.stripe.com/changelog/dahlia/2026-04-22/amount-confirmation-parameter-to-paymentintent.md) - [Adds support for Managed Payments, Stripe’s merchant of record solution](https://docs.stripe.com/changelog/dahlia/2026-04-22/managed-payments.md)