Get available top-up packages for an existing eSIM. Only returns packages compatible with the eSIM’s destination.
| Parameter | Type | Description |
|---|---|---|
iccid | string | The eSIM’s ICCID (also accepts esimId for backwards compatibility) |
| Field | Type | Description |
|---|---|---|
iccid | string | The eSIM’s ICCID |
esimId | string | The eSIM identifier |
destination | string | eSIM’s destination (determines available packages) |
packages | array | Available top-up packages |
total | integer | Number of available packages |
| Field | Type | Description |
|---|---|---|
packageId | string | Package ID (use for top-up) |
name | string | Package name |
data.amount | integer | Data in MB |
data.display | string | Human-readable data |
data.isUnlimited | boolean | Whether unlimited |
validity.days | integer | Added validity days |
price.amount | number | Price in USD |
active or inactive status| Error Code | HTTP | Description |
|---|---|---|
ESIM_NOT_FOUND | 404 | eSIM doesn’t exist or not owned by you |
REGION_NOT_FOUND | 400 | Can’t determine eSIM’s region |
JWT access token obtained from /auth/token
eSIM ICCID (19-20 digits) or esimId (ESIM-XXXXXXXX)