To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eDevelopers can programmatically manage billing for their Google Cloud Platform projects using this service.\u003c/p\u003e\n"],["\u003cp\u003eThe service offers multiple REST resources, including v2beta.services, v2beta.skus, v1beta, and several sub-resources for billing accounts, services, skuGroups, and skus.\u003c/p\u003e\n"],["\u003cp\u003eIt allows retrieval and listing of Google Cloud services, SKUs, SKU groups, and their associated prices, both publicly and specific to billing accounts.\u003c/p\u003e\n"],["\u003cp\u003eThe service provides endpoints to manage billing accounts, including creation, retrieval, updating, moving, and setting access control policies.\u003c/p\u003e\n"],["\u003cp\u003eThe service exposes several discovery documents, including versions v2beta, v1, and v1beta, and a service endpoint located at \u003ccode\u003ehttps://cloudbilling.googleapis.com\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Cloud Billing API\n\nAllows developers to manage billing for their Google Cloud Platform projects programmatically.\n\n- [REST Resource: v2beta.services](#v2beta.services)\n- [REST Resource: v2beta.skus](#v2beta.skus)\n- [REST Resource: v1beta](#v1beta)\n- [REST Resource: v1beta.billingAccounts](#v1beta.billingAccounts)\n- [REST Resource: v1beta.billingAccounts.services](#v1beta.billingAccounts.services)\n- [REST Resource: v1beta.billingAccounts.skuGroups](#v1beta.billingAccounts.skuGroups)\n- [REST Resource: v1beta.billingAccounts.skuGroups.skus](#v1beta.billingAccounts.skuGroups.skus)\n- [REST Resource: v1beta.billingAccounts.skus](#v1beta.billingAccounts.skus)\n- [REST Resource: v1beta.billingAccounts.skus.price](#v1beta.billingAccounts.skus.price)\n- [REST Resource: v1beta.billingAccounts.skus.prices](#v1beta.billingAccounts.skus.prices)\n- [REST Resource: v1beta.skuGroups](#v1beta.skuGroups)\n- [REST Resource: v1beta.skuGroups.skus](#v1beta.skuGroups.skus)\n- [REST Resource: v1beta.skus.price](#v1beta.skus.price)\n- [REST Resource: v1beta.skus.prices](#v1beta.skus.prices)\n- [REST Resource: v1.billingAccounts](#v1.billingAccounts)\n- [REST Resource: v1.billingAccounts.projects](#v1.billingAccounts.projects)\n- [REST Resource: v1.billingAccounts.subAccounts](#v1.billingAccounts.subAccounts)\n- [REST Resource: v1.organizations.billingAccounts](#v1.organizations.billingAccounts)\n- [REST Resource: v1.projects](#v1.projects)\n- [REST Resource: v1.services](#v1.services)\n- [REST Resource: v1.services.skus](#v1.services.skus)\n\nService: cloudbilling.googleapis.com\n------------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:\n\n- \u003chttps://cloudbilling.googleapis.com/$discovery/rest?version=v2beta\u003e\n- \u003chttps://cloudbilling.googleapis.com/$discovery/rest?version=v1\u003e\n- \u003chttps://cloudbilling.googleapis.com/$discovery/rest?version=v1beta\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://cloudbilling.googleapis.com`\n\nREST Resource: [v2beta.services](/billing/docs/reference/rest/v2beta/services)\n------------------------------------------------------------------------------\n\nREST Resource: [v2beta.skus](/billing/docs/reference/rest/v2beta/skus)\n----------------------------------------------------------------------\n\nREST Resource: [v1beta](/billing/docs/reference/rest/v1beta/TopLevel)\n---------------------------------------------------------------------\n\nREST Resource: [v1beta.billingAccounts](/billing/docs/reference/rest/v1beta/billingAccounts)\n--------------------------------------------------------------------------------------------\n\nREST Resource: [v1beta.billingAccounts.services](/billing/docs/reference/rest/v1beta/billingAccounts.services)\n--------------------------------------------------------------------------------------------------------------\n\nREST Resource: [v1beta.billingAccounts.skuGroups](/billing/docs/reference/rest/v1beta/billingAccounts.skuGroups)\n----------------------------------------------------------------------------------------------------------------\n\nREST Resource: [v1beta.billingAccounts.skuGroups.skus](/billing/docs/reference/rest/v1beta/billingAccounts.skuGroups.skus)\n--------------------------------------------------------------------------------------------------------------------------\n\nREST Resource: [v1beta.billingAccounts.skus](/billing/docs/reference/rest/v1beta/billingAccounts.skus)\n------------------------------------------------------------------------------------------------------\n\nREST Resource: [v1beta.billingAccounts.skus.price](/billing/docs/reference/rest/v1beta/billingAccounts.skus.price)\n------------------------------------------------------------------------------------------------------------------\n\nREST Resource: [v1beta.billingAccounts.skus.prices](/billing/docs/reference/rest/v1beta/billingAccounts.skus.prices)\n--------------------------------------------------------------------------------------------------------------------\n\nREST Resource: [v1beta.skuGroups](/billing/docs/reference/rest/v1beta/skuGroups)\n--------------------------------------------------------------------------------\n\nREST Resource: [v1beta.skuGroups.skus](/billing/docs/reference/rest/v1beta/skuGroups.skus)\n------------------------------------------------------------------------------------------\n\nREST Resource: [v1beta.skus.price](/billing/docs/reference/rest/v1beta/skus.price)\n----------------------------------------------------------------------------------\n\nREST Resource: [v1beta.skus.prices](/billing/docs/reference/rest/v1beta/skus.prices)\n------------------------------------------------------------------------------------\n\nREST Resource: [v1.billingAccounts](/billing/docs/reference/rest/v1/billingAccounts)\n------------------------------------------------------------------------------------\n\nREST Resource: [v1.billingAccounts.projects](/billing/docs/reference/rest/v1/billingAccounts.projects)\n------------------------------------------------------------------------------------------------------\n\nREST Resource: [v1.billingAccounts.subAccounts](/billing/docs/reference/rest/v1/billingAccounts.subAccounts)\n------------------------------------------------------------------------------------------------------------\n\nREST Resource: [v1.organizations.billingAccounts](/billing/docs/reference/rest/v1/organizations.billingAccounts)\n----------------------------------------------------------------------------------------------------------------\n\nREST Resource: [v1.projects](/billing/docs/reference/rest/v1/projects)\n----------------------------------------------------------------------\n\nREST Resource: [v1.services](/billing/docs/reference/rest/v1/services)\n----------------------------------------------------------------------\n\nREST Resource: [v1.services.skus](/billing/docs/reference/rest/v1/services.skus)\n--------------------------------------------------------------------------------"]]