Easypay
HOME GATEWAY BOOKINGS NEW DOCS ABOUT CONTACT
SIGN UP
DEVELOPER HUB

Build with EasyPay APIs.

Everything you need to take a payment, from a one-line checkout to full API control. Sandbox keys are free — start before your account is verified.

Get sandbox keys →
Popular: Checkout quick start Webhooks WooCommerce plugin Refunds API Test cards

Start where you are

Quick start

Take your first sandbox payment in under 10 minutes with checkout.js.

START HERE →

API reference

Payments, refunds, customers, payouts and webhooks — every endpoint, request and response.

BROWSE THE API →

Plugins

WooCommerce, Shopify, Magento and OpenCart — install and connect, no code.

GET PLUGINS →
TRY IT NOW

Your first payment, three endpoints

Create a payment, redirect your customer, listen for the webhook. That's the whole integration — everything else is optional.

1POST /v1/payments
2redirect → payment.checkout_url
3webhook: payment.success
cURL Node.js PHP
curl https://api.easypay.lk/v1/payments \
-u sk_test_51H8s…: \
-d amount="12750.00" \
-d currency="LKR" \
-d return_url="https://yourshop.lk/thanks"
const easypay = require('easypay-node')('sk_test_51H8s…');
const payment = await easypay.payments.create({
amount: '12750.00',
currency: 'LKR',
return_url: 'https://yourshop.lk/thanks'
});
$easypay = new \EasyPay\Client('sk_test_51H8s…');
$payment = $easypay->payments->create([
'amount' => '12750.00',
'currency' => 'LKR',
'return_url' => 'https://yourshop.lk/thanks'
]);
201 — payment.checkout_url ready

Guides & resources

GUIDE

Webhooks & events

Verify signatures and handle every payment event reliably.

GUIDE

Refunds & disputes

Full and partial refunds, and what happens on a chargeback.

REFERENCE

Test cards

Card numbers for every scenario — success, decline, 3DS challenge.

GUIDE

Going live checklist

Swap sandbox for live keys and pass the launch review.

All systems operational API uptime 99.99% · last 90 days
status.easypay.lk Developer support →
Easypay
HOME GATEWAY BOOKINGS ABOUT DOCS CONTACT
© 2026 EasyPay Solutions (Private) Limited
Easypay
SIGN UP
HOME GATEWAY BOOKINGS NEW DOCS ABOUT CONTACT
DEVELOPER HUB

Build with EasyPay APIs.

Everything you need to take a payment, from a one-line checkout to full API control. Sandbox keys are free.

Get sandbox keys →
Checkout quick start Webhooks WooCommerce Test cards

Start where you are

Quick start

Take your first sandbox payment in under 10 minutes with checkout.js.

START HERE →

API reference

Payments, refunds, customers, payouts and webhooks — every endpoint documented.

BROWSE THE API →

Plugins

WooCommerce, Shopify, Magento and OpenCart — install and connect, no code.

GET PLUGINS →
TRY IT NOW

Your first payment, three endpoints

Create a payment, redirect your customer, listen for the webhook. That's the whole integration.

cURL Node.js PHP
curl https://api.easypay.lk/v1/payments \
-u sk_test_51H8s…: \
-d amount="12750.00" \
-d currency="LKR" \
-d return_url="https://yourshop.lk/thanks"
const easypay = require('easypay-node')('sk_test…');
const payment = await easypay.payments.create({
amount: '12750.00',
currency: 'LKR',
return_url: 'https://yourshop.lk/thanks'
});
$easypay = new \EasyPay\Client('sk_test…');
$payment = $easypay->payments->create([
'amount' => '12750.00',
'currency' => 'LKR',
'return_url' => '…/thanks'
]);
201 — payment.checkout_url ready

Guides & resources

GUIDE

Webhooks & events

Verify signatures and handle every payment event reliably.

GUIDE

Refunds & disputes

Full and partial refunds, and what happens on a chargeback.

REFERENCE

Test cards

Card numbers for every scenario — success, decline, 3DS challenge.

GUIDE

Going live checklist

Swap sandbox for live keys and pass the launch review.

All systems operational API uptime 99.99% · last 90 days
Developer support →
Easypay
HOME GATEWAY BOOKINGS ABOUT DOCS CONTACT
© 2026 EasyPay Solutions (Private) Limited