Gunakan API reseller eSIMDual di situs web atau aplikasi Anda sendiri.
This documentation covers authentication, packages, reseller pricing, VPN plans, orders, eSIM resources, wallet data and webhook payloads for the reseller API. Use the online reference below or download the OpenAPI JSON file for Postman, Insomnia or your own integration tools.
Mulai cepat
- 1Buat token API dengan POST /login
- 2Kirim token Bearer ke semua endpoint yang dilindungi.
- 3Gunakan Idempotency-Key pada pembuatan pesanan
- 4Read VPN plans with GET /vpn/plans when you sell Secure VPN options
- 5Validasi tanda tangan webhook dengan rahasia bersama Anda.
https://esimdual.com/api/reseller/v1
Authorization: Bearer <token>
Idempotency-Key: unique-order-key
Contoh permintaan login
curl --request POST 'https://esimdual.com/api/reseller/v1/login' \
--header 'Content-Type: application/json' \
--data '{
"email": "partner@example.com",
"password": "StrongPassword123!",
"device_name": "production-server"
}'
Permintaan pesanan sampel
curl --request POST 'https://esimdual.com/api/reseller/v1/orders' \
--header 'Authorization: Bearer YOUR_TOKEN' \
--header 'Idempotency-Key: ORDER-2026-0001' \
--header 'Content-Type: application/json' \
--data '{
"package_id": 1120,
"external_order_id": "NOANET-2026-0001",
"device_imei": "356938035643809"
}'
Sample VPN plans request
curl --request GET 'https://esimdual.com/api/reseller/v1/vpn/plans' \
--header 'Authorization: Bearer YOUR_TOKEN'
The price_for_reseller field is the amount charged by eSIMDual to the reseller. Your storefront can add its own customer selling price on top.
Peristiwa webhook
eSIMDual menandatangani payload webhook dengan HMAC SHA-256 menggunakan rahasia webhook Anda.
X-eSIMDual-EventX-eSIMDual-DeliveryX-eSIMDual-Signature