--- title: "Link CertCentral billing account" source_url: https://dev.digicert.com/partner-subscriptions-api/finance-management/link-cc-billing-account.html api_method: PUT api_endpoint: "/partner-subscription/api/v1/finance/account-link" api_url: "https://www.digicert.com/partner-subscription/api/v1/finance/account-link" --- **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. > **Info** > > 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. > **Note** > > 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** ```bash 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
| Name | Req/Opt | Type | Description |
|---|---|---|---|
| X-PARTNER-APIKEY | required | string | Partner Subscriptions API key for the authenticated Partner Subscriptions account. |
| X-DC-DEVKEY | required | string | DigiCert CertCentral® API key for the billing account you want to link. |