Partner API reference for eSIM ordering, balance management, and fulfillment tracking.
This reference is based on the current eSIM Distribute tenant API flow and follows the same operational model we use for provider integrations such as TSIM: authenticated requests, explicit order creation, asynchronous fulfillment, and structured order lookup.
Base URL
`https://esimdistribute.com`
All authenticated partner endpoints use tenant JWT Bearer tokens issued by the tenant login flow. The APIs below are intentionally limited to partner console and order operations. White-label storefront endpoints are not included on this page.
Auth Headers
Authorization: Bearer <tenant_jwt_token>
Content-Type: application/jsonAuthentication
Tenant account creation and sign-in for accessing the partner console APIs.
/api/tenant/registerCreate a tenant account
Request Body
{
"name": "Fire Flow Limited",
"subdomain": "fireflow",
"contactEmail": "ops@example.com",
"password": "strong-password"
}/api/tenant/loginSign in and receive a Bearer token
Request Body
{
"email": "ops@example.com",
"password": "strong-password"
}/api/tenant/profileGet the current tenant profile
Plans & Fulfillment
Browse available eSIM plans and place balance-based purchase orders.
/api/tenant/available-plansList currently available eSIM plans
/api/tenant/orders/checkoutPurchase one or more plans using tenant balance
Request Body
{
"items": [
{ "planId": "plan_uuid", "quantity": 2 }
],
"email": "customer@example.com",
"customerName": "End Customer",
"phone": "88888888"
}Orders
Review order status, fulfillment results, and exported delivery history.
/api/tenant/ordersList tenant orders
/api/tenant/orders/:orderIdGet a single order with QR delivery details
/api/tenant/orders/exportExport order records as CSV
Balance & Top Up
Check available credits, review transactions, and create top-up orders.
/api/tenant/balanceGet current credit balance
/api/tenant/transactionsList balance transactions
/api/tenant/top-upCreate a Stripe or bank-transfer top-up order
Request Body
{
"amount": 300,
"paymentMethod": "stripe",
"successUrl": "https://esimdistribute.com/dashboard/billing",
"cancelUrl": "https://esimdistribute.com/dashboard/billing"
}/api/tenant/top-up/:orderIdGet top-up order status
/api/tenant/top-up/:orderId/proofUpload bank transfer proof URL
Request Body
{
"transferProofUrl": "https://your-storage.example.com/proof.png"
}Public Contact
Public contact endpoint for partnership, pricing, hardware, support, and API inquiries.
/api/tenant/contactSubmit the public contact form
Request Body
{
"fullName": "Jane Doe",
"email": "jane@example.com",
"companyName": "Example Co",
"phone": "+852 1234 5678",
"inquiryType": "api",
"message": "We would like to discuss an integration."
}Sample success response
Most tenant endpoints return the standard eSIM Distribute envelope with `success`, `data`, `message`, and `error` fields.
{
"success": true,
"data": {
"orders": [],
"summary": {
"totalAmount": 0,
"orderCount": 0,
"refundedAmount": 0,
"creditBalance": 300
}
},
"message": "Balance checkout completed",
"error": ""
}