Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TransactionApi

TransactionApi - object-oriented interface

export
class

TransactionApi

extends

{BaseAPI}

Hierarchy

Index

Constructors

constructor

Methods

getTransaction

  • getTransaction(accessId: string, accountId: string, transactionId: string, options?: any): Promise<Transaction>
  • Returns the transaction identified by transactionId in relation to accountId.

    summary

    Get transaction

    throws

    {RequiredError}

    memberof

    TransactionApi

    Parameters

    • accessId: string

      The accessId for the transaction to retrieve

    • accountId: string

      The accountId for the transaction to retrieve

    • transactionId: string

      The transactionId for the pattern to retrieve

    • Optional options: any

    Returns Promise<Transaction>

listTransactions

  • listTransactions(accessId: string, accountId: string, maxAge?: number, limit?: number, offset?: number, from?: string, to?: string, options?: any): Promise<Transaction[]>
  • Retrieve all transactions for accountId

    summary

    List transactions for account

    throws

    {RequiredError}

    memberof

    TransactionApi

    Parameters

    • accessId: string

      The accessId for which to retrieve transactions

    • accountId: string

      The accountId for which to retrieve transactions

    • Optional maxAge: number
    • Optional limit: number
    • Optional offset: number
    • Optional from: string
    • Optional to: string
    • Optional options: any

    Returns Promise<Transaction[]>

listTransactionsForPattern

  • listTransactionsForPattern(accessId: string, accountId: string, patternId: string, maxAge?: number, limit?: number, offset?: number, from?: string, to?: string, options?: any): Promise<Transaction[]>
  • Retrieve all transactions for patternId

    summary

    List transactions for pattern

    throws

    {RequiredError}

    memberof

    TransactionApi

    Parameters

    • accessId: string

      The accessId for which to retrieve transactions

    • accountId: string

      The accountId for which to retrieve transactions

    • patternId: string

      The patternId for which to retrieve transactions

    • Optional maxAge: number
    • Optional limit: number
    • Optional offset: number
    • Optional from: string
    • Optional to: string
    • Optional options: any

    Returns Promise<Transaction[]>