Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PaymentWebService

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected http

http: Http

Protected options

Static Protected instance

Methods

findOne

  • findOne(id: string): Promise<Payment>
  • Find a Payment.

    Parameters

    • id: string

      The Payment ID.

    Returns Promise<Payment>

pay

  • pay(request: PaymentRequestSchema): Promise<Payment>
  • Sends a new Payment to the network, from a single source wallet splitting into multiple payment recipients.

    Parameters

    • request: PaymentRequestSchema

    Returns Promise<Payment>

withdraw

  • withdraw(requestData: WithdrawalRequestSchema): Promise<BankTransferPayment>
  • Performs cashout from consumer wallet to the bank account identified by the given id

    Parameters

    • requestData: WithdrawalRequestSchema

    Returns Promise<BankTransferPayment>

Static getInstance

Static initialize

Generated using TypeDoc