Definition
Endpoint: POST http://api.bsg.world/xml/balance
Required Parameters
Parameter |
Description |
|---|---|
| login | Username |
| password | SMPP/API-password |
Example request
<?xml version = "1.0" encoding = "utf-8"?> <request>
<security>
<login value = "username"/>
<password value = "password"/>
</security>
</request>Returns
Returns an XML document with the message state if the request was successful. If the request failed, an error will be returned.
Parameter |
Description |
|---|---|
| money | Account balance |
Example response
<?xml version = "1.0" encoding = "utf-8"?> <response>
<money>150</money>
</response>
Comments
0 comments
Article is closed for comments.