MockCard
Chaos Simulator

Break your payment system safely

Simulate real-world failures like duplicate webhooks, delayed callbacks, and missing events before they hit production.

Your payment system will break in production. Test it before it does.

⚠️ What happens if your webhook is delayed?

Scenario

Payment succeeds → webhook delayed → user retries → double charge

Impact

  • - user charged twice
  • - system records duplicate payment
  • - manual refund needed
Simulate this scenario →

✔ Duplicate webhook → double charge

✔ Delayed webhook → missed state

✔ Out-of-order events → broken logic

What Stripe sandbox doesn't test

Stripe sandbox

  • ❌ Duplicate webhooks
  • ❌ Out-of-order events
  • ❌ Missing webhooks
  • ❌ Realistic timing delays

MockCard

MockCard lets you simulate all of these.

Chaos Toggles

Toggle any combination — JSON updates live.

Paste into Postman, curl, or your test suite

⚡ WEBHOOK EVENTpayment_intent.succeeded
{
  "id": "evt_mock_3Kj8mNpQ2xR",
  "object": "event",
  "type": "payment_intent.succeeded",
  "created": 1748170001,
  "idempotency_key": "idem_mock_5Rt9vXpL",
  "data": {
    "object": {
      "id": "pi_mock_3Kj8mNpQ2xR",
      "object": "payment_intent",
      "amount": 49900,
      "currency": "inr",
      "payment_method": {
        "id": "pm_mock_7Hx4vBnQ",
        "type": "card",
        "card": {
          "brand": "visa",
          "last4": "4242",
          "exp_month": 12,
          "exp_year": 2026
        }
      },
      "idempotency_key": "idem_mock_5Rt9vXpL",
      "created": 1748170000,
      "livemode": false,
      "metadata": {},
      "status": "succeeded"
    }
  }
}

Production Safety Score

Toggle all scenarios to see every failure mode your system must handle

0/4

scenarios

Webhook Race Condition

3DS Abandonment

The Limbo State

Latency Storm

Toggle scenarios above to check your coverage.