Introduction
A Refund represents a single refund of a Transaction in relation to a Payment.
Endpoints
GET /refund/{guid}
Get a single Refund.
Response
HTTP |
Description |
---|---|
200 |
OK |
404 |
Refund not found |
HTTP 200 Example
{
"refundGuid": "",
"paymentGuid": "",
"transactionGuid": "",
"createdTs": "",
"state": "",
"paymentGateway": "",
"amount": "",
"refundedTs": "",
"failedTs": ""
}
Properties
Name |
Type |
Description |
---|---|---|
refundGuid |
STRING |
Unique GUID |
paymentGuid |
STRING |
Unique GUID of Payment |
transactionGuid |
STRING |
Unique GUID of Transaction |
createdTs |
TIMESTAMP |
Timestamp of Refund creation |
state |
STRING |
See list list |
paymentGateway |
STRING |
See list list |
amount |
DOUBLE |
Amount of be refunded |
refundedTs |
TIMESTAMP |
Timestamp of refunded amount |
failedTs |
TIMESTAMP |
Timestamp of failure |