传输授信结果(API-C07)
接口描述
用户对卖家授信后需要传递授信结果给Dowsusre,Dowsure接收到消息之后通知平台授信结果:
- 若授信通过,卖家可自行去电商平台锁定账户。
接口地址
POST /v1/credit/result
请求参数
字段 | 描述 | 是否必填 |
---|---|---|
applicationCode | String(32) Dowsure 卖家申请单编号 |
Required |
creditStatus | Enum 授信状态 REJECT(拒绝)、APPROVE(批准) |
Required |
startTime | DateTime 授信开始时间 YYYY-MM-DD hh:mm:ss |
If Required when [creditStatus=APPROVE] Required |
endTime | DateTime 授信结束时间 YYYY-MM-DD hh:mm:ss |
If Required when [creditStatus=APPROVE] Required |
term | int 授信期限长度 |
If Required when [creditStatus=APPROVE] Required |
termUnit | Enum 授信期限单位:DAY、MONTH、YEAR |
If Required when [creditStatus=APPROVE] Required |
apr | Decimal(5,2) 授信年利率 |
If Required when [creditStatus=APPROVE] Required |
creditCode | String(32) 授信编码 |
If Required when [creditStatus=APPROVE] Required |
creditContractNo | String(32) 授信合同编号 |
Optional |
amount | Decimal(12,2) 授信金额 |
If Required when [creditStatus=APPROVE] Required |
currency | Enum 币种(ISO 4217 currency codes) CNY(人民币) 默认:CNY |
If Required when [creditStatus=APPROVE] Required |
processingFee | Decimal(12,2) 手续费 |
Optional |
reason | String(200) 拒绝原因 |
If Required when [creditStatus=REJECT] Required |
isLock | Enum 是否需要Amazon锁定账户 默认:YES YES:需要锁定,NO:不需要锁定 |
Optional |
creditResultList | Object 每个店铺授信情况 |
Optional |
字段 | 描述 | 是否必填 |
---|---|---|
offerId | String(32) 卖家店铺offerId(MD5加密) |
Optional |
sellerId | String(32) 卖家编号 |
Optional |
creditStatus | Enum 授信状态 REJECT(拒绝)、APPROVE(批准) |
Optional |
term | int 授信期限长度 |
If Required when [creditStatus=APPROVE] Required |
termUnit | Enum 授信期限单位:DAY、MONTH、YEAR |
If Required when [creditStatus=APPROVE] Required |
apr | Decimal(5,2) 授信年利率 |
If Required when [creditStatus=APPROVE] Required |
creditCode | String(32) 授信编码 |
If Required when [creditStatus=APPROVE] Required |
creditContractNo | String(32) 授信合同编号 |
Optional |
amount | Decimal(12,2) 授信金额 |
If Required when [creditStatus=APPROVE] Required |
currency | Enum 币种(ISO 4217 currency codes) CNY(人民币) 默认:CNY |
If Required when [creditStatus=APPROVE] Required |
processingFee | Decimal(12,2) 手续费 |
Optional |
reason | String(200) 拒绝原因 |
If Required when [creditStatus=REJECT] Required |
isLock | Enum 是否需要Amazon锁定账户 默认:YES YES:需要锁定,NO:不需要锁定 |
Optional |
请求示例
{
"applicationCode": "b5f91f3bf48a40b499578c7038c1837b",
"creditStatus": "APPROVE",
"startTime": "2022-01-01 00:00:00",
"endTime": "2023-01-01 00:00:00",
"apr": "10.00",
"term": "12",
"termUnit": "MONTH",
"creditCode": "用户侧授信编号",
"creditContractNo": "用户侧授信合同编号",
"amount": "1000000.00",
"currency": "CNY",
"processingFee": "",
"reason": "",
"isLock": "YES",
"creditResultList":[{
"offerId": "b5f91f3bf48a40b499578c7038c1837b",
"sellerId": "b5f91f3bf48a40b499578c7038c1837b",
"creditStatus": "APPROVE",
"apr": "10.00",
"term": "12",
"termUnit": "MONTH",
"creditCode": "用户侧授信编号",
"creditContractNo": "用户侧授信合同编号",
"amount": "1000000.00",
"currency": "CNY",
"processingFee": "",
"reason": "",
"isLock": "YES",
}]
}
响应参数
见:附录4:统一响应
响应示例
无