Get Balance function

To retrieve the current balance on the account.

To send a message the request must be submitted one of the following URLs:

HTTP (non-SSL)

HTTPS (SSL) *recommended*

6.1 HTTP Methods

All requests should be submitted through the HTTP GET Method.

6.2 Authentication Information

All requests require API Key and API Secret authentication credentials. Account Administrators can login to view their account API Key and API Secret in the “My Profile > Settings” section.

To authenticate a request, please use one of the following options:

Parameters
Apikey
String (Required)

The account’s Api key username (key), a 32 character random generated string.

Apisecret
String (Required)

The account’s API password (secret). It’s a numeric random string with a random length between 10 and 15 characters.

6.3 Request Parameters

This method has no inbound parameters.

6.4.1 Examples using GET Method

PHP example

Java example (with Apache HTTPClient)

6.5 Response Parameters

Response Parameters
responseType
String

An ENUM that represents the return code for the response. Please reference Response Codes table in Annex A.

balance
Number, Double

Remaining account balance.

requestResponseId
Integer

An ENUM that represents the return code for the response. Please reference Response Codes table in Annex A.

requestResponseDescription
Integer

An integer representing the return code of the response / error. Please reference Response Codes table in Annex A.