Onerway
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.

System errors (11xxx)

CodeDescriptionRecommended action
11001System exceptionContact Onerway support

Configuration errors (12xxx)

CodeDescriptionRecommended action
12001System configuration declineContact Onerway support
12002Merchant ID is disabled or settlement currency is not configuredContact Onerway support
12003Card brand/3DS/Service is not supportedContact Onerway support
12004Merchant Account is disabled or non-existentContact Onerway support
12005Invalid transaction ID for SDK initializationCheck 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
12006Subscription payment information verification failedFor Onerway-managed subscriptions (selfExecute=1) only: make sure the subscription payment time matches the configured frequency
12007Incorrect transaction IDCheck merchantNo
12008Invalid transaction IPCheck transactionIp in the request
12009Request channel timed outRetry later
12010Configuration error prevents the request from being processedContact Onerway support and confirm the transaction type is enabled
120113DS/API request initialization failedContact Onerway support

Parameter errors (13xxx)

CodeDescriptionRecommended action
13001Invalid appIdContact Onerway support
13002Invalid card numberCheck the card number and retry
13003Invalid transaction URLCheck whether the requested domain matches the registered domain; Contact Onerway support
13004Expired cardCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
13005Year must be 2 or 4 digitsCheck the card details and retry; Ask the customer to use another card
13006Invalid 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)
13007Incorrect card informationCheck the card details and retry
13008Repeat transaction rejectedCheck whether the transaction already succeeded
13009Card number is requiredCheck the card number and retry
13010Unsupported card brand: MAESTROAsk the customer to use another card.
13011Decline - Invalid account numberAsk the customer to contact the issuer; Ask the customer to use another card
13012billingAddress.city is longer than 30 charactersCheck billingAddress.city in the request
13013mpiInfo is required when risk3dsStrategy is EXTERNALCheck mpiInfo in the request
13014Invalid transaction typeCheck txnType in the request
13015merchantCustId is required for subscriptionCheck merchantCustId in the request
13016Subscription contract parameters are requiredCheck subscription in the request
13017Billing information, email, and country are requiredCheck billingInformation (email, country)
13018Invalid productTypeCheck productType in the request
13019Invalid product information formatCheck txnOrderMsg.products in the request.
13020Invalid subscription frequencyCheck subscription (frequencyType, frequencyPoint)
13021Transaction query time range cannot exceed 90 daysCheck startTime and endTime
13022Unsupported currencyCheck country and currency consistency
13023Subscription contract unavailableCheck subscription status
13024contractId or tokenId is required for subscription paymentCheck contractId and tokenId
13025Card year/month is invalidCheck year and month
13026Invalid subProductTypeCheck subProductType
13027Duplicate order transactionCheck if the request has already been successful
13028Query condition is requiredCheck merchantTxnIds, transactionIds, startTime, endTime
13029Subscription contract expiredCheck whether the subscription has expired
13030Invalid transaction amountCheck amount
13031PAN-only card does not support 3DSChange to a card that supports 3DS
13032Order has already been captured or canceledCheck whether the order has already been captured or canceled
13033Parameters have already been used for the first subscription purchaseCheck whether the same customer has already subscribed to the same product with the same card.
13034Invalid card verification code lengthCheck the card verification code length
13035Refund amount is too smallRefund amount must be greater than 0
13036Payer identification number is missingProvide the payer identification number required for this payment method.
13038Invalid CPF or CNPJCheck the payer's CPF or CNPJ.
13039Invalid order statusCheck the current transaction status before submitting the operation.
13040Invalid logistics carrier codeCheck the logistics carrier code against the list in Upload logistics information.
13041Decryption configuration is unavailableContact Onerway support.
13042Decryption failed because of invalid data or keyContact Onerway support.
13043Signature verification failedContact Onerway support.
13044Transaction expiredCheck the transaction status before trying again.
13216Card security code (CVV) is missingAsk the customer to enter the card security code in the payment flow and try again.

Subscription errors (132xx)

