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.curl --location '/v2/orders-async' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{token}}' \
--header 'url: https://partners-api.airalo.com' \
--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"' \
--form 'brand_settings_name="our perfect brand"' \
--form 'to_email="valid_email@address.com"' \
--form 'sharing_option[]="link"' \
--form 'copy_address[]="valid_email@address.com"'{
"data": {
"request_id": "3NhR3gKmqCWK7IWppurpDX3Cg",
"accepted_at": "2024-07-11 15:26:02"
},
"meta": {
"message": "success"
}
}