Sample - Stripe API
POST/v1/terminal/refunds

Create a refund using a Terminal-supported device.

Internal endpoint for terminal use to create a refund for a card_present or card charge.

You can optionally refund only part of a charge.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.
  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 body field
expandarray<string>optional
Specifies which fields in the response should be expanded.

2 status codes
200Successful response.
defaultError response.
errorobjectrequired

Error handling

Any other status is an error: Error response.