2.5.19 • Published 6 months ago

paystack-sdk v2.5.19

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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.

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').Paystack;
const paystack = new Paystack('secret_key');

OR

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
  • Transaction Recipients
  • Transfers Control
  • Bulk Charges
  • Control Panel
  • Disputes
  • Refunds
  • Verification
  • Miscellaneous

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:

2.5.19

6 months ago

2.5.16

12 months ago

2.5.17

11 months ago

2.5.13

1 year ago

2.5.12

1 year ago

2.5.11

1 year ago

2.5.10

1 year ago

2.5.4

3 years ago

2.5.6

3 years ago

2.5.5

3 years ago

2.5.7

3 years ago

2.2.0

3 years ago

2.4.1

3 years ago

2.3.1

3 years ago

2.5.2

3 years ago

2.5.3

3 years ago

2.1.0

3 years ago

1.2.0

3 years ago

1.1.21

3 years ago

1.1.20

3 years ago

1.0.20

3 years ago

1.0.19

3 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago