Skip to main content
GET
/
transactions
Get transactions
curl --request GET \
  --url https://api.projectcor.com/v1/transactions \
  --header 'Authorization: Bearer <token>'
{
  "total": "<string>",
  "perPage": 123,
  "page": 123,
  "lastPage": 123,
  "data": [
    {
      "id": 123,
      "date": "2023-12-25",
      "receipt_number": "<string>",
      "type": "<string>",
      "total": 123,
      "currency_change_amount": 123,
      "exchange": 123,
      "source_id": 123,
      "currency_id": 123,
      "is_income": true,
      "client_id": 123,
      "company_id": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
default:1

Page number (default: 1). Set to false to disable pagination.

perPage
integer
default:20

Number of items per page (default: 20).

filters
string

URL-encoded JSON object with filter criteria.

Response

200 - application/json

Paginated list of transactions

Paginated response for transactions list

total

Total number of transactions

perPage
integer

Number of items per page

page
integer

Current page number

lastPage
integer

Last available page number

data
object[]

Array of transactions for the current page