Method: billingAccounts.create

This method creates billing subaccounts.

Google Cloud resellers should use the Channel Services APIs, accounts.customers.create and accounts.customers.entitlements.create.

When creating a subaccount, the current authenticated user must have the billing.accounts.update IAM permission on the parent account, which is typically given to billing account administrators. This method will return an error if the parent account has not been provisioned as a reseller account.

HTTP request

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

The URL uses gRPC Transcoding 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 Authentication Overview.