Adds support for the related setting Direct Debit and Bacs Direct Debit mandate reference prefix
What’s new
We added the reference_prefix parameter to payment method options for the related setting Direct Debit and Bacs Direct Debit. The parameter is available in Payment Intents, Setup Intents and Checkout Sessions in Payment and Setup modes.
Impact
This change lets you specify a reference prefix when creating a mandate with the related setting Direct Debit or Bacs Direct Debit.
You can specify a prefix in the mandate_options.reference_prefix parameter to customise either the the related setting Direct Debit Mandate reference or Bacs Direct Debit Mandate reference.
Changes
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-12-18. acacia
- Upgrade the API version used for webhook endpoints .
- Test your integration against the new version.
- If you use Connect, test your Connect integration .
Learn more about Stripe API upgrades.