Skip to main content

List Accounts

GET 

/v1/accounts

Lists Organization Accounts.

Request

Query Parameters

    pageSize int32

    Page size. Must be between 1 and 100.

    pageToken string

    Page token to retrieve the next page of results.

Responses

OK

Schema

    accounts

    object[]

    required

    The list of Accounts.

  • Array [

  • accountId stringrequired

    The identifier for the Account.

    name stringrequired

    The name of the Account.

    description string

    (Optional) The description of the Account.

    balance

    object

    required

    Represents an amount of money with its currency type.

    currencyCode stringrequired
    units int64required

    The whole units of the amount. For example if currencyCode is "USD", then 1 unit is one US dollar.

    nanos int32required

    Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If units is positive, nanos must be positive or zero. If units is zero, nanos can be positive, zero, or negative. If units is negative, nanos must be negative or zero. For example $-1.75 is represented as units=-1 and nanos=-750,000,000.

    lowBalance

    object

    Account low balance settings

    hasNotification booleanrequired

    Whether a notification should be sent if the Account balance is low

    notificationEmail stringrequired

    The email address to which to send a notification.

    threshold

    object

    required

    Represents an amount of money with its currency type.

    currencyCode stringrequired
    units int64required

    The whole units of the amount. For example if currencyCode is "USD", then 1 unit is one US dollar.

    nanos int32required

    Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If units is positive, nanos must be positive or zero. If units is zero, nanos can be positive, zero, or negative. If units is negative, nanos must be negative or zero. For example $-1.75 is represented as units=-1 and nanos=-750,000,000.

  • ]

  • nextPageToken string

    (Optional) Page token to retrieve the next page of results.

Loading...