API Keys & Webhooks
Live ModeLive
API Integration Keys
Use these keys to integrate Genzebpay into your Next.js, Flutter, Laravel, or WordPress application.
Live Mode Credentials
Webhook Notification URL
We will send POST notifications to your webhook URL whenever a telebirr, CBE Birr, or card payment is finalized.
Integration Example (Next.js / Node.js)
// Initiate payment with Genzebpay API
const response = await fetch("https://api.genzebpay.co/transactions.php", {
method: "POST",
headers: {
"Authorization": "Bearer GENZEBPAY_LIVE_SEC_4481903ba8821a",
"Content-Type": "application/json"
},
body: JSON.stringify({
amount: "499.00",
currency: "ETB",
email: "customer@gmail.com",
first_name: "Rediet",
last_name: "Endrias",
phone_number: "251916674933",
tx_ref: "tx_ord_9901",
callback_url: "https://yourdomain.com/payment/callback",
return_url: "https://yourdomain.com/receipt"
})
});
const data = await response.json();
console.log("Checkout URL:", data.checkout_url);