Get refund
transactions.read scope.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique ID of the refund.
"8724fd24-5489-4a5d-90fd-0604df7d3b83"
Response
Returns a refund.
A refund record.
A refund is always associated with a single transaction, while a transaction can potentially have several refunds.
The type of this resource. Is always refund.
refund "refund"
The unique ID of the refund.
"8724fd24-5489-4a5d-90fd-0604df7d3b83"
The ID of the transaction associated with this refund.
"fe26475d-ec3e-4884-9553-f7356683f7f9"
The payment service's unique ID for the refund.
"refund_xYqd43gySMtori"
The status of the refund. It may change over time as asynchronous processing events occur.
processing- The refund is being processed.succeeded- The refund was successful.declined- The refund was declined by the underlying PSP.failed- The refund could not proceed due to a technical issue.
processing, succeeded, declined, failed "processing"
The currency code for this refund. Will always match that of the associated transaction.
"USD"
The amount requested for this refund.
0 <= x <= 999999991299
The reason for this refund. Could be a multiline string.
100"Refund due to user request"
The date and time when this refund was created.
"2013-07-16T19:23:00.000+00:00"
The date and time when this refund was last updated.
"2013-07-16T19:23:00.000+00:00"
The type of the instrument that was refunded.
payment-method, gift-card-redemption "payment-method"
The optional ID of the instrument that was refunded. This may be null if
the instrument was not stored.
"c23ea83f-1b1c-4584-a0e8-78ef8c041949"
An external identifier that can be used to match the refund against your own records.
1 - 300"refund-789123"
The base62 encoded refund ID. This represents a shorter version
of this refund's id which is sent to payment services, anti-fraud services,
and other connectors. You can use this ID to reconcile a payment service's
refund against our system.
"7jZXl4gBUNl0CnaLEnfXbt"
The external identifier of the related transaction.
"transaction-789123"
The base62 encoded transaction ID. This represents a shorter version
of the related transaction's id which is sent to payment services,
anti-fraud services, and other connectors. You can use this ID to
reconcile a payment service's transaction against our system.
"7jZXl4gBUNl0CnaLEnfXbt"