Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI Studio
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • 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
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Billing
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • API authentication
      • Overview
        • Overview
        • List
        • Invite
        • CreateResellerServed
        • Activate
        • Suspend
  • Audit Trails events

In this article:

  • gRPC request
  • ListCustomersRequest
  • ListCustomersResponse
  • Customer
  1. API reference
  2. gRPC
  3. Customer
  4. List

Billing API, gRPC: CustomerService.List

Written by
Yandex Cloud
Updated at November 26, 2024
  • gRPC request
  • ListCustomersRequest
  • ListCustomersResponse
  • Customer

Retrieves the list of customers associated with the specified reseller.

gRPC requestgRPC request

rpc List (ListCustomersRequest) returns (ListCustomersResponse)

ListCustomersRequestListCustomersRequest

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

Field

Description

reseller_id

string

Required field. ID of the reseller.

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 ListCustomersResponse.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 ListCustomersResponse.next_page_token
returned by a previous list request.

ListCustomersResponseListCustomersResponse

{
  "customers": [
    {
      "id": "string",
      "billing_account_id": "string"
    }
  ],
  "next_page_token": "string"
}

Field

Description

customers[]

Customer

List of customers.

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 ListCustomersRequest.page_size, use
next_page_token as the value
for the ListCustomersRequest.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.

CustomerCustomer

A Customer resource.

Field

Description

id

string

ID of the customer.

billing_account_id

string

ID of the yandex.cloud.billing.v1.BillingAccount assigned to the customer.

Was the article helpful?

Previous
Overview
Next
Invite
© 2025 Direct Cursus Technology L.L.C.