Refund Status Codes
Status | Status code | Description |
---|---|---|
PENDING | 100 | The refund is pending. |
SUCCESS | 200 | The refund was paid. |
REJECTED | 300 | The refund was rejected. |
CANCELLED | 400 | The refund was cancelled. |
Errors
All the errors are returned with the appropriate HTTP status code, 4XX or 5XX.
The format of all errors is:
Property | Type | Description |
---|---|---|
code | Integer | Error code. |
message | String | Human readable message. |
param | String | In case one parameter is wrong. |
Example error
{
"code": 5012,
"message": "Insufficient funds."
}