Get top-up package list
GET
/v2/sims/{iccid}/topups
To get the list of available packages for an eSIM:
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/v2/sims/8910300000005271146/topups' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{token}}'
Response Response Example
200 - eSIM: List available top-up packages: 200 OK - eSIM: List available top-up packages: 200 OK
{
"data": [
{
"id": "bonbon-mobile-30days-3gb-topup",
"type": "topup",
"price": 10,
"amount": 3072,
"day": 30,
"is_unlimited": false,
"title": "3 GB - 100 SMS - 100 Mins - 30 Days",
"data": "3 GB",
"short_info": "This eSIM doesn't come with a phone number.",
"voice": 100,
"text": 100
},
{
"id": "bonbon-mobile-30days-5gb-topup",
"type": "topup",
"price": 15,
"amount": 5120,
"day": 30,
"is_unlimited": false,
"title": "5 GB - 30 Days",
"data": "5 GB",
"short_info": "This eSIM doesn't come with a phone number.",
"voice": 100,
"text": 100
},
{
"id": "bonbon-mobile-30days-10gb-topup",
"type": "topup",
"price": 22.5,
"amount": 10240,
"day": 30,
"is_unlimited": false,
"title": "10 GB - 30 Days",
"data": "10 GB",
"short_info": "This eSIM doesn't come with a phone number.",
"voice": 100,
"text": 100
}
]
}
Request
Path Params
iccid
stringÂ
required
Required. Can be obtained by execuring GET to the "eSIMs List" endpoint
Example:
8910300000005271146
Header Params
Accept
stringÂ
required
Example:
application/json
Authorization
stringÂ
required
Example:
Bearer {{token}}
Responses
Modified at 2024-12-17 16:54:56