Submit order async
POST
/v2/orders-async
nanoid
stored in reponse's request_id
- Make sure you store this id in your system, as it is a reference for the order which is pending processing. You should check map it for every successfully received order response on your webhook url.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v2/orders-async' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {ACCESS_TOKEN}' \
--form 'quantity="1"' \
--form 'package_id="kallur-digital-7days-1gb"' \
--form 'type="sim"' \
--form 'description="1 sim kallur-digital-7days-1gb"' \
--form 'webhook_url="https://your-webhook.com"'
Response Response Example
202 - Submit Order Async (202)
{
"data": {
"request_id": "3NhR3gKmqCWK7IWppurpDX3Cg",
"accepted_at": "2024-07-11 15:26:02"
},
"meta": {
"message": "success"
}
}
Request
Header Params
Accept
string
required
Example:
application/json
Authorization
string
required
Example:
Bearer {ACCESS_TOKEN}
Body Params multipart/form-data
quantity
string
required
Example:
1
package_id
string
required
Example:
kallur-digital-7days-1gb
type
string
required
Example:
sim
description
string
required
Example:
1 sim kallur-digital-7days-1gb
webhook_url
string
required
The webhook_url if provided in payload will overwrite the one which is opted in.
Example:
https://your-webhook.com
Responses
Modified at 2025-05-07 10:26:40