payment-integration

payment-integration is a skill for Claude Code, Codex from tamnguyendinh/Anvien. It costs 36 tokens per session (1,463 once invoked), scanned A, original, MIT.

A guide for adding payment providers to an application, including checkout, subscriptions, webhooks, refunds, entitlements, and multi-provider orders.

In plain words
What is it for?
Use it with SePay, Polar, Stripe, Paddle, or Creem.io for payments, recurring billing, webhook handling, QR payments, licensing, and revenue splits.
Why use it?
It helps choose and connect payment services while accounting for billing events and provider-specific workflows.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it with SePay, Polar, Stripe, Paddle, or Creem.io for payments, recurring billing, webhook handling, QR payments, licensing, and revenue splits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tamnguyendinh/anvien/payment-integration
Install

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.

Any agent
npx skills add tamnguyendinh/Anvien --skill payment-integration
Clone the repo
git clone --depth 1 https://github.com/tamnguyendinh/Anvien

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for payment-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/tamnguyendinh/anvien/payment-integration/github.svg)](https://agentmods.dev/skills/tamnguyendinh/anvien/payment-integration)
Your own site
<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.

agentmods 80×15 button for payment-integration

Your own site · 80×15
<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>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,463 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 9d ago against content hash 295b78f35d7b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/checkout-helper.js, scripts/polar-webhook-verify.js, scripts/sepay-webhook-verify.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

internal/aicontext/skills/payment-integration/SKILL.md · 120 lines

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 rules
  • references/sepay/api.md - API v2, transactions, reconciliation, Order VAs
  • references/sepay/webhooks.md - Bank-account webhook setup, HMAC, replay safety
  • references/sepay/payment-gateway.md - Hosted checkout, gateway API, IPN
  • references/sepay/sdk.md - Official Payment Gateway Node.js/PHP SDKs
  • references/sepay/qr-codes.md - VietQR generation and bank-specific rules
  • references/sepay/best-practices.md - Repo-agnostic production patterns

Polar

  • references/polar/overview.md - Auth, MoR concept
  • references/polar/products.md - Product model, pricing, currencies, tax
  • references/polar/checkouts.md - Checkout sessions, links, embedded checkout
  • references/polar/subscriptions.md - Lifecycle management
  • references/polar/webhooks.md - Event handling
  • references/polar/benefits.md - Automated delivery
  • references/polar/usage-based-billing.md - Events, meters, credits
  • references/polar/customer-portal.md - Customer sessions and self-service
  • references/polar/customer-state.md - Entitlement state and access sync
  • references/polar/orders-refunds-discounts.md - Orders, refunds, discounts
  • references/polar/sdk.md - Multi-language SDKs
  • references/polar/best-practices.md - Production patterns

Read the full file on GitHub · 120 lines

Files

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.

Changes

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.

  1. 9d ago First seen · 120 lines · 36 tokens per session scan A 295b78f35d7b

Subscribe to this mod's changes

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.

Related

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…

waybarrios/opencode-power-pack · 61 tokens

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.

roedyrustam/vibes-plug · 51 tokens

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.

roedyrustam/vibes-plug · 49 tokens

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.

roedyrustam/vibes-plug · 70 tokens

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.

Dkm0315/frappe-agent · 49 tokens

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…

ihatesea69/kiro-kit · 120 tokens