传输还款数据(API-C10)
接口描述
卖家在用户侧主动还款后,用户需要把还款数据同步给Dowsure。
接口地址
POST /v1/loan/repayment
请求参数
字段 | 描述 | 是否必填 |
---|---|---|
applicationCode | String(32) Dowsure 卖家申请单编号 |
Required |
currentTerm | int 当前期数 |
Required |
loanCode | String(32) 用户侧贷款编号 |
Required |
loanContractNo | String(32) 用户侧贷款合同编号 |
Optional |
serialNo | String(32) 还款流水号 |
Required |
paymentPrincipal | Decimal(10,2) 应还本金额 |
Required |
realPaymentPrincipal | Decimal(10,2) 实际还本金额 |
Required |
paymentInterest | Decimal(10,2) 应还利息金额 |
Required |
realPaymentInterest | Decimal(10,2) 实际还利息金额 |
Required |
paymentOverdueInterest | Decimal(10,2) 应还逾期利息 |
Required |
realPaymentOverdueInterest | Decimal(10,2) 实际还逾期利息 |
Required |
dealAmount | Decimal(10,2) 还款总金额 |
Required |
surplusPrincipal | Decimal(10,2) 剩余本金余额 |
Required |
dealDate | Datetime 应还还款日期 |
Required |
realDate | Datetime 实际还款日期 |
Required |
请求示例
{
"applicationCode": "xxxxx",
"currentTerm": "3",
"loanCode": "",
"loanContractNo": "xxxxx",
"serialNo": "xxxxxx",
"paymentPrincipal": "10000.00",
"realpaymentPrincipal": "10000.00",
"paymentInterest": "1000.00",
"realPaymentInterest": "1000.00",
"paymentOverdueInterest":"1000.00",
"realPaymentOverdueInterest": "1000.00",
"dealAmount": "1000.00",
"surplusPrincipal": "1000.00",
"dealDate": "2022-01-01 00:00:00",
"realDate": "2022-01-01 00:00:00"
}
响应参数
见:附录4:统一响应
响应示例
无