支付引擎
支付引擎错误代码
支付引擎 API 的错误码说明与建议处理方式。
支付引擎错误代码
适用范围
本页仅适用于支付引擎 API。团队 API 使用不同的认证方式和错误码体系,请勿混用。
成功码只有 00000,其他均为异常。以下为所有异常错误码及处理建议。
| 错误码 | 返回内容 | 描述 | 解决方案 |
|---|---|---|---|
| Axxxx | Param Error | 参数错误 | 请联系 Cregis 客服处理 |
| A0400 | order_amount must be a number in a string format that is greater than 0 and less than or equal to 100,000,000. | order_amount 少于或等于 0 或大于或等于 100,000,000 或 order_amount 不是一个正确金额 | 请确保 order_amount 是一个正确的数字,大于 0 及少于或等于 100,000,000,并为 string 格式。 |
| A0400 | {{parameter_name}} cannot exceed {{limit}} characters. | String 的参数,大于数据表设定的字符 | 请将该参数 {{parameter_name}} 的字符降至 {{limit}} 或以内。 |
| A0400 | order_id, order_amount, order_currency, payer_id, success_url and cancel_url are required | 没有填写其一或全部(order_id、order_amount、order_currency、payer_id、success_url或cancel_url) | 请确保 order_id、order_amount、order_currency、payer_id、success_url 及 cancel_url 的参数已全部上传 |
| A0400 | {{parameter_name}} must be submitted as a JSON string. | order_details, sub_merchant或 tokens 不是空,及解码不到为 json | 上传的参数 {{parameter_name}} 不是一个正确的 JSON String 格式,请确保对参数进行正确的 JSON 字串编码。 |
| B0001 | Signature Error | 签名错误 | 请检查签名参数和方法是否都符合签名算法要求,签名规则请参考签名规则 |
| T0062 | Please expand the number of API addresses or upgrade the subscription version first | API 地址数不足 | 扩容 API 地址数量或者升级订阅版本,详情参考管理团队版本 |
| E0001 | The IP is not added to the whitelist list | 请求 Cregis API 服务的 IP 地址未授权 | 登录 Cregis 客户端,配置 IP 白名单,详情参考配置 IP 白名单 |
| E0002 | Alias or remark must be a combination of {} characters or less | 别名或备注必须是 {} 位字符以内组合 | 请检查 alias(地址别名)或 remark(备注)字段格式是否符合要求 |
| E0003 | pid does not exist | 支付引擎项目不存在 | 请检查 pid 是否正确。 |
| E0004 | Unsupported interface type | 不支持的接口类型 | 项目接口类型没有开启,请登录 Cregis 开启,详情参考编辑项目接口类型 |
| E0005 | Unsupported coin | 不支持的币种 | 请检查请求币种 Cregis 是否已支持,详情参考支持的网络和代币 |
| E0006 | The withdrawal amount must be greater than 0 | 提币金额需大于 0 | 请检查提币请求中的 amount(金额)字段,不允许为空或 0 |
| E0007 | Incorrect accuracy of the withdrawal amount | 提币金额精度错误 | 请检查提币请求中的 amount(金额)字段精度是否符合 Cregis 要求,详情参考支持的代币 |
| E0008 | Address is invalid | 地址不合法 | 请检查地址格式是否正确或是否属于该网络地址 |
| E0009 | Duplicate business number | 三方业务编号重复 | 请检查提币请求中的 third_party_id(三方业务编号)字段是否重复,由您自己的业务系统生成 |
| E0010 | Wallet does not exist | 钱包不存在 | 请检查钱包 ID 是否正确,可前往 Cregis 客户端 > WaaS 项目 > 设置 > 开发者 > 接口类型 查看钱包 ID |
| E0016 | Amount error | 金额错误 | 请检查请求参数中的 amount(金额)字段是否正确 |
| E0018 | Order number must be unique | 订单编号不允许重复 | 请检查 order_number(订单编号)字段是否重复,由您自己的业务系统生成 |
| E0019 | Order number exceeds 128 characters | 订单编号长度超过 128 位字符 | 请检查 order_number(订单编号)字段长度是否符合要求 |
| E0021 | Order remark exceeds 256 characters | 订单备注长度超过 256 位字符 | 请检查 order remark(订单备注)字段长度是否符合要求 |
| E0022 | Order amount must be greater than 0 | 订单金额需大于 0 | 请检查请求中的 amount(订单金额)字段,不允许为空或 0 |
| E0023 | Order amount precision error | 订单金额精度错误 | 请检查订单金额精度是否符合要求,详情参考支持的网络和代币 |
| E0024 | cregis_id does not exist. | Cregis 订单编号不存在 | 请检查 cregis_id 是否正确。 |
| E0025 | Incorrect payer information | 付款人信息有误 | 请检查付款人姓名、付款人 id、邮箱号长度或格式是否符合要求 |
| E0026 | Please input in minutes. Minimum is {} minutes, maximum {} minutes | 超时时间超出范围,请设置在 {} 至 {} 分钟之间 | 订单超时时间必须设置在 {} 至 {} 分钟之间 |
| E0027 | Number of addresses set incorrectly | 批量生成地址数量超出限制 | 单次最多可批量生成 100 个子地址 |
| E0028 | Unsupported address status value | 不支持的地址状态值 | 为状态属性提供有效值,0-启用,1-禁用 |
| E0029 | At least one modification required | 至少一个修改项 | 至少修改 callback_url、alias、status 其中一项 |
| E0030 | Address does not belong to this project | 地址不属于该项目 | 请检查项目 ID(pid)与地址(address)是否正确 |
| E0031 | Failed to create the checkout counter | 创建收银台失败 | 创建收银台失败,请联系 Cregis 客服处理 |
| E0031 | order_currency is invalid. See valid currencies at https://developers.cregis.com/en/payment-engine-supported-currencies/ | 订单货币无效。 | 请确保 order_currency 是在https://developers.cregis.com/zh/payment-engine-supported-currencies/ 的其一币种 |
| E0031 | {{incorrect_token_name}} in the tokens array is not a valid name. See supported list at https://developers.cregis.com/en/payment-engine-supported-currencies/ | tokens内含有错误币种名称 | 请检查输入的币种名称正确,且是在https://developers.cregis.com/zh/payment-engine-supported-currencies/的其一币种 |
| E0031 | {{incorrect_token_name}} in the tokens array has not been configured in the Cregis portal. Please add this token and set the settlement information. | tokens内含有币种,但商家没有配置 | 输入的币种正确,但在 Cregis 客户端并未配置。请在客户端添加该币种为收款币种 |
| E0032 | Memo content only supports numeric characters and must be less than 4294967295 | Memo 只支持数字,并且必须小于 4294967295 | 请检查 Memo 格式是否符合要求 |
| E0033 | Please expand the number of API addresses or upgrade the subscription version first | 子地址数不足 | 升级子地址套餐或订阅版本,更多信息请参见管理团队版本 |
| E0034 | The number of available withdrawals is insufficient | API 付款笔数不足 | 升级订阅版本,更多信息请参见管理团队版本 |
| E0035 | payer_email is required when accept_partial_payment = "false" or accept_over_payment = "false" | 不接受部分支付或超额支付时,付款人邮箱为必填项 | 当 accept_partial_payment 或 accept_over_payment 为 false 时,请提供 payer_email。 |
| E0036 | underpaid_tolerance must be greater than or equal to 0 and less than 10,000,000 | underpaid_tolerance 超出允许范围 | 请将 underpaid_tolerance 设置为大于或等于 0 且小于 10,000,000。 |
| E0036 | overpaid_tolerance must be greater than or equal to 0 and less than 10,000,000 | overpaid_tolerance 超出允许范围 | 请将 overpaid_tolerance 设置为大于或等于 0 且小于 10,000,000。 |
| E0037 | Please set the default payout wallet | 提币钱包不匹配 | 提币钱包必须使用项目指定的出款钱包,请参考创建项目 |
| E0038 | The collectible balance is 0 | 地址可归集金额为 0 | 地址可归集余额为 0,无需触发归集 |
| E0039 | The subscription has expired. Please renew | 子地址订阅已到期,需要续费 | 续订您的子地址套餐以继续使用服务,更多信息请参见管理团队版本 |
| E0040 | The receiving address must be a wallet address from the current project. | API 归集限制只允许往当前 WaaS 项目钱包地址进行归集 | API 归集的接收方地址必须是 WaaS 项目子地址,请检查后重试 |
| E0041 | Address is in the team blacklist. | 该地址已被团队列入黑名单 | 该地址已被团队列入黑名单,禁止交易 |
| E0042 | The token has not been added to the current wallet | 当前钱包未添加该币种 | 请前往“Cregis 客户端 > 钱包 > 设置 > 币种管理”添加 |
本页内容