Transmission of Loan Disbursement Data (API-C08)
Interface description
After the user grants credit to the seller, the seller initiates the withdrawal and needs to transfer the withdrawal data to Dowsure after the withdrawal is completed. The expenditure data needs to be displayed to the seller in the seller center.
Note: Whether the seller needs to lock the account before using it is provided by the user side, and it is locked by default.
- Seller's requisition number in Dowsure is required.
- The expenditure data of the seller is required.
Interface address
POST /v1/credit/loan
Request parameters
Filed | Description | Required |
---|---|---|
applicationCode | String (32) Dowsure seller application code |
Required |
creditCode | String (32) Credit code |
Required |
creditContractNo | String (32) Credit contract No |
Optional |
loanCode | String (32) Loan number |
Required |
loanContractNo | String (32) Loan contract number |
Optional |
amount | Decimal (12,2) Amount of expenditure |
Required |
startTime | DateTime Start time of expenditure YYYY-MM-DD HH: mm: SS |
Required |
endTime | DateTime End time of expenditure YYYY-MM-DD HH: mm: SS |
Required |
term | Int Term |
Required |
termUnit | Enum Period DAY, MONTH, YEAR |
Required |
apr | Decimal (5,2) Annual interest rate |
Required |
processingFee | Decimal (12,2) Service charge |
Optional |
currency | Enum Currency ( ISO 4217 currency codes ) CNY (RMB) Default: CNY |
Optional |
loanResultList | Expenditure of Object in each store |
Optional |
Filed | Description | Required |
---|---|---|
offerId | String(32) Seller shop offerId(MD5 encryption) |
Optional |
sellerId | String (32) Seller number |
Optional |
creditCode | String (32) Credit code |
Required |
creditContractNo | String (32) Credit contract No |
Optional |
loanCode | String (32) Loan number |
Required |
loanContractNo | String (32) Loan contract number |
Optional |
amount | Decimal (12,2) Amount of expenditure |
Required |
term | Int Term |
Required |
termUnit | Enum Period DAY, MONTH, YEAR |
Required |
apr | Decimal (5,2) Annual interest rate |
Required |
processingFee | Decimal (12,2) Service charge |
Optional |
currency | Enum Currency ( ISO 4217 currency codes ) CNY (RMB) Default: CNY |
Optional |
An example of a request
{
"applicationCode":"b5f91f3bf48a40b499578c7038c1837b",
"creditCode":"creditCode",
"creditContractNo":"creditContractNo",
"loanCode":"loanCode",
"loanContractNo":"loanContractNo",
"amount":"1000000.00",
"startTime":"2022-01-01 00:00:00",
"endTime":"2023-01-01 00:00:00",
"term":"12",
"termUnit":"YEAR",
"apr":"10.00",
"processingFee": "",
"currency":"CNY",
"loanResultList": [{
"offerId": "b5f91f3bf48a40b499578c7038c1837b",
"sellerId": "b5f91f3bf48a40b499578c7038c1837b",
"creditCode":"creditCode",
"creditContractNo":"creditContractNo",
"loanCode":"loanCode",
"loanContractNo":"loanContractNo",
"amount":"1000000.00",
"term":"12",
"termUnit":"YEAR",
"apr":"10.00",
"processingFee": "",
"currency":"CNY",
}]
}
Response parameters
See: [Appendix 4: Unified Response]
An example of a response
Non yet