Retrieve a single card transaction information
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.
Path Parameters
- id string required
CardTransactionDetail identifier
Responses
- 200
- 401
- 403
- 404
OK - The request was processed successfully.
- application/json
- Schema
- Example (from schema)
Schema
- 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 stringmccCode stringdocuments object
id integername stringmimeType stringexpenseCategory object
id integername stringaccountingAccountNumber stringexternalId stringexpenseCostCenter object
id integername stringnumber string- 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",
"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",
"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"
}
Not Found -- The requested resource could not be found.
Loading...