Integrations

Official libraries

One file with no dependencies. Token renewal, safe retries and webhook checks are built in.

Node.js
Node.js 18+ · 1.0.0
Download
Python
Python 3.8+ · 1.0.0
Download
PHP
PHP 7.4+ · 1.0.0
Download
Plugins & connectors

Drop PesaBridge into your store: download a plugin or follow the steps. It uses your publishable key and the hosted payment page. E-commerce plugin

On the live platform a test order is a real payment: use your live publishable key, make one small order, then refund it. A test publishable key works on the test platform only.

Mode: Test
Test keys: see Test mode and sandbox for what each call does. Account approved for live: yes
Test
C2B — Customer to Business

Register where we call your system when a customer pays your shortcode. Validation is called first (accept/reject); Confirmation when it completes.

Shortcode —
Simulate a C2B payment (test keys)

Register a confirmation URL first.

Webhooks

Your default callback URL, endpoints and their signing secrets are on Webhooks. Verify every event's signature.

More products

Payouts, reversals, Dynamic QR, invoices and online payments are in the API docs.

All integration calls are scoped to your app and run in your selected mode.