Cancel a SetupIntent
You 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
Response
Successful response.
Changes
No operation changes found yet. Some revisions have not been checked.