AgentForge

Stripe Integration

Create Stripe tools — manage payments, customers, and subscriptions.

Setup

import { createStripeTools } from '@ahzan-agentforge/core';

const tools = createStripeTools({
  apiKey: process.env.STRIPE_SECRET_KEY!,
});

StripeToolConfig

interface StripeToolConfig {
  apiKey: string;  // Stripe secret key
}

Available Tools

  • list-customers — list Stripe customers
  • create-charge — create a payment charge
  • get-balance — get account balance
  • list-payments — list recent payments

Next Steps