Appearance
4、Loan Notify
4.1、Loan Notify interface
Type:POST
Description: This API is used to notify the transfer result, including merchant information, order details, payee information, and other parameters.
Body-parameters:
Parameter | Type | Description |
---|---|---|
amount | Integer | The total payment amount in cents. |
code | String | The payment status code (e.g., success). |
accountName | String | The name of the account holder. |
mchOrderNo | String | The unique merchant order number. |
sign | String | The signature for validation. |
bankName | String | The bank code or name. |
reqTime | Long | The timestamp of the request. |
transferId | String | The unique transfer ID. |
createdAt | Long | The timestamp when the order was created. |
accountNo | String | The account number associated with the payment. |
successTime | Long | The timestamp when the payment was successful. |
state | Integer | The payment state (Payment Status:0 - Order Generated 1 - Payment in Progress 2 - Payment Successful 3 - Payment Failed 4 - Cancelled 5 - Refunded 6 - Order Closed). |
Request-example:
js
{
"amount": 65000,
"code": "success",
"accountName": "test",
"mchOrderNo": "O1579T1737618468435",
"sign": "D51B6BA7EC2A60E98C7252FA7E57B9F6",
"bankName": "003",
"reqTime": 1737623400406,
"transferId": "T1882334406440656897",
"createdAt": 1737618469235,
"accountNo": "7542123898",
"successTime": 1737622800000,
"state": 2
}
4.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.