TopUp
This endpoint allows sims on a Wholesale
tariff to have their data bucket increased.
Network Support
Network | NetworkId |
---|---|
eSIMsmart | 218 |
eSIMsmart IOT | 225 |
Orange (France) LMVNO | 234 |
- SIM status must be "on-hire"
- All SIMs must be:
- On the same network
- On the same account
- On a Wholesale tariff
- Have an active bundle
Request
Name | Type | Description | Restrictions |
---|---|---|---|
serialNumbers | string array | An array of serial numbers corresponding to the SIMs you wish to update | At least one |
amountMb | number | The megabyte amount to increase the bundle by | Range: 1 - 2147483647 |
Example TopUp
curl --location 'https://api.cellhire.com/api/simSubmission/TopUp' \
--header 'Content-Type: application/json;charset=UTF-8' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjRBMDlENTFBMDhEOEUxMTU0OTkyODFDN...' \
--data '{
"serialNumbers": [
"987654321"
],
"amountMb": 100
}'