# 3 Collection and repayment notification
# Describe
This interface is implemented by the merchant, which is used to notify the merchant of the details of the repayment transaction when the user completes the repayment transaction.
# HTTP Request Information
# Request URL
Provided by the merchant
# Request Method
POST
# Request Header
| parameter name | Is it mandatory | type of data | description |
|---|---|---|---|
| Content-Type | mandatory | string | application/json |
# Request Params
| parameter name | Is it mandatory | type of data | length | example | description |
|---|---|---|---|---|---|
| param | mandatory | string | - | - | Parameter Body |
| sign | mandatory | string | - | 45eebd745dcf0b5f6d6f9fcde28cd9fe8116a892 | sign |
# param
| parameter name | Is it mandatory | type of data | description |
|---|---|---|---|
| eventName | mandatory | string | Event name( payment.success , payment.failed ) |
| mchOrderId | mandatory | string | Merchant Order Id |
| transactionId | mandatory | string | PayCools Transaction Id |
| referenceNumber | optional | string | repayment code |
| amount | mandatory | integer | amount |
| transactionStatus | mandatory | string | Transaction Status(PENDING , COMPLETED , FAILED) |
| createTime | mandatory | string | Transaction Create Time |
| returnTime | mandatory | string | Transaction Complete Time |
| channelCode | mandatory | string | Channel Code |
| remark | mandatory | string | remark |
# Request Body Example
{
"param": "{\"amount\":10000,\"channelCode\":\"BNI_VA\",\"createTime\":\"2023-03-09 10:21:23\",\"eventName\":\"payment.success\",\"mchOrderId\":\"TestMchOrderIdP0057\",\"referenceNumber\":\"8558010100012839\",\"remark\":\"test payment code\",\"returnTime\":\"2023-03-09 10:33:54\",\"transactionId\":\"C1633669279100571648\",\"transactionStatus\":\"COMPLETED\"}",
"sign": "xxxxxxxxxxxxxxxxxxxxxxxx"
}
# Response example
{
"code": 10000,
"message": "Success"
}