transactions.read
scope.Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The ID of the merchant account to use for this request.
"default"
Path Parameters
The ID of the refund
"6a1d4e46-14ed-4fe1-a45f-eff4e025d211"
Response
Successful Response
The unique identifier for the refund.
"6a1d4e46-14ed-4fe1-a45f-eff4e025d211"
The ID of the transaction associated with this refund.
"7099948d-7286-47e4-aad8-b68f7eb44591"
The status of the refund.
processing
, succeeded
, failed
, declined
, voided
"succeeded"
The ISO 4217 currency code for this refund. Will always match that of the associated transaction.
"EUR"
"GBP"
"USD"
The amount of this refund, in the smallest currency unit (for example, cents or pence).
0 <= x <= 99999999
1299
The type of the instrument that was refunded.
payment-method
, gift-card-redemption
"payment-method"
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 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.
"aLEnfXbt7jZXl4gBUNl0Cn"
The date this refund was created at.
"2013-07-16T19:23:00.000+00:00"
The date this refund was last updated at.
"2013-07-16T19:23:00.000+00:00"
Always refund
.
"refund"
"refund"
The payment service's unique ID for the refund.
1 - 300
"refund_xYqd43gySMtori"
The reason for this refund. Could be a multiline string.
"Refund due to user request."
The optional ID of the instrument that was refunded. This may be null
if the instrument was not stored.
"07e70d14-a0c0-4ff5-bd4a-509959af0e4d"
An external identifier that can be used to match the refund against your own records.
"refund-12345"
An external identifier that can be used to match the transaction against your own records.
"transaction-12345"
The user that created this resource
{
"email_address": "jhon.doe@gr4vy.com",
"id": "07e70d14-a0c0-4ff5-bd4a-509959af0e4d",
"name": "Jhon Doe"
}
The standardized error code set by Gr4vy.
"service_error"
This is the response code received from the payment service. This can be set to any value and is not standardized across different payment services.
"E104"
This is the response description received from the payment service. This can be set to any value and is not standardized across different payment services.
"Missing redirect URL"