Retrieve balance
Overview
This command will return the number of credits available on your account.
If you simply want to monitor your account balance, you can also receive SMS and email notices when your account balance reaches a certain amount. This can be configured within your Developers’ Central account.
Command
getbalance |
Parameters
You need to supply the authentication parameters that are outlined in the Getting Started guide.
Examples
All examples below are for the document/literal based server.
1 |
|
Code Samples
PHP
1 |
|
‘; ?>
API Responses
Example Response
Successful API response:
1 |
|
Error response:
1 |
|
Return Format
Successful API response:
Credits: <balance> |
Error response
ERR: <error code>, <error description> |
Submit a Comment
Other Resources
Ask the Community
Visit Stack Overflow to join our community of developers and find the answer you need
Contact Support
Contact our support team and one of our agents will be in touch with you to answer any questions you have