DocuSign: Gets list of recurring and usage charges for the account
DocuSign esignature.esignatureBillingChargesGetAccountBillingCharges: arguments, response, policy and SDK examples.
← Esignature operations · Get started
Operation docusign.esignature_billingcharges_getaccountbillingcharges
Provider route: GET /restapi/v2.1/accounts/{accountId}/billing_charges. Alter supplies the connection’s credentials and routing.
Call through Alter
Section titled “Call through Alter”Install @alter-ai/sdk @alter-ai/docusign with npm, or alter-sdk-docusign with pip. Supply your connected customer’s grant ID and the arguments described below.
import { App } from "@alter-ai/sdk";import { DocuSignIntegration } from "@alter-ai/docusign";
async function execute(input: Parameters<DocuSignIntegration["esignature"]["esignatureBillingChargesGetAccountBillingCharges"]>[0]) { const app = new App({ apiKey: process.env.ALTER_API_KEY! }); try { const provider = new DocuSignIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! }); const call = await provider.esignature.esignatureBillingChargesGetAccountBillingCharges(input); const result = await call.wait(); return result.bodyJson(); } finally { await app.close(); }}import osfrom alter_sdk import Appfrom alter_sdk_docusign import DocuSignIntegration
async def execute(arguments): async with App(api_key=os.environ["ALTER_API_KEY"]) as app: provider = DocuSignIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]}) call = await provider.esignature.esignature_billing_charges_get_account_billing_charges(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
path | object | Required within parent | Additional keys: not allowed |
path.accountId | string | Required within parent | |
query | object | Optional | Additional keys: not allowed |
query.include_charges | string | Optional |
Response
Section titled “Response”Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | Model | Root | Expand Gets list of recurring and usage charges for the account — response body |
Referenced models: Gets list of recurring and usage charges for the account — response body
Schemas
Section titled “Schemas”Gets list of recurring and usage charges for the account — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Defines a billing charge response object. |
billingChargeItems | array | Optional | Reserved for Docusign. |
billingChargeItems[] | Model | Each item | Expand Gets list of recurring and usage charges for the account — response body — billing Charge Items item |
Referenced models: Gets list of recurring and usage charges for the account — response body — billing Charge Items item
Gets list of recurring and usage charges for the account — response body — billing Charge Items item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Contains information about a billing charge. |
allowedQuantity | string | Optional | Reserved for Docusign. |
blocked | string | Optional | Reserved for Docusign. |
chargeName | string | Optional | Provides information on what services the charge item is for. The following table provides a description of the different chargeName values available at this time. | chargeName | Description | | --- | --- | | id_check | ID Check Charge | | in_person_signing | In Person Signing charge | | envelopes Included | Sent Envelopes for the account | | age_verify | Age verification check | | ofac | OFAC Check | | id_confirm | ID confirmation check | | student_authentication | STAN PIN authentication check | | wet_sign_fax | Pages for returning signed documents by fax | | attachment_fax | Pages for returning attachments by fax | | phone_authentication | Phone authentication charge | | powerforms | PowerForm envelopes sent | | signer_payments | Payment processing charge | | outbound_fax | Send by fax charge | | bulk_recipient_envelopes | Bulk Recipient Envelopes sent | | sms_authentications | SMS authentication charge | | saml_authentications | SAML authentication charge | | express_signer_certificate | Docusign Express Certificate charge | | personal_signer_certificate | Personal Signer Certificate charge | | safe_certificate | SAFE BioPharma Signer Certificate charge | | seats | Included active seats charge | | open_trust_certificate | OpenTrust Signer Certificate charge | |
chargeType | string | Optional | Reserved for Docusign. |
chargeUnitOfMeasure | string | Optional | Reserved for Docusign. |
discounts | array | Optional | |
discounts[] | Model | Each item | Expand Gets list of recurring and usage charges for the account — response body — billing Charge Items item discounts item |
firstEffectiveDate | string | Optional | |
includedQuantity | string | Optional | |
incrementalQuantity | string | Optional | Reserved for Docusign. |
lastEffectiveDate | string | Optional | |
prices | array | Optional | |
prices[] | Model | Each item | Expand Gets list of recurring and usage charges for the account — response body — billing Charge Items item prices item |
unitPrice | string | Optional | Reserved for Docusign. |
usedQuantity | string | Optional |
Referenced models: Gets list of recurring and usage charges for the account — response body — billing Charge Items item discounts item, Gets list of recurring and usage charges for the account — response body — billing Charge Items item prices item
Gets list of recurring and usage charges for the account — response body — billing Charge Items item discounts item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
beginQuantity | string | Optional | Reserved for Docusign. |
discount | string | Optional | |
endQuantity | string | Optional |
Gets list of recurring and usage charges for the account — response body — billing Charge Items item prices item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
beginQuantity | string | Optional | Reserved for Docusign. |
endQuantity | string | Optional | |
unitPrice | string | Optional | Reserved for Docusign. |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: docusign.esignature_billingcharges_getaccountbillingcharges. Catalog operation: esignature:BillingCharges_GetAccountBillingCharges. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.
Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.