provider POST /v1/refunds/{refund}/cancel
@utdk/stripe /v1/refunds/{refund}/cancel
Cancel a refund
<p>Cancels a refund with a status of <code>requires_action</code>.</p> <p>You can’t cancel refunds in other states. Only refunds for payment methods that require customer action can enter the <code>requires_action</code> state.</p>
refund path required
string

Try it

Authentication
Configure credentials for Stripe API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

postrefundsrefundcancel
POST/v1/refunds/{refund}/cancel
<p>Cancels a refund with a status of <code>requires_action</code>.</p> <p>You can’t cancel refunds in other states. Only refunds for payment methods that require customer action can enter the <code>requires_action</code> state.</p>

Parameters

required

Input

Specifies which fields in the response should be expanded.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stripe from '@utdk/stripe';

await stripe.postrefundsrefundcancel()