CodeDescriptionRecommended action
13200Invalid self-execute settingCheck "Self execute" setting
13201Invalid emailCheck email
13202Invalid cycle countCheck "Cycle count"
13203Invalid trial-from-plan settingCheck "Trial from plan"
13204Invalid trial days or trial endCheck "Trial days" or "trial end"
13205Invalid products informationCheck "Products information"
13206Invalid proration settingCheck "Proration"
13207Invalid billing cycle anchorCheck "Billing cycle anchor"
13208Invalid frequency typeCheck "frequency type"
13209Invalid subscription request typeCheck "subscription request type"
13210Invalid subscription periodCheck "subscription period"
13211Invalid subscription frequencyCheck "subscription frequency"
13212Invalid merchant customer numberCheck "Merchant customer number"
13213Invalid contract number or tokenCheck "contract number" or "token"
13214Subscription validity is earlier than the current timeCheck "Subscription validity"
13215Invalid contract informationCheck "contract information"

Refund errors (14xxx)

CodeDescriptionRecommended action
14001Refund failedCheck the transaction status
14002Real-time refund is not supportedRetry later
14003Cumulative refund amount exceeds the transaction amountCheck the current and cumulative refund amounts
14004Refund has already been processed and cannot be canceledCheck the refund status before canceling
14005Online refunds not supportedProcess the refund manually through an offline channel
14006Real-time refund not supportedUse delayed refund processing
14007Refund not supported for this payment methodProcess the refund manually through another channel
14008System automatic refund in progressWait for the automatic refund to complete
14009Only full refund allowed for chargeback transactionsSubmit a full refund instead of a partial refund
14010Refund must use designated interfaceSend the refund request to the designated interface
14011Online refund failed because orders are pending or rejectedResolve pending or rejected orders first
14012Insufficient settlement account balanceCheck the balance available for the refund; contact Onerway support if you need help.
14013Transaction does not support refund initiationContact Onerway support
14014Chargeback already exists, refund not supportedDo not refund again; the amount has already been returned through the bank or card issuer
14015Original transaction was not successfulVerify the original transaction status before refunding
14016Refund time limit exceededContact Onerway support.
14017Duplicate refundCheck the existing refund before submitting another request.
14018Refund was manually canceledContact Onerway support for help with the canceled refund.

Risk control errors (20xxx)

CodeDescriptionRecommended action
20001High riskConfirm the customer identity; retry after 24 hours or contact Onerway support

Validation errors (30xxx)

CodeDescriptionRecommended action
30001Invalid IP addressCheck ip in the request
30002Invalid birthDateCheck birthDate
30003Invalid productCheck product
30004Invalid merchantCustIdCheck merchantCustId
30005Invalid productTypeCheck productType
30006Invalid appIdCheck appId
30007Invalid card numberCheck the card number and retry
30008Invalid card verification codeCheck the card verification code and retry
30009Invalid pinAsk the customer to contact the issuer; Ask the customer to use another card
30010Invalid expiry month or yearCheck the expiry date and retry; Ask the customer to use another card
30011Invalid cardholder nameCheck the cardholder name and retry
30012Invalid countryCheck country
30013Invalid stateCheck state
30014Invalid cityCheck city
30015Invalid addressCheck address
30016Invalid emailCheck email
30017Invalid postalCodeCheck postalCode
30018Invalid phoneCheck phone
30019Invalid accountAsk the customer to contact the issuer; Ask the customer to use another card
30020Invalid parametersCheck the API documentation and request parameters
30021Invalid transaction URLContact Onerway support to review and approve the website
30022American Express card security code must contain 4 digitsCheck the security code for the American Express card.
30023Authentication frequency limit exceededReduce the request frequency before trying again.
30033Too many invalid requestsCheck the requests against the API requirements before trying again.
30034Invalid one-time password (OTP)Ask the customer to check the one-time password.
30035A failed transaction cannot be voidedCheck the original transaction status.
30036Transaction has already been voidedDo not submit another void request for this transaction.
30037Transaction has been refunded or a refund is in progressCheck the refunds associated with the original transaction.
30038Transaction type does not support voidingCheck the original transaction type.
30039Transaction has been captured or capture is in progressCheck the capture status of the original transaction.
30040Void is in progressCheck the transaction status before submitting another void request.

