1. Use the POST /v2/orders endpoint
- This endpoint allows you to place an order with a specified quantity (up to 50) for a given package. By placing the order in bulk, you can significantly reduce the number of HTTP calls you need to make.
- Each eSIM you order will come with a QR code, manual instructions, and an iOS direct installation link.
- Note: If you’re ordering more than 30 eSIMs at once, the call might take a bit longer (about 4-5 seconds).
2. Use the POST /v2/orders-async endpoint
- This endpoint provides the same functionality as the one above but is much faster, even with larger orders.
- For example, if you’re placing an order for 250 eSIMs with 5-6 different packages, you'll need to call this endpoint 5 times, with each call returning a response within 500-600ms.
- This method requires your system to have an active webhook URL. Airalo’s system will push processed eSIM data in JSON format to your webhook, typically within 1 minute.
3. Using the PHP SDK for bulk purchases
- If you’re using PHP, we recommend utilizing our SDK, which supports asynchronous calls. The SDK allows you to add multiple different packages and quantities in a single request.
- You can add up to 5 different package types with 50 units of each in one request.
- This option supports both asynchronous and synchronous purchases. The synchronous option may increase processing time but can still handle different types and quantities in one call.