sincecutoff.com
← all changes

Stripe Payment Intents API adds amount_to_confirm

Introduced 2026-04-22 · score 0.95

HOW TO USE IT

When confirming a PaymentIntent for an amount different from its original amount, send `amount_to_confirm` with the exact amount. If omitted, it defaults to the PaymentIntent’s `amount`.

curl https://api.stripe.com/v1/payment_intents/<PAYMENT_INTENT_ID>/confirm \ -u "<YOUR_SECRET_KEY>:" \ -H "Stripe-Version: 2026-04-22.preview" \ -d amount_to_confirm=<AMOUNT>

WHY THIS HELPS

When implementing an integration that confirms a PaymentIntent for an amount different from its original amount, specify the confirmation amount.

REQUIREMENTS AND LIMITATIONS

  • amount_to_confirm: Integer amount to confirm on the PaymentIntent; defaults to `amount` if omitted.
  • PAYMENT_INTENT_ID (required): ID in the confirmation endpoint path.
  • YOUR_SECRET_KEY (required): Secret key used to authenticate the request.
  • Prerequisite: Create a PaymentIntent before confirming it.
  • Prerequisite: Use a secret key for this parameter, per the release note.
  • The parameter is for secret key callers.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card