Create Order
The Create Order Endpoint is used to place an order. The response you receive immediately will be in a pending
state. Once the order has been processed, you will receive an order callback.
Service EndpointsCopied!
Endpoint |
POST /api/create-order |
Request Header |
Authorization: Bearer <your_jwt_token_here> Content-Type: application/json |
Request ParametersCopied!
Name |
Type |
Required? |
Description |
---|---|---|---|
|
string |
Yes |
ID of the merchant |
|
string |
Yes |
ID of the product |
|
string |
Yes |
ID of the deno |
|
string |
Yes |
User ID of the account to be reloaded. Differs for each product. Please refer to Product Guide. For PIN products, please leave this parameter empty. |
|
string |
Yes |
Server of the account to be reloaded. Differs for each product. Please refer to Product Guide. For PIN products, please leave this parameter empty. |
|
string |
Yes |
Special field might be required for some products. Please refer to Product Guide. |
Response ParametersCopied!
Name |
Type |
Description |
---|---|---|
|
string |
ID of the order |
|
string |
Status of the order. Status will always return as |
|
datetime |
Date and time that the order was submitted. |
|
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 |
Error code |
|
string |
Message |
Sample RequestCopied!
{
"merchant_id": "M00001",
"product_id": "ZZZ",
"deno_id": "ZZZ60",
"player_id": "12314123",
"server": "3402"
}
Sample ResponseCopied!
{
"order_id": 4,
"status": "pending",
"error_code": null,
"quantity": 1,
"submit_time": "2025-03-05 19:16:19",
"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",
"message": "Order is being processed."
}