Retrieve a single card transaction information
GET/api/card_transaction_details/:id
This API endpoint allows you to retrieve detailed information about a specific card transaction, making it a valuable tool for accessing precise transaction details in your system.
Request
Path Parameters
CardTransactionDetail identifier
Responses
- 200
- 401
- 403
- 404
OK - The request was processed successfully.
- application/json
- Schema
- Example (from schema)
Schema
- 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": 0,
"name": "string",
"pan4": "string"
},
"merchant": {
"id": 0,
"name": "string",
"country": "string",
"mccCode": "string"
},
"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"
}
Not Found -- The requested resource could not be found.
- application/json
- Schema
- Example (from schema)
Schema
A short, human-readable summary of the problem.
A human-readable explanation specific to this occurrence of the problem.
Default value: 400
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
A URI reference that identifies the problem type
{
"title": "string",
"detail": "string",
"status": 400,
"instance": "string",
"type": "string"
}