Integrate digital payments into your applications with our simple, secure, and scalable solutions
Just a few lines of code to start accepting payments. Our lightweight checkout process handles everything else.
Our checkout process is incredibly light. Generate a payment code and let the banks handle the rest.
Choose from our growing list of SDKs including JavaScript, PHP, Dart, Ruby, Swift, Java and .NET
All payment processing and settlement happens on the banking apps, reducing complexity on your end.
// 1. Initialize WeBirrClientnpm install webirrconst api = new WeBirrClient(yourApiKey);// 2. Post bill & generate payment codeconst 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);}