Skip to content

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:

ParameterTypeDescription
amountBigDecimalThe total payment amount (unit: cents, minimum value 1000)
payOrderIdstringThe application order ID
codeIntegerMerchant order number
mchOrderNostringPayment amount (unit: cents, minimum value 1000)
subjectstringProduct name
signstringProduct description
reqTimestringPayment result callback address
createdAtstringPayment successful jump page
stateIntegerPayment 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.