BxBytix

Errors

Success is 00000. Other codes are exceptions. Always read code, not only HTTP status.

Shape

json
{ "code": "00000", "msg": "ok", "data": {} }
json
{ "code": "40000", "msg": "order_id is required", "error": "order_id is required"}

Codes

CodeHTTPMeaning
00000200 / 201Success
40000400Validation or request error
40001409Not enough of that asset on that network in your main wallet for a withdrawal (checked again on the blockchain when it is approved)
40002409Not enough of the network's native coin (ETH or BNB) in your main wallet for the network fee. Shown when a withdrawal is approved. Tron needs none
40003400Outside a limit set for your account (order size, withdrawal size, daily withdrawals)
40100401Missing or invalid API key, or the workspace is not active
40400404Unknown order or payout for this merchant
40900409The request conflicts with the current state, for example cancelling a paid order
40901409Checkout only: no payment address is free on that network right now. The popup shows it; your CRM never receives it
50300503Your wallets are still being prepared, or a live balance could not be checked right now. Try again in a few minutes

Examples of 40000: missing order_id, amount not greater than 0, a success, cancel or callback URL that is not http(s), missing payout_id, unknown asset/network, invalid destination address, or a destination that is not an approved payout wallet. Query with neither identifier (or an id that belongs to another merchant) is 40400.