Method: billingAccounts.create

Creates a billing account. This method can only be used to create billing subaccounts by GCP resellers. When creating a subaccount, the current authenticated user must have the billing.accounts.update IAM permission on the master account, which is typically given to billing account administrators. This method will return an error if the master account has not been provisioned as a reseller account.

HTTP request

POST https://cloudbilling.googleapis.com/v1/billingAccounts

The URL uses Google API HTTP annotation syntax.

Request body

The request body contains an instance of BillingAccount.

Response body

If successful, the response body contains a newly created instance of BillingAccount.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/cloud-billing

For more information, see the Auth Guide.

Was this page helpful? Let us know how we did: