Get Data Usage
GET
/v1/sims/{sim_iccid}/usage
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/v1/sims//usage' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{token}}'
Response Response Example
200 - Get Usage: 200
{
"data": {
"remaining": 767,
"total": 2048,
"expired_at": "2022-01-01 00:00:00",
"is_unlimited": true,
"status": "ACTIVE" // All Cases: [ NOT_ACTIVE, ACTIVE, FINISHED, UNKNOWN, EXPIRED ]
},
"meta": {
"message": "api.succes"
}
}
Request
Path Params
sim_iccid
string
required
Header Params
Accept
string
required
Example:
application/json
Authorization
string
required
Example:
Bearer {{token}}
Responses
Modified at 2024-11-22 09:33:20