Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add tamnguyendinh/Anvien --skill payment-integrationgit clone --depth 1 https://github.com/tamnguyendinh/AnvienWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/tamnguyendinh/anvien/payment-integration)<a href="https://agentmods.dev/skills/tamnguyendinh/anvien/payment-integration"><img src="https://agentmods.dev/badge/skills/tamnguyendinh/anvien/payment-integration/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/tamnguyendinh/anvien/payment-integration"><img src="https://agentmods.dev/badge/skills/tamnguyendinh/anvien/payment-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00036 | $0.01463 |
| Opus 5 | $0.00018 | $0.00732 |
| Sonnet 5 | $0.00007 | $0.00293 |
| Haiku 4.5 | $0.00004 | $0.00146 |
Grade A, and why
payment-integration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Payment Integration
Repo-agnostic payment integration guidance for target apps using SePay, Polar, Stripe, Paddle, Creem.io, or multiple providers.
Do not assume this skill is for integrating payments into the current repository. Apply provider and template guidance to the target app's domain model.
When to Use
- Payment gateway integration (checkout, processing)
- Subscription management (trials, upgrades, billing)
- Webhook handling (notifications, idempotency)
- QR code payments (VietQR, NAPAS)
- Software licensing (device activation)
- Multi-provider order management
- Revenue splits and commissions
Platform Selection
| Platform | Best For |
|---|---|
| SePay | Vietnamese market, VND, bank transfers, VietQR |
| Polar | Global SaaS, subscriptions, automated benefits (GitHub/Discord) |
| Stripe | Enterprise payments, Connect platforms, custom checkout |
| Paddle | MoR subscriptions, global tax compliance, churn prevention |
| Creem.io | MoR + licensing, revenue splits, no-code checkout |
Quick Reference
SePay
references/sepay/overview.md- Surface selection, environments, safety rulesreferences/sepay/api.md- API v2, transactions, reconciliation, Order VAsreferences/sepay/webhooks.md- Bank-account webhook setup, HMAC, replay safetyreferences/sepay/payment-gateway.md- Hosted checkout, gateway API, IPNreferences/sepay/sdk.md- Official Payment Gateway Node.js/PHP SDKsreferences/sepay/qr-codes.md- VietQR generation and bank-specific rulesreferences/sepay/best-practices.md- Repo-agnostic production patterns
Polar
references/polar/overview.md- Auth, MoR conceptreferences/polar/products.md- Product model, pricing, currencies, taxreferences/polar/checkouts.md- Checkout sessions, links, embedded checkoutreferences/polar/subscriptions.md- Lifecycle managementreferences/polar/webhooks.md- Event handlingreferences/polar/benefits.md- Automated deliveryreferences/polar/usage-based-billing.md- Events, meters, creditsreferences/polar/customer-portal.md- Customer sessions and self-servicereferences/polar/customer-state.md- Entitlement state and access syncreferences/polar/orders-refunds-discounts.md- Orders, refunds, discountsreferences/polar/sdk.md- Multi-language SDKsreferences/polar/best-practices.md- Production patterns
What ships with it
54 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- README.md 5.3 KB
- references/creem/api.md 3.0 KB
- references/creem/checkouts.md 2.5 KB
- references/creem/licensing.md 3.1 KB
- references/creem/overview.md 2.0 KB
- references/creem/sdk.md 3.0 KB
- references/creem/subscriptions.md 2.8 KB
- references/creem/webhooks.md 2.9 KB
- references/implementation-workflows.md 5.9 KB
- references/multi-provider-order-management-patterns.md 8.7 KB
- references/multi-provider/templates/admin-support-app-variants-template.md 5.5 KB
- references/multi-provider/templates/checkout-factory-template.md 7.0 KB
- references/multi-provider/templates/fulfillment-entitlements-template.md 5.5 KB
- references/multi-provider/templates/local-data-model-template.md 8.4 KB
- references/multi-provider/templates/refunds-disputes-campaigns-template.md 5.6 KB
- references/multi-provider/templates/revenue-commissions-reconciliation-template.md 7.1 KB
- references/multi-provider/templates/webhook-processing-template.md 5.3 KB
- references/paddle/api.md 1.8 KB
- references/paddle/best-practices.md 3.1 KB
- references/paddle/overview.md 1.5 KB
- references/paddle/paddle-js.md 2.1 KB
- references/paddle/sdk.md 2.6 KB
- references/paddle/subscriptions.md 2.2 KB
- references/paddle/webhooks.md 2.6 KB
- references/polar/benefits.md 5.4 KB
- references/polar/best-practices.md 9.0 KB
- references/polar/checkouts.md 9.9 KB
- references/polar/customer-portal.md 5.8 KB
- references/polar/customer-state.md 3.4 KB
- references/polar/orders-refunds-discounts.md 4.8 KB
- references/polar/overview.md 7.9 KB
- references/polar/products.md 5.8 KB
- references/polar/sdk.md 8.7 KB
- references/polar/subscriptions.md 5.4 KB
- references/polar/usage-based-billing.md 5.7 KB
- references/polar/webhooks.md 7.0 KB
- references/sepay/api.md 5.5 KB
- references/sepay/best-practices.md 7.2 KB
- references/sepay/overview.md 6.1 KB
- references/sepay/payment-gateway.md 4.8 KB
- references/sepay/qr-codes.md 4.4 KB
- references/sepay/sdk.md 4.7 KB
- references/sepay/webhooks.md 7.1 KB
- references/stripe/stripe-best-practices.md 5.3 KB
- references/stripe/stripe-cli.md 3.0 KB
- references/stripe/stripe-js.md 2.3 KB
- references/stripe/stripe-sdks.md 2.2 KB
- references/stripe/stripe-upgrade.md 5.4 KB
- scripts/.env.example 619 B
- scripts/checkout-helper.js 7.2 KB runs code
- scripts/package.json 324 B
- scripts/polar-webhook-verify.js 5.5 KB runs code
- scripts/sepay-webhook-verify.js 5.4 KB runs code
- scripts/test-scripts.js 7.5 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 120 lines · 36 tokens per session scan A 295b78f35d7b
payment-integration is a skill published in the GitHub repository tamnguyendinh/Anvien (9 stars, last pushed yesterday), licensed MIT. It adds 36 tokens to every session and 1,463 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
ai-slop
Operational rubric that turns "don't make AI slop" into observable properties, severity levels, evidence requirements, and repair actions for interface design. Use as the reference rubric when building or reviewing marketing sites, product interfaces, dashboards, portfolios, or e-commerce pages, especially alongside…
saas-billing
Implement and audit SaaS billing systems, subscription state machines, secure webhooks, and local database synchronization / Implementasi dan audit sistem billing SaaS, state machine langganan, webhook aman, dan sinkronisasi database lokal.
payment-gateway-expert
Expert guide for integrating payment gateways (Stripe, PayPal, Xendit, Midtrans, DOKU) and secure webhooks into SaaS platforms / Panduan ahli integrasi payment gateway dan webhook aman.
doku-mcp-server
Expert guide for DOKU Model Context Protocol (MCP) Server integration. Enables AI Agentic Commerce with tools for payment links, Virtual Accounts, QRIS, transaction status checks, and client configuration (Claude Desktop, Cursor, AGY) / Panduan ahli DOKU MCP Server untuk AI Agentic Commerce.
frappe-payments
Frappe Payments and ERPNext payment workflow guidance for payment gateways, payment requests, subscriptions, invoices, reconciliation, webhooks, and secure checkout flows. Use when work touches payments in Frappe or ERPNext.
payment-integration
Implement payment integrations with SePay (Vietnamese payment gateway with VietQR, bank transfers, cards) and Polar (global SaaS monetization platform with subscriptions, usage-based billing, automated benefits). Use when integrating payment processing, implementing checkout flows, managing subscriptions, handling…