Acquirer errors (40xxx)

CodeDescriptionRecommended action
40000Illegal parameter {field}Check the field value, format, and dependencies against the endpoint reference; message names the offending field
40001Acquirer suspected fraudConfirm the customer identity and retry with another card
40002Acquirer system failureRetry later; Ask the customer to use another card; Contact Onerway support
40003Acquirer declineRetry later; Ask the customer to use another card
40004Acquirer timeoutRetry later
40005Missing or invalid acquirer parametersContact Onerway support
40006Customer account payment limit reachedAsk the customer to check the payment limit on their account.
40007No payment method is available for the customerAsk the customer to check the payment methods available in their account.
40008Payment method is not supportedContact Onerway support.
40009Order has already been paidDo not submit the payment again; check the existing payment result.
40010Payment failedCheck the payment details and transaction status before trying again.

3DS errors (50xxx)

CodeDescriptionRecommended action
500013DS authentication requiredRetry and complete 3DS authentication; Ask the customer to use another card
500023DS parameters errorRetry and complete 3DS authentication; Ask the customer to use another card
500033DS authentication failureRetry and complete 3DS authentication; Ask the customer to use another card
500043DS system errorRetry and complete 3DS authentication; Ask the customer to use another card
50030Order canceledConfirm the order status before taking further action.

Issuer errors (60xxx)

