Get Credit Balance


https://secure.xwireless.net/api/v2/Balance?ApiKey={ApiKey}&ClientId={ClientId}

Parameters :
Parameter Name Description Type
ApiKey ApiKey used for authentication purpose and pass this parameter in URL encoded format. String
ClientId ClientId used for authentication purpose and pass this parameter in URL encoded format. String
HEADERS :
Content-Typeapplication/json or application/xml
Typejson or xml
Jquery Api Call :
<script>
    $(function () {
        $.ajax({
            type: "GET",
            url: "https://secure.xwireless.net/api/v2/Balance?ApiKey={ApiKey}&ClientId={ClientId}",
            contentType: "application/json ",
            dataType: 'json ',
            success: function (response) {                
            }
        });
    });
</script>
Json Response Xml Response
{
    "ErrorCode": 0,
    "ErrorDescription": "Success",
    "Data": [
        {
            "PluginType": "SMS",
            "Credits": €0.6991
        }
    ]
}
<ResponseModelOfListOfBalanceModel>
  <ErrorCode>0</ErrorCode>
  <ErrorDescription>Success</ErrorDescription>
  <Data>
      <BalanceModel>
          <PluginType>SMS</Type>
          <Credits>€0.6991</Credit>
      </BalanceModel>
  </Data>
</ResponseModelOfListOfBalanceModel>


Did you find this article useful?



  • Getting Started

    Before you can start using the X-Wireless API, you need to do the following: Create an Account with X-Wireless if you do not already have one Gene...

  • Campaign

    1) Get Campaign Message Status https://secure.xwireless.net/api/v2/Campaign/Statistics?ApiKey={ApiKey}&ClientId={ClientId}&campaignId={c...

  • Manage Group

    1) Get Group List https://secure.xwireless.net/api/v2/Group?ApiKey={ApiKey}&ClientId={ClientId}   Parameters : Parameter Name ...

  • Manage Sender ID

    1) Get Sender Id List  https://secure.xwireless.net/api/v2/SenderId?ApiKey={ApiKey}&ClientId={ClientId}   Parameters : Par...

  • Manage Templates

    1) Get Template List https://secure.xwireless.net/api/v2/Template?ApiKey={ApiKey}&ClientId={ClientId}   Parameters : Parameter...