Link CertCentral billing account

PUT https://www.digicert.com/partner-subscription/api/v1/finance/account-link

Use this endpoint to link a DigiCert CertCentral® billing account to the authenticated Partner Subscriptions account.

The endpoint uses the DigiCert CertCentral® API key provided in the X-DC-DEVKEY header to identify the billing account, then links it to the Partner Subscriptions account authenticated by the X-PARTNER-APIKEY header.

This endpoint requires two API keys: a Partner Subscriptions API key in the X-PARTNER-APIKEY header and a DigiCert CertCentral® API key in the X-DC-DEVKEY header. Make sure the DigiCert CertCentral® API key in the X-DC-DEVKEY header belongs to the billing account you want to link. If the API key cannot be resolved to a valid account, the request returns an error.
If a subaccount does not have a linked DigiCert CertCentral® billing account, it uses the parent account’s billing account. To configure billing for a subaccount independently, authenticate with that subaccount’s Partner Subscriptions API key in the X-PARTNER-APIKEY header and provide the DigiCert CertCentral® API key for the billing account in the X-DC-DEVKEY header.

Example requests and responses

curl -X PUT \
  https://www.digicert.com/partner-subscription/api/v1/finance/account-link \
  -H 'X-PARTNER-APIKEY: {{partner_api_key}}' \
  -H 'X-DC-DEVKEY: {{certcentral_api_key}}'

204 No Content

The DigiCert CertCentral® billing account was linked successfully. The response does not include a body.

URL path and query parameters

This endpoint does not use URL path or query parameters.

Request headers

NameReq/OptTypeDescription
X-PARTNER-APIKEYrequiredstringPartner Subscriptions API key for the authenticated Partner Subscriptions account.
X-DC-DEVKEYrequiredstringDigiCert CertCentral® API key for the billing account you want to link.

Request parameters

This endpoint does not use request body parameters.

Response parameters

This endpoint does not return response parameters.