Catalogue Paystack & Flutterwave Payment Kit

Paystack & Flutterwave Payment Kit

One interface for both providers, with money handled exactly. TypeScript, no dependencies.

Paystack takes amounts in kobo. Flutterwave takes them in naira. Sending the wrong one is a silent hundred-fold error, and it is the most common bug in Nigerian payment integrations. This kit makes it structurally impossible: every amount is an integer count of minor units, and each provider converts at its own boundary.

It also handles the parts that only break in production — one reference per payment attempt rather than per order, webhook signatures verified against the raw body, and a check that refuses to fulfil an order when the amount, currency, reference or status disagrees with your own records.

Zero runtime dependencies. It runs on the cheapest VPS you can rent.

What you get

  • Full TypeScript source, commented throughout
  • Paystack and Flutterwave providers — initialise, verify, refund, webhooks
  • 52 tests covering the traps, including the CFA franc zero-decimal case
  • A runnable Express example and a five-minute quickstart

Before you buy

This is a digital download of about 48 KB. You will need to be comfortable running commands in a terminal and editing code. Your licence covers unlimited projects, commercial ones included, and modification — but not reselling the source itself. The full licence is in the download.

Something not working as described? Email us with your order reference and we will fix it or refund you.

Also available