Retrieve a collection of card transactions
GET/api/card_transaction_details
This API endpoint empowers you to access a list of recent card transactions associated with an account, providing valuable insights into transaction details.
Request
Query Parameters
Default value: 1
The collection page number
Possible values: <= 50
Default value: 30
The number of items per page
Enable or disable pagination
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
Possible values: [ASC, DESC]
Sort the results by the specified field
Responses
- 200
- 401
- 403
OK - The request was processed successfully.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
Possible values: [authorization, transaction, reversal]
Possible values: [executed, pending]
card object
merchant object
documents object
expenseCategory object
expenseCostCenter object
vats object[]
[
{
"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",
"mccCode": "1234"
},
"documents": {
"id": "1",
"name": "example_document.jpg",
"mimeType": "image/jpeg"
},
"expenseCategory": {
"id": "1",
"name": "Travel expense",
"accountingAccountNumber": "123456",
"externalId": "abcefg"
},
"expenseCostCenter": {
"id": "1",
"name": "Travel expense",
"number": "123456"
},
"comment": "Travel expense",
"vats": [
{
"expenseVat": 1,
"rate": "5",
"amount": "20",
"grossAmount": "120",
"externalId": "vat-5"
}
],
"createdAt": "2023-01-01T00:00:00+00:00",
"updatedAt": "2023-01-01T00:00:00+00:00",
"magicLinkUrl": "https://app.amnis.com/expenses-public/4cb001f8-2b57-4b4a-8d2c-7d1a2f3b4c5d",
"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"
}
Forbidden -- Access to the requested resource or action is forbidden.
- application/json
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"detail": "string"
}