Add additional data to an existing eSIM. The eSIM must be active or inactive status.
| Parameter | Type | Description |
|---|---|---|
iccid | string | The eSIM’s ICCID (also accepts esimId for backwards compatibility) |
| Field | Type | Required | Description |
|---|---|---|---|
packageId | string | Yes | Top-up package ID from the topups list |
GET /esim/{iccid}/topups firstactive or inactiveTOPUP packages work (not regular SIM packages)| Field | Type | Description |
|---|---|---|
iccid | string | The eSIM’s ICCID |
esimId | string | The topped-up eSIM |
packageId | string | Top-up package applied |
packageName | string | Package name |
price | number | Amount charged |
currency | string | Currency (USD) |
| Error Code | HTTP | Description |
|---|---|---|
ESIM_NOT_FOUND | 404 | eSIM doesn’t exist or not owned by you |
INVALID_STATUS | 400 | eSIM is expired or consumed |
PACKAGE_NOT_FOUND | 404 | Invalid top-up package ID |
INSUFFICIENT_BALANCE | 402 | Wallet balance too low |
TOPUP_FAILED | 400 | Provider error during top-up |
active: Remains active with additional datainactive: Remains inactive (still needs activation)consumed: May become active again with new dataJWT access token obtained from /auth/token
eSIM ICCID (19-20 digits) or esimId (ESIM-XXXXXXXX)
Top-up package ID from the topups list