Skip to main content
Use stripe in twins and put this configuration under seed_config.stripe. Stripe account with customers, products, prices, billing meters, and meter events.

Example seed

This is the complete Scenario request body for creating a Scenario. You can also import it with arga test-runner scenarios import --file scenario.json.

Parameters

The following fields belong directly inside seed_config.stripe. Required nested fields are marked in their tables. Provider-native objects can contain service-specific fields beyond the representative record shapes below.

Resource fields

These tables describe the record shapes used by the example. Keep native field names and casing. Map keys such as property names, IDs, and metadata keys are supplied by your fixture.

customers[]

products[]

products[].prices[]

meters[]

meters[].events[]

settlement

settlement.fees.<currency>

account_settings

Typed configuration objects

Named object types in the parameter table use these fields.

AssistantConfig

AssistantResponse

SupportSeed

Customer

Payment

Refund

API coverage and limitations

Twin name: stripe Supports
  • Stripe API v1 resources for customers, payment methods, payment intents, setup intents, charges, refunds, disputes, subscriptions, invoices, invoice items, credit notes, products, prices, plans, coupons, promotion codes, tax rates, shipping rates, tokens, sources, payouts, balance, balance transactions, billing meters, meter events, events, files, checkout sessions, payment links, quotes, billing portal sessions, subscription items, schedules, usage records, tax IDs, webhook endpoints, mandates, and test clocks.
  • Stripe-compatible authentication errors, idempotency keys, signed webhooks, test cards for declines and 3D Secure, checkout pages, billing portal pages, dashboard pages, product catalog, and customer management.
  • Seed endpoint for starter product, price, and webhook setup.
  • Stripe MCP-compatible JSON-RPC server at POST /mcp (and POST /mcp/v1) for use by MCP clients and the @stripe/mcp CLI bridge. The twin routes mcp.stripe.com through this endpoint and serves Stripe’s OAuth discovery documents at GET /.well-known/oauth-protected-resource, GET /.well-known/oauth-protected-resource/mcp, and GET /.well-known/oauth-authorization-server. Implements initialize, notifications/initialized, tools/list, and tools/call, advertising the same 31 tools as the official Stripe MCP server (search_stripe_documentation, get_stripe_account_info, create_customer, list_customers, create_product, list_products, create_price, list_prices, create_payment_link, create_invoice, list_invoices, create_invoice_item, finalize_invoice, retrieve_balance, create_refund, list_refunds, list_payment_intents, list_subscriptions, cancel_subscription, update_subscription, list_coupons, create_coupon, update_dispute, list_disputes, search_stripe_resources, fetch_stripe_resources, stripe_integration_recommender, send_stripe_mcp_feedback, stripe_api_search, stripe_api_details, stripe_api_execute). MCP tool calls share state with the Stripe API and Checkout surfaces — resources created via MCP are visible through the API, dashboard, and webhooks. Requests without a Authorization: Bearer <token> header return 401 Unauthorized.
Known limitations
  • Stripe resources start empty unless seeded or created by the app under test.
  • API key validation recognizes Stripe-style key prefixes and simulates authentication behavior; no real Stripe account is contacted.
  • The twin models the API resources listed above; newer or specialized Stripe products outside that surface may be absent or approximated.
MCP tools: get_twin_catalog, provision_twins, start_url_validation, get_validation_results. See Scenario seeding for saving, provisioning, and resetting fixtures.