The response result of the request interface may be delayed, so for security reasons, we use asynchronous notification to feedback the result of your request.
We will notify you by Post. When you return the result of success, we will regard the notification as completed. Otherwise, we will regard the notification as failed.
Please note, you will receive a notification every 10 minutes, up to three times. You can contact sales to set up this URL.
SET UP NOTIFY URL
Follow the path below to set your notify URL:
NOTIFY FOR CARD ISSUING
NOTIFY FOR CARD WRITE-OFF
API REFERENCE
REQUEST OBJECT
Object | Type | Description |
---|---|---|
result | string | The result of an event request, such as notification of the result of card issuing. |
out_trade_no | string(32) | It is a string of number to uniquely distribute the id to a specific order, which the id is created by merchants. |
event | string | 1. add_card: Card issuing. 2. writeoff: Card write-off. |
description | string | The detail of event when result is fail. |
REQUEST SAMPLE
{
"result":"success",
"data":
{
"event":"add_card"
"out_trade_no":"1298357128u092185123",
"description":""
}
}
RESPONSE OBJECT
Object | Type | Description |
---|---|---|
result | string | The state in which you receive notifications. 1. success: Received successfully. 2. fail: Received failure. |
out_trade_no | String(32) | It is a string of number to uniquely distribute the id to a specific order, which the id is created by merchants. |
RESPONSE SAMPLE
{
"result":"success",
"out_trade_no":"1298357128u092185123"
}