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 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"
}
Not Found -- The requested resource could not be found.
Loading...