Transfer of repayment data (API-C10)
Interface description
After the seller takes the initiative to repay on the user side, the user needs to synchronize the repayment data to Dowsure.
Interface address
POST /v1/loan/repayment
Request parameters
Filed | Description | Required |
---|---|---|
applicationCode | String(32) Dowsure seller application code |
Required |
currentTerm | int Number of current periods |
Required |
loanCode | String(32) Loan number |
Required |
loanContractNo | String(32) Loan contract number |
Optional |
serialNo | String(32) Repayment serial number |
Required |
paymentPrincipal | Decimal(10,2) Amount of principal payable |
Required |
realPaymentPrincipal | Decimal(10,2) Actual principal repayment amount |
Required |
paymentInterest | Decimal(10,2) Amount of interest payable |
Required |
realPaymentInterest | Decimal(10,2) Actual amount of interest repayment |
Required |
paymentOverdueInterest | Decimal(10,2) Repayment of overdue interest |
Required |
realPaymentOverdueInterest | Decimal(10,2) Actual repayment of overdue interest |
Required |
dealAmount | Decimal(10,2) Total amount of repayment |
Required |
surplusPrincipal | Decimal(10,2) Remaining principal balance |
Required |
dealDate | Datetime Repayable date |
Required |
realDate | Datetime Actual repayment date |
Required |
An example of a request
{
"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"
}
Response parameters
See: Appendix 4: Unified Response
An example of a response
Non yet