import { PaparaSingleResult } from "../common/paparaSingleResult"; import { PaparaArrayResult } from "../common/paparaArrayResult"; import { BankAccount } from "../entities"; import { BankingWithdrawalOptions } from "../options"; /** * Banking service will be used for listing merchant's bank accounts and making withdrawal operations. */ export declare class BankingService { private requestOptions; /** * Initializes a new instance of the Banking Service * @param apiKey merchant api key * @param env environment selection */ constructor(apiKey: string, env: string); /** * Returns bank accounts for authorized merchant. * * @returns PaparaListResult Bank Account Information */ getBankAccounts: () => Promise>; /** * Creates a withdrawal request from given bank account for authorized merchant. * * @returns PaparaSingleResult withdrawal request status * * Error codes: * 105 - Insufficient funds. * 115 - Requested amount is lower then minimum limit. * 120 - Bank account not found. * 247 - Merchant's account is not active. */ withdrawal: (options: BankingWithdrawalOptions) => Promise>; }