This endpoint returns the details of a card purchase transaction by a given ID.
Get Transaction
/api/transactions/{transactionId} Request
Path Parameters
transactionIdstringrequiredPrimary identifier of the transaction to fetch
Response
Successful operation.
Body application/json
idstringrequiredThe transaction ID
descriptionstringrequiredA description of the transaction
accountIdstringrequiredWhich account this transaction belongs to
statusstringrequiredAllowed values:initholdingclearedreversedThe status of the transaction
cashOperationstringIndicates that the transaction was cash-based and of which kind. Known values:
atm-withdrawal,manual-cash-disbursement. New values may be added; clients must tolerate unknown values.cardIdstringrequiredWhich card this transaction belongs to
cardTypestringAllowed values:virtualphysicalWhether the card was issued as
physicalorvirtual.amountstringrequiredThe billing amount of the transaction, an integer in the smallest denomination for the given currency
currencystringrequiredThe billing currency of the transaction
acquirerAmountstringrequiredThe acquirer amount of the transaction, an integer in the smallest denomination for the given currency
acquirerCurrencystringrequiredThe acquirer currency of the transaction
feeAmountstringrequiredThe fee amount of the transaction, an integer in the smallest denomination for the given currency
transactionDatestring<date-time>requiredThe created date formatted in ISO of the transactions
processedDatestring<date-time>The cleared date formatted in ISO of the transactions
referencestringrequiredThe reference used when making an enquiry through customer support
cardAcceptorobjectrequiredcitystringrequiredThe city of the card acceptor
countryCodestringrequiredThe country code of the card acceptor
namestringrequiredThe name of the card acceptor
creditDebitIndicatorstringAllowed values:creditdebitIndicates if the transaction was a credit or debit
paymentTypestringrequiredAllowed values:purchaserefundadjustmentThe type of payment
relatedPaymentIdstringThe ID of the related payment transaction, if applicable
cardPresentbooleanWhether the card was at the point of sale when the payment was authorized, as classified by the payment network.
truefor a card inserted, swiped, or tapped at a terminal, including a phone or watch tap and a manually keyed card at an attended terminal.falsefor e-commerce, in-app, mail order, and telephone order payments, and for a merchant charging a card it has stored on file.tokenobjectPresent when the payment was made with a network token instead of the card's own PAN, for example from a digital wallet or a merchant's stored credential. Absent when the card itself was used.
requestorstringrequiredWho the token was issued to:
apple-pay,google-pay,merchantfor a card the merchant has stored on file, orotherfor a token requestor Immersve does not name. Clients must tolerate unknown values.
securityChallengeobjectObject containing security challenge information, if applicable.
refstring3DS challenge identifier. This can be used to correlate with the 'ref' in the payload of the webhook Payment 3DS OTP.
outcomestring3DS challenge outcome. May include the following values:
challenge-confirmed,challenge-exempt,challenge-failed,challenge-timeout,challenge-denied.
failureReasonstringThe reason for transaction failure, if applicable
panFirst6stringrequiredThe first 6 digits of the card's PAN
panLast6stringThe last 4 digits of the card's PAN
Request fields are invalid.
Body application/json
statusCodeintegerrequiredstatusNamestringrequirederrorCodestringrequirederrorsobject[]Items
messagestringpathstringThe location of the invalid path param, query param or payload attribute.
No Authorization to access resource.
Body application/json
statusCodeintegerrequiredstatusNamestringrequirederrorCodestringrequiredreasonstring