Class AccountService

Hierarchy

Constructors

Methods

  • Account Balance

    https://developer.jengaapi.io/reference/get-account-balance

    This web service enables an application or service retrieve the current and available balance of an account\

    Type Parameters

    • T

    Parameters

    • options: Options

    Returns Promise<T>

  • Account Full Statement

    https://developer.jengaapi.io/reference/get-account-statement-full

    This web service enables the Jengi to retrieve the full set of transactions on a particular account based on a specified date range.

    Type Parameters

    • T

    Parameters

    • options: Options

    Returns Promise<T>

  • Type Parameters

    • AuthResponse

    Returns Promise<AuthResponse>

  • Gets the current configuration of the SDK

    Returns {
        apiKey: string;
        consumerSecret: string;
        enableAuthorization: boolean;
        enableLogging: boolean;
        env: string;
        merchantCode: string;
        privateKeyPath: string;
        verbose: boolean;
    }

    • apiKey: string
    • consumerSecret: string
    • enableAuthorization: boolean
    • enableLogging: boolean
    • env: string
    • merchantCode: string
    • privateKeyPath: string
    • verbose: boolean
  • Opening and Closing Account Balance

    https://developer.jengaapi.io/reference/opening-and-closing-balance

    This web service enables an application or service retrieve the opening and closing balance of an account for a given date

    Type Parameters

    • T

    Parameters

    • options: Options

    Returns Promise<T>

  • Updates the current configuration of the SDK

    Parameters

    • config: UpdateConfig
    • callback: Function = null

    Returns {
        apiKey: string;
        consumerSecret: string;
        enableAuthorization: boolean;
        enableLogging: boolean;
        env: string;
        merchantCode: string;
        privateKeyPath: string;
        verbose: boolean;
    }

    • apiKey: string
    • consumerSecret: string
    • enableAuthorization: boolean
    • enableLogging: boolean
    • env: string
    • merchantCode: string
    • privateKeyPath: string
    • verbose: boolean