New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

paystack-sdk

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

paystack-sdk

Paystack SDK written in Typescript

latest
Source
npmnpm
Version
3.7.0
Version published
Weekly downloads
2.1K
17.03%
Maintainers
1
Weekly downloads
 
Created
Source

Paystack SDK

Why Another Paystack Package?

Existing Paystack libraries are either outdated, lack modern features, or fail to support TypeScript. This package addresses these gaps by providing:

  • Full TypeScript support for type safety and better developer experience.
  • A modern, actively maintained library aligned with Paystack’s latest API updates.
  • Clean, intuitive APIs designed for ease of use.

Deprecation Notice

Named import will be removed in version 4.0.0. Migrate to default import. Change

import { Paystack } from 'paystack-sdk';
const Paystack = require('paystack-sdk').Paystack;

To

import Paystack from 'paystack-sdk';
const Paystack = require('paystack-sdk');

Installation

For Yarn yarn add paystack-sdk

For NPM npm install paystack-sdk

Usage

For Typescript

import Paystack from 'paystack-sdk';

const paystack = new Paystack('secret_key');

For Javscript

const Paystack = require('paystack-sdk');

const paystack = new Paystack('secret_key');

All methods use promise meaning you can either use the async...await or then...catch or try...catch

Modules

  • Charge
  • Customers
  • Plans
  • Products
  • Subscriptions
  • Transactions
  • Transfers
  • Dedicated Virtual Accounts
  • Apple Pay
  • Subaccounts
  • Transaction Splits
  • Settlements
  • Invoices
  • Transfer Recipients
  • Transfers Control
  • Bulk Charges
  • Refunds
  • Verification
  • Miscellaneous
  • Disputes
  • Control Panel
  • Terminal
  • Virtual Terminal
  • Direct Debit
  • Payment Pages
  • Payment Requests
  • Integration

CONTRIBUTING

If you notice a missing function, or maybe a bug. Please feel free to submit a PR. I will take a look at it. You will need to fork the repo and create a PR against it with your changes.
Thank you :smile:

Keywords

Paystack

FAQs

Package last updated on 27 Mar 2026

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