Adds support for the related setting Direct Debit and Bacs Direct Debit mandate reference prefixes in Checkout Sessions
What’s new
We added the following API parameter to payment method options for the related setting Direct Debit and Bacs Direct Debit in Checkout Sessions:
- bacs _ debit. mandate _ options. reference _ prefix
- sepa _ debit. mandate _ options. reference _ prefix
Impact
This change lets you specify mandate options when using Checkout with the related setting Direct Debit or Bacs Direct Debit.
You can specify a prefix in the mandate_options.reference_prefix parameter to customize either the the related setting Direct Debit Mandate reference or Bacs Direct Debit Mandate reference in Payment and Setup modes.
Changes
| Parameter | Change | Resources or endpoints |
|---|---|---|
| mandate_options | Added | Checkout. Session#create. payment_method_options. bacs_debit Checkout. Session#create. payment_method_options. sepa_debit Checkout. Session. payment_method_options. bacs_debit + 1 more Checkout. Session. payment_method_options. sepa_debit |
Upgrade
- View your current API version in Workbench.
- 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 to include Stripe-Version: 2024-11-20. acacia
- Upgrade the API version used for webhook endpoints .
- Test your integration against the new version.
- If you use Connect, test your Connect integration .
- In Workbench, perform the upgrade . You can roll back the version for 72 hours.
Learn more about Stripe API upgrades.
