Astrada TypeScript SDK
    Preparing search index...

    Interface Transaction

    Transaction

    interface Transaction {
        _embedded?: TransactionEmbedded;
        _links: TransactionLinks;
        acceptor: TransactionAcceptor;
        cardholderBillingCurrency: string;
        cardholderBillingHoldAmount: number;
        cardholderBillingSettledAmount: number;
        cardId: string;
        controlAccountNumber?: string;
        createdAt: Date;
        descriptor: string;
        id: string;
        network: string;
        networkBulkFeedId?: string;
        status: TransactionStatusEnum;
        subaccountId: string;
        supersededMessageIds?: string[];
        transactionCurrency: string;
        transactionHoldAmount: number;
        transactionOccurrenceDate: Date;
        transactionSettledAmount: number;
        updatedAt: Date;
    }

    Hierarchy (View Summary)

    Index

    Transaction

    Transaction

    Transaction

    cardholderBillingCurrency: string

    The currency of the country of issuance following ISO 4217 alpha-3 format.

    Transaction

    cardholderBillingHoldAmount: number

    This amount models the hold on the cardholder account, in the card's issued currency, that occurs after an authorization and before a financial message. This amount will change as both authorization and financial messages are added to the Transaction in order to reflect the remaining hold amount. A pending refund (an approved credit authorization) reflects its signed amount here as a negative hold while pending, released back to zero once the clearing financial message settles it.

    Transaction

    cardholderBillingSettledAmount: number

    The settled amount models the bottom line impact to the customer's bank statement in the card's issued currency. This amount will change as financial messages are added to the Transaction.

    Transaction

    cardId: string

    The unique identifier of the card related to this entity. Null only for bank-sourced transactions on a bank account with no linked cards (the card-less unified feed); the _links.card link is omitted in that case.

    Transaction

    controlAccountNumber?: string

    The American Express Basic Control Account number associated with the card, as provided by the Amex real-time authorization (RTA) and General Ledger (GL) feeds. Treat it as an opaque string and keep it exactly as returned: it is numeric today and may contain leading zeros, so never parse it as a number. Present only on American Express transactions where the feed supplies it; absent for all other networks and for transactions ingested before this field was introduced. It is never returned as null or an empty string. This is an account identifier, not a card number.

    Transaction

    createdAt: Date

    Date and time when this resource was created, in UTC, following ISO 8601 format.

    Transaction

    descriptor: string

    Cleansed merchant name.

    Transaction

    id: string

    The unique identifier of this transaction entity.

    Transaction

    network: string

    The card network that processed this payment.

    Transaction

    networkBulkFeedId?: string

    The network bulk feed that delivered this transaction's first feed-carrying message (SmartData for Mastercard, VBDS for Visa clearing). Present only on transactions sourced from a network bulk feed; absent otherwise. Transactions delivered before the producers began emitting this field, or never delivered via a bulk feed, omit it entirely. It is never returned as null or an empty string.

    Transaction

    A semantic understanding of the state of the transaction within the transaction lifecycle. VOIDED is not final: a clearing can still arrive after a full reversal, and the transaction then moves to SETTLED at the cleared amount. Learn More

    Transaction

    subaccountId: string

    The unique identifier of the subaccount related to this entity.

    Transaction

    supersededMessageIds?: string[]

    Message ids from _links.messages whose financial contribution was superseded during aggregation; typically duplicate deliveries of the same clearing across network feeds, or a provisional bank-sourced settlement replaced by the network clearing. Superseded messages stay listed in _links.messages for audit but do not count toward the settled amounts, so exclude them when deriving totals from individual messages (or better, use transactionSettledAmount / cardholderBillingSettledAmount directly). Always a subset of _links.messages. Each payload carries the full current set (a snapshot, not a delta). Transactions last updated before this field was introduced report [] until their next update.

    Transaction

    transactionCurrency: string

    The currency in which the transaction took place following ISO 4217 alpha-3 format.

    Transaction

    transactionHoldAmount: number

    This amount models the hold on the cardholder account, in the currency the transaction was conducted in, that occurs after an authorization and before a financial message. This amount will change as both authorization and financial messages are added to the Transaction in order to reflect the remaining hold amount. A pending refund (an approved credit authorization) reflects its signed amount here as a negative hold while pending, released back to zero once the clearing financial message settles it.

    Transaction

    transactionOccurrenceDate: Date

    The UTC date when the transaction took place, following ISO 8601 format (YYYY-MM-DD). This is a date-only field with no time component.

    Transaction

    transactionSettledAmount: number

    The settled amount models the bottom line impact to the customer's bank statement in the currency the transaction was conducted in. This amount will change as financial messages are added to the Transaction.

    Transaction

    updatedAt: Date

    Date and time when this resource was last updated, in UTC, following ISO 8601 format.

    Transaction