Query Nominal Balance
Purpose
Returns the current nominal balance for a specified SIM.
The nominal balance is used on certain SIM types to monitor usage and determine when devices may be deactivated.
The target SIM is specified using the <iccid> element.
Applicability
This query is only valid for Manx Telecom issued SIMs of the following types:
- MultiNET VODA
- MultiNET M2M
- MultiNET MANX
- 1-NET
Requests submitted for other SIM types will return the response Invalid ICCID.
Nominal Tariffs and Balances
Nominal tariffs and balances are used to monitor usage and control deactivation thresholds.
Nominal balances:
- Are not the same as the actual commercial fees charged by CSL
- Are configurable to suit your application
- Can be adjusted in discussion with the support team
Pre-pay and Post-pay Behaviour
- In pre-pay mode, the nominal balance will be greater than or equal to zero.
- In post-pay mode, the nominal balance will be less than or equal to zero.
Returned Value
The response element:
Represents the integer value of the current nominal balance in:
- Pence, or
- Cents
Depending on the tariff assigned to the group.
Endpoint
POST https://api.m2miportal.com
Content-Type: application/xml
Accept: application/xml
Request (XML)
<query-nominal-balance version="1" api-id="123456">
<authentication>
<username>username</username>
<password>password</password>
</authentication>
<iccid>1234567890123456789</iccid>
</query-nominal-balance>Response (Success)
<query-nominal-balance-response api-id="123456">
<api-outcome>Success</api-outcome>
<nominal-balance>760</nominal-balance>
</query-nominal-balance-response>Response (Failure)
If a request cannot be processed, the response will include:
- api-outcome indicating failure
- An error description explaining the reason
Failure responses may occur due to:
- Invalid authentication credentials
- Invalid or unknown identifiers (for example ICCID or MSISDN)
- Invalid or missing parameters
- Values not permitted for the specified SIM type or account configuration
- Insufficient permissions
Integrating systems should validate input data before submission and implement appropriate error handling and logging.