Class ReceiveMoneyService

Hierarchy

Constructors

Methods

  • Bill Validation https://developer.jengaapi.io/reference/bill-validation-1

    This web service enables your application perform a bill validation. This is typically before a payment is made for example before paying a utility bill you would like the payment application to validate it actually exists and its details are correct

    Type Parameters

    • T

    Parameters

    • options: {
          data: BillValidation;
          headers?: any;
      }
      • data: BillValidation
      • Optional headers?: any

    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
  • Receive Payments - Merchant Payments

    https://developer.jengaapi.io/reference/merchant-payment

    This API Provides Partners the Capability To Make Payments For Goods And Services

    Type Parameters

    • T

    Parameters

    • options: {
          data: MerchantPayment;
          headers?: any;
      }
      • data: MerchantPayment
      • Optional headers?: any

    Returns Promise<T>

  • Receive Payments - Bill Payments

    https://developer.jengaapi.io/reference/bill-payment

    This API Provides Partners the Capability To Initiate Utility Bill Payments For Goods And Services

    Type Parameters

    • T

    Parameters

    • options: {
          data: BillPayment;
          headers?: any;
      }
      • data: BillPayment
      • Optional headers?: any

    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