创建代付
请求地址
| method | url |
|---|---|
| POST | /api/pay/payout/create/v1 |
头部信息(header)
| header参数 | 入参参数描述 |
|---|---|
| timestamp | 请求时间戳 |
| nonce | 随机值 |
| country | AR |
| app_code | app编号 |
请求参数
| 字段 | 类型 | 必需 | 最大长度 | 描述 |
|---|---|---|---|---|
| merchantOrderNo | String | yes | 32 | 商户订单号 |
| amount | String | yes | 20 | 代付金额 【单位比索:ARS】 |
| bankCode | String | no | 50 | 银行编码 【参考银行列表中的银行编码】 |
| bankName | String | no | 50 | 银行名称 【参考银行列表中的银行名称】 |
| accountType | Integer | yes | 账户类型 【901= CVU 902 = CBU 】 | |
| bankAccount | String | yes | 50 | 收款账号【cvu和cbu 22位数字】 |
| idCardNumber | String | yes | 50 | 收款人身份证号 |
| realName | String | yes | 40 | 用户姓名。不得包含特殊字符,建议使用全大写,长度不少于 2 个字母;无需严格校验,但需符合正常姓名格式。 |
| idType | String | yes | 50 | 身份证类型: DNI(个人身份证-8位数字) CUIL(社保卡-11位数字) CUIT(税卡-11位数) PA(护照:最长15位数字) |
| phone | String | no | 10 | 手机号码 |
| String | no | 64 | 邮箱 | |
| callbackUrl | String | no | 200 | 代付回调地址,若不传, 则以商户配置为准 |
| sign | String | yes | 签名 |
{ "merchantOrderNo": "OrderNoExample", "amount": "1000", "accountType": 901, "bankAccount": "1234567890123456789012", "realName": "realName", "idCardNumber": "12345678", "idType": "DNI", "callbackUrl": "https://www.callbackexample.com", "sign": "YOUR_SIGN"}返回参数
| 参数 | 类型 | 必需 | 长度 | 描述 |
|---|---|---|---|---|
| merchantOrderNo | String | yes | 32 | 商户订单号 |
| tradeNo | String | yes | 平台订单号 | |
| status | Integer | yes | 代付状态 【1:支付中 3:失败(可以重新发起)】 | |
| amount | String | yes | 交易金额 |
{ "msg": "success", "traceId": "747bbf80261844ed85b809212aab0d81.85.17422898158610298", "code": 200, "data": { "amount": "1000.00", "merchantOrderNo": "OrderNoExample", "status": 1, "tradeNo": "TF2501010001AR0000000000000000" }}错误码
| 异常码 | 异常信息 | 处理方案 |
|---|---|---|
| 412 | Please try again later | 请稍后重试 |
| 414 | * | 更改对应参数 |
| 417 | Merchant account not found | 商户账户未找到,请联系我们 |
| 425 | Insufficient merchant balance | 商户账户余额不足 |
| 426 | merchant order duplicate | 请更换商户订单号 |
| 427 | The callback notification address for collection must not be empty. | 未配置代收回调地址,请配置代收回调地址 |
| 432 | * | 卡号,银行号,支付方式匹配异常,请检查并更改 |
| 462 | This request failed due to blacklist blocking | 进入黑名单,请更改参数,重新拉起 |
| 473 | Merchant joint verification error: * | 商户配置异常,请联系我们 |
| 475 | The id card type is error | 证件类型异常,请检查并更改 |
| 476 | The id card number is error | 证件号异常,请检查并更改 |
| 500 | Business Error | 请联系我们 |
{ "code": 425, "data": null, "msg": "Insufficient merchant balance", "traceId": "747bbf80261844ed85b809212aab0d81.85.17422898158610298"}