wallets-africa
Version:
Nodejs API wrapper for wallets africa
33 lines (32 loc) • 1.07 kB
TypeScript
/**
* @class Self
* All self functionality and methods based on api
* {@link https://https://documenter.getpostman.com/view/10058163/SWLk4RPL?version=latest#90e5b45a-9ae1-4eaa-85ae-9aa569835bdb View Api Docs}
*/
declare class Self {
static secretKey: string;
static endpoint: string;
/**
* To get balance of account in different currency
*
* @param currency - currency to get balance in
*/
static checkBalance(currency?: currencyType): Promise<import("axios").AxiosResponse<any>>;
/**
* Retrieves and returns a list of performed transactions within a specified time period
*
*/
static transactions(options?: TransactionOptions): Promise<import("axios").AxiosResponse<any>>;
/**
* Verifies BVN
*/
static verifyBvn(options: {
bvn: string;
dateOfBirth: string | Date;
}): Promise<import("axios").AxiosResponse<any>>;
/**
* Retrieves and returns a list of users
*/
static getWallets(): Promise<import("axios").AxiosResponse<any>>;
}
export default Self;