@cfxlabsinc/b2b-services
    Preparing search index...

    Provider-neutral view of one RouteFusion money movement. Both producers (poll + webhook) adapt into this before mapping, so a RouteFusion field-name change only touches the two adapters, never this module.

    interface RouteFusionTransactionInput {
        amount: string;
        counterpartyName?: string;
        direction: "CREDIT" | "DEBIT";
        paymentMethod?: string;
        postedAt: string;
        raw: Record<string, unknown>;
        reference?: string;
        state: string;
        transferId: string;
        walletId: string;
    }
    Index
    amount: string
    counterpartyName?: string
    direction: "CREDIT" | "DEBIT"

    Direction comes from which query/subscription produced the record.

    paymentMethod?: string
    postedAt: string

    ISO 8601.

    raw: Record<string, unknown>
    reference?: string
    state: string
    transferId: string
    walletId: string