Authorization: Bearer ********************{
"module": 8,
"ePassId": "1788000066668888",
"extra": {
"prebookingToken": "85c69b8e790befc7e94870ec269c3f1d"
}
}curl --location --request POST 'https://developer-sandbox.dragonpass.com/api/v2/orders/esims/ePasses/prebooking' \
--header 'X-Program-ID;' \
--header 'X-Request-ID;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"module": 8,
"ePassId": "1788000066668888",
"extra": {
"prebookingToken": "85c69b8e790befc7e94870ec269c3f1d"
}
}'{
"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:00Z",
"expirationDate": "2025-12-31T10:00:00Z"
},
"esimOptions": {
"optionId": "E00001-01",
"optionName": "eSIM United Kingdom - 30GB 10Days",
"status": 2,
"duration": 10,
"dataMode": 2,
"volume": {
"total": 32212254720,
"remaining": 32212254720,
"dailyLimit": -1,
"notes": "Limited Data Package includes high-speed data as per the purchased data plan. Once the data is fully used, service will be suspended until the additional data is purchased."
},
"activationDate": null,
"expirationDate": null,
"speed": "5G",
"providers": [
{
"provider": "DragonPass",
"region": "GB"
}
],
"coverage": {
"type": 1,
"regions": [
"GB"
],
"rawText": "United Kingdom"
}
},
"esimOrderType": 1
}
}
}