DragonPass API Developer Platform
v2
  • v2
  • v1
HomepageOfficial SiteContact Us
HomepageOfficial SiteContact Us
API Version
v2
  • v2
  • v1
  1. Utilizing The E-pass
  • Implementation Guide
    • DragonPass Modules
    • Get Started
    • Our API Solution
  • Development Guide
    • Response Format
    • Error Codes
    • Multiple Language Support and Fallback
    • UI Design Guidelines
    • Authentication
    • Sandbox Order Simulation
  • DragonPass API Push Event
    • Instructions
    • Lounge/Dining Walk-in Redemption Event
    • Prebooking Order Status Change Event
    • Resource Update Push Service
  • Using the API
    • Search for Resources
      • Search for Resources
      • Check Prebooking Resource & Option Availability
      • Pricing Query
      • Image Parameters
    • Order Lifecycle
      • Walk-in & Prebooking Order
      • Order Status Enumeration
    • E-pass
      • Querying E-pass Usage Orders and Details
      • Issuing, Querying, and Cancelling an E-pass
      • Utilizing The E-pass
        • Lounge
        • Fast Track
        • Dining
        • Fitness
        • eSIM
        • Cross Module
    • Membership
      • Manage Memberships & Entitlements
      • Querying Membership Usage Orders and Details
      • Utilizing DragonPass Membership
        • Lounge
        • Fast Track
        • Dining
        • Fitness
        • eSIM
    • User
      • User Management
  • Release Notes
    • 2026
    • 2025
  • Migration Guide
    • From V1 to V2
  • API Reference
    • Authentication
      • Generate Access Token
    • User Management
      • User Creation
      • Update User Information
      • Retrieve User Information
      • Retrieve User E-passes List
      • Retrieve User Memberships List
      • Delete A User
    • Search
      • Retrieve Available Modules by Location
      • Aggregated Search by Keyword
    • Transport Hubs
      • Retrieve Transport Hub
      • Retrieve Transport Hub Details
    • Resources
      • Retrieve Resource List
        • Retrieve Resources List
      • Search For Resources
        • Retrieve Resource Details
        • List Updated Resources
      • Check Resource Availability
        • Check Prebooking Resource Availability
        • Check Prebooking Option Availability
      • Fitness
        • Retrieve Fitness Resources Schedule
        • Retrieve Fitness Resource Option Details
      • eSIM
        • Retrieve eSIM Resouces Options
        • Retrieve eSIM Resource Option Details
      • Pricing
        • Retrieve Resource Pricing Information
        • Retrieve Prebooking Option Pricing Information
    • Entitlement Management
      • Update Membership Entitlements
      • Retrieve Membership Entitlement Information
    • Membership Management
      • Membership Registration
      • Update A Membership
      • Retrieve Membership Information
      • Generate Membership Dynamic QR Codes
      • Change Membership Program(Upgrade/Downgrade)
    • Orders Management
      • Preview Orders
        • Membership
          • Preview Membership Prebooking Order
      • Create Orders
        • E-pass
          • Issue An E-pass
            • Create E-pass Order
          • Lounge Prebooking
            • Create E-pass Prebooking Order - Lounge
            • Create E-pass with Prebooking Order - Lounge
          • Fast Track
            • Create E-pass Prebooking Order - Fast Track
            • Create E-pass with Prebooking Order - Fast Track
          • Fitness
            • Create E-pass Prebooking Order - Fitness
            • Create E-pass with Prebooking Order - Fitness
          • eSIM
            • Create E-pass Prebooking Order - eSIM
            • Create E-pass with Prebooking Order - eSIM
            • Top up eSIM data package - E-pass
        • Membership
          • Create Membership Prebooking Order - Lounge
          • Create Membership Prebooking Order - Fast Track
          • Create Membership Prebooking Order - Fitness
          • Create Membership Prebooking Order - eSIM
          • Top up eSIM data package - Membership
      • Retrieve Order List
        • Retrieve E-pass Order List
        • Retrieve Membership Order List
      • Cancel Orders
        • Cancel an Order
      • Retrieve Order Details
        • E-pass
          • Retrieve E-pass Details
          • Retrieve E-pass Usage Order Details
        • Membership
          • Retrieve Membership Usage Order Details
      • Module Specific APIs
        • Fitness
          • Fitness Order Check-In
        • eSIM
          • Retrieve eSIM Order Live Extended Details
          • Check eSIM Top-up Availability
          • Retrieve eSIM Data Packages
    • [Sandbox Only] Simulation
      • Lounge
        • Simulate Lounge Redemption - Walk in
        • Simulate Lounge Redemption - Prebooking
        • Simulate Lounge Order Cancellation
      • Fast Track
        • Simulate Fast Track Redemption - Prebooking
        • Simulate Fast Track Order Cancellation
    • Push Event Recovery
      • Push Event Recovery
  • Our Team
  1. Utilizing The E-pass

