Get Transaction

get/api/transactions/{transactionId}

This endpoint returns the details of a card purchase transaction by a given ID.

Request

Path Parameters

  • transactionIdstringrequired

    Primary identifier of the transaction to fetch

Response

Successful operation.

Body application/json

  • idstringrequired

    The transaction ID

  • descriptionstringrequired

    A description of the transaction

  • accountIdstringrequired

    Which account this transaction belongs to

  • statusstringrequired
    Allowed values:initholdingclearedreversed

    The status of the transaction

  • cashOperationstring

    Indicates 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.

  • cardIdstringrequired

    Identifier of the card the payment was made on. It stays the same for the life of the payment, even if the card is reissued while the payment is in progress.

  • cardTypestring
    Allowed values:virtualphysical

    Whether the card was issued as physical or virtual.

  • amountstringrequired

    The billing amount of the transaction, an integer in the smallest denomination for the given currency

  • currencystringrequired

    The billing currency of the transaction

  • acquirerAmountstringrequired

    The acquirer amount of the transaction, an integer in the smallest denomination for the given currency

  • acquirerCurrencystringrequired

    The acquirer currency of the transaction

  • feeAmountstringrequired

    The fee amount of the transaction, an integer in the smallest denomination for the given currency

  • transactionDatestring<date-time>required

    The created date formatted in ISO of the transactions

  • processedDatestring<date-time>

    The cleared date formatted in ISO of the transactions

  • referencestringrequired

    The reference used when making an enquiry through customer support

  • cardAcceptorobjectrequired
    • citystringrequired

      The city of the card acceptor

    • countryCodestringrequired

      The country code of the card acceptor

    • namestringrequired

      The name of the card acceptor

  • creditDebitIndicatorstring
    Allowed values:creditdebit

    Indicates if the transaction was a credit or debit

  • paymentTypestringrequired
    Allowed values:purchaserefundadjustment

    The type of payment

  • relatedPaymentIdstring

    The ID of the related payment transaction, if applicable

  • cardPresentboolean

    Whether the card was at the point of sale when the payment was authorized, as classified by the payment network. true for a card inserted, swiped, or tapped at a terminal, including a phone or watch tap and a manually keyed card at an attended terminal. false for e-commerce, in-app, mail order, and telephone order payments, and for a merchant charging a card it has stored on file.

  • tokenobject

    Present 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.

    • requestorstringrequired

      Who the token was issued to: apple-pay, google-pay, merchant for a card the merchant has stored on file, or other for a token requestor Immersve does not name. Clients must tolerate unknown values.

  • securityChallengeobject

    Object containing security challenge information, if applicable.

    • refstring

      3DS challenge identifier. This can be used to correlate with the 'ref' in the payload of the webhook Payment 3DS OTP.

    • outcomestring

      3DS challenge outcome. May include the following values: challenge-confirmed, challenge-exempt, challenge-failed, challenge-timeout, challenge-denied.

  • failureReasonstring

    The reason for transaction failure, if applicable

  • panFirst6stringrequired

    The first 6 digits of the card's PAN

  • panLast6string

    The last 4 digits of the card's PAN