Error Responses
All error messages suppose to be in format:
{
"trace_id": "string",
"code": int,
"data": {},
"message": "string"
}
message
is the general description of error, data
is sub-json that contains detailed information of error.
validation_error
with status code 400 is returned when the validation of the resource fails on POST
or PUT
requests.
Errors list
Error Message | Description |
---|---|
DEPOSIT_CURRENCY_NOT_SUPPORTED | input wrong deposit currency |
INSUFFICIENT_BALANCE | currency balance is not enough to make the withdrawal |
INSUFFICIENT_FEE_BALANCE | ETH or TRX balance is not enough to make the withdrawal |
MERCHANT_WITHDRAWAL_ID_ALREADY_EXISTS | withdrawal merchant side id is duplicated |
MERCHANT_WITHDRAWAL_ID_SHOULD_BE_36_OR_LESS | length of merchant withdrawal id is more than 36 |
PAYMENT_CURRENCY_NOT_SUPPORTED | input wrong payment currency |
WITHDRAWALADDRESS_IS_INVALID | destination address is not valid |
CALLBACK_URL_NOT_SETTING_YET | merchant haven't setup callback URL yet |
NETWORK_TEMPORARY_UNAVAILABLE | crypto currency network is temporary unavailable for maintainance |
MERCHANT_DEPOSIT_ID_EXIST | invoice deposit merchant side id is duplicated |
Updated over 1 year ago