AI coding skills
Lina publishes ready-to-use Agent Skills for the Web SDK — structured instruction files (compatible with Claude Code and similar AI coding assistants) that teach the assistant the SDK's exact method signatures, payload shapes, namespaces, and common pitfalls, so it generates correct integrations on the first try instead of guessing from the README.
Available skills
| Skill | Use when | Folder |
|---|---|---|
web-lina-pay-sdk | General-purpose reference for the entire Web SDK — any framework, any flow. Install this one by default whenever you're integrating @lina-openx/web-lina-pay-sdk. | web-lina-pay-sdk |
nextjs-consent | Building a Next.js + ShadCN-UI checkout on the classic Open Finance consent flow (createConsent). | nextjs-consent |
nextjs-white-label | Building a Next.js + ShadCN-UI checkout on Lina's white-label payment-request flow (createPaymentRequest / getPaymentRequest), plus automatic/recurring payments, receiving accounts, and bank identifiers. | nextjs-white-label |
Which Next.js skill do I need?
nextjs-consent and nextjs-white-label cover two different payment
flows on the same SDK — pick the one that matches your integration, not
both:
nextjs-consent | nextjs-white-label | |
|---|---|---|
| Core call | createConsent → OAuth redirect → createPayment | createPaymentRequest → Lina's hosted portal → getPaymentRequest |
| Recurring / automatic payments | — | automaticPayments.createAutomaticPaymentRequest / .getAutomaticPaymentRequest |
| Receiving accounts (CRUD) | — | createReceivingAccount, listReceivingAccounts, getReceivingAccount, updateReceivingAccount, deleteReceivingAccount |
| Bank identifiers (ISPB) | — | getBankIdentifiers, getBankIdentifier |
| Server-held Bearer token | — | TokenCredentials ({ access_token }) |
See Payments, Automatic & recurring payments, and Receiving accounts for the plain SDK reference these two skills wrap.
Install in your project
Skills are plain folders of Markdown — copy the ones you need into your
project's .claude/skills/ (or your assistant's equivalent skills
directory):
git clone --depth 1 https://github.com/Lina-Infratech/lina-pay-skills.git /tmp/lina-pay-skills
mkdir -p .claude/skills
cp -r /tmp/lina-pay-skills/web-lina-pay-sdk .claude/skills/
# Pick ONE, matching the payment flow your app uses:
cp -r /tmp/lina-pay-skills/nextjs-consent .claude/skills/
# or
cp -r /tmp/lina-pay-skills/nextjs-white-label .claude/skills/Next steps
- Web SDK overview — install the package and configure the environment.
- Payments — the plain SDK reference behind both flows.