Skip to content
cuppa.

Tutorial

Monitor mobile data usage programmatically.

Usage is a read against eSIMs you have already provisioned. Poll on a schedule that matches how fresh the plan can be, or refresh when someone opens the record.

Code and responses on this page are illustrative. They show the shape of an integration. Confirm the production schema in your Cuppa account before you ship.

Read, don't reprovision

Look up the fulfilment by the reference you stored. Display the consumption figure when it is present. If it is missing, say it is not available yet. Creating another eSIM will not fill the gap.

Where to show it

An employer dashboard, a finance export, or a traveller page in your app. The illustrative charts on the homepage are a picture of that idea, with sample numbers, not an API payload to copy.