A Claude skill that helps Mongolian developers integrate QPay — Mongolia's QR payment system — into their project end-to-end.
Tell Claude something like:
- "I want to add QPay to my Next.js app"
- "Хэрхэн QPay-г миний апп-д холбох вэ?"
- "How do I accept payments from Mongolian customers?"
…and Claude walks through:
- Detects your stack — reads
package.json/composer.json/requirements.txtand picks the right framework patterns - Sets up
.env— appends QPay variables without overwriting what's already there; updates.env.exampleand.gitignore - Asks for credentials —
username,password,invoice_code,callback_url. If you don't have them yet, walks you through QPay merchant onboarding - Generates working code — auth client with token caching, invoice creation endpoint, webhook handler, status polling endpoint
- Sets up local testing — ngrok command, end-to-end test flow, what to look for in the response
- Goes live — production checklist before you flip the switch
End state: QPay actually charging payments in your project. Not a plan, not a snippet — a working integration.
Supported stacks: Next.js (App Router & Pages), Node/Express/Fastify/NestJS, Python (FastAPI/Django/Flask), PHP/Laravel. Other stacks (Go, Rust, Ruby, .NET) fall back to the raw API reference.
Three ways, depending on which Claude product you use.
In a Claude Code session:
/plugin marketplace add dokind/qpay-skills
/plugin install qpay-integration@qpay-skillsAfter install, run /reload-plugins. The skill activates automatically when you mention QPay.
- Download
qpay-integration.skill(or grab it from Releases) - In Claude.ai: Settings → Capabilities → enable Code execution and file creation
- Settings → Customize → Skills → click Upload skill → select the
.skillfile - The skill is now available — Claude uses it whenever you mention QPay
Available on Pro, Max, Team, and Enterprise plans.
git clone https://github.com/dokind/qpay-skills.git
cp -r qpay-skills/qpay-integration ~/.claude/skills/For Claude Code project-scoped install (skill applies only to one repo):
cp -r qpay-skills/qpay-integration <your-project>/.claude/skills/- A locked-down QPay v2 API reference so Claude doesn't hallucinate endpoints
- Stack-specific reference files for Next.js, Express, FastAPI/Django, Laravel
- A bilingual MN/EN credentials guide for QPay merchant onboarding
- A troubleshooting reference covering every common failure mode
- A
webhook-testing.mdwalkthrough for ngrok-based local testing
Before the integration can run, you need a QPay merchant account:
- A registered Mongolian business (
ААН) or individual merchant registration - A bank account at a QPay-supporting bank (Khan, Golomt, State, Xac, TDB, Capitron, etc.)
- A signed merchant contract with QPay
- API credentials (
username,password,invoice_code) emailed to you after onboarding
Onboarding typically takes 3–10 business days. The skill includes a step-by-step bilingual guide — see qpay-integration/assets/credentials-guide.md.
Issues and PRs welcome. If you've shipped a real QPay integration with this skill, open an issue describing what worked and what didn't — feedback drives iteration.
MIT — see LICENSE.
This skill bundles instructions and code patterns. It does not bundle QPay's IP, API keys, or anything proprietary. The QPay name and logo are property of QPay LLC. This project is unaffiliated with and not endorsed by QPay.
Built and maintained by Solo Spark Ventures · @realNamsrai