Strimulator

Strimulator

A local Stripe emulator for development and testing

Strimulator is a drop-in local replacement for the Stripe API. It runs as a single process, stores everything in SQLite, and is compatible with the official stripe Node SDK. Use it to develop and test payment flows entirely offline — no Stripe account or network access required.

Think of it as LocalStack, but for Stripe.

Why Strimulator?

  • Offline development — No internet, no Stripe test mode, no rate limits
  • Fast feedback — Instant responses, no network latency
  • Full control — Trigger payment failures, advance subscriptions, simulate edge cases from the dashboard
  • SDK-compatible — Point the official stripe package at localhost and it just works
  • Docker-ready — Drop it into your docker-compose alongside Postgres, Redis, Firebase emulator, etc.

Supported Resources

ResourceEndpointsState Machine
CustomersCRUD + list + search
ProductsCRUD + list + search
Pricescreate, retrieve, update, list
Payment Methodscreate, retrieve, attach, detach, list
Payment Intentscreate, retrieve, confirm, capture, cancel, list, search
Setup Intentscreate, retrieve, confirm, cancel, list
Chargesretrieve, list
Refundscreate, retrieve, list
Subscriptionscreate, retrieve, cancel, list, search
Invoicescreate, retrieve, finalize, pay, void, list, search
Eventsretrieve, list
Webhook EndpointsCRUD + list
Test Clockscreate, retrieve, advance, delete, list

Additional Features

  • Webhook delivery with Stripe-Signature HMAC-SHA256 headers and retry logic
  • Search API with Stripe's query language
  • expand[] for one-level and nested expansion
  • Idempotency-Key support for POST requests
  • Magic test tokenstok_visa, tok_mastercard, tok_amex, tok_visa_debit