class Lithic::Resources::ManagementOperations

def list(params = {})

Other tags:
    See: Lithic::Models::ManagementOperationListParams -

Returns:
  • (Lithic::Internal::CursorPage) -

Parameters:
  • request_options (Lithic::RequestOptions, Hash{Symbol=>Object}, nil) --
  • status (Symbol, Lithic::ManagementOperationListParams::Status) -- Management operation status to be returned.
  • starting_after (String) -- A cursor representing an item's token after which a page of results should begin
  • page_size (Integer) -- Page size (for pagination).
  • financial_account_token (String) -- Globally unique identifier for the financial account. Accepted type dependent on
  • ending_before (String) -- A cursor representing an item's token before which a page of results should end.
  • end_ (Time) -- Date string in RFC 3339 format. Only entries created before the specified time w
  • category (Symbol, Lithic::ManagementOperationListParams::Category) -- Management operation category to be returned.
  • business_account_token (String) --
  • begin_ (Time) -- Date string in RFC 3339 format. Only entries created after the specified time wi

Overloads:
  • list(begin_: nil, business_account_token: nil, category: nil, end_: nil, ending_before: nil, financial_account_token: nil, page_size: nil, starting_after: nil, status: nil, request_options: {})
def list(params = {})
  parsed, options = Lithic::ManagementOperationListParams.dump_request(params)
  @client.request(
    method: :get,
    path: "v1/management_operations",
    query: parsed.transform_keys(begin_: "begin", end_: "end"),
    page: Lithic::Internal::CursorPage,
    model: Lithic::ManagementOperationTransaction,
    options: options
  )
end