onepaylisted
Install: claude install-skill psnwd/getewise
# OnePay
OnePay (onepay.lk) is a Sri Lankan payment gateway (cards, Frimi, QPlus, HelaPay, Google Pay; 10 currencies, settled in LKR). API v3 at `https://api.onepay.lk`. This skill packs the public docs (docs.onepay.lk, read Oct 2026 and re-checked Nov 2026) into focused references. The docs are thin in places; `references/troubleshooting.md` lists the gaps and contradictions. Flag them, don't paper over them.
## How to use this skill
1. Pick the task from the routing table.
2. Read only the matching reference file(s).
3. For code, start from `references/code-examples.md` and adapt to the user's stack.
4. Use `scripts/onepay_sign.py` to compute or check a request hash.
5. Say that fees, limits and policies come from OnePay's docs as of late 2026, and send contractual questions to the user's OnePay Relationship Officer / support (Discord, onepay.lk/contact-us).
## Routing table
| User needs | Read |
|---|---|
| Redirect checkout, hash, create transaction, status check, callback | `references/payment-api.md` |
| Popup/overlay checkout (`onePayData`), npm SDK | `references/js-sdk.md` |
| Subscriptions / recurring API (`/v3/subscription/`, trials, manual retry) | `references/subscriptions.md` |
| Payment Links, Items | `references/links-items.md` |
| Card on File / tokenized auto-charging | `references/card-on-file.md` |
| Refunds, payouts, settlement, fees | `references/refund-payouts.md` |
| Test cards, sandbox vs live, currencies, payment methods | `references/sandbox-curre