Astrada TypeScript SDK
    Preparing search index...

    Interface BankTransaction

    BankTransaction

    interface BankTransaction {
        _links: BankTransactionLinks;
        accountId: string;
        amount: number;
        bankAccountId: string;
        cardId: string;
        category: string[];
        createdAt: Date;
        currency: string;
        date: Date;
        description: string;
        id: string;
        matchId: string;
        merchantName: string;
        settlement: BankTransactionSettlement;
        source: banking.BankTransactionSourceEnum;
        status: banking.BankTransactionStatusEnum;
        subaccountId: string;
        transactionType: banking.BankTransactionTransactionTypeEnum;
    }
    Index

    BankTransaction

    accountId: string

    The unique identifier of the account that owns this transaction.

    BankTransaction

    amount: number

    The transaction amount.

    BankTransaction

    bankAccountId: string

    The unique identifier of the bank account this transaction belongs to.

    BankTransaction

    cardId: string

    The card whose card transaction this bank transaction is matched to. Stamped when a match is persisted and cleared if a later forced rematch supersedes that match, so it is only ever non-null alongside matchId. Null while unmatched, including on accounts with linked cards: linking alone never attributes individual bank transactions.

    BankTransaction

    category: string[]

    The transaction categories assigned by the provider.

    BankTransaction

    createdAt: Date

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

    BankTransaction

    currency: string

    The currency of the transaction following ISO 4217 format.

    BankTransaction

    date: Date

    The date the transaction was posted, in YYYY-MM-DD format.

    BankTransaction

    description: string

    The transaction description provided by the financial institution.

    BankTransaction

    id: string

    The unique identifier of the bank transaction.

    BankTransaction

    matchId: string

    The identifier of the transaction match, if this bank transaction has been matched to a card transaction.

    BankTransaction

    merchantName: string

    The name of the merchant.

    BankTransaction

    BankTransaction

    The source of this transaction.

    • PLAID: Synced from a connected financial institution via Plaid.
    • UPLOAD: Imported from a manually uploaded bank statement.
    • MASTERCARD_US: Synced from a connected financial institution via Mastercard Open Finance US. Sandbox only.
    • MASTERCARD_EU: Synced from a connected financial institution via Mastercard Open Finance Europe. Sandbox only.

    BankTransaction

    The lifecycle stage of the bank movement, derived from its match pointer and settlement state.

    • posted: Synced, not yet matched.
    • matched: Paired to a card transaction without an early settlement of its own (e.g. connector off, or a below-HIGH match): the movement is represented by the card transaction's network settlement, and any standalone it previously emitted is netted to zero.
    • settled: A bank-only movement settled standalone on the unified feed.
    • early_cleared: A matched movement settled its card transaction early.
    • superseded: A previously bank-only movement was retracted or corrected.

    BankTransaction

    subaccountId: string

    The unique identifier of the subaccount associated with this transaction.

    BankTransaction

    The type of transaction.

    • debit: Money sent (outflow).
    • credit: Money received (inflow).

    BankTransaction