Skip to content

eSIMTrade Docs

Public API

api.esimtrade.com

cURL
JavaScript
HTTP
JSON

Simpler, clearer reseller API docs.

Start with authentication, check wallet balance, read plans, and then move into orders and inventory. These docs are designed to help teams integrate faster with less scrolling and less guessing.

Fast scan
Live route coverage
Copyable examples
Getting Started
API key or session
GET

Wallet Balance

Read the prepaid wallet balance used for reseller purchasing and reconciliation checks.

Endpoint

GET /portal/balance

Endpoint behavior

This route returns the reseller wallet balance in both display-friendly and raw cent-based forms. It is the fastest way to verify whether the prepaid wallet is sufficiently funded before purchase attempts.

Balance request

cURL
curl --location --request GET 'https://api.esimtrade.com/api/v1/portal/balance' \
--header 'x-access-code: YOUR_ACCESS_CODE' \
--header 'x-secret-key: YOUR_SECRET_KEY'

Live response shape

JSON
{
  "data": {
    "balance": "$59.00",
    "walletBalanceUsd": "59.00",
    "walletBalanceCents": 5900
  }
}

Base URL

https://api.esimtrade.com/api/v1

Open on API host

On this page