webhook Notice(API-C15)
Interface description
The interface functions as follows:
- After receiving the message, Dowsure is used to notify the user of the result.
Default notification: three times with an interval of 10 minutes. If it returns successfully, the notification will not continue.
Interface address
Request parameters
Field | Description | Required |
---|---|---|
type | Enum Notification Type OFFER_SENT_NOTIFY(offer Send notification)、 PLATFORM_ACCOUNT_LOCK_NOTIFY (Platform account locking notice) PSP_FORCE_REPAY_NOTIFY(Notice of Compulsory Deduction Result of Payment Company) |
Required |
notifyResult | Object Notice Result |
Required |
- notifyResult type = OFFER_SENT_NOTIFY(offer Send notification)(See: Query the offer sending status(API-C02)Response parameters)
Field | Description | Required |
---|---|---|
sellerId | String(32) Seller ID |
Required |
offerSendStatus | Enum Seller offer sending status SEND_TO_PROCESSING、 SEND_SUCCESS、 SEND_FAIL |
Required |
reason | Enum Failure Reason NOT_SUPPORT(Non American station and German station) ACCOUNT_LOCKED(The store has locked the collection account) ACCOUNT_RISK_MANAGEMET(The store did not meet the risk control review of Amazon, and the business risk) |
if Required When [offerSendStatus=SEND_FAIL] Required |
[{
"sellerId":"ANTHH9FYI9WFU",
"offerSendStatus":"SEND_TO_PROCESSING",
"result":""
}]
- notifyResult type = PSP_FORCE_REPAY_NOTIFY(Notice of Compulsory Deduction Result of Payment Company) (see:Obtain the result of compulsory deduction (API-D04)响应参数)
Field | Description | Required |
---|---|---|
bizId | String(32) Business ID, which is unique and used for subsequent cancellation |
Required |
loanCode | String(32) Loan Code |
Optional |
loanContractNo | String(100) Loan Contract No |
Required |
amount | Decimal(12,2) Total amount deducted |
Required |
currency | Enum Currency(ISO 4217 currency codes) CNY Default:CNY |
Optional |
repaymentAmount | Decimal(12,2) Actual deduction amount |
Required |
repaymentDate | Datetime Deduction Time:YYYY-MM-DD hh:mm:ss |
Required |
[{
"bizId":"biz101010101010",
"loanCode":"",
"loanContractNo":"xxxxx",
"amount":"10000.00",
"currency":"CNY",
"repaymentAmount":"10000.00",
"repaymentDate":"2022-01-01 00:00:00"
}]
- notifyResult type = PLATFORM_ACCOUNT_LOCK_NOTIFY(Platform account locking notice) (See:Query the Seller's Platform Account Status (API-D01)Response Parameters)
Field | Description | Required |
---|---|---|
applicationCode | String(32) Dowsure Seller application code |
Required |
platformLockStatus | Object Landing Lock Objects |
Required |
Field | Description | Required |
---|---|---|
platformCode | Enum platform code AMAZON、EBAY、SHOPEE |
Required |
lockStatus | Enum LOCKED、UNLOCKED |
Required |
{
"applicationCode":"",
"platformLockStatus": [
{"platformCode": "AMAZON", "lockStatus": "LOCKED"},
{"platformCode": "EBAY", "lockStatus": "UNLOCKED"}
]
}
Request Example
{
"type":"https://www.dowsure.com",
"notifyResult",{}
}
Response Parameters
see:Appendix 4: Unified Response
Response Example
none