Skip to content
eSIMTrade Docs
Public API
api.esimtrade.com
cURL
JavaScript
HTTP
JSON
Clear, practical reseller API documentation.
Start with authentication, check your wallet balance, review plans, and then work with orders and inventory. Each endpoint page explains its authentication, request fields, response shape, and copyable examples.
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
}
}On this page
