@blusalt/blusalt-payment-client
TypeScript icon, indicating that this package has built-in type declarations

0.0.15 • Public • Published

blusalt-payment-client

Installation

npm i @blusalt/blusalt-payment-client

Authentication

Please set an environment BLUSALT_API_KEY containing your blusalt API key

Set API programmatically

import { Wallet } from '@blusalt/blusalt-payment-client';

const blusaltWallet = new Wallet(apiKey);

Wallet

import { Wallet } from '@blusalt/blusalt-payment-client';

const blusaltWallet = new Wallet();

const wallet = await blusaltWallet.createWallet({
    wallet_reference: "reference",
    currency: "NGN",
    type: "bank",
    customer: {
        gender: "M",
        first_name: "John",
        last_name: "Doe",
        middle_name: "John",
        email: "johndoe@gmail.com",
        mobile_no: "2348023431321"
    }
});

Readme

Keywords

none

Package Sidebar

Install

npm i @blusalt/blusalt-payment-client

Weekly Downloads

14

Version

0.0.15

License

ISC

Unpacked Size

10.5 kB

Total Files

12

Last publish

Collaborators

  • blusalt-fs
  • faladinojames