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
40100401Missing or invalid API key
40400404Unknown order or payout for this merchant
40900409Paid order cannot be cancelled

Examples of 40000: missing order_id, amount not greater than 0, valid_time outside 10–1440, success/cancel URL not http(s), missing payout_id, unknown asset/network, invalid destination address, or insufficient available balance. Query with neither identifier (or an id that belongs to another merchant) is 40400.