Skip to main content

Checking Usage

MobiMatter currently provides two ways of checking data usage for existing orders.

Unstructured Endpoint

Click for relevant API endpoint

This endpoint will return the usage report for the order in an unstructured string manner.

Structured Endpoint

Click for relevant API endpoint

Returns detailed eSIM info in a structured JSON format.

Provider feature compatibility

ProviderData UsageeSIM Installation StatusLast Known Location
eSIMGo
Sparks
3HK🛑
Flexiroam🛑
Ubigi
TSIM🛑
IIJ🛑
Annatel🛑🛑
Airalo🛑🛑
Others🛑🛑🛑

Example response

{
"ussdCode": null,
"esim": {
"status": "Installed",
"installationDate": "2023-02-10T11:35:46Z",
"location": {
"updated": "2023-01-10T13:29:46Z",
"country": "LK",
"network": "Mobitel (Pvt) Limited"
},
"kycStatus": null,
"iccid": "89312261000114250",
"phoneNumber": null,
"wallet": {
"balanceHkd": 0
}
},
"packages": [
{
"name": "Topup Europe Plus 5 GB",
"associatedProductId": "686660c4-d475-4a6a-af4b-4579bcc8057e",
"activationDate": "2023-02-10T11:36:38Z",
"expirationDate": "2023-03-12T11:36:38Z",
"totalAllowanceMb": 5000,
"totalAllowanceMin": null,
"usedMin": null,
"usedMb": 59
}
]
}
KeyTypeDescription
ussdCodestring | nullUSSD code for balance check, if exists.
esim.statusInstalled | Available | nulleSIM scan status, null when eSIM status is unknown.
esim.installationDateDate | nullInstallation date
esim.location.updatedDate | nullLast update to location data
esim.location.countrystring | nullISO 2-letter country code
esim.location.networkstring | null-
esim.kycStatusnull | IN_PROGRESS | REJECTED | APPROVED3HK KYC status
esim.iccidstring-
esim.wallet.balanceHKDnumber3HK internal wallet balance (e.g for PAYG call allowance)
packages.*.namestring-
packages.*.associatedProductIdstringThis will always return the esim_realtime version of the product, even if it was purchased as a top up
packages.*.activationDateDate | nullnull before activation
packages.*.expirationDateDate | nullnull before activation
packages.*.totalAllowanceMbnumber | nullTotal data in this package in MB
packages.*.totalAllowanceMinnumber | nullTotal minutes allowance in this package
packages.*.usedMbnumber | nullUsed data in this package in MB
packages.*.usedMinnumber | nullUsed minutes allowance in this package