provider POST /v1/terminal/refunds
@utdk/stripe /v1/terminal/refunds
Create a refund using a Terminal-supported device.
<p>Internal endpoint for terminal use to create a refund for a card_present or card charge.</p> <p>You can optionally refund only part of a charge.</p>

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.

postterminalrefunds
POST/v1/terminal/refunds
<p>Internal endpoint for terminal use to create a refund for a card_present or card charge.</p> <p>You can optionally refund only part of a charge.</p>

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.postterminalrefunds()