Order Callback
The initial order response always returns a status of pending
. Final order details will be updated asynchronously via a callback from our platform. You should set up and provide us a callback endpoint to receive these updates. When our platform sends the update, your endpoint should process the information and update your order records accordingly. Your endpoint should then respond with a success message.
Our Callback ParametersCopied!
Name |
Type |
Description |
---|---|---|
|
string |
ID of the order |
|
string |
Status of the order. Status will change from |
|
time |
Date and time that the order was submitted. |
|
time |
Date and time that the order was completed. |
|
number |
Quantity of the product in this order |
|
string |
ID of the product |
|
string |
Name of the product |
|
string |
Type of the product |
|
string |
ID of the deno |
|
string |
Name of the deno |
|
string |
Currency of the deno |
|
number |
Price of the deno |
|
string |
Encryption status |
|
string |
User ID of the account to be reloaded. Will return null for PIN products. |
|
string |
Server of the account to be reloaded. Will return null for PIN products. |
|
string |
Extra field of the product. |
|
string |
Pin code of the product. Will return null for RELOAD products. |
|
string |
Serial number of the product. Will return null for RELOAD products. |
|
string |
Error code |
|
string |
Message |
Sample Callback for RELOAD productsCopied!
{
"order_id": 4,
"status": "success",
"error_code": null,
"quantity": 1,
"submit_time": "2025-03-05 19:16:19",
"complete_time": "2025-03-05 19:17:21",
"product_id": ZZZ,
"product_name": "Zenless Zone Zero",
"product_type": "RELOAD",
"deno_id": ZZZ60,
"deno_name": "Zenless Zone Zero - 60 Monochromes",
"deno_currency": "USD",
"deno_price": "0.77",
"encrypt_status": "false",
"user_id": "6218412984712",
"server": "Asia",
"special_field_A": "null",
"deno_pin": "null",
"deno_serial": "null",
"message": "Transaction is being processed."
}
Sample Callback for PIN productsCopied!
{
"order_id": 4,
"status": "success",
"error_code": null,
"quantity": 1,
"submit_time": "2025-03-05 19:16:19",
"complete_time": "2025-03-05 19:17:21",
"product_id": PSNUS,
"product_name": "Playstation Network Card US",
"product_type": "PIN",
"deno_id": PSNUS10,
"deno_name": "Playstation Network Card US - 10 USD",
"deno_currency": "USD",
"deno_price": "9.20",
"encrypt_status": "false",
"user_id": "null",
"server": "null",
"special_field_A": "null",
"deno_pin": "91231928731298",
"deno_serial": "6752722242242", /* deno_serial might be empty for some PIN products */
"message": "Transaction is being processed."
}
Expected Callback Response from your EndpointCopied!
For each callback, you are required to provide a callback response ‘Received’. If we do not receive a callback response, we will callback another 5 times (every 2 mins).
{
"message": "Received"
}