## events resend Resend an event to the CLI's local webhook endpoint. You must pass `--webhook-endpoint=we_123456` to resend the event to a specific webhook endpoint. You can only resend events that have been created within the last 30 days. **Command:** `stripe events resend` ### Arguments - `` The ID of the event to resend. ### Flags - `--account=` To resend an event that's sent to a Connect webhook endpoint on a platform, set this flag to the connected account ID associated with the event. You can't use the `--stripe-account` parameter with Connect. - `-c, --confirm` Skip the warning prompt and automatically confirm the command being entered. - `--dark-style` Use a darker color scheme better suited for lighter command-line environments. - `-e, --expand ` Response attributes to expand inline (target nested values with `nested[param]=value`). - `-i, --idempotency ` Set an idempotency key for the request, preventing the same request from replaying within 24 hours. - `--live` Make a live request (by default, runs in test mode). - `-s, --show-headers` Show response HTTP headers. - `--stripe-account ` Specify the Stripe account to use for this request. - `-v, --stripe-version ` Specify the Stripe API version to use for this request. - `--webhook-endpoint=` Resend the event to the given webhook endpoint ID (`we_123456`). ### Examples **Basic usage** ```sh stripe events resend evt_1PH9HU2eZvKYlo2CrSrLx8y1 ``` **Response** ``` { "id": "evt_1PH9HU2eZvKYlo2CrSrLx8y1", "object": "event", "api_version": "2019-02-19", "created": 1715885036, "data": { "object": { "id": "card_1PH9HQ2eZvKYlo2CcwDOwdFV", "object": "card", "address_city": null, "address_country": null, "address_line1": null, "address_line1_check": null, "address_line2": null, "address_state": null, "address_zip": "12345", "address_zip_check": "pass", "brand": "Visa", "country": "US", "customer": "cus_Q7O3jQBjZLlpRL", "cvc_check": "pass", "dynamic_last4": null, "exp_month": 12, "exp_year": 2034, "fingerprint": "Xt5EWLLDS7FJjR1c", "funding": "credit", "last4": "4242", "metadata": {}, "name": "user@gmail.com", "tokenization_method": null, "wallet": null } }, "livemode": false, "pending_webhooks": 0, "request": { "id": "req_nqyTqVZmNKel38", "idempotency_key": "4bbe6edd-6d4e-4770-bf5a-f006cdf0e394" }, "type": "customer.source.created" } ```