Read bank transactions
Read a list of bank transactions based on specified filters. Each transaction includes details such as transaction reference, type, bank account details, payment reference, amount, date, and status.
Query parameters
-
Filter bank transactions by start date (inclusive). Date format should be YYYY-MM-DD. Compares dates by greater or equal. Accepts dates in ISO 8601 format.
-
Filter bank transactions by end date (inclusive). Date format should be YYYY-MM-DD. Compares dates by less or equal. Accepts dates in ISO 8601 format.
-
bankAccountId string(uuid)
Filter bank transactions by bank account ID.
-
limit integer
Specify the number of items to fetch per page, defaults to 25.
Minimum value is
1
, maximum value is100
. Default value is25
. -
page integer(int)
Specify the page number to fetch, defaults to 1.
Minimum value is
1
. Default value is1
.
curl \
-X GET https://rest.api.24sevenoffice.com/v1/banktransactions?dateFrom=2024-05-04&dateTo=2024-05-04 \
-H "Authorization: string"
[
{
"date": "2024-06-01",
"type": "outbound",
"amount": {
"value": 1200,
"currency": {
"code": "NOK"
}
},
"status": "created",
"createdAt": "2024-06-01T18:00:00Z",
"modifiedAt": "2024-06-31T18:00:00Z",
"bankAccount": {
"id": "123-456-789"
},
"toBankAccount": {
"type": "iban",
"number": "987654321"
},
"fromBankAccount": {
"type": "bban",
"number": "123456789"
},
"paymentReference": {
"type": "text",
"value": "Payment for shipment AA-001."
},
"bankTransactionCode": {
"domainCode": "D001",
"familyCode": "F002",
"subFamilyCode": "SF003"
},
"bankTransactionReference": "10001-987-654-321"
},
{
"date": "2024-06-15",
"type": "inbound",
"amount": {
"value": 2500,
"currency": {
"code": "USD"
}
},
"status": "created",
"createdAt": "2024-06-15T10:00:00Z",
"modifiedAt": "2024-06-15T12:00:00Z",
"bankAccount": {
"id": "456-789-012"
},
"toBankAccount": {
"type": "iban",
"number": "987654321"
},
"paymentReference": {
"type": "ocr",
"value": "1234567890"
},
"bankTransactionCode": {
"domainCode": "D002",
"familyCode": "F003",
"subFamilyCode": "SF004"
},
"bankTransactionReference": "20002-876-543-210"
},
{
"date": "2024-06-20",
"type": "outbound",
"amount": {
"value": 3400,
"currency": {
"code": "EUR"
}
},
"status": "closed",
"createdAt": "2024-06-20T09:00:00Z",
"modifiedAt": "2024-06-21T14:00:00Z",
"bankAccount": {
"id": "789-012-345"
},
"fromBankAccount": {
"type": "bban",
"number": "123450987"
},
"paymentReference": {
"type": "invoiceRef",
"value": "INV-2024-001"
},
"bankTransactionCode": {
"domainCode": "D003",
"familyCode": "F004",
"subFamilyCode": "SF005"
},
"bankTransactionReference": "30003-765-432-109"
}
]