Appearance
查询还款计划
接口说明
查询融资订单的还款计划
接口地址
POST /api/repay/schedule
请求参数 (data 解密后)
json
{
"loanOrderId": 3000001
}响应参数 (data 解密后)
json
{
"code": "0",
"message": "success",
"data": {
"loanOrderId": 3000001,
"schedules": [
{
"scheduleNo": 1,
"startDate": "2025-01-13",
"dueDate": "2025-02-13",
"principal": 833333,
"repaidPrincipal": 0,
"unpaidPrincipal": 833333,
"interest": 100000,
"repaidInterest": 0,
"unpaidInterest": 100000,
"penalty": 0,
"repaidPenalty": 0,
"unpaidPenalty": 0,
"total": 933333,
"repaidTotal": 0,
"unpaidTotal": 933333,
"status": 1,
"interestSubsidy": 50000,
"repaidInterestSubsidy": 0,
"unpaidInterestSubsidy": 50000
},
{
"scheduleNo": 12,
"startDate": "2025-12-13",
"dueDate": "2026-01-13",
"principal": 833333,
"repaidPrincipal": 833333,
"unpaidPrincipal": 0,
"interest": 100000,
"repaidInterest": 100000,
"unpaidInterest": 0,
"penalty": 0,
"repaidPenalty": 0,
"unpaidPenalty": 0,
"total": 933333,
"repaidTotal": 933333,
"unpaidTotal": 0,
"status": 4,
"interestSubsidy": 50000,
"repaidInterestSubsidy": 50000,
"unpaidInterestSubsidy": 0
}
]
}
}响应字段说明
| 字段名 | 类型 | 说明 |
|---|---|---|
| loanOrderId | Long | 融资订单ID |
| schedules | Array | 还款计划列表 |
schedules 字段说明
| 字段名 | 类型 | 说明 |
|---|---|---|
| scheduleNo | Integer | 期序号 |
| startDate | String | 当期开始日期(yyyy-MM-dd) |
| dueDate | String | 当期到期日期(yyyy-MM-dd) |
| principal | Long | 当期应还本金/分 |
| repaidPrincipal | Long | 当期已还本金/分 |
| unpaidPrincipal | Long | 当期待还本金/分 |
| interest | Long | 当期应还利息/分 |
| repaidInterest | Long | 当期已还利息/分 |
| unpaidInterest | Long | 当期待还利息/分 |
| penalty | Long | 当期应还罚息/分 |
| repaidPenalty | Long | 当期已还罚息/分 |
| unpaidPenalty | Long | 当期待还罚息/分 |
| total | Long | 当期应还总额/分 |
| repaidTotal | Long | 当期已还总额/分 |
| unpaidTotal | Long | 当期待还总额/分 |
| status | RepayScheduleStatus | 分期计划状态:1-正常,4-已结清,5-已冲正,6-已撤销,7-已逾期,8-已变更 |
| interestSubsidy | Long | 当期应还贴息/分(结清时才会有值) |
| repaidInterestSubsidy | Long | 当期已还贴息/分(结清时才会有值) |
| unpaidInterestSubsidy | Long | 当期待还贴息/分(结清时才会有值) |