UNPKG

@scwar/nestjs-monnify

Version:

A comprehensive NestJS module for integrating with Monnify API

68 lines (67 loc) 3.2 kB
import { MonnifyService } from '../src'; export declare class AppModule { } export declare class PaymentService { private readonly monnifyService; constructor(monnifyService: MonnifyService); processPayment(): Promise<string>; checkPaymentStatus(transactionReference: string): Promise<import("../src").TransactionStatusResponse>; createCustomerAccount(): Promise<import("../src").ReservedAccountResponse>; } export declare class TransferService { private readonly monnifyService; constructor(monnifyService: MonnifyService); transferMoney(): Promise<import("../src").TransferResponse>; bulkTransfer(): Promise<import("../src").BulkTransferResponse>; } export declare class WalletService { private readonly monnifyService; constructor(monnifyService: MonnifyService); createWallet(): Promise<import("../src").WalletResponse>; getWalletBalance(walletReference: string): Promise<import("../src").WalletBalanceResponse>; } export declare class VerificationService { private readonly monnifyService; constructor(monnifyService: MonnifyService); verifyCustomer(): Promise<{ bvn: import("../src").BvnVerificationResponse; bankAccount: import("../src").BankAccountVerificationResponse; phone: import("../src").PhoneNumberVerificationResponse; }>; manageSubAccounts(): Promise<{ subAccount: import("../src").CreateSubAccountResponse; details: import("../src").SubAccountDetails; balance: import("../src").SubAccountBalanceResponse; transactions: import("../src").SubAccountTransactionResponse; }>; manageInvoices(): Promise<{ invoice: import("../src").CreateInvoiceResponse; details: import("../src").InvoiceDetails; status: import("../src").InvoicePaymentStatusResponse; reminder: import("../src").SendInvoiceReminderResponse; }>; manageSettlements(): Promise<{ settlements: import("../src").SettlementListResponse; summary: import("../src").SettlementSummaryResponse; config: import("../src").SettlementConfigurationResponse; configurations: import("../src").SettlementConfigurationListResponse; }>; manageTransactions(): Promise<{ status: import("../src").TransactionDetails; allTransactions: import("../src").TransactionListResponse; logs: import("../src").TransactionLogResponse; successfulTransactions: import("../src").TransactionListResponse; failedTransactions: import("../src").TransactionListResponse; pendingTransactions: import("../src").TransactionListResponse; cardTransactions: import("../src").TransactionListResponse; dateRangeTransactions: import("../src").TransactionListResponse; customerTransactions: import("../src").TransactionListResponse; verification: import("../src").TransactionVerificationResponse; summary: import("../src").TransactionSummary; analytics: import("../src").TransactionAnalytics; }>; manageTransactionRefunds(): Promise<{ fullRefund: import("../src").RefundResponse; partialRefund: import("../src").RefundResponse; }>; }