Guides
Quickstart
You need an API key from console.gmjroaming.com and some account balance.
Code
1. Check your account
Code
data.balance is your balance in USD.
2. Find a destination
Code
Code
Pass country_code as locationCode in the next step. Regions such as asia or europe
work too.
3. Pick a package
Code
Each package has a packageCode, a name, priceUsd (your price) and volume (bytes).
4. Buy it
The body is an array. Generate your own transaction_id and store it: it's your reference
for this purchase. The call waits until the eSIM is ready, so allow up to 60 seconds.
Code
Code
5. Get the eSIM
Code
Send your customer qrCodeUrl (a QR to scan) or publicUrl (an install page). ac is the
activation code for manual entry.
Next
- Set up webhooks to hear when your customer installs the eSIM and uses data.
- Read Buying eSIMs for retries and top-ups.
Try read-only endpoints straight from the API reference: click Test request and paste your key. Endpoints that spend balance have the playground turned off.
Last modified on