Billing Plans

Reserved: Purchase additional envelopes

PUT
/v2.1/accounts/{accountId}/billing_plan/purchased_envelopes

Reserved: At this time, this endpoint is limited to Docusign internal use only. Completes the purchase of envelopes for your account. The actual purchase is done as part of an internal workflow interaction with an envelope vendor.

Authorization

OAuth2
AuthorizationBearer <token>

OAuth 2.0 access token obtained via Authorization Code Grant or JWT Grant.

In: header

Path Parameters

accountId*string

The external account number (int) or account ID GUID.

Request Body

application/json

amount?string

The total amount of the purchase.

appName?string

The AppName of the client application.

currencyCode?string

Specifies the ISO 4217 currency code of the purchase.

platform?string

The Platform of the client application

productId?string

The Product ID from the AppStore.

quantity?string

The quantity of envelopes to add to the account.

receiptData?string

The encrypted Base64 encoded receipt data.

storeName?string

The name of the AppStore.

transactionId?string

Specifies the Transaction ID from the AppStore.

Response Body

application/json

curl -X PUT "https://example.com/v2.1/accounts/string/billing_plan/purchased_envelopes" \  -H "Content-Type: application/json" \  -d '{}'
Empty