Read Account Balances
Built with APIMatic
Returns the balance_in_cents of the Subscription's Pending Discount, Service Credit, and Prepayment accounts, as well as the sum of the Subscription's open, payable invoices.
The username is a Maxio Chargify API key and the password is x. Basic authentication works only with the US and EU environments, which connect to chargify.com directly. The Maxio API Gateway environment does not accept Basic authentication.
In: header
The Chargify id of the subscription.
application/json
curl -X GET \ --url 'https://subdomain.chargify.com/subscriptions/1/account_balances.json' \ -H 'Accept: application/json' \ -H 'Authorization: Bearer ACCESS_TOKEN'