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

    Read-only query services to fetch normalized transactions across all products

    If you need more info about a transaction, fetch it using its specific service. Transaction Service will remain generic and high-level.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Parameters

      • __namedParameters: {
            amount?: { operator: "EQ" | "LTE" | "GTE"; value: BigNumber };
            bankIds?: ("greendot" | "dart" | "burling" | "jiko" | "fib" | undefined)[];
            bankTransactionIds?: (string | undefined)[];
            cardIds?: string[];
            createdAt?: DbTimestampCriteria;
            customerId: string;
            entityIds?: string[];
            ids?: string[];
            methods?: (
                | "REDEMPTION"
                | "DEPOSIT_BLOCKCHAIN"
                | "DEPOSIT_DIRECT"
                | "DEPOSIT_US_BANK_ACH"
                | "DEPOSIT_ACH_CREDIT"
                | "DEPOSIT_RTP"
                | "DEPOSIT_US_CASH"
                | "DEPOSIT_US_WIRE"
                | "DEPOSIT_SWIFT_WIRE"
                | "SWAP"
                | "FEE_TRANSFER"
                | "TRANSFER"
                | "TRANSFER_NETWORK"
                | "WITHDRAW_AF_BANK"
                | "WITHDRAW_AF_MOMO"
                | "WITHDRAW_MX_SPEI"
                | "WITHDRAW_SWIFT_WIRE"
                | "WITHDRAW_US_BANK_ACH"
                | "WITHDRAW_US_INSTANT"
                | "WITHDRAW_ACH_PULL"
                | "WITHDRAW_US_WIRE_DRAWDOWN"
                | "WITHDRAW_US_WIRE"
                | "WITHDRAW_BLOCKCHAIN"
                | "VIRTUAL_CARD"
                | "PHYSICAL_CARD"
            )[];
            orderBy?: { direction: "ASC"
            | "DESC"; field: "createdAt" | "updatedAt" }[];
            page?: number;
            pageSize?: number;
            paymentInstrumentIds?: (string | undefined)[];
            signatures?: string[];
            statuses?: ("PROCESSING" | "COMPLETED" | "FAILED" | "RETURNED")[];
            types?: ("CREDIT" | "DEBIT")[];
            updatedAt?: DbTimestampCriteria;
            walletAddresses?: PublicKey[];
        }
        • Optionalamount?: { operator: "EQ" | "LTE" | "GTE"; value: BigNumber }
        • OptionalbankIds?: ("greendot" | "dart" | "burling" | "jiko" | "fib" | undefined)[]
        • OptionalbankTransactionIds?: (string | undefined)[]
        • OptionalcardIds?: string[]
        • OptionalcreatedAt?: DbTimestampCriteria
        • customerId: string
        • OptionalentityIds?: string[]
        • Optionalids?: string[]
        • Optionalmethods?: (
              | "REDEMPTION"
              | "DEPOSIT_BLOCKCHAIN"
              | "DEPOSIT_DIRECT"
              | "DEPOSIT_US_BANK_ACH"
              | "DEPOSIT_ACH_CREDIT"
              | "DEPOSIT_RTP"
              | "DEPOSIT_US_CASH"
              | "DEPOSIT_US_WIRE"
              | "DEPOSIT_SWIFT_WIRE"
              | "SWAP"
              | "FEE_TRANSFER"
              | "TRANSFER"
              | "TRANSFER_NETWORK"
              | "WITHDRAW_AF_BANK"
              | "WITHDRAW_AF_MOMO"
              | "WITHDRAW_MX_SPEI"
              | "WITHDRAW_SWIFT_WIRE"
              | "WITHDRAW_US_BANK_ACH"
              | "WITHDRAW_US_INSTANT"
              | "WITHDRAW_ACH_PULL"
              | "WITHDRAW_US_WIRE_DRAWDOWN"
              | "WITHDRAW_US_WIRE"
              | "WITHDRAW_BLOCKCHAIN"
              | "VIRTUAL_CARD"
              | "PHYSICAL_CARD"
          )[]
        • OptionalorderBy?: { direction: "ASC" | "DESC"; field: "createdAt" | "updatedAt" }[]

          Defaults to createdAt DESC

        • Optionalpage?: number

          Defaults to 1

        • OptionalpageSize?: number

          Defaults to 10

        • OptionalpaymentInstrumentIds?: (string | undefined)[]
        • Optionalsignatures?: string[]
        • Optionalstatuses?: ("PROCESSING" | "COMPLETED" | "FAILED" | "RETURNED")[]
        • Optionaltypes?: ("CREDIT" | "DEBIT")[]
        • OptionalupdatedAt?: DbTimestampCriteria
        • OptionalwalletAddresses?: PublicKey[]

      Returns Promise<{ ok: true; value: { hasNext: boolean; items: Transaction[] } }>