@koficypher/spektra

1.0.0 • Public • Published

Spektra Pay

Build Status

Spektra Pay is the unofficial Javascript SDK for Spektra payment platform. It takes a Promise based or Async Await approach. Its been made to be very simple and easy to use.

Installation

  • First head over to https://spektra.co to create an account. Submit all relevant documents to be able to go live.
  • Head over to your dashboard and to the developers page. Generate new public and secret keys and or copy the existing ones over to your project.
  • Install the SDK by typing npm install @koficypher/spektra
  • In your project create a .env file and place it in your project's base path. We have a sample .env.example in this repo for you to take a look at.
  • In your .env file update the PUBLIC_KEY AND SECRET_KEY accordingly
  • You are now ready to recieve payments.

Usage

Using this SDK is very simple. To get started you have to require and instantiate it like so:

 const Spektra = require('@koficypher/spektra')

 const Pay = new Spektra();

Package Sidebar

Install

npm i @koficypher/spektra

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

11.1 kB

Total Files

13

Last publish

Collaborators

  • koficypher