eSIM

Order Creation#

Kindly note that currently each eSIM prebooking order allows only one data package.
For lifestyle-related services, such as Fitness and eSIM, each resource (e.g., a specific fitness club or an eSIM for a certain region) may offer multiple options (e.g., different fitness classes or data plans). Orders are created at the option level within the corresponding resource.
The eSIM module supports two types of order creation:
1. Initial Order
Creates a new eSIM card (identified by a unique ICCID) and binds the selected data package to it. This option is used when the user does not have an existing eSIM.
2. Top-Up Order
Adds a new data package to an existing eSIM card. The ICCID of the existing card must be provided, and the selected data package will be applied to that card. This is used when the user wants to extend or renew the data service on a previously issued eSIM.

Initial Order#

The prebooking flow typically includes the following steps:
1
Retrieve Option List
Retrieve the available options under a specific resource.
2
Availability Check
Query the availability of a specific option within a given resource for the specified date and time.
For most countries or regions, there is no restriction on the start time of the eSIM service. However, to ensure successful creation and issuance of the eSIM, it is recommended to set the prebooking time to at least one hour later (UTC+0).
3
Prebooking Creation
If available, a prebooking order can be created. The order remains cancellable within the applicable cancellation policy window.
4
Using the eSIM
Users can install the eSIM on their device in advance. Once they arrive at their destination and connect to a network, the eSIM will be activated automatically.
→ Use /orders/esims/ePasses/prebooking to place a eSIM prebooking order with an E-pass.
Request
Create E-pass Prebooking Order - eSIM - Request

For eSIM orders, no PII is required.
{
    "module": 8,
    "ePassId": "1788000066668888",
    "extra": {
        "prebookingToken": "85c69b8e790befc7e94870ec269c3f1d"
    }
}
Response
Create E-pass Prebooking Order - eSIM - Response

{
    "code": 0,
    "data": {
        "status": 1,
        "module": 8,
        "category": 2,
        "ePassId": "1788000066668888",
        "orderId": "DP00000000000001",
        "orderCreatedDate": "2024-12-31T00:00:00+00:00",
        "orderCancelledDate": null,
        "extra": {
            "clientUserId": "3EF5D065-76F8-4D3E-801A-B329D15F461A",
            "prebookingDate": "2025-10-01T10:30",
            "usageDate": null,
            "usedUsages": 1,
            "resourceId": "E00001",
            "resourceName": "eSIM United Kingdom",
            "vouchersList": [
                {
                    "voucher": "668800008888",
                    "voucherType": 1
                }
            ],
            "esim": {
                "iccid": "898600F1234567890123",
                "status": 1,
                "effectiveDate": "2024-12-31T10:00:00+00:00",
                "expirationDate": "2025-12-31T10:00:00+00:00"
            },
            "esimOptions": {
                "optionId": "E00001-01",
                "optionName": "eSIM United Kingdom - 30GB 10Days",
                "status": 2,
                "duration": 10,
                "dataMode": 2,
                "volume": {
                    "total": 32212254720,
                    "remaining": 32212254720,
                    "dailyLimit": -1,
                    "notes": "Basic Unlimited Package provides 500MB of high-speed data, with unlimited usage at a reduced speed of 48 KB/s after high-speed data is used up. High-speed data refreshes every 24 hours."
                },
                "activationDate": null,
                "expirationDate": null,
                "speed": "5G",
                "providers": [
                    {
                        "provider": "DragonPass",
                        "region": "GB"
                    }
                ],
                "coverage": {
                    "type": 1,
                    "regions": [
                        "GB"
                    ],
                    "rawText": "United Kingdom"
                }
            },
            "esimOrderType": 1
        }
    }
}

Top-Up Order#

The top-Up process follows these main steps:
1
Retrieve Option List
Retrieve the list of available options for a specific resource.
2
Top-up Availability Check
Verify whether a specific eSIM (identified by ICCID) supports top-up for a certain option(data package).
Due to carrier restrictions, some eSIMs only support specific data packages or do not support top-up.
3
Top-up
If available, a Top-up order can be created. The order remains cancellable within the applicable cancellation policy window.
4
Using the eSIM
Users can install the eSIM on their device in advance. Once they arrive at their destination and connect to a network, the eSIM will be activated automatically.
→ Use /orders/esims/ePasses/topup to place a eSIM top-up order with an E-pass.
Request
Top up eSIM data package - eSIM - Request

For eSIM orders, no PII is required.
{
    "module": 8,
    "ePassId": "1788000066668888",
    "extra": {
        "prebookingToken": "85c69b8e790befc7e94870ec269c3f1d",
        "iccid": "898600F1234567890123"
    }
}
Response
Top up eSIM data package - E-pass - eSIM - Response

