Error code format
An error code consists of an alphabetic prefix + digits:| Prefix | Category | HTTP status code |
|---|---|---|
| 0 | Success | 200 |
| Axxxxx | Merchant-related errors | 400-401 |
| Bxxxxx | User-related errors | 400 |
| Cxxxxx | System-related errors | 500-503 |
| Dxxxxx | Risk control rejection | 406 |
| Exxxxx | Unknown errors | 500 |
Category E errors (unknown errors): Caused by an unknown state in Waffo’s internal systems or third-party systems. Merchants must continuously query the transaction status until a final success/failure result is returned.
Full error code list
Success
| Error code | Description | HTTP |
|---|---|---|
| 0 | Success | 200 |
A - Merchant-related errors
| Error code | Description | HTTP |
|---|---|---|
| A0001 | Invalid Api secret key | 401 |
| A0002 | Invalid signature | 401 |
| A0003 | Parameter validation failed | 400 |
| A0004 | Permission denied | 401 |
| A0005 | Merchant account not found | 400 |
| A0006 | Merchant status abnormal | 400 |
| A0007 | Payout currency is not supported | 400 |
| A0008 | Payout amount of the order exceeds the limit in current merchant contract | 400 |
| A0009 | Order does not exist | 400 |
| A0010 | Operation not allowed in merchant contract | 400 |
| A0011 | Idempotent param mismatch error | 400 |
| A0012 | Merchant account insufficient balance | 400 |
| A0013 | Too many requests, please try again later | 400 |
| A0014 | Payout method in the order does not match with current merchant contract | 400 |
| A0015 | Fee rule of the order does not match with current merchant contract | 400 |
| A0016 | Bank code is not supported | 400 |
| A0017 | Bank name is not supported | 400 |
| A0018 | Bank card bin is not supported | 400 |
| A0019 | Business payeeType is not supported for this payout method | 400 |
| A0020 | Individual payeeType is not supported for this payout method | 400 |
B - User-related errors
| Error code | Description | HTTP |
|---|---|---|
| B0001 | User status abnormal | 400 |
| B0002 | User limit exceeded | 400 |
| B0003 | User does not exist | 400 |
| B0004 | User info does not match | 400 |
| B0005 | User account does not match | 400 |
| B0006 | Receiving business does not exist | 400 |
| B0007 | Receiving business info does not match | 400 |
| B0008 | Receiving business account does not match | 400 |
| B0009 | Receiving business status abnormal | 400 |
| B0010 | Receiving business limit exceeded | 400 |
| B0011 | Receiving business taxid does not exist | 400 |
| B0012 | Beneficiary’s daily limit exceeded | 400 |
| B0013 | Beneficiary’s yearly limit exceeded | 400 |
C - System-related errors
| Error code | Description | HTTP |
|---|---|---|
| C0001 | System error | 500 |
| C0002 | Invalid merchant contract | 500 |
| C0003 | Order info mismatch error | 500 |
| C0004 | Payout channel rejection | 503 |
| C0005 | Payout channel error | 503 |
| C0006 | Payout channel FX error | 503 |
| C0007 | The payout was rejected by the channel’s risk review after a request for supporting documents | 503 |
| C0008 | Invalid fee of merchant contract | 500 |
| C0009 | Payout channel is under maintenance | 503 |
| C0010 | The business details of the payout sender do not meet KYB requirements. Update your merchant profile or contact partner, retrying will not help | 500 |
| C0011 | The payout was rejected immediately by the channel’s risk review | 503 |
| C0012 | Merchant registration with the channel failed | 503 |
D - Risk control rejection
| Error code | Description | HTTP |
|---|---|---|
| D0001 | Risk rejection | 406 |
E - Unknown errors
| Error code | Description | HTTP |
|---|---|---|
| E0001 | Unknown status | 500 |
Special handling
A0003 - Parameter validation failed
For synchronous requests, if a parameter fails validation, the response message names the specific parameters. Reserve enough space to receive the full message; we recommend 1024 characters.
E0001 - Unknown status
E0001 indicates an unexpected error during processing. If a synchronous create request returns this code, the payout may already have been created, so the outcome is unknown.- Treat the order as
IN_PROGRESSrather than as a failure. - Do not resubmit with a new
payoutRequestId. Instead, query Payout inquiry with the samepayoutRequestId, or wait for the notification.