Unable to update billing information

I am trying to update billing information such as the billing contact’s first and last name by issuing the following HTTP request:

PATCH https://api.zoom.us/v2/accounts/me/billing

{"first_name":"This is a test","last_name":"Test"}

but I get the following response:

HTTP/1.1 404 Not Found

{"code":2001,"message":"Account does not exist: me."}

My first thought was that I should use my actual account ID rather than “me”, so I modified my request like so:

PATCH https://api.zoom.us/v2/accounts/VjZoEArIT5y-<... snipped for security reasons ...>/billing

and the response was the same:

{"code":2001,"message":"Account does not exist: VjZoEArIT5y-<... snipped for security reasons ...>."}

What’s confusing is that I am able to retrieve my billing information using me as my account id. Like so:

GET https://api.zoom.us/v2/accounts/me/billing

I am confused why I can retrieve my billing info using me as my account id but I can’t update the billing info using me.

I have a feeling (I could be wrong though) that this error message is simply misleading and the problem lies elsewhere. Maybe I don’t have the right permissions, maybe it’s something else?

Hi @desautelsj , do you have sub accounts? If not, I think it’s most likely because these endpoints are intended for master-subaccount partners.

I do not have sub-accounts. I am trying to update billing info for my own account. Particularly the first and last name of my billing contact person.

You’re probably right. The error message Account does not exist was misleading me. A more relevant message would have been helpful, along the lines of: You are not authorized to update billing information for this account.

One detail is still puzzling me: if these endpoints are intended for master-subaccount partners, why did I not get an error message when I retrieved my billing information?

1 Like

Hi @desautelsj ,

I’ve found over the years that there are breaking changes or unexpected API behavior as APIs are updated. Perhaps at one time it was open for all account types to use.