eSIMTrade Docs
api.esimtrade.com
Simpler, clearer reseller API docs.
Start with authentication, check wallet balance, read plans, and then move into orders and inventory. Each endpoint page includes its authentication mode, request fields, response shape, and copyable examples.
Read the reseller eSIM inventory view backed by PortalOrder records and optional status filters.
Endpoint
GET /reseller/esims
This route returns the reseller's eSIM inventory feed using the same persisted PortalOrder data model. It supports pagination and optional status filtering and is intended as the API equivalent of the My eSIMs operational view.
| Query parameter | Type | Description |
|---|---|---|
| page | number | Page number, default 1 |
| pageSize | number | Items per page, default 20, capped at 100 |
| status | string | Optional status filter |
curl --location --request GET 'https://api.esimtrade.com/api/v1/reseller/esims?page=1&pageSize=20' \ --header 'x-access-code: YOUR_ACCESS_CODE' \ --header 'x-secret-key: YOUR_SECRET_KEY'
{
"total": 2,
"page": 1,
"pageSize": 5,
"esims": [
{
"providerOrderNo": "B26022703140001",
"slug": "PK_0.5_Daily",
"packageCode": "PUX79Y0PK",
"packageName": "Pakistan 500MB/Day",
"locationCode": "PK",
"status": "got_resource",
"quantity": 1,
"rawOrderJson": {
"iccid": "8948010000095399804",
"qrCodeUrl": "https://p.qrsim.net/example.png",
"smdpStatus": "RELEASED"
}
}
]
}On this page