1.0.2 โ€ข Published 7 months ago

blochq-node v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

Bloc Node.js Library

The first Bloc API wrapper ๐Ÿš€๐Ÿš€๐Ÿš€ The Bloc-Node library provides convenient access to the Bloc API.

Installation

For Yarn

yarn add blochq-node

For NPM

npm install blochq-node --save

Usage

// import the module
const { Bloc } = require("blochq-node");

// set the secret key
const blocClient = new Bloc({
    secretKey: "sk_test_xxxxxx",
});

 blocClient.account.getAccounts((err, results) => {
    // Handle errors
    if (err) {
        console.log(err);
    }
    if (results){
        console.log(results);
    };
});

Resources

  • Account
  • Wallets
  • Bills Payment
  • Disputes
  • Cards
  • Checkout
  • Customers
  • Miscellaneous
  • Simulation
  • Transactions
  • Transfers
  • Payment Links
  • Beneficiaries

Contributing

  • Please do ๐Ÿงก

TODO

  • Continuously improve the testing scenarios
  • Work on Webhook endpoints
  • Rework the Readme documentation
1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago