Dragonpass API Developer Platform
v2
  • v2
  • v1
API Doc
PlaygroundShare FeedbackDragonPassContact Us
API Doc
PlaygroundShare FeedbackDragonPassContact Us
API Version
v2
  • v2
  • v1
v2
  • v2
  • v1
  1. Utilizing The E-pass
  • Implementation Guide
    • Get Started
    • Our API Solution
    • Dragonpass Modules
  • Development Guide
    • Authentication
    • Response Format
    • Error Codes
    • Order Lifecycle
    • Multiple Language Support and Fallback
    • Sandbox Order Simulation
    • UI Design Guidelines
  • Using the API
    • Search for Resources
      • Search for Resources
      • Check Prebooking Resource & Option Availability
      • Pricing Query
      • Image Parameters
    • E-pass
      • Issuing, Querying, and Cancelling an E-pass
      • Querying E-pass Usage Orders and Details
      • Utilizing The E-pass
        • Cross Module
        • Lounge
        • Fast Track
        • Dining
        • Fitness
        • eSIM
        • Local Offer
    • Membership
      • Manage Memberships & Entitlements
      • Querying Membership Usage Orders and Details
      • Utilizing Dragonpass Membership
        • Lounge
        • Dining
        • Fast Track
        • Fitness
        • eSIM
    • User
      • User Management
  • Push Event
    • Instructions
    • Lounge/Dining Walk-in Redemption Event
    • Prebooking Order Status Change Event
    • Resource Update Push Service
  • Release Notes
    • 2026
    • 2025
  • Migration Guide
    • From V1 to V2
  • API Reference
    • Authentication
      • Generate Access Token
    • Search
      • Aggregated Search by Keyword
      • Retrieve Available Modules by Location
    • Transport Hubs
      • Retrieve Transport Hub
      • Retrieve Transport Hub Details
    • Resources
      • Resource List
        • Retrieve Resources List
      • Resource Details
        • Retrieve Resource Details
      • Check Resource Availability
        • Check Prebooking Resource Availability
        • Check Prebooking Option Availability
      • Fitness
        • Retrieve Fitness Resource Option Details
        • Retrieve Fitness Resources Schedule
      • eSIM
        • Retrieve eSIM Resources Options
        • Retrieve eSIM Resource Option Details
      • Local Offer
        • Retrieve Local Offer Resouces Options
        • Retrieve Local Offer Resource Option Details
    • Pricing
      • Retrieve Resource Pricing Information
      • Retrieve Prebooking Option Pricing Information
    • User Management
      • User Creation
      • Update User Information
      • Delete a User
      • Retrieve User Information
      • Retrieve User Memberships List
      • Retrieve User E-passes List
    • E-pass
      • E-pass Management
        • Create E-pass Order
        • Retrieve E-pass Details
        • Cancel an E-pass
      • Orders & Usage
        • Create Orders
          • 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
          • Local Offer
            • Create E-pass Prebooking Order - Local Offer
            • Create E-pass with Prebooking Order - Local Offer
          • eSIM
            • Create E-pass Prebooking Order - eSIM
            • Top up eSIM Data package - E-pass
            • Create E-pass with Prebooking Order - eSIM
        • Retrieve Order List
          • Retrieve E-pass Order List
        • Usage Details
          • Retrieve E-pass Usage Order Details
        • Cancel Orders
          • Cancel an Order
        • Module Specific APIs
          • Fitness
            • Fitness Order Check-In
          • eSIM
            • Retrieve eSIM Data Packages
            • Check eSIM Top-up Availability
            • Retrieve eSIM Order Live Extended Details
    • Membership & Entitlement
      • Membership Lifecycle
        • Membership Registration
        • Update a Membership
        • Retrieve Membership Information
        • Generate Membership Dynamic QR Codes
      • Entitlement Management
        • Update Membership Entitlements
        • Retrieve Membership Entitlement Information
      • Orders & Usage
        • Preview Orders
          • Preview Membership Prebooking Order
        • Create Orders
          • 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
          • Create Membership Prebooking Order - Local Offer
        • Cancel Orders
          • Cancel an Order
        • Retrieve Order List
          • Retrieve Membership Order List
        • Usage Details
          • 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
    • Push Event Recovery
      • Push Event Recovery
    • [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
      • Set Meal
        • Simulate Set Meal Redemption - Walk in
        • Simulate Set Meal Order Cancellation
      • Coupon
        • Simulate Dining Coupon Redemption - Walk in
        • Simulate Dining Coupon Order Cancellation
    • SSO
      • Create SSO Link
    • Payment
      • Order Payment
  • FAQ
  • Our Team
  1. Utilizing The E-pass

Local Offer

Kindly note that currently each Local Offer order allows only one person.
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 under the corresponding resource.

Local Offer Prebooking#

The prebooking process follows these main steps:
1
Retrieve Option List
Retrieve the list of available options for a specific resource.
2
Availability Check
Query the availability of a specific option within a given resource for the specified date and time.
3
Prebooking Creation
If available, a prebooking order can be created. The order remains cancellable within the applicable cancellation policy window.
4
Service Access
After an offer order is successfully created, clients must generate and display the voucher based on the vouchersList returned in the order response.
Users must present the voucher at the participating merchant to redeem the corresponding offer or discount.

Create Offer Orders#

→ Use /v2/orders/{module}/ePasses/prebooking to place a Local Offer order with an E-pass.
Request
Create E-pass Prebooking Order - Local Offer - Request

As required by airports and partners, certain resource prebooking orders will need the passenger's name, email, phone number, or flight number for booking information.
For the required information at specific locations, please refer to theprebookingRequiredInfoprovided in the /resources/{resourceId} response.
According to the requirements of the service resources, Dragonpass only collects the necessary personally identifiable information (PII) for each order.
Even if clients provide additional or unnecessary PII, we will not store it. Such data will be discarded and displayed as null in the order details.
{
    "module": 11,
    "ePassId": "1788000066668888",
    "extra": {
        "prebookingToken": "85c69b8e790befc7e94870ec269c3f1d",
        "prebookingRequiredInfo": {}
    }
}
Response
Create E-pass Prebooking Order - Local Offer - Response

{
    "code": 0,
    "data": {
        "status": 1,
        "module": 11,
        "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": "GR0006118",
            "resourceName": "The Malayan Council, Dunlop",
            "vouchersList": [
                {
                    "voucher": "668800008888",
                    "voucherType": 1
                }
            ],
            "prebookingRequiredInfo": {},
            "localOfferOptions": {
                "optionId": "LO00001",
                "optionName": "5% discount",
                "redemptionUrl": "https://dp.com/001",
                "voucherValidUntil": "2027-04-01T00:00:00+00:00"
            }
        }
    }
}

