simowl

SimOwl Wholesale API

Buy eSIMs from your prepaid balance, get activation codes and follow installation and data usage from your own software.

Not a partner yet? Apply for a wholesale account (usually approved within 24 hours).

Getting started

  1. Create a key in your wholesale dashboard → API. It is shown once: keep it secret, on your server only (never in a website or app).
  2. Send it with every request: Authorization: Bearer sow_…
  3. Top up your balance (dashboard or POST /topups), then buy with POST /orders.

Base URL: https://simowl.com/api/wholesale/v1

  • Any currency: keep your balance in the currency you want (POST /wallet) and top up in any currency we sell in (POST /topups). Money is always { currency, minor, amount }: minor is an integer in the currency's smallest unit (cents), amount the same value as a decimal.
  • Errors: { "error": "…" } with 400 (bad input), 401 (missing/invalid key), 402 (balance too low), 403, 404, 429 (more than 240 requests a minute).
  • eSIM status: processing, ready, failed, refunded. install: not_installed, installed, active (installed and switched on), disabled, deleted, unknown.
  • An eSIM that cannot be delivered (status failed) is retried by our team or refunded to your balance; refunds show up in GET /transactions.

GET/balance· Balance

curl https://simowl.com/api/wholesale/v1/balance \
  -H "Authorization: Bearer $SIMOWL_KEY"
{ "account": "you@company.com", "balance": { "currency": "EUR", "minor": 125000, "amount": 1250 } }

GET/plans· Plans and your price

  • country ISO 3166-1 alpha-2 code (BR, FR, US…)
  • region Instead of country: a region name, e.g. Europe, Asia, Global
curl https://simowl.com/api/wholesale/v1/plans?country=BR \
  -H "Authorization: Bearer $SIMOWL_KEY"
{ "plans": [ { "id": "1234", "name": "Brazil 5 GB · 30 days", "destination": "Brazil", "planType": "country",
    "countries": ["BR"], "days": 30, "dataGb": 5, "unlimited": false,
    "currency": "EUR", "priceMinor": 790, "price": 7.9, "retailPriceMinor": 1199 } ] }

GET/quote· Quote

Tells you the total and whether your balance covers it, without buying anything.

curl https://simowl.com/api/wholesale/v1/quote?planId=1234&qty=50 \
  -H "Authorization: Bearer $SIMOWL_KEY"
{ "planId": "1234", "qty": 50, "unitPrice": {…}, "total": { "currency": "EUR", "minor": 39500, "amount": 395 },
  "balance": {…}, "affordable": true }

POST/orders· Buy eSIMs from your balance

qty: 1 to 500 per request. The total is taken from your balance at once; nothing is bought if the balance is short (HTTP 402).

Send an Idempotency-Key header (any unique string, e.g. your own order id): if the request is retried with the same key, you get the first purchase back (HTTP 200, "replayed": true) and you are never charged twice.

Answer 201 with the purchase. The eSIMs are delivered within seconds: poll GET /orders/{reference} until "complete" is true, then read the activation codes.

curl -X POST https://simowl.com/api/wholesale/v1/orders \
  -H "Authorization: Bearer $SIMOWL_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: my-order-1001" \
  -d '{"planId": "1234", "qty": 50}'
{ "reference": "WB-7KQ2M9XH4D", "replayed": false, "qty": 50,
  "total": { "currency": "EUR", "minor": 39500, "amount": 395 },
  "balance": { "currency": "EUR", "minor": 85500, "amount": 855 },
  "esims": [ { "iccid": "", "order": "ES-…", "status": "processing", … } ] }

HTTP 402
{ "error": "Insufficient balance: …", "code": "insufficient_balance", "currency": "EUR",
  "balanceMinor": 20000, "requiredMinor": 39500, "missingMinor": 19500 }

GET/orders/WB-7KQ2M9XH4D· One purchase with its eSIMs and activation codes

curl https://simowl.com/api/wholesale/v1/orders/WB-7KQ2M9XH4D \
  -H "Authorization: Bearer $SIMOWL_KEY"
{ "reference": "WB-7KQ2M9XH4D", "qty": 50, "complete": true, "delivered": 50, "paidFrom": "balance",
  "esims": [ {
    "iccid": "8937204016150000001", "order": "ES-P4M8X2KQ7D", "purchase": "WB-7KQ2M9XH4D",
    "plan": { "name": "Brazil 5 GB · 30 days", "destination": "Brazil", "countries": ["BR"], "days": 30, "dataGb": 5, "unlimited": false },
    "status": "ready", "install": "not_installed",
    "activation": { "lpa": "LPA:1$smdp.example.com$ABC123", "smdp": "smdp.example.com", "matchingId": "ABC123", "iosInstallLink": "https://…" },
    "usage": { "usedMb": null, "leftMb": null, "packageMb": 5120, "activatedAt": null, "expiresAt": null, "syncedAt": "…" },
    "purchasedAt": "2026-11-25T12:00:00.000Z" } ] }

GET/orders· Purchases

curl https://simowl.com/api/wholesale/v1/orders?limit=50&offset=0 \
  -H "Authorization: Bearer $SIMOWL_KEY"
{ "orders": [ { "reference": "WB-…", "qty": 50, "plan": {…}, "unitPrice": {…}, "total": {…}, "paidFrom": "balance",
  "counts": { "delivered": 50, "processing": 0, "failed": 0, "refunded": 0, "cancelled": 0 }, "createdAt": "…" } ] }

GET/esims· Every eSIM (inventory)

  • search ICCID digits, an LPA activation code or matching ID, an order (ES-…) or a purchase (WB-…)
  • format=csv Spreadsheet of the eSIMs (up to 1000 per call, use offset for more)

Install state and usage as last checked (eSIMs in use are re-checked about every 30 minutes). Use GET /esims/{iccid} for a fresh check.

curl https://simowl.com/api/wholesale/v1/esims?limit=100&offset=0 \
  -H "Authorization: Bearer $SIMOWL_KEY"
{ "total": 342, "esims": [ { "iccid": "…", "status": "ready", "install": "active", "usage": {…}, … } ] }

GET/esims/8937204016150000001· One eSIM, fresh from the network

Checked with the network at most once a minute per eSIM.

curl https://simowl.com/api/wholesale/v1/esims/8937204016150000001 \
  -H "Authorization: Bearer $SIMOWL_KEY"
{ "iccid": "8937204016150000001", "install": "active",
  "usage": { "usedMb": 812, "leftMb": 4308, "packageMb": 5120, "activatedAt": "…", "expiresAt": "…", "syncedAt": "…" }, … }

GET/transactions· Balance movements

  • before ISO date: entries older than this (pagination)
curl https://simowl.com/api/wholesale/v1/transactions?limit=50 \
  -H "Authorization: Bearer $SIMOWL_KEY"
{ "transactions": [ { "id": "purchase:WB-…", "type": "purchase", "amount": { "currency": "EUR", "minor": -39500, "amount": -395 },
  "balanceAfter": {…}, "reference": "WB-…", "note": "50 × Brazil 5 GB · 30 days", "at": "…" } ] }

POST/topups· Top up the balance, in any currency

amount in `currency`: any currency we sell in (BRL to pay with Pix, USD, GBP, MXN…). Without currency, your balance currency is used.

Any amount (recommended €1,500). GET /topups?currency=BRL gives the range and the suggested amounts (€500 / €1,000 / €1,500 equivalents).

A different currency is converted into your balance currency at today’s rate; the answer (and GET /topups?currency=BRL&amount=2500 before paying) tells you exactly how much the balance receives.

Returns a payment page (card, Pix, Apple Pay, Google Pay…) to open; the balance is credited as soon as the payment is confirmed.

curl -X POST https://simowl.com/api/wholesale/v1/topups \
  -H "Authorization: Bearer $SIMOWL_KEY" \
  -H "Content-Type: application/json" \
  -d '{"amount": 2500, "currency": "BRL"}'
{ "reference": "WT-…", "url": "https://checkout.stripe.com/…",
  "pay": { "currency": "BRL", "minor": 250000, "amount": 2500 },
  "credit": { "currency": "EUR", "minor": 39012, "amount": 390.12 } }

POST/wallet· Choose the balance currency

Prices, purchases and the balance are kept in this currency. Allowed while the balance is 0. GET /wallet lists the available currencies.

curl -X POST https://simowl.com/api/wholesale/v1/wallet \
  -H "Authorization: Bearer $SIMOWL_KEY" \
  -H "Content-Type: application/json" \
  -d '{"currency": "BRL"}'
{ "balance": { "currency": "BRL", "minor": 0, "amount": 0 } }

PATCH/wallet· Low-balance alert

In your balance currency; null turns it off. When a purchase takes the balance under it, we email you once and send a balance.low webhook. A top-up re-arms it.

curl -X PATCH https://simowl.com/api/wholesale/v1/wallet \
  -H "Authorization: Bearer $SIMOWL_KEY" \
  -H "Content-Type: application/json" \
  -d '{"lowBalanceAlert": 200}'
{ "balance": { "currency": "BRL", "minor": 152000, "amount": 1520 }, "lowBalanceAlert": { "currency": "BRL", "minor": 20000, "amount": 200 } }

GET/plans· Full price list (CSV)

Every plan on sale with your price and the retail price, in your balance currency, in one file.

curl https://simowl.com/api/wholesale/v1/plans?format=csv \
  -H "Authorization: Bearer $SIMOWL_KEY"
plan_id,destination,type,countries,data_gb,days,currency,your_price,retail_price

PUT/webhook· Webhook

Events: purchase.completed (with the delivered ICCIDs), esim.installed, balance.low. POST /webhook/test sends a test event; DELETE /webhook removes it.

Each POST carries SimOwl-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>" with your signing secret>. The secret is returned once, here.

Every eSIM also has activation.installPage: an unbranded install page (QR code, one-tap iPhone/Android install) you can send to your customer.

curl -X PUT https://simowl.com/api/wholesale/v1/webhook \
  -H "Authorization: Bearer $SIMOWL_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/webhooks/esim"}'
{ "url": "https://example.com/webhooks/esim", "secret": "whsec_…", "events": ["purchase.completed", "esim.installed", "balance.low"] }