eSIM API for resellers and travel apps

Sell eSIMs from your own website, app or booking system. The eSIMHub REST API gives you the full catalog with your partner prices, orders that return a QR code in minutes, top-ups, refunds, usage data and webhooks — paid from your prepaid wallet.

What you can do

Catalog with your prices

List more than 10,000 plans for 180+ destinations with your own wholesale price, data policy, validity and top-up support.

Orders and QR codes

Create an order with your own order number; the eSIM's QR code, LPA string and install links arrive by webhook or polling.

Top-ups

Add data to an eSIM your customer already has, with plans that fit that eSIM.

Usage and status

Read each eSIM's state, install history and daily data use per visited country and network.

Customer emails

Let us email your customer the QR code and install steps under your shop name.

Refunds

File a refund for an unused or partly used eSIM; the approved amount goes back to your wallet.

Ordering in three calls

  1. 1GET /v1/packages?country=JP — pick a plan (cache the catalog on your side).
  2. 2POST /v1/orders — the wallet is charged and provisioning starts.
  3. 3Webhook esim.ready (or GET /v1/orders/{id}) — the QR code and LPA string are ready.
curl -X POST https://api.esimhub.link/v1/orders \
  -H "Authorization: Bearer ehk_test_..." \
  -H "Content-Type: application/json" \
  -d '{"package_code": "EH064417A0B0", "quantity": 1, "partner_order_no": "SHOP-10045"}'

Built to be safe to integrate

  • Your own order number is the idempotency key: retry safely, you are never charged twice.
  • Keys locked to your server IPs, read-only keys, and daily spending limits per key.
  • Test keys create test orders on the real catalog — no wallet charge, no real eSIM.
  • Webhooks are signed with HMAC and retried until your endpoint accepts them.

Webhook events

order.completedorder.partialorder.failedesim.readyesim.installedesim.activatedesim.depletedesim.terminatedtopup.completedtopup.failedrefund.completedrefund.rejecteddeposit.credited

Full reference

Every endpoint, field and status value is documented in the API reference. API keys and webhook endpoints are created in the partner portal.

Open the API reference →

Get your API key

Create a free partner account, then add an API key under API & Webhooks. Start with a test key; switch to a live key when you are ready.