{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/zh/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"8. 错误码详解（Error Code Reference）","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"8-错误码详解error-code-reference","__idx":0},"children":["8. 错误码详解（Error Code Reference）"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"81-http-400请求异常","__idx":1},"children":["8.1 HTTP 400（请求异常）"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"代码"},"children":["代码"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"描述"},"children":["描述"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["400"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["请求参数不合法"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40001"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["request_id 需为有效 UUID"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40002"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["过期时间无效：expires_at 必须为未来时间"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40003"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["amount 必须为正数"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40004"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["金额最多支持 6 位小数"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40005"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["缺少 expires_in 参数"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40006"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["amount 必须大于 0.1"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40007"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["链或代币不在支持列表"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40008"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["success_url 不符合规范"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40009"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["failure_url 不符合规范"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40010"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["金额无效：未找到匹配的支付方式"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40013"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["支付方式未启用：所请求的支付方式对此商户不可用，或仅开启卡支付但金额过小"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"82-http-401未授权","__idx":2},"children":["8.2 HTTP 401（未授权）"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"代码"},"children":["代码"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"描述"},"children":["描述"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["401"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["认证失败或签名无效"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"83-http-403禁止访问","__idx":3},"children":["8.3 HTTP 403（禁止访问）"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"代码"},"children":["代码"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"描述"},"children":["描述"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["403"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["请求被策略拒绝"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"84-http-404资源不存在","__idx":4},"children":["8.4 HTTP 404（资源不存在）"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"代码"},"children":["代码"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"描述"},"children":["描述"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["404"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["对象不存在"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40401"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["订单不存在"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40402"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["支付不存在"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"85-http-409业务冲突","__idx":5},"children":["8.5 HTTP 409（业务冲突）"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"代码"},"children":["代码"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"描述"},"children":["描述"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40901"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["request_id 重复"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40902"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["client_reference 重复"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40903"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["存在有效支付，禁止重复创建"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40904"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["支付处理中，暂不可创建新支付"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40905"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Token 无权操作该订单"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40906"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["订单已过期"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40907"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["订单已完成或过期，无法创建支付"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40908"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["由于存在待处理的支付，无法创建支付"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40909"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["该订单已存在进行中的入金订单"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40910"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["金额低于卡支付允许的最小值"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40911"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["金额超过卡支付允许的最大值"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["40912"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["您的地区不支持购买"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"86-http-500服务器内部错误","__idx":6},"children":["8.6 HTTP 500（服务器内部错误）"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"代码"},"children":["代码"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"描述"},"children":["描述"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["500"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["内部异常，请联系支持团队"]}]}]}]}]}]},"headings":[{"value":"8. 错误码详解（Error Code Reference）","id":"8-错误码详解error-code-reference","depth":2},{"value":"8.1 HTTP 400（请求异常）","id":"81-http-400请求异常","depth":3},{"value":"8.2 HTTP 401（未授权）","id":"82-http-401未授权","depth":3},{"value":"8.3 HTTP 403（禁止访问）","id":"83-http-403禁止访问","depth":3},{"value":"8.4 HTTP 404（资源不存在）","id":"84-http-404资源不存在","depth":3},{"value":"8.5 HTTP 409（业务冲突）","id":"85-http-409业务冲突","depth":3},{"value":"8.6 HTTP 500（服务器内部错误）","id":"86-http-500服务器内部错误","depth":3}],"frontmatter":{"seo":{"title":"8. 错误码详解（Error Code Reference）"}},"lastModified":"2026-06-12T06:47:16.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/zh/docs/en/8-errorcodes","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}