Retrieve a collection of card transactions
This API endpoint empowers you to access a list of recent card transactions associated with an account, providing valuable insights into transaction details.
Query Parameters
- page integer
Default value:
1
The collection page number
- itemsPerPage integer
Possible values:
<= 50
Default value:
30
The number of items per page
- pagination boolean
Enable or disable pagination
- executionDate[lte] string
The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: "2024-11-21T11:54:39.000Z"
- executionDate[lt] string
The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: "2024-11-21T11:54:39.000Z"
- executionDate[gte] string
The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: "2024-11-21T11:54:39.000Z"
- executionDate[gt] string
The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: "2024-11-21T11:54:39.000Z"
- createdAt[lte] string
The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: "2024-11-21T11:54:39.000Z"
- createdAt[lt] string
The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: "2024-11-21T11:54:39.000Z"
- createdAt[gte] string
The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: "2024-11-21T11:54:39.000Z"
- createdAt[gt] string
The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: "2024-11-21T11:54:39.000Z"
- updatedAt[lte] string
The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: "2024-11-21T11:54:39.000Z"
- updatedAt[lt] string
The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: "2024-11-21T11:54:39.000Z"
- updatedAt[gte] string
The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: "2024-11-21T11:54:39.000Z"
- updatedAt[gt] string
The date and time in ISO 8601 format. If only the date portion is provided, the time will default to 00:00:00. Example: "2024-11-21T11:54:39.000Z"
- currency string
- cardHolder string
- card string
- amount[lt] string
- amount[lte] string
- amount[gt] string
- amount[gte] string
- 200
- 401
- 403
OK - The request was processed successfully.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- id integer
- currency string
- amount string
- originalCurrency string
- originalAmount string
- type string
Possible values: [
authorization
,transaction
,reversal
] - executionDate string
- settlementDate stringnull
- status string
Possible values: [
executed
,pending
] card object
id integername stringpan4 stringmerchant object
id integername stringcountry stringdocuments object[]
Array [id integername stringmimeType string]expenseCategory object
- anyOf
- MOD1
id integername stringaccountingAccountNumber string- anyOf
expenseCostCenter object
- anyOf
- MOD1
id integername stringnumber string- anyOf
- comment stringnull
- vat string[]
- createdAt string
- updatedAt string
- error string[]
- ]
[
{
"id": 1,
"currency": "CHF",
"amount": "100.00",
"originalCurrency": "CHF",
"originalAmount": "100.00",
"type": "transaction",
"executionDate": "2023-01-01T00:00:00+00:00",
"settlementDate": "2023-01-01T00:00:00+00:00",
"status": "executed",
"card": {
"id": 1,
"name": "Example Card Name",
"pan4": "1234"
},
"merchant": {
"id": 1,
"name": "Example Merchant Name Italy",
"country": "IT"
},
"documents": "[{\"id\": 1, \"name\": \"example_document.jpg\", \"mimeType\": \"image/jpeg\"}, {\"id\": 2, \"name\": \"example_document.pdf\", \"mimeType\": \"application/pdf\"}]",
"expenseCategory": {
"id": 0,
"name": "string",
"accountingAccountNumber": "string"
},
"expenseCostCenter": {
"id": 0,
"name": "string",
"number": "string"
},
"comment": "Travel expense",
"vat": "[[\"rate\": \"5\", \"amount\": \"20\"], [\"rate\": \"10\", \"amount\": \"30\"]]",
"createdAt": "2023-01-01T00:00:00+00:00",
"updatedAt": "2023-01-01T00:00:00+00:00",
"error": "[\"key\": \"card.expired\", \"message\": \"Card expired\"]"
}
]
Unauthorised -- Your access token is wrong.
- application/json
- Schema
- Example (from schema)
Schema
- type string
- title string
- detail string
{
"type": "string",
"title": "string",
"detail": "string"
}
Forbidden -- Access to the requested resource or action is forbidden.
- application/json
- Schema
- Example (from schema)
Schema
- type string
- title string
- detail string
{
"type": "string",
"title": "string",
"detail": "string"
}