Developer Resources

Build with WeBirr

Integrate digital payments into your applications with our simple, secure, and scalable solutions

Integration Made Simple

Just a few lines of code to start accepting payments. Our lightweight checkout process handles everything else.

Minimal Integration

Our checkout process is incredibly light. Generate a payment code and let the banks handle the rest.

Multiple SDKs

Choose from our growing list of SDKs including JavaScript, PHP, Dart, Ruby, Swift, Java and .NET

Bank-Side Settlement

All payment processing and settlement happens on the banking apps, reducing complexity on your end.

example.js
// 1. Initialize WeBirrClient
npm install webirr
const api = new WeBirrClient(yourApiKey);
// 2. Post bill & generate payment code
const response = await api.createBill({
amount: '842.50',
customerName: 'Mohammed Ali',
description: 'hotel booking',
billReference: '2021/131/001'
});
// 3. Share the payment code and let customers pay using any bank app
if (!response.error) {
paymentCode = response.res;
console.log(paymentCode);
}
// 4. Check payment status in a loop (alternatively use webhooks or bulk polling)
while (true) {
const r = await api.getPaymentStatus(paymentCode);
if (r.error) {
console.log(r.error);
break;
}
if (r.res.status === 2) {
console.log("Bill Paid!");
console.log(r.res.data.bankID);
console.log(r.res.data.paymentReference);
break;
}
await sleep(1000);
}

Developer Resources

API Documentation

Comprehensive API documentation with examples and best practices.

GitHub Repositories

Access our open-source SDKs and example implementations.

Developer Community

Join our Telegram community for support and updates.

Ready to get started?