Skip to main content

Use the NextAPI Skill with Your AI Coding Assistant

The nextapi skill gives your AI coding assistant structured context about NextPay Partners API v2 — authentication, endpoint selection, money in, money out, webhooks, and sandbox testing — so it generates correct integration code without guessing at endpoints or auth patterns.

Install

npx skills add https://github.com/nextpay-ai/skills --skill nextapi

That's the full install. No project configuration needed.

What it covers

The skill activates when you ask your AI to help with any of these:

  • Authentication — Basic Auth setup, credential handling
  • Merchants and accounts — onboarding, balance checks, account transfers
  • Money In — funding methods (static QR) and payment intents (one-time QR)
  • Money Out — payout requests, payout routing, batch disbursement
  • Webhooks — event delivery, webhook event semantics and timing
  • Sandbox — simulating payments and testing webhook paths without live traffic

When exact request shapes or enum values matter, the skill routes the AI to the live OpenAPI spec at https://api.partners.nextpay.world/v2/openapi, so generated code stays current as the API evolves.

Add the QRPh skill too

If your work is focused on QRPH collection flows, install both together:

npx skills add https://github.com/nextpay-ai/skills --skill nextapi --skill qrph

The qrph skill handles the QRPH-specific decision tree (dynamic vs. static QR, webhook timing) and defers to nextapi for anything outside collection.