Refund codes

Refund Status Codes

StatusStatus codeDescription
PENDING100The refund is pending.
SUCCESS200The refund was paid.
REJECTED300The refund was rejected.
CANCELLED400The refund was cancelled.

Errors

All the errors are returned with the appropriate HTTP status code, 4XX or 5XX.
The format of all errors is:

PropertyTypeDescription
codeIntegerError code.
messageStringHuman readable message.
paramStringIn case one parameter is wrong. ​

Example error

{
    "code": 5012,
    "message": "Insufficient funds."
}