{
    "code": 0,
    "data": {
        "status": 1,
        "module": 8,
        "category": 2,
        "ePassId": "1788000066668888",
        "orderId": "DP00000000000001",
        "orderCreatedDate": "2024-12-31T00:00:00+00:00",
        "orderCancelledDate": null,
        "extra": {
            "clientUserId": "3EF5D065-76F8-4D3E-801A-B329D15F461A",
            "prebookingDate": "2025-10-01T10:30",
            "usageDate": null,
            "usedUsages": 1,
            "resourceId": "E00001",
            "resourceName": "eSIM United Kingdom",
            "vouchersList": [
                {
                    "voucher": "668800008888",
                    "voucherType": 1
                }
            ],
            "esim": {
                "iccid": "898600F1234567890123",
                "status": 1,
                "effectiveDate": "2024-12-31T10:00:00+00:00",
                "expirationDate": "2025-12-31T10:00:00+00:00"
            },
            "esimOptions": {
                "optionId": "E00001-01",
                "optionName": "eSIM United Kingdom - 30GB 10Days",
                "status": 2,
                "duration": 10,
                "dataMode": 2,
                "volume": {
                    "total": 32212254720,
                    "remaining": 32212254720,
                    "dailyLimit": -1,
                    "notes": "Basic Unlimited Package provides 500MB of high-speed data, with unlimited usage at a reduced speed of 48 KB/s after high-speed data is used up. High-speed data refreshes every 24 hours."
                },
                "activationDate": null,
                "expirationDate": null,
                "speed": "5G",
                "providers": [
                    {
                        "provider": "DragonPass",
                        "region": "GB"
                    }
                ],
                "coverage": {
                    "type": 1,
                    "regions": [
                        "GB"
                    ],
                    "rawText": "United Kingdom"
                }
            },
            "esimOrderType": 2
        }
    }
}

Cancel Orders#

→ Use the /orders endpoint to cancel a prebooking order by order ID.
A prebooking order can be cancelled in accordance with the cancellation policy. Once cancelled, the corresponding usages will be refunded to the E-pass.
eSIM orders can be cancelled within 50 days of creation, provided that the data package has not been activated. Once the data package is activated, cancellation is no longer allowed.
Please note that once a prebooking order is cancelled, it cannot be recovered.

Retrieve eSIM Order Live Extended Details#

→ Use the /orders/esims/details endpoint to retrieve real-time extended details of a specific eSIM order, covering usage, validity, and other supplementary information.
Request
Retrieve eSIM Order Extended Details - Request

{
    "orderId": "DP00000000000001"
}
Response
Retrieve eSIM Order Extended Details - Response

{
    "code": 0,
    "data": {
        "orderId": "DP00000000000001",
        "esim": {
            "iccid": "898600F1234567890123",
            "status": 1,
            "effectiveDate": "2024-12-31T10:00:00+00:00",
            "expirationDate": "2025-12-31T10:00:00+00:00"
        },
        "esimOptions": {
            "optionId": "E00001-01",
            "optionName": "eSIM United Kingdom - 30GB 10Days",
            "status": 2,
            "duration": 10,
            "dataMode": 2,
            "volume": {
                "total": 32212254720,
                "remaining": 32212254720,
                "notes": "Basic Unlimited Package provides 500MB of high-speed data, with unlimited usage at a reduced speed of 48 KB/s after high-speed data is used up. High-speed data refreshes every 24 hours."
            },
            "activationDate": "2025-10-15T10:00:00+00:00",
            "expirationDate": "2025-10-25T10:00:00+00:00",
            "speed": "5G",
            "providers": [
                {
                    "provider": "DragonPass",
                    "region": "GB"
                }
            ],
            "coverage": {
                "type": 1,
                "regions": [
                    "GB"
                ],
                "rawText": "United Kingdom"
            }
        }
    }
}

Retrieve eSIM Data Packages#

→ Use the /orders/esims/packages/query endpoint to retrieve available data packages for a specific eSIM by supplying the ICCID along with either a membershipId or an ePassId.
Request
Retrieve eSIM Data Packages - Request

{
    "iccid": "898600F1234567890123",
    "ePassId": "1788000066668888"
}
Response
Retrieve eSIM Data Packages - Response

{
    "code": 0,
    "data": {
        "iccid": "898600F1234567890123",
        "packages": [
            {
                "orderId": "DP00000000000001",
                "optionId": "E00001-01",
                "optionName": "eSIM United Kingdom - 30GB 10Days",
                "status": 3,
                "duration": 10,
                "dataMode": 2,
                "activationDate": "2025-10-15T10:00:00+00:00",
                "expirationDate": "2025-10-25T10:00:00+00:00"
            },
            {
                "orderId": "DP00000000000002",
                "optionId": "E00001-02",
                "optionName": "eSIM United Kingdom - 10GB 10Days",
                "status": 2,
                "duration": 10,
                "dataMode": 2,
                "activationDate": null,
                "expirationDate": null
            }
        ]
    }
}
Modified at 2026-01-19 02:56:19
Previous
Fitness
Next
Cross Module