
Product
A New Overview in our Dashboard
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
@paystack/node
Advanced tools
A Node client library for consuming the Paystack API
Your need to create a Paystack account, if you don't have one already, to get your test and live secret keys.
npm install @paystack/node --save
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))
Kindly open an issue if you discover any bug or have problems using this library.
This repository is made available under the MIT license. Kindly read the LICENSE file for more information.
FAQs
Paystack API wrapper for Node
The npm package @paystack/node receives a total of 0 weekly downloads. As such, @paystack/node popularity was classified as not popular.
We found that @paystack/node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
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.
Product
We redesigned Socket's first logged-in page to display rich and insightful visualizations about your repositories protected against supply chain threats.
Product
Automatically fix and test dependency updates with socket fix—a new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.