Wonder

Error Handling

Generic errors

Wonder uses conventional HTTP response codes to indicate the success or failure of an API request. In general: Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided. Codes in the 5xx range indicate an error with Wonder’s servers.

CodeDescription
400Failed given the information provided.
500Error with Wonder’s servers.

API Gateway errors

The API Gateway is used to verify the legitimacy and security of Appid, and the relevant error codes are defined here.

CodeDescription
E000001Missing signature.
E000002Invalid credential format.
E000003Invalid Credential Signature Algorithm.
E000004Expired Request.
E000005Invalid signature.

Order system errors

The Order System manages the complete order workflow, including all payment products, and the relevant error codes are defined here.

CodeDescription
EO200001Missing required parameter.
EO200002Invalid parameter.
EO200003Duplicated reference number.
EO200006Operation not allowed.
EO200007Customer not found.
EO200008Payment token not found.
EO200403Permission error.
EO100102Currency not support.
EO100201Business not found.
EO100301Order not found.
EO100302Order already paid.
EO100303Order already voided.
EO100304Invalid due date.
EO100305Order can not edit.
EO100306Order can not void.
EO100307Order can not refund.

Payment gateway errors

The Payment Gateway is a module that handles payment details and connects with various payment channels, and the relevant error codes are defined here.

CodeDescription
199999Internal error 1.
199998Internal error 2.
199997Internal error 3.
100001Parameter error.
100002The currency is not configured. Please contact your payment process service provider.
100003Merchant account is disable. Please contact your payment process service provider.
100004Merchant account config . Please contact your payment process service provider.
100005Processing rule required. Please contact your payment process service provider.
100006The payment method is not supported. Please contact your payment process service provider.
100029Day end closed.
100031The POS is not found in Acquirer. Please contact your payment process service provider.
100007Terminal TID is busy. Please try again later.
100008Entry type not supported.
100009Card brand not supported.
100010Original record is busy.
100011Risk flagged. Please contact your payment process service provider.
100012Reversal is needed.
100013No record.
100014Abnormal record status.
100015Max transaction amount exceeded.
100016The currency is not matched.
100017Cannot reach acquirer.
100018Third party request failed.
110010Result code time-out payment failed.
100024Order closing.
100023The Acquirer doesn't support this action.
100019Server not support this Acquirer.
100020Server not support this Acquirer method.
100021Server certificate error.
100022Apple Pay key required.
100025Invalid token.
100026You do not have access.
100027Request had invalid signature.
100028Acquirer not support currency.
110001Fraud card detected and rejected.
110002MID Flagged By Bank.
110003Rejected by Issuer.
110004Insufficient funds. Please make sure the card has sufficient amount or to process the payment with other cards.
110005Incorrect PIN. Please insert the correct PIN and try again.
110006Settlement unbalance.
110007Bank key inactive.
110008Card information incorrect.
110009Card holder limited by bank.
110010Time-out payment failed.
110011Partial refund not supported.
100030UUID conflict.
100031Transaction has been settlemented.
100032Gateway rule config . Please contact your payment process service provider.
100034Chinese mainland payment QR not supported.
100037This pre-auth transaction is already captured, hence, cannot be voided, Please check again.
100038Duplicated transaction.
101017Card is blocked.
101018Domain not in the whitelist.
101019Location token invalid.
101020Missing location token.
101035Duplicated apply.
101036Current transaction only support credit card payment.
101037Business status inactive,Please contact your payment process service provider.
101038System error. Please Contact support@wonder.app For Further Inquiry.
101040This Account Is Not Yet Connected To A Taxi Meter. Proceed To connect To A Taxi Meter To Accept Payments Or Contact Support@wonder.app.
120001Transportation code is used.
120002Transportation code is expired.
120003Transportation code is blacklisted.

ECR errors

ECR (your business system) may encounter when calling the Wonder Terminal API.

CodeDescription
100401Transaction does not exist.
100718The license plate has been logged in by another driver.
100803Device connection timeout.
200001Missing mandatory parameter.
200002Invalid parameter.
200500Internal error.
40001Server is busy, please try again later.
40002Request repeated, please try again later.
40003Parsing failed. Please enter PIN and try again.
40004Decrypt error.
40005Payment exception.
40007ECR type exception.
40008Actio not support.
40011ECR exception.
40014Sale reference ID repeated.
40020Sale was abort.
40021Transaction querry error.