Get eSIM package history
GET
/v2/sims/{iccid}/packages
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/v2/sims/8910300000005271146/packages' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{token}}'
Response Response Example
200 - eSIM: List purchased top-up packages (history): 200 OK
{
"data": [
{
"id": 728,
"status": "ACTIVE",
"remaining": 2378,
"activated_at": "2023-01-09T10:30:45+00:00",
"expired_at": "2023-02-09T10:30:45+00:00",
"finished_at": null,
"package": {
"id": "bonbon-mobile-30days-3gb-topup",
"type": "topup",
"price": 10,
"net_price": 6,
"amount": 3072,
"day": 30,
"is_unlimited": false,
"title": "3 GB - 30 Days",
"data": "3 GB",
"short_info": null
}
},
{
"id": 725,
"status": "ACTIVE",
"remaining": 2496,
"activated_at": "2023-01-09T10:30:45+00:00",
"expired_at": "2023-02-09T10:30:45+00:00",
"finished_at": null,
"package": {
"id": "bonbon-mobile-30days-3gb-topup",
"type": "topup",
"price": 10,
"net_price": 6,
"amount": 3072,
"day": 30,
"is_unlimited": false,
"title": "3 GB - 30 Days",
"data": "3 GB",
"short_info": null
}
}
]
}
Request
Path Params
iccid
string
required
Example:
8910300000005271146
Header Params
Accept
string
required
Example:
application/json
Authorization
string
required
Example:
Bearer {{token}}
Responses
Modified at 2024-12-17 16:55:21