Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@paystack/node

Package Overview
Dependencies
Maintainers
7
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paystack/node

Paystack API wrapper for Node

  • 1.0.0-beta.3
  • unpublished
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
7
Weekly downloads
 
Created
Source

Paystack Node.js Library

A Node client library for consuming the Paystack API

Prerequisite

Your need to create a Paystack account, if you don't have one already, to get your test and live secret keys.

Installation

npm install @paystack/node --save

Usage

Import and initialize the library:

import Paystack from '@paystack/node'
const paystack = new Paystack("sk_test_xxxxxx")

Initiate a request and parse response:

paystack.customer.fetch({code: "CUS_o9rf5kuwei3lt4vl"})
                  .then(customer => console.log(customer))
                  .catch(error => console.log(error))

Issues

Kindly open an issue if you discover any bug or have problems using this library.

License

This repository is made available under the MIT license. Kindly read the LICENSE file for more information.

Keywords

FAQs

Package last updated on 16 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc