Onerway
API 参考

响应码

对照 Onerway 支付响应中的英文 message,查看中文说明和建议排查动作。

当 API 响应中的 respCode 不是 20000 时,可用本页定位错误类型、排查请求参数、判断是否需要客户换卡、重试或联系 Onerway 支持。接口响应中的 message 为英文;中文说明是为了方便中文读者理解而整理,不代表接口会返回中文 message。

respCode=20000 表示 Onerway 已处理请求,但不一定代表交易、退款、订阅或绑卡的最终业务结果。最终状态仍应结合接口文档、异步通知和查询接口确认。

发卡机构和收单机构拒绝通常与卡片、账户、发卡机构风控或通道状态有关。不要对硬拒绝、疑似欺诈、AML、法律/监管限制类错误盲目重试。

错误码范围

范围Category中文类别数量
11xxxSystem errors系统错误1
12xxxConfiguration errors配置错误11
13xxxParameter errors参数错误35
132xxSubscription errors订阅错误16
14xxxRefund errors退款错误15
20xxxRisk control errors风控错误1
30xxxValidation errors校验错误21
40xxxAcquirer errors收单机构错误6
50xxx3DS errors3DS 错误5
60xxxIssuer errors发卡机构错误83
70xxxGeneral errors通用错误2

系统错误(11xxx)

错误码message中文说明建议处理
11001System exception系统异常联系 Onerway 支持

配置错误(12xxx)

错误码message中文说明建议处理
12001System configuration decline系统配置拒绝联系 Onerway 支持
12002Merchant ID is disabled or settlement currency is not configured商户号已停用或未配置结算币种联系 Onerway 支持
12003Card brand/3DS/Service is not supported不支持该卡组织、3DS 或服务联系 Onerway 支持
12004Merchant Account is disabled or non-existent商户账户已停用或不存在联系 Onerway 支持
12005Invalid transaction ID for SDK initializationSDK 初始化交易 ID 无效确认 SDK 初始化使用的交易号来自服务端响应;确认交易号未被篡改;确认下单接口与 SDK 使用同一环境
12006Subscription payment information verification failed订阅支付信息校验失败仅适用于托管订阅(selfExecute=1):确保订阅支付时间符合扣款频率
12007Incorrect transaction ID交易 ID 不正确检查 merchantNo
12008Invalid transaction IP交易 IP 无效检查请求中的 transactionIp
12009Request channel timed out请求通道超时稍后重试
12010Configuration error prevents the request from being processed配置错误导致请求无法处理联系 Onerway 支持确认交易类型已启用
120113DS/API request initialization failed3DS/API 请求初始化失败联系 Onerway 支持

参数错误(13xxx)

错误码message中文说明建议处理
13001Invalid appIdappId 无效联系 Onerway 支持
13002Invalid card number卡号无效检查卡号后重试
13003Invalid transaction URL交易 URL 无效检查请求域名是否与已登记域名一致;联系 Onerway 支持
13004Expired card卡片已过期检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
13005Year must be 2 or 4 digits年份必须为 2 位或 4 位数字检查卡片信息后重试;请客户换用其他卡
13006Invalid state, please fill in the correct state when the country is US, CA or CN.国家/地区为 US、CA 或 CN 时,state 无效或缺失检查请求中的 state(US、CA、CN 必填)
13007Incorrect card information卡片信息不正确检查卡片信息后重试
13008Repeat transaction rejected重复交易被拒绝确认交易是否已成功
13009Card number is required卡号不能为空检查卡号后重试
13010Unsupported card brand: MAESTRO不支持 MAESTRO 卡检查卡组织配置
13011Decline - Invalid account number账户号码无效导致拒绝请客户联系发卡机构确认;请客户换用其他卡
13012billingAddress.city is longer than 30 charactersbillingAddress.city 长度不能超过 30 个字符检查请求中的 city(最多 30 个字符)
13013mpiInfo is required when risk3dsStrategy is EXTERNALrisk3dsStrategy=EXTERNAL 时必须传入 mpiInfo检查请求中的 mpiInfo
13014Invalid transaction type交易类型无效检查请求中的 txnType
13015merchantCustId is required for subscription订阅场景必须传入商户客户号检查请求中的 merchantCustId
13016Subscription contract parameters are required订阅合约参数不能为空检查请求中的 subscription
13017Billing information, email, and country are required账单信息不能为空,且 email 与 country 必须填写检查 billingInformation.email 和 billingInformation.country
13018Invalid productTypeproductType 无效检查请求中的 productType
13019Invalid product information format商品信息格式无效检查 txnOrderMsg.products
13020Invalid subscription frequency订阅扣款频率无效检查 subscription.frequencyType 和 subscription.frequencyPoint
13021Transaction query time range cannot exceed 90 days交易查询时间范围不能超过 90 天检查 startTime 和 endTime
13022Unsupported currency不支持该币种检查国家/地区与币种是否匹配
13023Subscription contract unavailable订阅合约不可用检查订阅状态
13024contractId or tokenId is required for subscription payment订阅支付必须传入 contractId 或 tokenId检查 contractId 和 tokenId
13025Card year/month is invalid卡片年份或月份无效检查 year 和 month
13026Invalid subProductTypesubProductType 无效检查 subProductType
13027Duplicate order transaction订单交易重复确认请求是否已处理成功
13028Query condition is required查询条件不能为空检查 merchantTxnIds、transactionIds、startTime 和 endTime
13029Subscription contract expired订阅合约已过期确认订阅是否已过期
13030Invalid transaction amount交易金额无效检查 amount
13031PAN-only card does not support 3DSPAN-only 卡不支持 3DS换用支持 3DS 的卡
13032Order has already been captured or canceled订单已请款或已取消,不能再次请款确认订单是否已请款或取消
13033Parameters have already been used for the first subscription purchase该参数组合已用于首次订阅支付确认同一买家是否已用同一张卡完成订阅
13034Invalid card verification code lengthCVC 长度无效检查 CVC 长度
13035Refund amount is too small退款金额过小退款金额必须大于 0

订阅错误(132xx)

错误码message中文说明建议处理
13200Invalid self-execute settingSelf execute 设置无效检查 Self execute
13201Invalid email邮箱无效检查 email
13202Invalid cycle countCycle count 无效检查 Cycle count
13203Invalid trial-from-plan settingTrial from plan 设置无效检查 Trial from plan
13204Invalid trial days or trial endTrial days 或 trial end 无效检查 Trial days 或 trial end
13205Invalid products information商品信息无效检查 Products information
13206Invalid proration settingProration 设置无效检查 Proration
13207Invalid billing cycle anchorBilling cycle anchor 无效检查 Billing cycle anchor
13208Invalid frequency type订阅频率类型无效检查 frequency type
13209Invalid subscription request type订阅请求类型无效检查 subscription request type
13210Invalid subscription period订阅周期无效检查 subscription period
13211Invalid subscription frequency订阅频率无效检查 subscription frequency
13212Invalid merchant customer number商户客户号无效检查 Merchant customer number
13213Invalid contract number or token合约号或 token 无效检查 contract number 或 token
13214Subscription validity is earlier than the current time订阅有效期早于当前时间检查 Subscription validity
13215Invalid contract information合约信息无效检查 contract information

退款错误(14xxx)

错误码message中文说明建议处理
14001Refund failed退款失败检查交易状态
14002Real-time refund is not supported不支持实时退款稍后重试
14003Cumulative refund amount exceeds the transaction amount累计退款金额不能大于交易金额检查本次退款金额和累计退款金额
14004Refund has already been processed and cannot be canceled退款已处理,不能取消取消前先检查退款状态
14005Online refunds not supported不支持线上退款通过线下渠道手动处理退款
14006Real-time refund not supported不支持实时退款改用延迟退款处理
14007Refund not supported for this payment method该支付方式不支持退款通过其他渠道手动处理退款
14008System automatic refund in progress系统自动退款处理中等待自动退款完成
14009Only full refund allowed for chargeback transactions拒付交易只允许全额退款提交全额退款,不要提交部分退款
14010Refund must use designated interface退款必须使用指定接口将退款请求发送到指定接口
14011Online refund failed because orders are pending or rejected订单待审核或已拒绝导致线上退款失败先处理待审核或已拒绝订单
14012Insufficient payout account balance打款账户余额不足确保打款账户余额充足
14013Transaction does not support refund initiation该交易不支持发起退款联系 Onerway 支持
14014Chargeback already exists, refund not supported已存在拒付,不能再发起退款不要重复退款;款项已通过银行或发卡机构退回
14015Original transaction was not successful原交易未成功退款前核实原交易状态

风控错误(20xxx)

错误码message中文说明建议处理
20001High risk高风险交易确认客户身份;24 小时后重试或联系 Onerway 支持

校验错误(30xxx)

错误码message中文说明建议处理
30001Invalid IP addressIP 地址无效检查请求中的 ip
30002Invalid birthDatebirthDate 无效检查 birthDate
30003Invalid productproduct 无效检查 product
30004Invalid merchantCustIdmerchantCustId 无效检查 merchantCustId
30005Invalid productTypeproductType 无效检查 productType
30006Invalid appIdappId 无效检查 appId
30007Invalid number卡号无效检查卡号后重试
30008Invalid card verification codeCVC 无效检查 CVC 后重试
30009Invalid pinPIN 无效请客户联系发卡机构确认;请客户换用其他卡
30010Invalid expiry month or year有效期月份或年份无效检查有效期后重试;请客户换用其他卡
30011Invalid cardholder name持卡人姓名无效检查持卡人姓名后重试
30012Invalid country国家/地区无效检查 country
30013Invalid state州/省无效检查 state
30014Invalid city城市无效检查 city
30015Invalid address地址无效检查 address
30016Invalid email邮箱无效检查 email
30017Invalid postalCode邮编无效检查 postalCode
30018Invalid phone电话无效检查 phone
30019Invalid account账户无效请客户联系发卡机构确认;请客户换用其他卡
30020Invalid parameters参数无效参考 API 文档检查请求参数
30021Invalid transaction URL交易 URL 无效联系 Onerway 支持审核并批准网站

收单机构错误(40xxx)

错误码message中文说明建议处理
40000Illegal parameter {field}请求参数非法;message 中会指出具体字段名按接口文档检查该字段的取值、格式与依赖条件
40001Acquirer suspected fraud收单机构疑似欺诈拒绝确认客户身份,并换用其他卡重试
40002Acquirer system failure收单机构系统故障稍后重试;请客户换用其他卡;联系 Onerway 支持
40003Acquirer decline收单机构拒绝稍后重试;请客户换用其他卡
40004Acquirer timeout收单机构超时稍后重试
40005Missing or invalid acquirer parameters收单机构参数缺失或无效联系 Onerway 支持

3DS 错误(50xxx)

错误码message中文说明建议处理
500013DS authentication required需要完成 3DS 认证重试并完成 3DS 认证;请客户换用其他卡
500023DS parameters error3DS 参数错误重试并完成 3DS 认证;请客户换用其他卡
500033DS authentication failure3DS 认证失败重试并完成 3DS 认证;请客户换用其他卡
500043DS system error3DS 系统错误重试并完成 3DS 认证;请客户换用其他卡
50030Order canceled订单已取消确认订单状态后再处理

发卡机构错误(60xxx)

错误码message中文说明建议处理
60001Refer to card issuer请联系发卡机构检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60002Refer to card issuer, special condition请联系发卡机构,存在特殊条件检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60003Invalid merchant商户无效联系 Onerway 支持
60004Pick up card (no fraud)/Capture card需要收卡(非欺诈)请客户联系发卡机构确认,或换用其他卡
60005Do not honor发卡机构拒绝授权检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60006Issuer processing error发卡机构处理错误稍后重试,或请客户换用其他卡
60007Pick up card, special condition (fraud account)需要收卡,疑似欺诈账户请客户联系发卡机构确认,或换用其他卡
60012Invalid transaction交易无效检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60013Invalid amount or Currency conversion field overflow金额无效或币种转换字段溢出检查交易金额或币种;联系 Onerway 支持
60014Invalid account number账户号码无效检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60015Invalid issuer发卡机构无效检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60019Re-enter transaction需要重新提交交易检查报文格式;检查地址信息
60021No action taken未采取处理动作请客户联系发卡机构确认;请客户换用其他卡
60025Unable to locate record in file无法定位相关记录检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60028File temporarily not available for update or inquiry文件暂时无法更新或查询重新发起交易
60030Format error报文格式错误检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60039No credit account无信用账户检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60041Lost card, pick up card (fraud account)遗失卡,需要收卡,疑似欺诈账户请客户联系发卡机构确认,或换用其他卡
60043Stolen card, pick up (fraud account)被盗卡,需要收卡,疑似欺诈账户请客户联系发卡机构确认,或换用其他卡
60046Closed account账户已关闭检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60051Insufficient funds/over credit limit余额不足或超过授信额度请客户联系发卡机构确认额度;请客户换用其他卡
60052No checking account无支票账户检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60053No savings account无储蓄账户检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60054Expired card or expiration date missing卡片已过期或缺少有效期检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60055PIN incorrect or missing/Invalid PINPIN 不正确或缺失请客户联系发卡机构确认,或换用其他卡
60057Transaction not permitted to issuer/cardholder发卡机构或持卡人不允许该交易请客户联系发卡机构确认,或换用其他卡
60058Transaction not permitted to acquirer/terminal收单机构或终端不允许该交易请客户联系发卡机构确认,或换用其他卡
60059Suspected fraud疑似欺诈检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60061Exceeds approval amount limit超过授权金额限制请客户联系发卡机构确认,或换用其他卡
60062Restricted card (card invalid in region or country)/Restricted card受限卡或该地区/国家不可用请客户联系发卡机构确认,或换用其他卡
60063Security violation (source is not correct issuer)/Security violation安全校验失败检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60064Transaction does not fulfill AML requirement交易不满足 AML 要求不要重试;复核交易风险
60065Exceeds withdrawal frequency limit超过取现频次限制请客户联系发卡机构确认;请客户换用其他卡;联系 Onerway 支持
60070PIN data required or contact card issuer需要 PIN 数据或联系发卡机构请客户联系发卡机构确认,或换用其他卡
60071PIN Not ChangedPIN 未变更请客户联系发卡机构确认,或换用其他卡
60074Different value than that used for PIN encryption errorsPIN 加密错误相关值不匹配请客户联系发卡机构确认,或换用其他卡
60075Allowable number of PIN entry tries exceededPIN 输入尝试次数已超限请客户联系发卡机构确认,或换用其他卡
60076Invalid or unsolicited reversal account information冲正账户信息无效或不存在请客户联系发卡机构确认,或换用其他卡
60077Invalid/nonexistent "From Account" specified来源账户无效或不存在请客户联系发卡机构确认,或换用其他卡
60078Blocked card or invalid account卡片未激活、临时锁定或账户无效请客户联系发卡机构确认卡片是否已激活;请客户换用其他卡
60079Reversed or card life-cycle restriction交易已冲正或卡生命周期受限检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60080No financial impact or issuer system unavailable无资金影响或发卡系统不可用检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60081PIN cryptographic error or domestic debit not allowedPIN 加密错误或本地借记交易不允许检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60082Card authentication value failed or issuer policy decline卡片认证值校验失败或发卡机构策略拒绝检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60083Fraud/Security (Mastercard use only)欺诈或安全原因拒绝检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60084Invalid Authorization Life Cycle授权生命周期无效检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60086PIN verification is not possible无法验证 PIN当天内重试;如适用,尝试非 PIN 交易
60087Purchase Amount Only, No Cash Back Allowed仅允许消费金额,不允许现金返还检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60088Cryptographic failure加密校验失败检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60089Financial position information is not available or PIN retry required无法获取财务状态信息或 PIN 需重试检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60090Cutoff is in progressCutoff 处理中请客户联系发卡机构确认,或换用其他卡
60091Issuer or authorization system unavailable发卡机构或授权系统不可用24 小时后重试;请客户联系发卡机构确认;请客户换用其他卡
60092Unable to route transaction交易无法路由联系 Onerway 支持
60093Transaction violates legal or regulatory requirements交易违反法律或监管要求请客户联系发卡机构确认;不要重试
60094Duplication transaction detected检测到重复交易确认交易是否已成功
60096System malfunction系统故障检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
60100Exceeds authentication frequency limit超过认证频次限制请客户联系发卡机构确认;请客户换用其他卡;联系 Onerway 支持
60101Cancelled交易已取消请客户联系发卡机构确认;请客户换用其他卡;联系 Onerway 支持
60102Duplicate transaction重复交易确认交易是否已成功
60103Soft decline软拒绝请客户换用其他卡,或完成 3DS challenge
60104Hard decline硬拒绝不要重试
60105Refund failed退款失败联系 Onerway 支持
60106Customer did not pay before the order timed out用户未在有效时间内完成支付,订单已超时关闭请客户在订单有效时间内完成支付
60129Suspected Counterfeit Card疑似伪卡请客户联系发卡机构确认;请客户换用其他卡
6001AAdditional customer authentication required需要额外客户认证请客户换用其他卡,或完成 3DS 认证
6001ZAuthorization system inoperative授权系统不可用请客户联系发卡机构确认,或换用其他卡
6006PVerification data failed验证数据失败检查卡片信息后重试;完成 3DS 认证;请客户换用其他卡
600B1Surcharge amount not permitted on Visa cards or EBT food stamps (U.S. acquirers only)Visa 卡或美国 EBT 食品券不允许收取附加费请客户换用其他卡
600B2Surcharge amount not supported by debit network issuer.借记网络发卡机构不支持附加费请客户换用其他卡
600N0Issuer forces stand-in processing发卡机构要求走 STIP 代授权处理检查卡片信息后重试;完成 3DS 认证;请客户换用其他卡
600N3Cash service not available现金服务不可用请客户联系发卡机构确认;稍后重试;调整金额;请客户换用其他卡
600N4Cash request exceeds issuer or approved limit现金请求超过发卡机构或已批准限额请客户联系发卡机构确认;调整金额;请客户换用其他卡
600N5Ineligible for resubmission不符合重新提交条件请客户联系发卡机构确认;请客户换用其他卡
600N7Decline for card verification code failureCVC 校验失败导致拒绝检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
600N8Transaction amount exceeds preauthorized approval amount交易金额超过预授权批准金额确认请款金额不超过预授权金额
600P5Denied PIN unblock—PIN change or unblock request declined by issuer发卡机构拒绝 PIN 解锁请求请客户联系发卡机构确认,或换用其他卡
600P6Denied PIN change—requested PIN unsafe发卡机构拒绝 PIN 变更请求请客户联系发卡机构确认,或换用其他卡
600Q1Card Authentication failed卡片认证失败检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡
600R0Stop this payment停止本次支付不要重试;联系 Onerway 支持
600R1Stop all future payments停止所有后续支付不要重试;联系 Onerway 支持
600R2Transaction does not qualify for Visa PIN交易不符合 Visa PIN 条件请客户联系发卡机构确认,或换用其他卡
600R3Stop all merchants停止所有商户交易不要重试;联系 Onerway 支持
600Z3Unable to go online; offline declined无法联机,离线拒绝检查卡片信息后重试;请客户联系发卡机构确认;请客户换用其他卡

通用错误(70xxx)

错误码message中文说明建议处理
70001Common decline通用拒绝联系 Onerway 支持
70002Unknown decline未知拒绝联系 Onerway 支持