BillPay API
Accept payments on your website or app with BillPay's hosted checkout. Your server creates a payment, your customer pays on a BillPay page, and BillPay tells your server the result with a signed webhook.
Take your first test payment in 10 minutes.
Create a payment and send your customer to checkout.
Get the payment result on your server.
Give money back, in full or in part.
Test numbers for every payment outcome.
What to check before taking real money.
How a payment works
- Your server creates a payment. It calls
POST /api/v1/checkout/paymentswith your API key and gets back acheckoutUrl. - You redirect the customer to the
checkoutUrl. - The customer pays on the BillPay checkout page. The link is valid for 30 minutes, and the customer gets up to 3 tries.
- BillPay sends a webhook to your server, either
PaymentCapturedorPaymentFailed. Your server updates the order. - The customer returns to your
returnUrl. Your page shows the order status from your own database. - If a webhook doesn't arrive, your server checks the payment by its ID or your order reference.
Anyone can open your return page. Mark an order as paid only after a
PaymentCaptured webhook or a status check that returns CAPTURED.
Base URLs
| Environment | Base URL |
|---|---|
| Sandbox | https://sandbox.api.billpay.et |
| Production | https://api.billpay.et |
Browse the docs
Need help?
Contact the BillPay team through the support page.
If your question is about a specific request, include the X-Request-Id
header from the response. It lets us find that request in our logs.