# 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 Yes string application/json

# Request Params

Parameter name Required Type of data Length Example description
param Yes string - - Parameter Body
sign Yes string - 45eebd745dcf0b5f6d6f9fcde28cd9fe8116a892 Sign

# param

Parameter name Required Type of data Description
eventName Yes string Event name( disbursement.successdisbursement.failed
mchOrderId Yes string Merchant order id
transactionId Yes string Platform transaction id
countryCode Yes string Country code (PH, ID, MY, TH)
currency Yes string Currency (PHP, IDR, MYR, THB)
amount Yes integer Payout amount (Unit is in cents, when the country is Indonesia, the unit is in yuan)
transactionStatus Yes string Transaction status(PENDINGCOMPLETEDFAILED
createTime Yes string Transaction create time
returnTime Yes string Transaction complete time
remark No string Remark
failedCode No integer Failed Code
failedMessage No string Failed Message

# 请求示例

# 请求体

{
  "param": "{\"amount\":100,\"countryCode\":\"PH\",\"createTime\":\"2024-07-19T14:14:47+08:00\",\"currency\":\"PHP\",\"eventName\":\"disbursement.failed\",\"failedCode\":-10004,\"failedMessage\":\"Transaction Channel Rejected\",\"mchOrderId\":\"10e1369686110330100\",\"returnTime\":\"2024-07-19T14:15:01+08:00\",\"transactionId\":\"DU514182073259261952\",\"transactionStatus\":\"FAILED\"}",
  "sign": "N+1G8irSDgfnjHhAfV7Tn8E0arj65tGV4gBGZCpUJCN57wtvTv8jp173FO/T5zE95RhOo8dg7gLrYL7Sq4F+ukWX1elFgjxEjadrolXPno0Vvib24eP9iFBt3OySEA/dGKmiZJ1BO+5T1NcQYHc+9gyCAuNjuRSi6JKophnxXsFTt4AuaTEaxOwp7gdGD0d5LkyF2MltF09kEP8wdp94zWuVt7x2C/E+MI6yK4DtOqszlo54v0r/UNyctIsA45dsWd33dFx7liyOkJ0iKWmdS/kAzUPjQ4bCp7zxMMh/MSz2PxCp6fEAVOl6vPfp4W3Ef9c/OqCwAI2Z1tOKw+eZRA=="
}

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"
}