Attributes
string
The refund id (
rf_…).string
The parent payment intent (
pi_…).string
The refunded charge (
ch_…).integer
The refunded amount, in minor units. Full or partial.
string
The refund’s currency, matching
amount’s currency.string
pending while the Refund is being processed; uncertain when its final outcome is not known yet. Retrieve the Refund again before retrying.string | null
An optional audit/reporting category: one of
requested_by_customer, duplicate, or fraudulent. Null when not supplied; has no effect on refund behavior.string | null
Terminal (
tmr_…) selected for the Refund request, or null when no terminal was supplied.string | null
A human-readable failure detail. Nullable; present when the refund failed.
Endpoints
Notes
- Use the Charge or PaymentIntent ID returned by the completed payment.
- Send
amountfor a partial refund. Omit it for a full refund when supported by the original payment state. - Use
metadatato connect refunds to support tickets, return authorizations, or order records. - Use an
Idempotency-Keywhen creating refunds from support tooling or automated workflows.

