Billing information for master account

Is there a way to retrieve billing and plan information for our master account using the REST API? The API documentation implies that the billing endpoint is only supported for sub accounts.

The /accounts/{accountId}/billing endpoint requires an account ID but when I enter one, it returns a response of "Error 124 - Invalid Access Token"

The same token works on other endpoints so it’s not that.


Hey @bdeai,

I do not believe we have a master account endpoint for billing. I will confirm.



Confirming there is not a master account billing endpoint.

As for the Error 124 - Invalid Access Token error, make sure you have the correct scope billing:master and your access_token is not expired.

Let me know if that helps.

Thanks for the confirmation Tommy.

1 Like

You are welcome! Let us know if we can help with anything else! :slight_smile: