wallets-africa
Version:
Nodejs API wrapper for wallets africa
27 lines (26 loc) • 676 B
TypeScript
import Self from './resources/self';
import Wallet from './resources/wallet';
import Bank from "./resources/bank";
/**
* @class WalletAfrica
* @author sheghun {@link https://github.com/sheghun}
* {@link https://github.com/sheghun/wallets-africa-nodejs-sdk}
*
* Wallets Africa wrapper for communicating with the wallets africa api
*/
declare class WalletAfrica {
self: typeof Self;
wallet: typeof Wallet;
bank: typeof Bank;
private _apiRoot;
/**
*
* @param options - secret and public key
*/
constructor(options: {
secretKey: string;
publicKey: string;
sandbox?: true;
});
}
export default WalletAfrica;