ePay Developers
Accept payments in Sri Lanka with one API.
Create a payment on your server, redirect to ePay's hosted checkout, and get a signed webhook when it settles. Cards with 3-D Secure and LankaQR, in LKR.
Card details are entered only on the acquirer's page — your integration stays out of PCI card-data scope.
curl https://beta.sandbox-api.epay.lk/v1/payments \
-H "Authorization: Bearer sk_test_..." \
-H "Idempotency-Key: order-1042" \
-H "Content-Type: application/json" \
-d '{
"amount": 125000,
"currency": "LKR",
"order_id": "1042",
"description": "Order #1042",
"return_url": "https://shop.example.lk/checkout/return"
}'
# → { "id": "pay_…", "status": "requires_payment",
# "checkout_url": "https://beta.sandbox-pay.epay.lk/c/cs_…", … }Sandbox
https://beta.sandbox-api.epay.lk
Keys start with sk_test_. Self-serve signup, no real money.
Production
https://beta.api.epay.lk
Keys start with sk_live_. Available once your business is verified.