API and Code
Platforms
Languages
Checking balance
check your balance using the /balance method
Check account balanceGET
This method will return your account balance. It accepts GET
requests to the following URL with the required parameters in red below.
https://api.smsbump.com/balance/{apikey}
.json
Required parameters | |
---|---|
{apikey} |
You obtain an API key (also known as app) by signing up |
Request sample
Here is a request with a sample dummy data
https://api.smsbump.com/balance/YDvaCJ3FHjxk.json
Response sample
If there is no error code returned, the response of such a sample request would be similar to this one.
{ status: "success", data: { balance: "122.9952", currency: "usd" } }
Data formats
The supported formats for this request are JSON and XML. If you prefer to get an XML response, just replace the extension of the request from .json
to .xml