Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Billing
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • Authentication with the API
      • Overview
        • Overview
        • Get
        • List
        • ListBillableObjectBindings
        • BindBillableObject
        • ListAccessBindings
        • UpdateAccessBindings
  • Audit Trails events

In this article:

  • gRPC request
  • ListBillingAccountsRequest
  • ListBillingAccountsResponse
  • BillingAccount
  1. API reference
  2. gRPC
  3. BillingAccount
  4. List

Billing API, gRPC: BillingAccountService.List

Written by
Yandex Cloud
Updated at November 26, 2024
  • gRPC request
  • ListBillingAccountsRequest
  • ListBillingAccountsResponse
  • BillingAccount

Retrieves the list of billing accounts available for current user.

gRPC request

rpc List (ListBillingAccountsRequest) returns (ListBillingAccountsResponse)

ListBillingAccountsRequest

{
  "page_size": "int64",
  "page_token": "string"
}

Field

Description

page_size

int64

The maximum number of results per page to return. If the number of available
results is larger than page_size,
the service returns a ListBillingAccountsResponse.next_page_token
that can be used to get the next page of results in subsequent list requests.

page_token

string

Page token. To get the next page of results,
set page_token to the ListBillingAccountsResponse.next_page_token
returned by a previous list request.

ListBillingAccountsResponse

{
  "billing_accounts": [
    {
      "id": "string",
      "name": "string",
      "created_at": "google.protobuf.Timestamp",
      "country_code": "string",
      "currency": "string",
      "active": "bool",
      "balance": "string"
    }
  ],
  "next_page_token": "string"
}

Field

Description

billing_accounts[]

BillingAccount

List of billing accounts.

next_page_token

string

This token allows you to get the next page of results for list requests. If the number of results
is larger than ListBillingAccountsRequest.page_size, use
next_page_token as the value
for the ListBillingAccountsRequest.page_token query parameter
in the next list request. Each subsequent list request will have its own
next_page_token to continue paging through the results.

BillingAccount

A BillingAccount resource. For more information, see BillingAccount.

Field

Description

id

string

ID of the billing account.

name

string

Name of the billing account.

created_at

google.protobuf.Timestamp

Creation timestamp.

country_code

string

ISO 3166-1 alpha-2 country code of the billing account.

currency

string

Currency of the billing account.
Can be one of the following:

  • RUB
  • USD
  • KZT

active

bool

Represents whether corresponding billable objects can be used or not.

balance

string

Current balance of the billing account.

Was the article helpful?

Previous
Get
Next
ListBillableObjectBindings
© 2025 Direct Cursus Technology L.L.C.