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.
Paginate reseller order history with optional status and text filters.
Endpoint
GET /reseller/orders
This route returns persisted reseller PortalOrder records filtered to the authenticated reseller. Results are ordered newest first and support pagination plus simple text and status filtering.
| Query parameter | Type | Description |
|---|---|---|
| page | number | Page number, default 1 |
| pageSize | number | Items per page, default 20, capped at 100 |
| status | string | Optional order status filter |
| q | string | Optional search across provider order number, package name, and slug |
curl --location --request GET 'https://api.esimtrade.com/api/v1/reseller/orders?page=1&pageSize=20' \ --header 'x-access-code: YOUR_ACCESS_CODE' \ --header 'x-secret-key: YOUR_SECRET_KEY'
curl --location --request GET 'https://api.esimtrade.com/api/v1/reseller/orders?status=active&q=japan' \ --header 'x-access-code: YOUR_ACCESS_CODE' \ --header 'x-secret-key: YOUR_SECRET_KEY'
{
"page": 1,
"pageSize": 5,
"total": 2,
"orders": [
{
"providerOrderNo": "B26022703140001",
"slug": "PK_0.5_Daily",
"packageCode": "PUX79Y0PK",
"packageName": "Pakistan 500MB/Day",
"locationCode": "PK",
"status": "cancel",
"quantity": 1,
"costPrice": "0.5",
"sellPrice": "0.5",
"totalSellPrice": "0.5"
}
]
}On this page