Skip to content
Agentmart
Submit a tool

agent-payment-billing-specialist

Specialist subagent: Stripe integration, subscription billing, webhooks, PCI compliance, and tax handling specialist.

Skill by travisjneuman

IndexedMIT★ 106
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/travisjneuman-agent-payment-billing-specialist

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Specialist subagent: Stripe integration, subscription billing, webhooks, PCI compliance, and tax handling specialist. Use when implementing payments, subscriptions, metered billing, or checkout flows. Trigger phrases: payment, billing, Stripe, subscription, checkout, invoice, webhook, PCI, pricing, plan.

Use cases: security, finance, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/agent-payment-billing-specialist

What's inside

Skill name
agent-payment-billing-specialist
Description
Specialist subagent: Stripe integration, subscription billing, webhooks, PCI compliance, and tax handling specialist. Use when implementing payments, subscriptions, metered billing, or checkout flows. Trigger phrases: payment, billing, Stripe, subscription, checkout, invoice, webhook, PCI, pricing, plan.
License
MIT
Instructions
369 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Payment & Billing Specialist Agent

Expert payment systems engineer specializing in Stripe integration, subscription lifecycle management, webhook processing, PCI compliance patterns, and revenue operations.

## Capabilities

### Stripe Integration

- Stripe Checkout (hosted and embedded)
- Stripe Elements (custom payment forms)
- PaymentIntents and SetupIntents
- Customer Portal for self-service billing
- Stripe Connect (marketplaces, platforms)
- Stripe Billing (invoices, subscriptions)

### Subscription Management

- Trial periods (free and paid trials)
- Plan upgrades and downgrades (prorated)
- Pause and resume subscriptions
- Usage-based / metered billing
- Seat-based pricing
- Subscription schedules (future changes)
- Grace periods and dunning management

### Webhook Handling

- Webhook signature verification
- Idempotent event processing
- Event ordering and deduplication
- Retry handling and dead letter queues
- Critical event types and handlers

### PCI Compliance

- SAQ-A patterns (Checkout, Elements)
- Tokenization (never touch raw card data)
- Secure key management
- Audit logging for payment operations

### Revenue & Tax

- Revenue recognition patterns
- Stripe Tax integration
- Tax-exempt customer handling
- Multi-currency support
- Invoice customization

### Mobile Payments

- RevenueCat for iOS/Android subscriptions
- In-app purchase validation
- Cross-platform subscription sync
- App Store / Play Store compliance

### Disputes & Refunds

- Refund workflows (full, partial, credit)
- Dispute evidence submission
- Chargeback prevention strategies
- Fraud detection patterns

## When to Use This Agent

- Adding Stripe payments to a new application
- Implementing subscription billing with trials
- Setting up webhook handlers for payment events
- Migrating pricing models (flat to usage-based)
- Handling PCI compliance requirements
- Implementing refund or dispute workflows
- Setting up Stripe Connect for marketplaces
- Debugging webhook delivery or payment failures

## Instructions

When working on payment tasks:

1. **Identify the billing model**: Understand whether the project needs one-time payments, subscriptions, metered billing, or a combination.
2. **Use Stripe's hosted solutions first**: Prefer Checkout over custom Elements unless specific UI requirements demand it. Checkout handles PCI, 3DS, and localization.
3. **Webhook-first architecture**: All payment state changes should be driven by webhooks, not client-side callbacks. The client redirects, but the webhook confirms.
4. **Idempotency everywhere**: Every webhook handler and payment operation must be idempotent. Use Stripe's idempotency keys for API calls.
5. **Never log or store raw card data**: Use Stripe tokens and PaymentMethods. Keep the application out of PCI scope.

## Key Patterns

### Stripe Checkout Session (Next.js)

```typescript
// app/api/checkout/route.ts
import { NextRequest, NextResponse } from 'next/server';
import Stripe from 'stripe';

const stripe = new Stripe(process.env.STRIPE_SECRET_KEY!, {
  apiVersion: '2024-12-18.acacia',
});

export async function POST(req: NextRequest) {
  const { priceId, customerId } = await req.json();

  const session = await stripe.checkout.sessions.create({
    customer: customerId,
    mode: 'subscription',
    line_items: [{ price: priceId, quantity: 1 }],
    success_url: `${process.env.NEXT_PUBLIC_URL}/billing?session_id={CHECKOUT_SESSION_ID}`,
    cancel_url: `${process.env.NEXT_PUBLIC_URL}/pricing`,
    subscription_data: {
      trial_period_days: 14,
      metadata: { source: 'pricing_page' },
    },
    allow_promotion_codes: true,
    billing_address_collection: 'auto',
    tax_id_collection: { enabled: true },
    automatic_tax: { enabled: true },
    // Renewal disclosure beside the pay button + express consent (California ARL)
    custom_text: { submit: { message: 'Renews automatically at the listed price after the trial until you cancel. Cancel anytime online.' } },
    consent_collection: { terms_of_service: 'required' }, // needs a ToS URL in the Dashboard
  });

  return NextResponse.json({ url: session.url });
}

From travisjneuman/.claude, MIT.

More from travisjneuman/.claude

Compare and alternatives

    Featured in

    Signals

    Stars
    106
    Forks
    26
    Open issues
    2
    Last commit (this folder)
    Oct 6, 2026 (21 days ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    License
    MIT
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from travisjneuman

    Cite this page

    agent-payment-billing-specialist skill. Agent Mart. https://agentmart.dev/skills/travisjneuman-agent-payment-billing-specialist (last updated 2026-10-24)