replay_event
Re-send a captured event to any URL — the test runner for a handler you just wrote. preserve_headers defaults to true so the original signature header (e.g. Stripe-Signature) arrives intact. If you changed the body or the receiver verifies with a different secret, pass resign_with (the dev's own signing secret) so the payload is re-signed and their verification code passes unmodified. Returns the response status, latency and body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Destination URL to send it to. | |
| body | No | Replacement request body (defaults to the captured body). | |
| headers | No | Header overrides layered on top of the preserved set. | |
| event_id | Yes | The event id to replay. | |
| resign_with | No | Signing secret to re-sign the payload with (≥16 chars). | |
| preserve_headers | No | Replay the captured headers verbatim (default true). | |
| signature_header | No | Header name for resign_with (default x-signature). |