@koficypher/spektra
[![Build Status](https://travis-ci.org/koficypher/spektra.svg?branch=master)](https://travis-ci.org/koficypher/spektra)
Last updated 7 months ago by koficypher .
MIT · Bugs · Original npm · Tarball · package.json
$ cnpm install @koficypher/spektra 
SYNC missed versions from official npm registry.

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();

Current Tags

  • 1.0.0                                ...           latest (7 months ago)

1 Versions

  • 1.0.0                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (4)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |