SDKs & Libraries

Official SDKs for every stack

Stop writing boilerplate. Drop in our SDK and start accepting payments in minutes. Available for Node.js, PHP, Python, Laravel, Go, and React.

Available SDKs

Pick your language and start building

All SDKs are open source, actively maintained, and include full TypeScript types where applicable.

JS

Node.js

JavaScript / TypeScript

Full-featured SDK for Node.js with TypeScript support, automatic retries, and webhook verification built in.

npm install bitwisi-pay
View on GitHub
PHP

PHP

PHP 8.0+

PSR-compatible PHP library with Guzzle HTTP client, full API coverage, and built-in signature verification.

composer require bitwisi/pay
View on GitHub
Py

Python

Python 3.8+

Async-compatible Python SDK with dataclasses, type hints, and support for Django and FastAPI integrations.

pip install bitwisipay
View on GitHub
L

Laravel

Laravel 10+

A first-class Laravel package with service providers, facades, artisan commands, and event broadcasting support.

composer require bitwisi/laravel-pay
View on GitHub
Go

Go

Go 1.21+

Idiomatic Go module with context support, structured errors, and zero external dependencies beyond the standard library.

go get github.com/bitwisi/pay-go
View on GitHub

React / Next.js

React 18+, Next.js 14+

Drop-in React components and hooks for payment forms, status polling, and checkout flows — fully customizable.

npm install @bitwisi/react
View on GitHub
Code Example

Integrate payments in 10 lines

Node.js SDK — Accept Payment
const BitwisiPay = require('bitwisi-pay');
const pay = new BitwisiPay({ apiKey: 'sk_live_xxxxxxxx' });

// Initiate a Mobile Money payment
const payment = await pay.payments.initiate({
  amount:       25000,
  currency:     'XOF',
  method:       'orange_money',
  customerPhone:'+23707XXXXXXXX',
  reference:    'ORDER_2026_001',
  callbackUrl:  'https://yourapp.com/webhook',
});

console.log(payment.status);      // "pending"
console.log(payment.checkoutUrl); // redirect customer here

All SDKs include

Full API coverage — payments, payouts, webhooks, customers
TypeScript type definitions (where applicable)
Automatic retries with exponential backoff
Webhook signature verification helpers
Sandbox mode with test credentials
Changelog and semantic versioning

Ready to integrate?

Pick your SDK, grab your API keys, and start accepting payments in minutes.