API Reference
Response codes
Review Onerway payment response codes, their meanings, and recommended troubleshooting actions.
Use this page when an API response returns a respCode other than 20000. Use the code descriptions and recommended actions to check request parameters and decide whether to ask the customer to use another card, retry later, or contact Onerway support. Descriptions explain each code and may differ from the response message.
respCode=20000 means Onerway processed the request. It does not always mean the payment, refund, subscription, or tokenization result is final. Confirm the final state through the endpoint documentation, asynchronous notifications, and query APIs.Issuer and acquirer declines are often caused by card details, account state, issuer risk checks, or channel availability. Do not blindly retry hard declines, suspected fraud, AML, legal, or regulatory restriction errors.
Browse by category
Use your browser’s find command (Ctrl+F or ⌘F) to locate a response code.
| Category | Codes |
|---|---|
| System errors | 11xxx |
| Configuration errors | 12xxx |
| Parameter errors | 130xx, 13216 |
| Subscription errors | 13200–13215 |
| Refund errors | 14xxx |
| Risk control errors | 20xxx |
| Validation errors | 30xxx |
| Acquirer errors | 40xxx |
| 3DS errors | 50xxx |
| Issuer errors | 60xxx |
| General errors | 70xxx |
System errors (11xxx)
| Code | Description | Recommended action |
|---|---|---|
11001 | System exception | Contact Onerway support |
Configuration errors (12xxx)
| Code | Description | Recommended action |
|---|---|---|
12001 | System configuration decline | Contact Onerway support |
12002 | Merchant ID is disabled or settlement currency is not configured | Contact Onerway support |
12003 | Card brand/3DS/Service is not supported | Contact Onerway support |
12004 | Merchant Account is disabled or non-existent | Contact Onerway support |
12005 | Invalid transaction ID for SDK initialization | Check if the transaction number used for initializing the SDK is from the server response; Confirm the transaction number has not been tampered; Confirm the ordering interface and SDK environments are consistent |
12006 | Subscription payment information verification failed | For Onerway-managed subscriptions (selfExecute=1) only: make sure the subscription payment time matches the configured frequency |
12007 | Incorrect transaction ID | Check merchantNo |
12008 | Invalid transaction IP | Check transactionIp in the request |
12009 | Request channel timed out | Retry later |
12010 | Configuration error prevents the request from being processed | Contact Onerway support and confirm the transaction type is enabled |
12011 | 3DS/API request initialization failed | Contact Onerway support |
Parameter errors (13xxx)
| Code | Description | Recommended action |
|---|---|---|
13001 | Invalid appId | Contact Onerway support |
13002 | Invalid card number | Check the card number and retry |
13003 | Invalid transaction URL | Check whether the requested domain matches the registered domain; Contact Onerway support |
13004 | Expired card | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
13005 | Year must be 2 or 4 digits | Check the card details and retry; Ask the customer to use another card |
13006 | Invalid state, please fill in the correct state when the country is US, CA or CN. | Check state in the request (required for US, CA, CN) |
13007 | Incorrect card information | Check the card details and retry |
13008 | Repeat transaction rejected | Check whether the transaction already succeeded |
13009 | Card number is required | Check the card number and retry |
13010 | Unsupported card brand: MAESTRO | Ask the customer to use another card. |
13011 | Decline - Invalid account number | Ask the customer to contact the issuer; Ask the customer to use another card |
13012 | billingAddress.city is longer than 30 characters | Check billingAddress.city in the request |
13013 | mpiInfo is required when risk3dsStrategy is EXTERNAL | Check mpiInfo in the request |
13014 | Invalid transaction type | Check txnType in the request |
13015 | merchantCustId is required for subscription | Check merchantCustId in the request |
13016 | Subscription contract parameters are required | Check subscription in the request |
13017 | Billing information, email, and country are required | Check billingInformation (email, country) |
13018 | Invalid productType | Check productType in the request |
13019 | Invalid product information format | Check txnOrderMsg.products in the request. |
13020 | Invalid subscription frequency | Check subscription (frequencyType, frequencyPoint) |
13021 | Transaction query time range cannot exceed 90 days | Check startTime and endTime |
13022 | Unsupported currency | Check country and currency consistency |
13023 | Subscription contract unavailable | Check subscription status |
13024 | contractId or tokenId is required for subscription payment | Check contractId and tokenId |
13025 | Card year/month is invalid | Check year and month |
13026 | Invalid subProductType | Check subProductType |
13027 | Duplicate order transaction | Check if the request has already been successful |
13028 | Query condition is required | Check merchantTxnIds, transactionIds, startTime, endTime |
13029 | Subscription contract expired | Check whether the subscription has expired |
13030 | Invalid transaction amount | Check amount |
13031 | PAN-only card does not support 3DS | Change to a card that supports 3DS |
13032 | Order has already been captured or canceled | Check whether the order has already been captured or canceled |
13033 | Parameters have already been used for the first subscription purchase | Check whether the same customer has already subscribed to the same product with the same card. |
13034 | Invalid card verification code length | Check the card verification code length |
13035 | Refund amount is too small | Refund amount must be greater than 0 |
13036 | Payer identification number is missing | Provide the payer identification number required for this payment method. |
13038 | Invalid CPF or CNPJ | Check the payer's CPF or CNPJ. |
13039 | Invalid order status | Check the current transaction status before submitting the operation. |
13040 | Invalid logistics carrier code | Check the logistics carrier code against the list in Upload logistics information. |
13041 | Decryption configuration is unavailable | Contact Onerway support. |
13042 | Decryption failed because of invalid data or key | Contact Onerway support. |
13043 | Signature verification failed | Contact Onerway support. |
13044 | Transaction expired | Check the transaction status before trying again. |
13216 | Card security code (CVV) is missing | Ask the customer to enter the card security code in the payment flow and try again. |
Subscription errors (132xx)
| Code | Description | Recommended action |
|---|---|---|
13200 | Invalid self-execute setting | Check "Self execute" setting |
13201 | Invalid email | Check email |
13202 | Invalid cycle count | Check "Cycle count" |
13203 | Invalid trial-from-plan setting | Check "Trial from plan" |
13204 | Invalid trial days or trial end | Check "Trial days" or "trial end" |
13205 | Invalid products information | Check "Products information" |
13206 | Invalid proration setting | Check "Proration" |
13207 | Invalid billing cycle anchor | Check "Billing cycle anchor" |
13208 | Invalid frequency type | Check "frequency type" |
13209 | Invalid subscription request type | Check "subscription request type" |
13210 | Invalid subscription period | Check "subscription period" |
13211 | Invalid subscription frequency | Check "subscription frequency" |
13212 | Invalid merchant customer number | Check "Merchant customer number" |
13213 | Invalid contract number or token | Check "contract number" or "token" |
13214 | Subscription validity is earlier than the current time | Check "Subscription validity" |
13215 | Invalid contract information | Check "contract information" |
Refund errors (14xxx)
| Code | Description | Recommended action |
|---|---|---|
14001 | Refund failed | Check the transaction status |
14002 | Real-time refund is not supported | Retry later |
14003 | Cumulative refund amount exceeds the transaction amount | Check the current and cumulative refund amounts |
14004 | Refund has already been processed and cannot be canceled | Check the refund status before canceling |
14005 | Online refunds not supported | Process the refund manually through an offline channel |
14006 | Real-time refund not supported | Use delayed refund processing |
14007 | Refund not supported for this payment method | Process the refund manually through another channel |
14008 | System automatic refund in progress | Wait for the automatic refund to complete |
14009 | Only full refund allowed for chargeback transactions | Submit a full refund instead of a partial refund |
14010 | Refund must use designated interface | Send the refund request to the designated interface |
14011 | Online refund failed because orders are pending or rejected | Resolve pending or rejected orders first |
14012 | Insufficient settlement account balance | Check the balance available for the refund; contact Onerway support if you need help. |
14013 | Transaction does not support refund initiation | Contact Onerway support |
14014 | Chargeback already exists, refund not supported | Do not refund again; the amount has already been returned through the bank or card issuer |
14015 | Original transaction was not successful | Verify the original transaction status before refunding |
14016 | Refund time limit exceeded | Contact Onerway support. |
14017 | Duplicate refund | Check the existing refund before submitting another request. |
14018 | Refund was manually canceled | Contact Onerway support for help with the canceled refund. |
Risk control errors (20xxx)
| Code | Description | Recommended action |
|---|---|---|
20001 | High risk | Confirm the customer identity; retry after 24 hours or contact Onerway support |
Validation errors (30xxx)
| Code | Description | Recommended action |
|---|---|---|
30001 | Invalid IP address | Check ip in the request |
30002 | Invalid birthDate | Check birthDate |
30003 | Invalid product | Check product |
30004 | Invalid merchantCustId | Check merchantCustId |
30005 | Invalid productType | Check productType |
30006 | Invalid appId | Check appId |
30007 | Invalid card number | Check the card number and retry |
30008 | Invalid card verification code | Check the card verification code and retry |
30009 | Invalid pin | Ask the customer to contact the issuer; Ask the customer to use another card |
30010 | Invalid expiry month or year | Check the expiry date and retry; Ask the customer to use another card |
30011 | Invalid cardholder name | Check the cardholder name and retry |
30012 | Invalid country | Check country |
30013 | Invalid state | Check state |
30014 | Invalid city | Check city |
30015 | Invalid address | Check address |
30016 | Invalid email | Check email |
30017 | Invalid postalCode | Check postalCode |
30018 | Invalid phone | Check phone |
30019 | Invalid account | Ask the customer to contact the issuer; Ask the customer to use another card |
30020 | Invalid parameters | Check the API documentation and request parameters |
30021 | Invalid transaction URL | Contact Onerway support to review and approve the website |
30022 | American Express card security code must contain 4 digits | Check the security code for the American Express card. |
30023 | Authentication frequency limit exceeded | Reduce the request frequency before trying again. |
30033 | Too many invalid requests | Check the requests against the API requirements before trying again. |
30034 | Invalid one-time password (OTP) | Ask the customer to check the one-time password. |
30035 | A failed transaction cannot be voided | Check the original transaction status. |
30036 | Transaction has already been voided | Do not submit another void request for this transaction. |
30037 | Transaction has been refunded or a refund is in progress | Check the refunds associated with the original transaction. |
30038 | Transaction type does not support voiding | Check the original transaction type. |
30039 | Transaction has been captured or capture is in progress | Check the capture status of the original transaction. |
30040 | Void is in progress | Check the transaction status before submitting another void request. |
Acquirer errors (40xxx)
| Code | Description | Recommended action |
|---|---|---|
40000 | Illegal parameter {field} | Check the field value, format, and dependencies against the endpoint reference; message names the offending field |
40001 | Acquirer suspected fraud | Confirm the customer identity and retry with another card |
40002 | Acquirer system failure | Retry later; Ask the customer to use another card; Contact Onerway support |
40003 | Acquirer decline | Retry later; Ask the customer to use another card |
40004 | Acquirer timeout | Retry later |
40005 | Missing or invalid acquirer parameters | Contact Onerway support |
40006 | Customer account payment limit reached | Ask the customer to check the payment limit on their account. |
40007 | No payment method is available for the customer | Ask the customer to check the payment methods available in their account. |
40008 | Payment method is not supported | Contact Onerway support. |
40009 | Order has already been paid | Do not submit the payment again; check the existing payment result. |
40010 | Payment failed | Check the payment details and transaction status before trying again. |
3DS errors (50xxx)
| Code | Description | Recommended action |
|---|---|---|
50001 | 3DS authentication required | Retry and complete 3DS authentication; Ask the customer to use another card |
50002 | 3DS parameters error | Retry and complete 3DS authentication; Ask the customer to use another card |
50003 | 3DS authentication failure | Retry and complete 3DS authentication; Ask the customer to use another card |
50004 | 3DS system error | Retry and complete 3DS authentication; Ask the customer to use another card |
50030 | Order canceled | Confirm the order status before taking further action. |
Issuer errors (60xxx)
| Code | Description | Recommended action |
|---|---|---|
60001 | Refer to card issuer | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
60002 | Refer to card issuer, special condition | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
60003 | Invalid merchant | Contact Onerway support |
60004 | Pick up card (no fraud)/Capture card | Ask the customer to contact the issuer or use another card |
60005 | Do not honor | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
60006 | Issuer processing error | Retry later or ask the customer to use another card |
60007 | Pick up card, special condition (fraud account) | Ask the customer to contact the issuer or use another card |
60012 | Invalid transaction | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
60013 | Invalid amount or Currency conversion field overflow | Check transaction amount or currency; Contact Onerway support |
60014 | Invalid account number | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
60015 | Invalid issuer | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
60019 | Re-enter transaction | Check for format errors; Check address information |
60021 | No action taken | Ask the customer to contact the issuer; Ask the customer to use another card |
60025 | Unable to locate record in file | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
60028 | File temporarily not available for update or inquiry | Retry the transaction |
60030 | Format error | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
60039 | No credit account | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
60041 | Lost card, pick up card (fraud account) | Ask the customer to contact the issuer or use another card |
60043 | Stolen card, pick up (fraud account) | Ask the customer to contact the issuer or use another card |
60046 | Closed account | Ask the customer to contact the card issuer or use another card. |
60051 | Insufficient funds/over credit limit | Refer to card issuer to confirm credit limit; Ask the customer to use another card |
60052 | No checking account | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
60053 | No savings account | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
60054 | Expired card or expiration date missing | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
60055 | PIN incorrect or missing/Invalid PIN | Ask the customer to contact the issuer or use another card |
60057 | Transaction not permitted to issuer/cardholder | Ask the customer to contact the issuer or use another card |
60058 | Transaction not permitted to acquirer/terminal | Ask the customer to contact the issuer or use another card |
60059 | Suspected fraud | Ask the customer to contact the card issuer to confirm the reason for the decline. Do not retry without resolving the issue. |
60061 | Exceeds approval amount limit | Ask the customer to contact the issuer or use another card |
60062 | Restricted card (card invalid in region or country)/Restricted card | Ask the customer to contact the issuer or use another card |
60063 | Security violation (source is not correct issuer)/Security violation | Ask the customer to contact the card issuer to confirm the security issue before another payment attempt. |
60064 | Transaction does not fulfill AML requirement | Do not retry; review the transaction risk |
60065 | Exceeds withdrawal frequency limit | Ask the customer to contact the issuer; Ask the customer to use another card; Contact Onerway support |
60070 | PIN data required or contact card issuer | Ask the customer to contact the issuer or use another card |
60071 | PIN Not Changed | Ask the customer to contact the issuer or use another card |
60074 | Different value than that used for PIN encryption errors | Ask the customer to contact the issuer or use another card |
60075 | Allowable number of PIN entry tries exceeded | Ask the customer to contact the issuer or use another card |
60076 | Unsolicited reversal or invalid destination account | Ask the customer to contact the issuer or use another card |
60077 | Invalid/nonexistent "From Account" specified | Ask the customer to contact the issuer or use another card |
60078 | Blocked card or invalid account | Contact card issuer to confirm activation; Ask the customer to use another card |
60079 | Reversed or card life-cycle restriction | Check the transaction status and contact Onerway support to confirm the next step. |
60080 | No financial impact or issuer system unavailable | Check the transaction status before making another payment attempt; contact Onerway support if the result is unclear. |
60081 | PIN cryptographic error or domestic debit not allowed | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
60082 | Card authentication value failed or issuer policy decline | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
60083 | Fraud/Security (Mastercard use only) | Ask the customer to contact the card issuer to confirm the fraud or security restriction before another payment attempt. |
60084 | Invalid Authorization Life Cycle | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
60086 | PIN verification is not possible | Retry on the same day; Try a non-PIN transaction if applicable |
60087 | Purchase Amount Only, No Cash Back Allowed | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
60088 | Cryptographic failure | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
60089 | Financial position information is not available or PIN retry required | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
60090 | Cutoff is in progress | Ask the customer to contact the issuer or use another card |
60091 | Issuer or authorization system unavailable | Retry in 24 hours; Ask the customer to contact the issuer; Ask the customer to use another card |
60092 | Unable to route transaction | Contact Onerway support |
60093 | Transaction violates legal or regulatory requirements | Ask the customer to contact the issuer; do not retry |
60094 | Duplication transaction detected | Check whether the transaction already succeeded |
60096 | System malfunction | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
60097 | Bank declined the payment | Ask the customer to check their card details and balance, or contact their bank. |
60098 | Card is temporarily blocked or has not been activated | Ask the customer to confirm the card status with the card issuer or use another card. |
60100 | Exceeds authentication frequency limit | Ask the customer to contact the issuer; Ask the customer to use another card; Contact Onerway support |
60101 | Cancelled | Confirm the transaction status and reason for cancellation; contact Onerway support if the cancellation was unexpected. |
60102 | Duplicate transaction | Check whether the transaction already succeeded |
60103 | Soft decline | Ask the customer to use another card or complete a 3DS challenge |
60104 | Hard decline | Do not retry |
60105 | Refund failed | Contact Onerway support |
60106 | Customer did not pay before the order timed out | Confirm that the order is closed. Do not ask the customer to complete payment on an expired order; contact Onerway support if the status is unclear. |
60129 | Suspected Counterfeit Card | Ask the customer to contact the issuer; Ask the customer to use another card |
6001A | Additional customer authentication required | Ask the customer to use another card or complete 3DS authentication |
6001Z | Authorization system inoperative | Ask the customer to contact the issuer or use another card |
6006P | Verification data failed | Check the card details and retry; Complete 3DS authentication; Ask the customer to use another card |
600B1 | Surcharge amount not permitted on Visa cards or EBT food stamps (U.S. acquirers only) | Ask the customer to use another card |
600B2 | Surcharge amount not supported by debit network issuer. | Ask the customer to use another card |
600N0 | Issuer forces stand-in processing | Check the card details and retry; Complete 3DS authentication; Ask the customer to use another card |
600N3 | Cash service not available | Ask the customer to contact the issuer; Retry later; Change the amount; Ask the customer to use another card |
600N4 | Cash request exceeds issuer or approved limit | Ask the customer to contact the issuer; Change the amount; Ask the customer to use another card |
600N5 | Ineligible for resubmission | Ask the customer to contact the issuer; Ask the customer to use another card |
600N7 | Decline for card verification code failure | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
600N8 | Transaction amount exceeds preauthorized approval amount | Make sure the capture amount does not exceed the authorized amount |
600P5 | Denied PIN unblock—PIN change or unblock request declined by issuer | Ask the customer to contact the issuer or use another card |
600P6 | Denied PIN change—requested PIN unsafe | Ask the customer to contact the issuer or use another card |
600Q1 | Card Authentication failed | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
600R0 | Stop this payment | Do not retry; contact Onerway support |
600R1 | Stop all future payments | Do not retry; contact Onerway support |
600R2 | Transaction does not qualify for Visa PIN | Ask the customer to contact the issuer or use another card |
600R3 | Stop all merchants | Do not retry; contact Onerway support |
600Z3 | Unable to go online; offline declined | Check the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card |
General errors (70xxx)
| Code | Description | Recommended action |
|---|---|---|
70001 | Common decline | Contact Onerway support |
70002 | Unknown decline | Contact Onerway support |
70003 | Temporary network error | Check the transaction status before trying again later. If the problem persists, contact Onerway support. |