Voucher Generation & Presentation#

After a prebooking order is successfully created and the order status becomes Confirmed, clients must generate and display the voucher based on the vouchersList returned in the order response.
Users must present the rendered voucher at the service point to access the service
Lounge: typically 1 voucher per order
Fast Track/Fitness/Local Offer: may include per-passenger vouchers
For prebooking orders, always use the voucher value from vouchersList. Using the E-pass ID may lead to service denial.
Voucher Source Example:
"vouchersList": [
    {
        "voucher": "668800008888",
        "voucherType": 1
    }
]
Different resources may return different voucher types, the way to present the voucher depends on voucherType:
voucherTypeTypeInstruction
1QR CodeConvert the voucher into a QR code and display it to the user, or direct the user to redeem it through the specified website when a redemptionUrl is provided.
2BarcodeConvert the voucher into a barcode and display
3ImageDisplay the image directly
4Verification CodeShow the code directly to staff, or direct the user to redeem it through the specified website when a redemptionUrl is provided.
5URLAccess the merchant's website using the URL returned in the response to enjoy the corresponding discount or promotional offer
redemptionUrl#
For certain Local Offers, voucher types 1 (QR Code) and 4 (Redemption Code) may also be returned together with a redemptionUrl.
In these cases, the voucher cannot be redeemed directly at a physical location. Instead, users must access the specified website through the redemptionUrl and complete the redemption process using the provided voucher or redemption code.
Example:
"vouchersList": [
    {
        "voucher": "ABCD1234",
        "voucherType": 1
    }
],
"localOfferOptions": {
    "optionId": "LO00001",
    "optionName": "5% discount",
    "redemptionUrl": "https://dp.com/001",
    "voucherValidUntil": "2027-04-01T00:00:00+00:00"
}
In the above example, the user should visit the redemptionUrl and enter the redemption code ABCD1234 on the merchant's website to claim the offer.
When redemptionUrl is provided, clients should prominently display both the voucher and the URL, and guide users to complete redemption through the specified website.

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.
Whether a prebooking order can be canceled depends on the cancellation policy provided in the /resources/{resourceId} response, usually:
Local Offer orders can be cancelled at any time before redemption, provided the offer is still within its validity period. Once redeemed or expired, the order can no longer be cancelled.
Please note that once a prebooking order is cancelled, it cannot be recovered.
Modified at 2026-09-01 08:33:45
Previous
eSIM
Next
Manage Memberships & Entitlements