In this article
Learn how to revoke an unused bundle from an eSIM and return it to your inventory or your credit, in the Portal or with the API, so you don't pay for bundles your customer won't use. You'll also learn which bundles can be revoked and when.
Before you start
- Revoking is off by default. To have it enabled for your account, contact eSIM Go at https://esimgo.com/contact.
- Only bundles that have not been started may be returned to your inventory or credit when revoked. Started bundles that are revoked will be permanently lost.
- A bundle starts when the eSIM connects to a supported network with data roaming on.
- Revoking to credit is only possible if the bundle comes from an order placed in the last 60 days.
- Revoking to inventory is possible for unused bundles unless the bundle has lapsed. A lapsed bundle expired without ever being used. A bundle returned to inventory lasts until its own expiry date.
Tip: If a customer cancels their trip, revoke their bundle before it starts. A bundle returned to your inventory can be applied for another customer, and one revoked to credit within 60 days of the order goes back to your balance.
Revoke a bundle in the Portal
- Log in to your account.
- Click Inventory > eSIMs. All your eSIMs are now listed in eSIM Inventory. See View your eSIMs and check their status.
- If you know the ICCID of the eSIM, type it into the search box to filter the list.
- Click the info (i) icon on the eSIM row.
- Click the Bundles tab. You can now see the bundles on the eSIM, grouped by state.
- Check the bundle's state first: only bundles that haven't started can go back to inventory or credit. Then click Revoke on the bundle.
- Choose whether to revoke the bundle to your inventory or, where applicable, to credit, and confirm.
The bundle has now been removed from the queued bundles section.
Revoke a bundle with the API
- Make sure you have already found your API key and can use it in your requests. See Find, copy and refresh your API key.
- Send a revoke request to the revoke endpoint. In v2.5 this is DELETE /esims/{iccid}/bundles/{name} ("Revoke applied Bundle"): https://docs.esim-go.com/api/v2_5/operations/esimsiccidbundlesname/delete
- Enter the ICCID of the eSIM and the moniker (the bundle code). Monikers are case sensitive. For example, 8943108160000804845 and esim_1GB_7D_GB_V2.
- To revoke to inventory, set refundToBalance to false.
- To revoke to credit, set refundToBalance to true and also enter the offerId.
- Find the offerId with the Get applied Bundle status endpoint, GET /esims/{iccid}/bundles/{name}: https://docs.esim-go.com/api/v2_5/operations/esimsiccidbundlesname/get
- Send the request. The bundle has now been revoked.