Retrieve Transaction Detail
Retrieves a single transaction data by its unique identifier.
URL test:
Method:
GET
Path items:
/trancore/transactions/{id}
Parameters:
| Parameter | Location | Type | Example | Description | Required |
|---|---|---|---|---|---|
| id | path | integer | 987654321 | Transaction identifier (numeric) | Yes |
Example:
curl -X GET "https://test.lightcms.io/trancore/v1/trancore/transactions/987654321" \
-H 'accept: */*'
Responses:
200 - OK
Status Code: 200 OK
{
"transactionId": 22,
"cardId": 4,
"effectiveAmount": 1.21,
"effectiveAmountIssuerCurrency": 28.65,
"transactionOriginalCurrency": "USD",
"cardAcceptorName": "eBay O*11-12296-11556",
"transactionStatus": "DECLINED",
"cardEntryMode": "MANUAL_ENTRY",
"transactionType": "RTL",
"simpleResponseCode": "RESTRICED_CARD",
"oldEffectiveAmount": 0,
"issuerCurrency": "CZK",
"oldEffectiveAmountIssuerCurrency": 0,
"mcc": "5311",
"mccGroup": "RETAIL",
"retrievalReferenceNumber": "431321416720",
"cardAcceptorCountryCode": "USA",
"cardAcceptorCity": "San Jose",
"merchantId": "420429000208822",
"terminalId": "99999999",
"localTransactionDateTime": "2024-11-08T15:38:51",
"transactionDirection": "DEBIT"
}
| Parameter | Location | Type | Description |
|---|---|---|---|
| transactionId | root | integer | Unique identifier of the transaction. |
| cardId | root | integer | CMS card ID associated with the transaction. |
| effectiveAmount | root | number | Effective amount in the original currency. |
| effectiveAmountIssuerCurrency | root | number | Effective amount converted to issuer currency. |
| transactionOriginalCurrency | root | string | ISO‑4217 code of the original transaction currency. |
| cardAcceptorName | root | string | Name of the card acceptor (merchant). |
| transactionStatus | root | string | Current status of the transaction (e.g., DECLINED, APPROVED). |
| cardEntryMode | root | string | Card entry mode (e.g., MANUAL_ENTRY, CONTACTLESS). |
| transactionType | root | string | Type of transaction (e.g., RTL, ATM). |
| simpleResponseCode | root | string | Simplified response code indicating the reason for decline. |
| oldEffectiveAmount | root | number | Previous effective amount before the current update. |
| issuerCurrency | root | string | ISO‑4217 code of the issuer currency. |
| oldEffectiveAmountIssuerCurrency | root | number | Previous effective amount in issuer currency. |
| mcc | root | string | Merchant Category Code. |
| mccGroup | root | string | MCC group classification (e.g., RETAIL). |
| retrievalReferenceNumber | root | string | Retrieval Reference Number (RRN). |
| cardAcceptorCountryCode | root | string | Country code of the card acceptor (ISO‑3166‑1 alpha‑2). |
| cardAcceptorCity | root | string | City of the card acceptor. |
| merchantId | root | string | Merchant identifier. |
| terminalId | root | string | Terminal identifier. |
| localTransactionDateTime | root | string | Local date‑time of the transaction (ISO‑8601, no timezone offset). |
| transactionDirection | root | string | Direction of the transaction (DEBIT, CREDIT etc.). |