Appearance
3、Repayment Notify
3.1、Repayment Notify interface
Type:POST
Content-Type:application/json
Description: This API is used to notify the payment result, including parameters such as merchant information, order status, and user information.
Body-parameters:
Parameter | Type | Description |
---|---|---|
amount | BigDecimal | The total payment amount (unit: cents, minimum value 1000) |
payOrderId | string | The application order ID |
code | Integer | Merchant order number |
mchOrderNo | string | Payment amount (unit: cents, minimum value 1000) |
subject | string | Product name |
sign | string | Product description |
reqTime | string | Payment result callback address |
createdAt | string | Payment successful jump page |
state | Integer | Payment failure jump page |
Request-example:
js
{
"amount": 210800,
"payOrderId": "P1889977259465543682",
"code": "success",
"mchOrderNo": "R1655T1737554677110",
"subject": "",
"sign": "F83542B538F7DB47EE53D0D2C6B866F4",
"reqTime": 1739441025205,
"createdAt": 1739440681615,
"state": 2
}
3.2、Successfully received the response.
Description: Successfully accepted, please return SUCCESS.
•sign:
•type: String
•describe: A signature of the data used to verify the authenticity and integrity of the response. The receiver needs to perform signature verification on the returned data based on the same signature algorithm.