All docs
Payments
Updated 2026-04-28
4 min read
MintPay setup
Register on mintpay.lk, generate your API token, and wire MintPay into checkout.
MintPay lets your customers pay in 3 interest-free installments. You get the full amount up front; MintPay collects from the customer over time. Setup is short — about 10 minutes.
What you'll need
- An approved MintPay merchant account.
- Your business documents (for the application).
Step 1 — Apply with MintPay
- Visit mintpay.lk and apply for a merchant account.
- Submit your business details. Approval typically takes 3-7 working days.
Step 2 — Get your credentials
- Sign in to your MintPay merchant portal.
- Open Settings → API Access.
- Copy your Merchant ID.
- Click Generate API Token and copy the token. This is your secret — handle it like a password.
Step 3 — Return / callback URL
MintPay sends customers back to your store after they finish paying. Tell MintPay where to send them.
Return URL
https://gannako.com/api/webhooks/mintpay- In your MintPay portal, find the field labelled Return URL or Callback URL.
- Paste the URL above and save.
Step 4 — Paste credentials into Gannako
- Open Settings → Payments → MintPay in your Gannako admin.
- Click the API Credentials tab.
- Paste your Merchant ID and API Token.
- Click Save.
- Enable MintPay on the main payments page.
Step 5 — Choose installment plans
- Go to the Installments tab.
- Tick the months MintPay supports for your account. Standard is 3 — leave only 3 ticked unless MintPay confirmed longer terms for you.
- Pick a default term.
Step 6 — Test and go live
- Leave Test Mode on. Sandbox URL is
dev.mintpay.lk. Place a test order using MintPay's sandbox account. - Confirm the order shows as Paid.
- Switch Test Mode off. Production URL is
app.mintpay.lk. Run a real order to confirm.