In this article
Learn how to top up your customer's existing eSIM with a new bundle, in the Portal or with the API, so they can keep using the eSIM they already have. You'll also learn how to fix an incompatible bundle error.
Before you start
- Before applying a bundle, check that the bundle's profile in your price list matches the eSIM's ICCID prefix. See eSIM profiles explained.
- A top-up with a bundle on a different profile from the eSIM fails: the API returns 400 "incompatible bundle/profile combination" and the Portal shows "Error Assigning Bundle".
- Bundles you add to your inventory sit there until the expiry date is reached or the bundle is applied to an eSIM. See Add a bundle to your inventory. To assign a bundle to an existing eSIM through the API, use POST /orders with assign set to true. In the Portal, Add Bundle on an eSIM applies a bundle from your inventory.
- Assigning an active bundle resets the inactivity clock, so the eSIM is no longer scheduled for deletion. Every eSIM expires after 180 days (about 6 months) without bundle activity. See How long does an eSIM or bundle last? Once an eSIM has expired it is no longer assigned to your organisation, so you can't apply a bundle to it; order a new eSIM instead.
Apply a bundle in the Portal
- Log into your account (see Log in to your account).
- Click Inventory > eSIMs. All your eSIMs are listed in eSIM Inventory.
- Click the info (i) icon on the eSIM row to open the eSIM page.
- Note: type the full or partial ICCID in the search box to filter out the remaining eSIMs.
- Click the Bundles tab, then click Add Bundle.
- In the pop-up, choose the bundle from your inventory and confirm.
- On the Bundles tab, you can now see the queued bundles on the eSIM, grouped by state.
To apply multiple bundles, repeat as required. Queued bundles are used in the order described in How queued bundles work.
Tip: Offer a top-up to the same eSIM before your customer's bundle runs out. They keep the eSIM they already installed, and applying a bundle also resets the 180-day inactivity clock.
Apply a bundle with the API
Use POST /orders on the v2.5 API. Full request details: https://docs.esim-go.com/api/v2_5/operations/orders/post
- Set assign to true to assign the bundle to an existing eSIM.
- Set iccids to the ICCID of the eSIM. The number of order items must match the number of ICCIDs. iccids can only be specified if assign is true.
- Use the moniker (the bundle code) from the catalogue.
- To test without buying, use "type": "validate". Use "type": "transaction" to process the order.
- The response includes the orderReference and runningBalance.
POST /orders buys a bundle from the catalogue, deducted from your balance, and can assign it to an existing eSIM with assign set to true and iccids. POST /esims/apply applies a bundle already in your inventory to an existing eSIM, with the eSIM's iccid and the bundle name.
If the bundle isn't compatible with the eSIM profile, set allowReassign to allow a new eSIM to be provided.
Troubleshooting
400 "incompatible bundle/profile combination" or "Error Assigning Bundle"
The bundle is on a different profile from the eSIM. See eSIM profiles explained.
- Assign the bundle to a new eSIM. See Apply a bundle from inventory to a new eSIM.
- Issue the new eSIM to your customer.