Skip to main content

Documentation Index

Fetch the complete documentation index at: https://waffo.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Error code format

An error code consists of an alphabetic prefix + digits:
PrefixCategoryHTTP status code
0Success200
AxxxxxMerchant-related errors400-401
BxxxxxUser-related errors400
CxxxxxSystem-related errors500-503
DxxxxxRisk control rejection406
ExxxxxUnknown errors500
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 codeDescriptionHTTP
0Success200
Error codeDescriptionHTTP
A0001Invalid API secret key401
A0002Invalid signature401
A0003Parameter validation failed400
A0004Permission denied401
A0005Merchant limit exceeded400
A0006Abnormal merchant status400
A0007Unsupported transaction currency400
A0008Transaction limit exceeded / payment amount must be within the allowed range400
A0009Order does not exist400
A0010Merchant contract does not allow this operation400
A0011Idempotency parameter mismatch error400
A0012Insufficient merchant account balance400
A0013Payment has succeeded; the order cannot be canceled400
A0014Refund not allowed due to refund rules400
A0015Payment channel not supported; the order cannot be canceled400
A0016Payment channel rejected; the order cannot be canceled400
A0017Payment channel not supported; the order cannot be refunded400
A0018The user has no available payment method400
A0019Refund not allowed due to a chargeback dispute400
A0020Payment amount exceeds the transaction limit400
A0021Cumulative payment amount exceeds the daily transaction limit400
A0022Multiple products detected; the merchant must specify the product name400
A0023Token has expired; the order cannot be created400
A0024Exchange rate has expired; the order cannot be processed400
A0026The checkout page language specified by the merchant is not supported400
A0027The number of refunds has exceeded the maximum of 50400
A0029Invalid card data provided by the merchant400
A0030Unable to find the card BIN provided by the merchant400
A0031The card scheme or card type provided by the merchant is not supported400
A0032Invalid payment token data provided by the merchant400
Error codeDescriptionHTTP
B0001Abnormal user status400
B0002User limit exceeded400
B0003Insufficient user balance400
B0004The user did not complete the payment within the timeout period400
B0005User authorization failed400
B0006Invalid phone number400
B0007Invalid email format400
Error codeDescriptionHTTP
C0001System error500
C0002Invalid merchant contract500
C0003Invalid order status; unable to proceed to the next step500
C0004Order information mismatch error500
C0005Payment channel rejection503
C0006Payment channel error503
C0007Payment channel under maintenance503

D - Risk control rejection

Error codeDescriptionHTTP
D0001Risk control rejection406

E - Unknown errors

Error codeDescriptionHTTP
E0001Unknown status500