Build with the Myropay API
Powerful, reliable, and easy-to-use APIs to integrate seamless payments into your products and services.
A Complete Toolkit for Modern Payments
Everything you need to build a world-class payment experience.
Accept Payments
Integrate cards, bank transfers, USSD, and more with a single API.
Manage Subscriptions
Create and manage recurring billing for your subscription-based services.
Handle Payouts
Send single or bulk payments to bank accounts across Nigeria.
Create Payment Links
Generate unique links to collect payments without a website.
Verify Customers
Programmatically verify customer identity using BVN and other KYC checks.
Manage Refunds
Process full or partial refunds for transactions directly via the API.
Integrate Faster with Our Libraries
Official libraries and community-built SDKs to speed up your development.
API REQUEST
// npm install myropay-node
const myropay = require('myropay-node')('YOUR_SECRET_KEY');
myropay.charges.create({
email: "customer@email.com",
amount: 500000,
});
RESPONSE 200 OK
{
"status": "success",
"message": "Charge created",
"data": { ... }
}
Real-time Notifications with Webhooks
Set up webhooks to receive real-time notifications for events like successful payments, failed transactions, and chargebacks. This allows you to automate your workflows and keep your systems in sync.
app.post('/myropay-webhook', (req, res) => {
const event = req.body;
switch (event.event) {
case 'charge.success':
const session = event.data;
// Fulfill the purchase...
break;
default:
console.log(`Unhandled event type ${event.event}`);
}
res.json({received: true});
});
Built for Your Use Case
E-commerce Checkout
Create a seamless checkout experience for your online store with our customizable payment gateway.
Subscription Billing
Easily manage recurring payments for your SaaS, content, or membership business.
Marketplace Payouts
Automate payouts to vendors and sellers on your marketplace platform.
Social Payments via Link
Generate simple payment links to get paid on social media, messaging apps, or anywhere online.
Secure Escrow Payments
Build trust with your customers by offering secure escrow services for high-value transactions.