API Documentation
API Endpoints/Transactions

List transactions with pagination

Get filtered list of transactions

GET
/transactions
AuthorizationBasic <token>

Basic authentication is a simple authentication scheme built into the HTTP protocol. To use it, send your HTTP requests with an Authorization header that contains the word Basic followed by a space and a base64-encoded string username:password.Example: Authorization: Basic ZGVtbzpwQDU1dzByZA==

In: header

Query Parameters

page?integer
Default1
pageSize?integer
Default1
sort?string
query?object

Filters for LIST calls. Supports multiple filtering operators.

Empty Object

Response Body

curl -X GET "https://staging1.abillify.dev/api/transactions?page=3&pageSize=20&sort=created&query=%5Bobject+Object%5D"
fetch("https://staging1.abillify.dev/api/transactions?page=3&pageSize=20&sort=created&query=%5Bobject+Object%5D")
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {
  url := "https://staging1.abillify.dev/api/transactions?page=3&pageSize=20&sort=created&query=%5Bobject+Object%5D"

  req, _ := http.NewRequest("GET", url, nil)
  
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://staging1.abillify.dev/api/transactions?page=3&pageSize=20&sort=created&query=%5Bobject+Object%5D"

response = requests.request("GET", url)

print(response.text)
{
  "page": 3,
  "pageSize": 20,
  "query": {
    "created": "2023-01-01 00:00:00",
    "created[$gt]": "2023-01-01",
    "created[$gte]": "2023-01-01",
    "created[$in]": [
      "2023-01-01 00:00:00",
      "2023-01-01 00:00:01"
    ],
    "created[$lt]": "2023-01-01",
    "created[$lte]": "2023-01-01",
    "created[$ne]": "2023-01-03 00:00:00"
  },
  "rows": [
    {
      "client": "123456789",
      "committed": "2022-07-29 17:23:47",
      "created": "2022-07-29 17:23:47",
      "id": "123456789",
      "modified": "2022-07-29 17:23:47",
      "reference": "abcdefg",
      "meta": {},
      "identity": "123456789",
      "channel": "123456789",
      "paymentmethod": "123456789",
      "voucher": 1,
      "caseid": "123456789",
      "file": "123456789",
      "account": "123456789",
      "amount": "12345.45",
      "bookingdate": "2022-07-31",
      "cause": "NONE",
      "confirmed": false,
      "currency": "EUR",
      "exported": false,
      "external": [
        "some text"
      ],
      "fee": "12345.45",
      "kind": "PA",
      "label": "abcdefg",
      "method": "CC",
      "operations": "123456789",
      "parent": "123456789",
      "peer": "abcdefg",
      "processfile": "123456789",
      "result": "abcdefg",
      "resultcode": "123456789",
      "uniqueid": "abcdefg",
      "valuedate": "2022-07-31"
    }
  ],
  "sort": "created"
}
{
  "code": 400,
  "details": [
    {
      "error": "Value for field 'debtor' is of wrong type, expected bigint.",
      "fields": [
        "debtor"
      ],
      "hint": "Value must be a number or a string containing only a number."
    }
  ],
  "message": "InvalidValue, see error details",
  "name": "ClientError",
  "type": "ERR_INVALID_VALUE"
}
{
  "code": 400,
  "details": [
    {
      "error": "Value for field 'debtor' is of wrong type, expected bigint.",
      "fields": [
        "debtor"
      ],
      "hint": "Value must be a number or a string containing only a number."
    }
  ],
  "message": "InvalidValue, see error details",
  "name": "ClientError",
  "type": "ERR_INVALID_VALUE"
}