Skip to content
Proud to collaborate with Microsoft for Startups

docusign.billing-plans.get-billing-plan ​

Retrieves the billing plan information for the specified account, including the current billing plan, successor plans, billing address, and billing credit card. By default the successor plan and credit card information is included in the response. You can exclude this information from the response by adding the appropriate optional query string and setting it to false. Response The response returns the billing plan information, including the currency code, for the plan. The billingPlan and succesorPlans property values are the same as those shown in the Billing: getBillingPlan reference. the billingAddress and creditCardInformation property values are the same as those shown in the Billing: updatePlan reference. Note: When credit card number information displays, a mask is applied to the response so that only the last 4 digits of the card number are visible.

Get Account Billing Plan

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-docusign
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
base_urlstringYes—Docusign API root, e.g. https://<host>/api
api_tokenstringNo—Bearer token; omit to use the workflow's token env var
accountidstringYes—The external account number (int) or account ID GUID.
include_credit_card_informationstringNo—When true, payment information including credit card information will show in the return.
include_downgrade_informationstringNo——
include_metadatastringNo—When true, the canUpgrade and renewalStatus properties are included the response and an array of supportedCountries is added to the billingAddress information.
include_successor_plansstringNo—When true, excludes successor information from the response.
include_tax_exempt_idstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
base_urlstringYes—Docusign API root, e.g. https://<host>/api
api_tokenstringNo—Bearer token; omit to use the workflow's token env var
accountidstringYes—The external account number (int) or account ID GUID.
include_credit_card_informationstringNo—When true, payment information including credit card information will show in the return.
include_downgrade_informationstringNo——
include_metadatastringNo—When true, the canUpgrade and renewalStatus properties are included the response and an array of supportedCountries is added to the billingAddress information.
include_successor_plansstringNo—When true, excludes successor information from the response.
include_tax_exempt_idstringNo——
status_codeintegerNo—HTTP status code of the completed call
responsejsonNo—Parsed JSON response body
failure_reasonstringNo——
failure_typestringNo——
failed_atstringNo——
failed_stepstringNo——
failed_layerstringNo——
failed_at_statestringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—executeWaiting to call GET /v2.1/accounts/{accountId}/billing_plan
completedNoYesYes—HTTP call succeeded
failedNoYesNo—HTTP call failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompletedPerform GET /v2.1/accounts/{accountId}/billing_plan
* (any state)failfailedRecord the failure reason

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "docusign.billing-plans.get-billing-plan",
  "initial_data": {
    "base_url": "value",
    "accountid": "value"
  }
}