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
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
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:

  • HTTP request
  • Query parameters
  • Response
  • Customer
  1. API reference
  2. REST
  3. Customer
  4. List

Billing API, REST: Customer.List

Written by
Yandex Cloud
Updated at November 26, 2024
  • HTTP request
  • Query parameters
  • Response
  • Customer

Retrieves the list of customers associated with the specified reseller.

HTTP requestHTTP request

GET https://billing.api.cloud.yandex.net/billing/v1/customers

Query parametersQuery parameters

Field

Description

resellerId

string

Required field. ID of the reseller.

pageSize

string (int64)

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

pageToken

string

Page token. To get the next page of results,
set pageToken to the ListCustomersResponse.nextPageToken
returned by a previous list request.

ResponseResponse

HTTP Code: 200 - OK

{
  "customers": [
    {
      "id": "string",
      "billingAccountId": "string"
    }
  ],
  "nextPageToken": "string"
}

Field

Description

customers[]

Customer

List of customers.

nextPageToken

string

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

CustomerCustomer

A Customer resource.

Field

Description

id

string

ID of the customer.

billingAccountId

string

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

Was the article helpful?

Previous
Overview
Next
Invite
Yandex project
© 2025 Yandex.Cloud LLC