Skip to main content

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.

How a payment works​

  1. Your server creates a payment. It calls POST /api/v1/checkout/payments with your API key and gets back a checkoutUrl.
  2. You redirect the customer to the checkoutUrl.
  3. The customer pays on the BillPay checkout page. The link is valid for 30 minutes, and the customer gets up to 3 tries.
  4. BillPay sends a webhook to your server, either PaymentCaptured or PaymentFailed. Your server updates the order.
  5. The customer returns to your returnUrl. Your page shows the order status from your own database.
  6. If a webhook doesn't arrive, your server checks the payment by its ID or your order reference.
The redirect is not proof of payment

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​

EnvironmentBase URL
Sandboxhttps://sandbox.api.billpay.et
Productionhttps://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.