# 4. Payout Notification
# Describe
The callback interface is implemented by the merchant to notify the merchant of repayment transaction details when the user completes the repayment transaction.
# HTTP Request Information
# URL
Provided by the merchant
# Request Method
POST
# Request Header
Parameter name | Required | Type of data | Description |
---|---|---|---|
Content-Type | Y | string | application/json |
# Request Params
Parameter name | Required | Type of data | Length | Example | description |
---|---|---|---|---|---|
params | Y | string | - | - | Parameter Body |
sign | Y | string | - | 45eebd745dcf0b5f6d6f9fcde28cd9fe8116a892 | Sign |
# param
Parameter name | Required | Type of data | Description |
---|---|---|---|
eventName | Y | string | Event name( disbursement.success , disbursement.failed ) |
mchOrderId | Y | string | Merchant order id |
transactionId | Y | string | Platform transaction id |
amount | Y | integer | amount |
transactionStatus | Y | string | Transaction status(PENDING , COMPLETED , FAILED ) |
createTime | Y | string | Transaction create time |
returnTime | Y | string | Transaction COMPLETED time |
remark | N | string | Remark |
failedCode | N | integer | Failed Code |
failedMessage | N | string | Failed Message |
# Request Example
# Request Body
{
"param": "{\"amount\":10000,\"createTime\":\"2023-03-02 09:25:12\",\"eventName\":\"disbursement.success\",\"mchOrderId\":\"TestMchOrderIdD0001\",\"remark\":\"remark\",\"returnTime\":\"2023-03-02 09:25:12\",\"transactionId\":\"D1631118424367169536\", \"transactionStatus\":\"COMPLETED\"}",
"sign": "abcdef"
}
How Platform construct request body
# Response Param
Paramter Name | Type | Description |
---|---|---|
code | integer | Response code, fixed value 10000 |
message | string | Response message, fixed value Success |
# Response Example
{
"code": 10000,
"message": "Success"
}