Transmit Credit Results (API-C07)
Interface description
The user needs to transmit the credit result to Dowsusre after granting credit to the seller, and Dowsure notifies the platform of the credit result after receiving the message:
- If the credit is approved, the seller can go to the E-commerce platform to lock the account.
Interface address
POST /v1/credit/result
Request parameters
Filed | Description | Required |
---|---|---|
applicationCode | String (32) Dowsure seller application code |
Required |
creditStatus | Enum Credit status |
Required |
startTime | DateTime Credit Start Time YYYY-MM-DD HH: mm: SS |
If Required when [creditStatus=APPROVE] Required |
endTime | DateTime Credit End Time YYYY-MM-DD HH: mm: SS |
If Required when [creditStatus=APPROVE] Required |
term | int Length of credit term |
If Required when [creditStatus=APPROVE] Required |
termUnit | Enum Credit term unit:DAY、MONTH、YEAR |
If Required when [creditStatus=APPROVE] Required |
apr | Decimal (5,2) Annual Credit Rate |
If Required when [creditStatus=APPROVE] Required |
creditCode | String (32) Credit code |
If Required when [creditStatus=APPROVE] Required |
creditContractNo | String (32) Credit contract No. |
Optional |
amount | Decimal (12,2) Credit Amount |
If Required when [creditStatus=APPROVE] Required |
currency | Enum Currency ( ISO 4217 currency codes ) CNY (RMB) Default: CNY |
If Required when [creditStatus=APPROVE] Required |
processingFee | Decimal (12,2) handling fee |
Optional |
reason | String (200) Reject Reason |
If Required when [creditStatus=REJECT] Required |
isLock | Does Enum require Amazon to lock the account Default: YES YES: lock required, NO: no lock required |
Optional |
creditResultList | Credit status of each Object store |
Optional |
Filed | Description | Required |
---|---|---|
offerId | String(32) Seller shop offerId(MD5 encryption) |
Optional |
sellerId | String (32) Seller number |
Optional |
creditStatus | Enum Credit status |
Optional |
term | int Length of credit term |
If Required when [creditStatus=APPROVE] Required |
termUnit | Enum Credit term unit:DAY、MONTH、YEAR |
If Required when [creditStatus=APPROVE] Required |
apr | Decimal (5,2) Annual Credit Rate |
If Required when [creditStatus=APPROVE] Required |
creditCode | String (32) Credit code |
If Required when [creditStatus=APPROVE] Required |
creditContractNo | String (32) Credit contract No. |
Optional |
amount | Decimal (12,2) Credit Amount |
If Required when [creditStatus=APPROVE] Required |
currency | Enum Currency ( ISO 4217 currency codes ) CNY (RMB) Default: CNY |
If Required when [creditStatus=APPROVE] Required |
processingFee | Decimal (12,2) Handling fee |
Optional |
reason | String (200) Reject Reason |
If Required when [creditStatus=REJECT] Required |
isLock | Does Enum require Amazon to lock the account Default: YES YES: lock required, NO: no lock required |
Optional |
An example of a request
{
"applicationCode": "b5f91f3bf48a40b499578c7038c1837b",
"creditStatus": "APPROVE",
"startTime": "2022-01-01 00:00:00",
"endTime": "2023-01-01 00:00:00",
"apr": "10.00",
"term": "12",
"termUnit": "MONTH",
"creditCode": "creditCode",
"creditContractNo": "creditContractNo",
"amount": "1000000.00",
"currency": "CNY",
"processingFee": "",
"reason": "",
"isLock": "YES",
"creditResultList":[{
"offerId": "b5f91f3bf48a40b499578c7038c1837b",
"sellerId": "b5f91f3bf48a40b499578c7038c1837b",
"creditStatus": "APPROVE",
"apr": "10.00",
"term": "12",
"termUnit": "MONTH",
"creditCode": "creditCode",
"creditContractNo": "creditContractNo",
"amount": "1000000.00",
"currency": "CNY",
"processingFee": "",
"reason": "",
"isLock": "YES",
}]
}
Response parameters
See: Appendix 4: Unified Response
An example of a response
None yet