CodeDescriptionRecommended action
60001Refer to card issuerCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
60002Refer to card issuer, special conditionCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
60003Invalid merchantContact Onerway support
60004Pick up card (no fraud)/Capture cardAsk the customer to contact the issuer or use another card
60005Do not honorCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
60006Issuer processing errorRetry later or ask the customer to use another card
60007Pick up card, special condition (fraud account)Ask the customer to contact the issuer or use another card
60012Invalid transactionCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
60013Invalid amount or Currency conversion field overflowCheck transaction amount or currency; Contact Onerway support
60014Invalid account numberCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
60015Invalid issuerCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
60019Re-enter transactionCheck for format errors; Check address information
60021No action takenAsk the customer to contact the issuer; Ask the customer to use another card
60025Unable to locate record in fileCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
60028File temporarily not available for update or inquiryRetry the transaction
60030Format errorCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
60039No credit accountCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
60041Lost card, pick up card (fraud account)Ask the customer to contact the issuer or use another card
60043Stolen card, pick up (fraud account)Ask the customer to contact the issuer or use another card
60046Closed accountAsk the customer to contact the card issuer or use another card.
60051Insufficient funds/over credit limitRefer to card issuer to confirm credit limit; Ask the customer to use another card
60052No checking accountCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
60053No savings accountCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
60054Expired card or expiration date missingCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
60055PIN incorrect or missing/Invalid PINAsk the customer to contact the issuer or use another card
60057Transaction not permitted to issuer/cardholderAsk the customer to contact the issuer or use another card
60058Transaction not permitted to acquirer/terminalAsk the customer to contact the issuer or use another card
60059Suspected fraudAsk the customer to contact the card issuer to confirm the reason for the decline. Do not retry without resolving the issue.
60061Exceeds approval amount limitAsk the customer to contact the issuer or use another card
60062Restricted card (card invalid in region or country)/Restricted cardAsk the customer to contact the issuer or use another card
60063Security violation (source is not correct issuer)/Security violationAsk the customer to contact the card issuer to confirm the security issue before another payment attempt.
60064Transaction does not fulfill AML requirementDo not retry; review the transaction risk
60065Exceeds withdrawal frequency limitAsk the customer to contact the issuer; Ask the customer to use another card; Contact Onerway support
60070PIN data required or contact card issuerAsk the customer to contact the issuer or use another card
60071PIN Not ChangedAsk the customer to contact the issuer or use another card
60074Different value than that used for PIN encryption errorsAsk the customer to contact the issuer or use another card
60075Allowable number of PIN entry tries exceededAsk the customer to contact the issuer or use another card
60076Unsolicited reversal or invalid destination accountAsk the customer to contact the issuer or use another card
60077Invalid/nonexistent "From Account" specifiedAsk the customer to contact the issuer or use another card
60078Blocked card or invalid accountContact card issuer to confirm activation; Ask the customer to use another card
60079Reversed or card life-cycle restrictionCheck the transaction status and contact Onerway support to confirm the next step.
60080No financial impact or issuer system unavailableCheck the transaction status before making another payment attempt; contact Onerway support if the result is unclear.
60081PIN cryptographic error or domestic debit not allowedCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
60082Card authentication value failed or issuer policy declineCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
60083Fraud/Security (Mastercard use only)Ask the customer to contact the card issuer to confirm the fraud or security restriction before another payment attempt.
60084Invalid Authorization Life CycleCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
60086PIN verification is not possibleRetry on the same day; Try a non-PIN transaction if applicable
60087Purchase Amount Only, No Cash Back AllowedCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
60088Cryptographic failureCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
60089Financial position information is not available or PIN retry requiredCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
60090Cutoff is in progressAsk the customer to contact the issuer or use another card
60091Issuer or authorization system unavailableRetry in 24 hours; Ask the customer to contact the issuer; Ask the customer to use another card
60092Unable to route transactionContact Onerway support
60093Transaction violates legal or regulatory requirementsAsk the customer to contact the issuer; do not retry
60094Duplication transaction detectedCheck whether the transaction already succeeded
60096System malfunctionCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
60097Bank declined the paymentAsk the customer to check their card details and balance, or contact their bank.
60098Card is temporarily blocked or has not been activatedAsk the customer to confirm the card status with the card issuer or use another card.
60100Exceeds authentication frequency limitAsk the customer to contact the issuer; Ask the customer to use another card; Contact Onerway support
60101CancelledConfirm the transaction status and reason for cancellation; contact Onerway support if the cancellation was unexpected.
60102Duplicate transactionCheck whether the transaction already succeeded
60103Soft declineAsk the customer to use another card or complete a 3DS challenge
60104Hard declineDo not retry
60105Refund failedContact Onerway support
60106Customer did not pay before the order timed outConfirm 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.
60129Suspected Counterfeit CardAsk the customer to contact the issuer; Ask the customer to use another card
6001AAdditional customer authentication requiredAsk the customer to use another card or complete 3DS authentication
6001ZAuthorization system inoperativeAsk the customer to contact the issuer or use another card
6006PVerification data failedCheck the card details and retry; Complete 3DS authentication; Ask the customer to use another card
600B1Surcharge amount not permitted on Visa cards or EBT food stamps (U.S. acquirers only)Ask the customer to use another card
600B2Surcharge amount not supported by debit network issuer.Ask the customer to use another card
600N0Issuer forces stand-in processingCheck the card details and retry; Complete 3DS authentication; Ask the customer to use another card
600N3Cash service not availableAsk the customer to contact the issuer; Retry later; Change the amount; Ask the customer to use another card
600N4Cash request exceeds issuer or approved limitAsk the customer to contact the issuer; Change the amount; Ask the customer to use another card
600N5Ineligible for resubmissionAsk the customer to contact the issuer; Ask the customer to use another card
600N7Decline for card verification code failureCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
600N8Transaction amount exceeds preauthorized approval amountMake sure the capture amount does not exceed the authorized amount
600P5Denied PIN unblock—PIN change or unblock request declined by issuerAsk the customer to contact the issuer or use another card
600P6Denied PIN change—requested PIN unsafeAsk the customer to contact the issuer or use another card
600Q1Card Authentication failedCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card
600R0Stop this paymentDo not retry; contact Onerway support
600R1Stop all future paymentsDo not retry; contact Onerway support
600R2Transaction does not qualify for Visa PINAsk the customer to contact the issuer or use another card
600R3Stop all merchantsDo not retry; contact Onerway support
600Z3Unable to go online; offline declinedCheck the card details and retry; Ask the customer to contact the issuer; Ask the customer to use another card

General errors (70xxx)

CodeDescriptionRecommended action
70001Common declineContact Onerway support
70002Unknown declineContact Onerway support
70003Temporary network errorCheck the transaction status before trying again later. If the problem persists, contact Onerway support.