3.1 还款计划变更通知
商户调用此接口,通知贷款超市变更还款计划
接口地址: /eday/merchant/callback/sync-plan
请求参数:
参数名 | 类型 | 必选项 | 参数说明 |
---|---|---|---|
orderNo | string | Y | 贷款超市订单号 |
timestamp | int | Y | 当前时间戳 |
planList | array | Y | 还款计划 |
- planList 参数说明
参数名 | 类型 | 必选项 | 参数说明 |
---|---|---|---|
period | int | Y | 期数 |
type | string | Y | 类型,说明如下 |
amount | int | Y | 应还金额,例如应还4000,不管还了多少钱,这个金额不会减少,永远都是4000(单位: 派士) |
finishAmount | int | Y | 已结清金额(单位: 派士) |
reduceAmount | int | Y | 减免金额(单位: 派士) |
dueDate | string | Y | 应还时间(YYYY-mm-dd) |
realDate | string | N | 实还时间(YYYY-mm-dd) |
status | int | Y | 还款状态:0-未还 1-已还 |
- type 参数说明
type | 详情说明 |
---|---|
capital | 本金 |
interest | 利息 |
serviceFee | 服务费 |
overdueFee | 逾期费 |
请求参数示例
{
"app_id":"SH20190527105201",
"params":{
"orderNo":"A201962410441582992",
"timestamp":1603703951,
"planList": [
{
"type":"capital",
"period":1,
"amount":100,
"finishAmount":0,
"reduceAmount":0,
"dueDate":"2020-02-02 12:00:00",
"realDate":"2020-02-01 12:00:00",
"status":0
},
{
"type":"interest",
"period":1,
"amount":100,
"finishAmount":0,
"reduceAmount":0,
"dueDate":"2020-02-02 12:00:00",
"realDate":"2020-02-01 12:00:00",
"status":0
}
]
},
"sign":"iZt+KlYhExbLvZJNdTZ0Tag0B6sP3ErQlvM1SVp3QmzWmllioLFgJZFfWXHGjPmLec3+a7Bjsyv8pRywzWah93jCJ70SW9kLh0AXjv03dPQV34uakZcCh3HrXSaTxz+UvYDTdU5DK3iIZsVffeD26hz6XnAro3zd+e7Vre/NFrc="
}
响应参数示例
{
"code":"0", //非0是失败
"message":"成功",
"data":{}
}