The Stripe twin is a deterministic in-process simulation of the Stripe API — customers, payment intents, subscriptions, prices, and webhooks. Every twin instance starts from a fixture and resets between runs, so flaky billing state never blocks an eval.Documentation Index
Fetch the complete documentation index at: https://docs.pome.sh/llms.txt
Use this file to discover all available pages before exploring further.
What it covers
- Customers, payment methods, payment intents
- Products, prices, subscriptions
- Invoices and webhook event payloads
- The
402retry path for failed charges
Quickstart
Example: handle a failed charge
402 on the first
charge. Your agent is expected to:
- Detect the failure,
- Retry with the documented backoff,
- Mark the subscription as
past_dueif the retry fails.
Pointing your own agent at the twin
stripe-node
(or any other Stripe library that respects STRIPE_API_BASE) at the twin
and it works without modification.