Hello. We are hitting the /accounts endpoint to try get a few details about our subscription from the API, and but are receiving unexpected results.
- We are making a
GET
call to the/v2.1/accounts/{accountId}
endpoint in order to report onbillingPeriodEnvelopesAllowed
. We are receiving a non-numeric value back, when we are were expecting to get the number of envelopes that are allocated to that account. -
We subsequently attempted to make a
GET
call to the/v2.1/accounts/{accountId}/billing_charges
endpoint to verify what was in theincludedQuantity
andallowedQuantity
values, which also didn’t return the expected result.
My questions are:
- Is there a better definition for what should be returned in those values?
- Is there a known way to get the number of envelopes allocated to a given Docusign account via the API?