Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AccountsAPI

The /accounts endpoints of the Brex Transactions API.

Hierarchy

  • AccountsAPI

Index

Constructors

constructor

Properties

request

request: (options: ApiRequestOptions) => Promise<any>

Type declaration

Methods

listCardAccounts

listPrimaryCardStatements

  • Lists all finalized statements for the primary card account.

    Parameters

    • options: { cursor?: string; limit?: number } = {}
      • Optional cursor?: string

        The current cursor for paginated results

      • Optional limit?: number

        The desired number of results per page

    Returns Promise<ApiListResponse<Statement>>

listCashAccounts

listCashStatements

  • Lists all finalized statements for the cash account by ID.

    Parameters

    • id: string
    • options: { cursor?: string; limit?: number } = {}
      • Optional cursor?: string

        The current cursor for paginated results

      • Optional limit?: number

        The desired number of results per page

    Returns Promise<ApiListResponse<Statement>>

Generated using TypeDoc