API ตัวแทนจำหน่าย eSIMDual

Use the eSIMDual reseller API in your own website or app

This documentation covers authentication, packages, 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.

เริ่มต้นอย่างรวดเร็ว
  • 1สร้างโทเค็น API ด้วยคำสั่ง POST /login
  • 2ส่งโทเค็น Bearer ไปยังปลายทางที่ได้รับการป้องกันทั้งหมด
  • 3ใช้ Idempotency-Key ในการสร้างคำสั่งซื้อ
  • 4ตรวจสอบความถูกต้องของลายเซ็นเว็บฮุคด้วยรหัสลับที่ใช้ร่วมกันของคุณ
URL พื้นฐาน https://esimdual.com/api/reseller/v1
การตรวจสอบสิทธิ์ Authorization: Bearer <token>
ภาวะเสื่อมสมรรถภาพทางเพศ Idempotency-Key: unique-order-key
ตัวอย่างคำขอเข้าสู่ระบบ
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"
  }'
ตัวอย่างใบสั่งซื้อ
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"
  }'

เหตุการณ์ Webhook

eSIMDual จะลงนามข้อมูล webhook ด้วย HMAC SHA-256 โดยใช้รหัสลับ webhook ของคุณ

ping order.completed order.processing order.failed
X-eSIMDual-Event
X-eSIMDual-Delivery
X-eSIMDual-Signature

Wir können Cookies oder andere Tracking-Technologien verwenden, wenn Sie unsere Website, mobile Website oder App besuchen, um die Website zu personalisieren und Ihre Erfahrung zu verbessern. เรียนรู้เพิ่มเติม

อนุญาต