payment-integration

payment-integration is an agent for Claude Code from davepoon/buildwithclaude. It costs 43 tokens per session (348 once invoked), scanned A, original, MIT.

An assistant for adding payment services such as Stripe, PayPal, and Square to an application. It covers checkout, recurring subscriptions, payment webhooks, and payment-security practices.

In plain words
What is it for?
Building and testing checkout, billing, subscriptions, refunds, disputes, chargebacks, and server-side handling of payment updates.
Why use it?
It helps prevent common payment problems such as duplicate charges, unsafe handling of card data, missed payment events, and weak failure recovery.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agents-business-finance plugin — 4 agents shipped together

Good fit Building and testing checkout, billing, subscriptions, refunds, disputes, chargebacks, and server-side handling of payment updates.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/davepoon/buildwithclaude/payment-integration
About the project

davepoon/buildwithclaude is a discovery hub and plugin marketplace for Claude Code extensions, including agents, commands, hooks, skills, plugins, MCP servers, and marketplace collections. Developers use it to browse, search, and find installation instructions for tools that extend Claude-related workflows. Catalogue entries include agents, plugins, commands, and skills from this collection.

davepoon/buildwithclaude · 3,687 stars · on GitHub · buildwithclaude.com

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.

Clone the repo
git clone --depth 1 https://github.com/davepoon/buildwithclaude

Made for: Claude Code.

Or install agents-business-finance, the plugin that ships this one along with the rest of its 4 agents.

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/agents/davepoon/buildwithclaude/payment-integration/github.svg)](https://agentmods.dev/agents/davepoon/buildwithclaude/payment-integration)
Your own site
<a href="https://agentmods.dev/agents/davepoon/buildwithclaude/payment-integration"><img src="https://agentmods.dev/badge/agents/davepoon/buildwithclaude/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/agents/davepoon/buildwithclaude/payment-integration"><img src="https://agentmods.dev/badge/agents/davepoon/buildwithclaude/payment-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 348 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.00043 $0.00348
Opus 5.5 $0.00017 $0.00139
Sonnet 5.5 $0.00009 $0.00070
Haiku 4.5 $0.00004 $0.00035

Measured 1mo ago against content hash f24268fb3288, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

plugins/agents-business-finance/agents/payment-integration.md · 37 lines

What it actually says

You are a payment integration specialist focused on secure, reliable payment processing.

When invoked:

  1. Integrate payment processors including Stripe, PayPal, and Square APIs
  2. Design secure checkout flows and payment forms with PCI compliance
  3. Implement subscription billing and recurring payment systems
  4. Build comprehensive webhook handling for payment event processing
  5. Create error handling and retry logic for failed payment scenarios
  6. Establish testing strategies with clear production migration paths

Process:

  • Prioritize security first: never log sensitive card data or payment information
  • Implement idempotency for all payment operations to prevent duplicate charges
  • Handle all edge cases including failed payments, disputes, chargebacks, and refunds
  • Start with test mode and provide clear migration path to production environment
  • Build comprehensive webhook handling for asynchronous payment events
  • Always use official payment processor SDKs for security and reliability
  • Include both server-side and client-side code implementation where appropriate
  • Apply PCI compliance best practices throughout the integration

Provide:

  • Payment integration code with comprehensive error handling and retry logic
  • Secure webhook endpoint implementations with signature verification
  • Database schema design for payment records and transaction history
  • PCI compliance security checklist with implementation guidelines
  • Test payment scenarios covering edge cases and failure modes
  • Environment variable configuration for secure credential management
  • Subscription billing system with prorated charges and plan changes
  • Checkout flow implementation with multiple payment method support
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. 1mo ago First seen · 37 lines · 43 tokens per session scan A f24268fb3288

Subscribe to this mod's changes

payment-integration is an agent published in the GitHub repository davepoon/buildwithclaude (3,687 stars, last pushed 2d ago), licensed MIT. It adds 43 tokens to every session and 348 once invoked, about $0.0002 per session on Opus 5.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-08-30.

Related

Other agents, from other repositories

claude-ecom

Use this agent when analyzing ecommerce order/sales CSV data to produce consultant-style business reviews. Generates KPI decomposition trees, health signals, prioritized findings, and concrete action plans across multiple time horizons (30d/90d/365d). Examples: Context: User has an order-level CSV and wants a full…

ccplugins/awesome-claude-code-plugins · 164 tokens

legal-payment

Compliant payment integration (Stripe, PayPal). Use to implement payments in compliance with PCI-DSS and regulations.

christopherlouet/claude-base · 26 tokens

quant-analyst

Build financial models, backtest trading strategies, and analyze market data. Implements risk metrics, portfolio optimization, and statistical arbitrage. Use PROACTIVELY for quantitative finance, trading algorithms, or risk analysis.

NOMARJ/sigil · 47 tokens

razorpay-one-time-payment

Builds one-time payment flow — order creation API, Razorpay JS SDK checkout integration, server-side payment verification with HMAC. Use when the user needs single purchases, day passes, or credit-based billing.

Venkateshwar-Reddy-Jambula/razorpay-integration-plugin · 49 tokens

amazon-pay-integration-agent

Expert in Amazon Pay API integration, Amazon checkout experiences, recurring payments, sandbox/test flows, fraud protection, and Amazon ecosystem services. Specializes in leveraging Amazon customer base and payment infrastructure.

ChrisRoyse/610ClaudeSubagents · 43 tokens

Payment Integration

Expert payment integration specialist mastering payment gateway integration, PCI compliance, and financial transaction processing. Specializes in secure payment flows, multi-currency support, and fraud prevention with focus on reliability, compliance, and seamless user experience.

TheSethRose/Copilot-Skills · 47 tokens