Overview
Top up an existing eSIM with additional data using top-up packages. This extends the data allowance of an active eSIM without creating a new one.Key Requirements: Top-ups require:
packageType: 'TOPUP'packageCode: TOPUP package code (e.g., “TOPUP_P3ICIKSE8”)esimId: The ID of the eSIM to top up (obtained from previous purchase or fetch)
Quick Start
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
packageCode | string | Yes | TOPUP package identifier (e.g., “TOPUP_P3ICIKSE8”) |
paymentMethod | string | Yes | Must be “WALLET” for API users |
packageType | string | Yes | Must be “TOPUP” for top-up purchases |
esimId | string | Yes | ID of the eSIM to top up (from purchase or fetch response) |
Finding TOPUP Packages: Query
/api/esim/packages?regionCode=US&type=TOPUP&packageCode=CKH533 to get available top-up packages. Top-up package codes are prefixed with TOPUP_.Successful Response
Step 1: Purchase ResponseThe
totalVolume and data_usage_remain are updated to reflect the added data. Values are in bytes.