bank_transactions

Gets a list of bank_transactions

Changed on

Lists all bank integrations

get/api/v1/bank_transactions

Request

Query parameters

includestring
Example:first_load

Includes child relationships in the response, format is comma separated. Check each model for the list of associated includes

indexstring
Example:user

Replaces the default response index from data to a user specific string

ie.

  ?index=new_index

response is wrapped

  {
    'new_index' : [
      .....  
    ]
  }
rowsnumber

The number of bank integrations to return

per_pageinteger
Example:20

The number of records to return for each request, default is 20

pageinteger
Example:1

The page number to return for this request (when performing pagination), default is 1

sortstring[]

Order the list by choosing a column and direction. Each value uses the form column|asc or column|desc.

Single sort — for example sort=date|desc.

Multiple sorts — for example
sort[]=amount|asc&sort[]=date|desc.

Bank transactions accept columns and relationship sorts exposed by BankTransactionFilters. Unsupported keys are ignored.

[
  "date|desc",
  "amount|asc"
]

Headers

X-API-TOKENstring required
Example:TOKEN

The API token to be used for authentication

X-Requested-Withstring required
Example:XMLHttpRequest

Used to send the XMLHttpRequest header

Response

A list of bank integrations

Example response

{
  "data": [
    {
      "id": "AS3df3A",
      "user_id": "AS3df3A",
      "transaction_id": 343434,
      "amount": 10,
      "currency_id": "1",
      "account_type": "creditCard",
      "description": "Potato purchases for kevin",
      "category_id": 1,
      "category_type": "Expenses",
      "base_type": "CREDIT",
      "date": "2022-09-01",
      "bank_account_id": 1
    }
  ],
  "meta": {
    "pagination": {
      "total": 1,
      "count": 1,
      "per_page": 1,
      "current_page": 1,
      "total_pages": 1
    }
  }
}

Changes

    • info

      added the new optional query request parameter sort

    • info

      added the new optional query request parameter page

    • info

      added the new optional query request parameter per_page

    • info

      the response optional property // became read-only for the status