Optional. The parent resource to list billing accounts from. Format: - organizations/{organization_id}, for example, organizations/12345678 - billingAccounts/{billing_account_id}, for example, billingAccounts/012345-567890-ABCDEF
Query parameters
Parameters
pageSize
integer
Requested page size. The maximum page size is 100; this is also the default.
pageToken
string
A token identifying a page of results to return. This should be a nextPageToken value returned from a previous billingAccounts.list call. If unspecified, the first page of results is returned.
filter
string
Options for how to filter the returned billing accounts. This only supports filtering for subaccounts under a single provided parent billing account. (for example, masterBillingAccount=billingAccounts/012345-678901-ABCDEF). Boolean algebra and other fields are not currently supported.
[[["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-05-14 UTC."],[[["\u003cp\u003eThis API endpoint retrieves a list of billing accounts that the authenticated user has permission to view.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses a \u003ccode\u003eGET\u003c/code\u003e method with the URL \u003ccode\u003ehttps://cloudbilling.googleapis.com/v1/{parent=organizations/*}/billingAccounts\u003c/code\u003e, adhering to gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe endpoint accepts \u003ccode\u003eparent\u003c/code\u003e as a path parameter, allowing the listing of accounts from either an organization or a specific billing account.\u003c/p\u003e\n"],["\u003cp\u003eIt also accepts \u003ccode\u003epageSize\u003c/code\u003e, \u003ccode\u003epageToken\u003c/code\u003e, and \u003ccode\u003efilter\u003c/code\u003e as query parameters, with the filter supporting only subaccount filtering under a single parent billing account.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires one of the following OAuth scopes for authorization: \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e, \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-billing\u003c/code\u003e, or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-billing.readonly\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: organizations.billingAccounts.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists the billing accounts that the current authenticated user has permission to [view](https://cloud.google.com/billing/docs/how-to/billing-access).\n\n### HTTP request\n\n`GET https://cloudbilling.googleapis.com/v1/{parent=organizations/*}/billingAccounts`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [ListBillingAccountsResponse](/billing/docs/reference/rest/v1/ListBillingAccountsResponse).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `https://www.googleapis.com/auth/cloud-billing`\n- `https://www.googleapis.com/auth/cloud-billing.readonly`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]