Home  >  API & Developers  >  V-Voice

Method GET /v1/account/{ACCNT}/balance

Description:

This method will return your current account balance.

Method reference:

knowlfont-size:14px
Method Resource
GET v1/account/{ACCNT}/balance


Resources:

knowlfont-size:14px
Name Resource
{ACCNT} Account Resource ID


knowlExample

curl -v -H "AccessKeyId: {AccessKeyId}" 
	    -H "Timestamp: {Timestamp}" 
	    -H "Signature: " 
	    -u {AccessKeyId}:{SecretAccessKey}
        https://{endpoint}.dcs.dataknowl.com/v1/account/{ACCNT}/balance


Response

<?xml version="1.0" encoding="UTF-8"?>
<response>
  <status>
    <code>200</code>
    <message>success</message>
    <timestamp>2019-10-23 15:41:31:433 +0000</timestamp>
  </status>
  <service>
    <provider>DataKnowl Cloud Services</provider>
    <id>DCS</id>
    <version>1.0</version>
  </service>
  <result>
    <account>
      <balance>800.25</balance>
      <currency>USD</currency>
      <accounting>complexintusa</accounting>
    </account>
  </result>
</response>
© 2024 Complexity Intelligence, LLC