Get Top-up Package List
GET
/v1/sims/{iccid}/topups
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/v1/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 - 30 Days",
"data": "3 GB",
"short_info": null
},
{
"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": null
},
{
"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": null
}
]
}
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-11-22 09:33:20