Fetch Account Information

Get information about user account.

Request URL:


Account Properties

balance Your account balance in dollars, as a string; the currency symbol is not included.
accountType The type of account configured for your user:
- pre-pay: the type of account where you increase your available balance with credit card payments.
- post-pay: the type of account where you have signed a contract and will receive a monthly bill detailing usage

Get an Account object. No query parameters are supported.

curl -v -X GET  https://api.catapult.inetwork.com/v1/users/{{userId}}/account -u {{apiToken}}:{{apiSecret}} -H "Content-type: application/json"
// Promise

// Callback
client.Account.get(function(err, info){});
var account = await client.Account.GetAsync();
// 538.37250
account = Bandwidth::Account.get(client)
balance = account[:balance]

The above command returns JSON structured like this:

    "balance": "538.37250",
    "accountType": "pre-pay"

results matching ""

    No results matching ""