Code example for checking sms credit on the nasara mobile platform.