Public preview
Adds an amount confirmation parameter to the Payment Intent API Public preview
What’s new
Adds the amount_to_confirm parameter for secret key callers to the Payment Intents API. This parameter allows you to specify the exact amount to confirm on a PaymentIntent. If not provided, the parameter defaults to the PaymentIntent’s amount value.
Impact
You can now reference the amount_to_confirm parameter when building integrations that require confirming PaymentIntents with amounts that differ from the original amount. For example, you can pad the amount with a surcharge when confirming PaymentIntents.
Changes
| Parameter | Change | Resources or endpoints |
|---|---|---|
| amount_to_confirm | Added | PaymentIntent#confirm |
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: 2026-04-22. preview
- 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.
