---
title: "Airalo API Integration: eSIM Setup Guide | PHPTRAVELS"
description: "Airalo API integration guide: partner account, Client ID and Secret, sandbox, eSIM packages, orders, QR install, ICCID mapping and a ready connector."
source: https://phptravels.com/integrations/airalo-api-integration
---

eSIM API integration

# Airalo API integration : sell eSIMs with every trip

Connect your Airalo partner account to PHPTRAVELS and sell local, regional and global eSIMs on your own website, next to flights, hotels and tours. The connector is ready: add your Client ID and Client Secret, test in sandbox, sync the packages, set your price and go live.

- Ready Airalo connector
- Airalo Partner API v2
- QR code and install steps
- Your own selling price

The supplier

## What Airalo is, and why travel agencies sell its eSIMs

Airalo sells eSIMs: digital SIM packages a traveller installs on a phone without removing the physical SIM. Instead of buying a local SIM at the airport, the traveller buys data before the trip and installs it in a few minutes.

Through the Airalo Partner API, a travel business can sell this inventory inside its own website or app. PHPTRAVELS ships an Airalo connector in the eSIM module, so an eSIM becomes one more product in the same cart as the flight, hotel, transfer, visa or tour.

Related: [eSIM](https://phptravels.com/features/esim)[Travel APIs](https://phptravels.com/travel-apis)[Travel API integration](https://phptravels.com/api-integration)

Supplier fact sheet

Company

Airalo, eSIM connectivity provider

Coverage

200+ destinations, as Airalo states

Packages

Local, regional and global eSIMs

API

Partner API v2 · REST · bearer token

SDKs

PHP · Node.js · Python

In PHPTRAVELS

Ready connector in the eSIM module

Step 1 · Partner account

## Apply for an Airalo partner account

Airalo API access needs a partner agreement with Airalo. PHPTRAVELS does not issue Airalo accounts or keys: you apply, Airalo reviews your business and sends your credentials.

What to send Airalo

- Company name and website
- Country and business type
- Expected eSIM sales volume
- Target markets and destinations
- B2C, B2B or both
- That you use PHPTRAVELS

Partner contact for PHPTRAVELS customers

Rao Suhaib Khan Head of Partnerships, Airalo

rao.khan@airalo.com

Say that you are integrating Airalo with PHPTRAVELS.

Step 2 · Credentials

## Client ID, Client Secret and the access token

When Airalo approves your account you receive a Client ID and a Client Secret. PHPTRAVELS sends them to the token endpoint from your server, receives a bearer access token and uses it for every package, order and eSIM request.

Token request (sample)

Server-side only

The token is requested by your PHPTRAVELS server. The Client Secret never reaches the browser.

Token reuse

The connector keeps the token until it expires, so it does not ask for a new one on every search.

Keep the secret private

Never put the Client Secret in public JavaScript, HTML, a public Git repository, a screenshot or a forum post.

One account, two modes

Airalo lets you choose Sandbox or Production in its configuration. Test everything in Sandbox first.

The Partner API flow

## Five Airalo API calls behind every eSIM sale

From the first price on screen to the QR code in the traveller's inbox, the connector uses the same five calls. Each one shows what PHPTRAVELS does with the answer.

- 01 Get a token POST /v2/token PHPTRAVELS Signs in with your Client ID and Client Secret and stores the bearer token on the server.
- 02 List packages GET /v2/packages PHPTRAVELS Syncs local, regional and global packages with data, validity, coverage and net price, then applies your price.
- 03 Submit an order POST /v2/orders PHPTRAVELS After payment, orders the chosen package ID and quantity and saves the Airalo order on the booking.
- 04 Read the eSIM GET /v2/sims/{sim_iccid} PHPTRAVELS Reads the eSIM by its ICCID: QR code, activation code, SM-DP+ address and the direct iOS install link.
- 05 Install steps GET /v2/sims/{sim_iccid}/instructions PHPTRAVELS Gets Airalo's installation instructions for the traveller's device and language, and adds them to the voucher.

Steps 3 to 5 · PHPTRAVELS admin

## Configure, test and sync Airalo in your admin

Everything happens in the eSIM module settings of your PHPTRAVELS admin. The exact fields depend on your PHPTRAVELS version.

- 01 Enable the eSIM module Open the module settings and switch on the Airalo eSIM integration.
- 02 Enter your credentials Paste the Client ID and Client Secret from Airalo, choose Sandbox, and save.
- 03 Test the connection Use the Test button. PHPTRAVELS signs in to Airalo and shows a connected status, or the error to fix.
- 04 Sync the packages Load the Airalo packages and check that destinations, data, validity and prices look right on your website.

eSIM module · Airalo Airalo

Environment

Test orders: no real eSIM is provisioned Live orders: real eSIMs, charged to your Airalo balance

Sample screen. The fields may differ in your version.

Step 5 · eSIM packages

## Local, regional and global eSIMs from one feed

Airalo returns three kinds of packages, so you can match the eSIM to the traveller's itinerary. Packages, prices and availability always come live from Airalo.

- Local eSIM One destination, for a trip to a single country. Example USA eSIM
- Regional eSIM Several countries in one region, for a multi-country trip. Example Europe eSIM
- Global eSIM Countries across several regions, for long or round-the-world trips. Example Global eSIM

Shown to the traveller

Destination · package name · data · validity · network · coverage · price

Typical data sizes: 1 GB, 3 GB, 5 GB and 10 GB, each with its own validity.

Steps 6 to 9 · The sale

## How a traveller buys an Airalo eSIM on your website

The traveller never leaves your site. PHPTRAVELS runs the booking and payment, Airalo provisions the eSIM.

- 01 Traveller Opens the eSIM section of your website
- 02 Traveller Chooses a destination
- 03 PHPTRAVELS Shows the Airalo packages with your price
- 04 Traveller Picks a package
- 05 Traveller Books and pays with your payment gateway
- 06 PHPTRAVELS Sends the order to the Airalo API
- 07 Airalo Provisions the eSIM
- 08 Airalo Returns the QR code and install details
- 09 PHPTRAVELS Sends the traveller the eSIM by email and in the account

eSIM delivery

## Five ways the traveller can install the eSIM

Airalo supports several installation workflows for API partners. PHPTRAVELS puts the details on the booking voucher, the confirmation email and the traveller's account.

- QR code The traveller scans the QR code from the phone's eSIM settings.
- Manual entry The activation code and SM-DP+ address, for phones that cannot scan.
- Airalo instructions Step-by-step installation instructions from the API, per device and language.
- eSIM Cloud link or PDF A sharing link or PDF from Airalo with the full installation guide.
- Direct iOS install A one-tap install link for compatible iPhones on supported iOS versions.

Customer data

## Map every customer to an ICCID

Airalo identifies each eSIM by its ICCID and, for this workflow, does not store your travellers' personal data. Keeping the link between the traveller and the eSIM is your job, and PHPTRAVELS does it on the booking.

- Customer
- PHPTRAVELS booking
- Airalo order
- ICCID

This chain makes support easy: Support requests Installation problems Order lookup Booking history eSIM status

Step 7 · Your price

## Set your selling price and earn on every eSIM

Airalo charges you the package cost in your commercial agreement. You decide what the traveller pays, within your agreement with Airalo.

- Fixed markup The same amount on top of every package.
- Percentage markup A percentage of the net price, so margins grow with bigger plans.
- Service fee A separate fee per order, shown at checkout.
- Included in a package An eSIM included in a holiday package or as a gift with a flight.

Example cross-sell

- Flight to Dubai
- Hotel in Dubai
- Airport transfer
- UAE eSIM

Why agencies add eSIMs

- More revenue per booking
- An ancillary almost every international traveller needs
- Instant digital delivery, no stock
- Travellers come back for the next trip

**The voucher option.** Airalo also sells eSIM vouchers: you buy activation codes and hand them out through your website, app, CRM or email. Choose the method that matches your Airalo agreement.

Troubleshooting

## When something does not work, check these first

Most problems are credentials, the environment or the device. Work down the list for the problem you see.

The connection test fails

Client ID Client Secret partner account active API access enabled Sandbox or Production outbound HTTPS from your server SSL

No eSIM packages show

API connection package availability environment destination filters the API response PHPTRAVELS cache

An order fails

Invalid or unavailable package Airalo balance token failure network error wrong environment temporary Airalo issue

The QR code does not show

Order completed eSIM provisioned ICCID saved install data returned QR fields in the API response

The traveller cannot install

Phone supports eSIM phone is unlocked the right QR code eSIM not already installed roaming on APN where needed

Who does what

## PHPTRAVELS runs the software, Airalo runs the eSIMs

Airalo is an external supplier. The commercial relationship is between your travel business and Airalo.

### PHPTRAVELS

- The Airalo connector and its settings
- The eSIM pages, search and checkout
- Your markup and payment gateways
- Vouchers, emails and the ICCID on the booking
- Support for the integration itself

### Airalo

- Partner approval and API credentials
- Package prices, commissions and balance rules
- Coverage, networks and package availability
- API uptime and eSIM provisioning
- Your commercial agreement

Security

## Protect your Airalo credentials

- Authenticate from the server only, never in browser JavaScript
- Use HTTPS for your website and admin
- Secure the admin panel and restrict server access
- Keep PHPTRAVELS updated
- Watch for unusual API activity
- Airalo

## Need help with the integration?

If your Airalo account is approved but the integration shows an error, open a support ticket in your PHPTRAVELS account with: your PHPTRAVELS version, a screenshot of the Airalo settings, the test result, a sample destination and package, the booking reference and the error message. Never include the full Client Secret.

[Read: how travel agencies can sell eSIMs online](https://phptravels.com/blog/how-travel-agencies-can-sell-esims-online)[Airalo developer documentation](https://developers.partners.airalo.com)

FAQ

## Airalo API integration: questions agencies ask

No. You need your own approved Airalo partner account. PHPTRAVELS provides the software and the ready Airalo connector.

Airalo sends the Client ID and Client Secret after it approves your partner account. PHPTRAVELS does not issue them.

PHPTRAVELS customers can email Rao Suhaib Khan, Head of Partnerships at Airalo, at rao.khan@airalo.com, and mention that they use PHPTRAVELS.

Yes. With an approved Airalo partner account and the PHPTRAVELS connector, supported Airalo packages appear on your own website and the booking stays on your site.

Yes, a fixed or percentage markup or a service fee, as long as it fits your commercial agreement with Airalo.

Yes. Airalo has a Sandbox mode where test orders do not provision real eSIMs. Switch to Production only after the full flow works.

Yes. Airalo offers local, regional and global packages, depending on the inventory available for each destination.

With the QR code, by entering the activation code and SM-DP+ address, with Airalo's step-by-step instructions, from an eSIM Cloud link or PDF, or with a direct install link on compatible iPhones.

No. Airalo has SDKs for PHP, Node.js and Python, but the connector is already in PHPTRAVELS. You only add your credentials.

Keep exploring

## More from the platform

Reviewed by [Qasim Hussain](https://phptravels.com/author/qasim-hussain), Founder & CEO, PHPTRAVELS · Updated October 9, 2026

- [eSIM](https://phptravels.com/features/esim)
- [Tiqets API integration Tiqets attraction tickets in your booking engine](https://phptravels.com/integrations/tiqets-api-integration)
- [Viator API integration Viator tours and activities in your booking site](https://phptravels.com/integrations/viator-api-integration)
- [PKFARE API integration PKFARE flight search, booking and PNR in your portal](https://phptravels.com/pkfare-api-integration)
- [RateHawk API integration RateHawk hotels in your booking engine, ready connector](https://phptravels.com/integrations/ratehawk-api-integration)
- [Travel APIs GDS, hotel, tour, car and payment APIs](https://phptravels.com/travel-apis)
