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
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.

Configure credentials above to enable sending.

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

TypeScript

import stripe from '@utdk/stripe';

await stripe.postrefundsrefundcancel()