๐Ÿ”” Order Asynchronous Notification

After the order is completed, the system will automatically send a notification message to the callback address (notify_url) associated with the order to inform you of the final status of the order.

Method๏ผš POST

Parameter Type๏ผš application/json

Parameter๏ผš

Field Name Field Type Required sign Instruction

appid

string

True

True

Merchant APP ID

plat_order_sn

string

True

True

This platform order number

order_sn

string

True

True

Merchant order number

txid

string

True

True

TXID,transition hash

pay_usdt

string

True

True

Amount, Unit: USDT / PYUSD

actual_usdt

string

True

True

Amount of received, unit USDT / PYUSD

poundage

string

True

True

Handling fee, unit USDT / PYUSD

status

string

True

True

Order status: Order Status

create_time

string

True

True

Order creation time, Unix second level timestamp

success_time

string

True

True

Order completion time, Unix second level timestamp

attach

string

False

False

User-defined data will be returned unchanged when calling back to notify_url.

sign

string

True

True

Data sign, see: sign Algorithm

Notification return

After receiving the notification information, the merchant will output OK or ok (php example: echo "OK ";) in the body of the response body. Otherwise, the point-to-point notification will be sent 5 times.

Notification retry policy

If the first notification fails, subsequent notification frequency (seconds): 10, 30, 60, 300, 600.

Last updated