# Zoom Billing Master API Not Working

**URL:** <https://devforum.zoom.us/t/zoom-billing-master-api-not-working/98448>\
**Category:** API and Webhooks\
**Tags:** api\
**Created:** [November 15, 2023, 9:13pm UTC](https://devforum.zoom.us/t/zoom-billing-master-api-not-working/98448 "2023-11-15T21:13:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steven\_Aziz](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@Steven\_Aziz](https://devforum.zoom.us/u/Steven_Aziz)\
**Post date:** [November 15, 2023, 9:13pm UTC](https://devforum.zoom.us/t/zoom-billing-master-api-not-working/98448/1 "2023-11-15T21:13:08Z")

</div>

I am trying to use the Zoom Billiling API.  
Specifically: [Zoom Billing Master API](https://developers.zoom.us/docs/api/rest/reference/billing/ma/#operation/GetPlanUsage)

But i keep getting a 404 not found response.

The full endpoint for the GET request that i am using is: [https://api.zoom.us/v2/accounts/{accountId}/plans/usage](https://api.zoom.us/v2/accounts/%7BaccountId%7D/plans/usage)

I am replacing {accountId} with the accountId displayed to me when i manage my s2s oauth credentials.  
My s2s oauth also includes the correct scopes for to make the call: `billing:master` ,`account:master`

Any idea why i am getting a 404?

---

<div class="post-metadata">

**Author:** ![Steven\_Aziz](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@Steven\_Aziz](https://devforum.zoom.us/u/Steven_Aziz)\
**Post date:** [November 15, 2023, 9:24pm UTC](https://devforum.zoom.us/t/zoom-billing-master-api-not-working/98448/2 "2023-11-15T21:24:35Z")

</div>

I found the solution.  
The {accountId} should simply be “me”, i.e. [https://api.zoom.us/v2/accounts/me/plans/usage](https://api.zoom.us/v2/accounts/me/plans/usage)

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [November 15, 2023, 9:31pm UTC](https://devforum.zoom.us/t/zoom-billing-master-api-not-working/98448/3 "2023-11-15T21:31:21Z")

</div>

Hi,

Is your account a master account and has sub accounts?

You can find the explanation here: [A Brief Look at Zoom Account Structures | by Tim Slagle | Zoom Developer Blog | Medium](https://medium.com/zoom-developer-blog/a-brief-look-at-zoom-account-structures-1d19c745bf8a)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [November 16, 2023, 9:32pm UTC](https://devforum.zoom.us/t/zoom-billing-master-api-not-working/98448/4 "2023-11-16T21:32:08Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
