Cancel a SetupIntent
Changed onYou can cancel a SetupIntent object when it’s in one of these statuses: requires_payment_method, requires_confirmation, or requires_action.
After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can’t cancel the SetupIntent for a Checkout Session. Expire the Checkout Session instead.
post/v1/setup_intents/{intent}/cancel
Request
- Base URL: https://api.stripe.com
- URL: https://api.stripe.com/v1/setup_intents/{intent}/cancel
- Auth: one of:
- HTTP basic
- HTTP bearer
Path parameters
intentstring required
Request body application/x-www-form-urlencoded
Response
Successful response.
Changes
- info
added the optional property
//////to the response with the status
- info
- info
added the optional property
//////////to the response with the status
- info
Some revisions have not been checked yet.