# Events - Manual Retry

POST /events/{merchant\_id}/{event\_id}/retry

Try it

{% code title="cURL" %}

```bash
curl --request POST \
  --url https://sandbox.hyperswitch.io/events/{merchant_id}/{event_id}/retry \
  --header 'api-key: <api-key>'
```

{% endcode %}

## Response example (200)

{% code title="application/json" %}

```json
{
  "event_id": "evt_018e31720d1b7a2b82677d3032cab959",
  "merchant_id": "y3oqhf46pyzuxjbcn2giaqnb44",
  "profile_id": "SqB0zwDGR5wHppWf0bx7GKr1f2",
  "object_id": "QHrfd5LUDdZaKtAjdJmMu0dMa1",
  "event_type": "payment_succeeded",
  "event_class": "payments",
  "initial_attempt_id": "evt_018e31720d1b7a2b82677d3032cab959",
  "created": "2022-09-10T10:11:12Z",
  "request": {
    "body": "<string>",
    "headers": [
      [
        "content-type",
        "application/json"
      ],
      [
        "content-length",
        "1024"
      ]
    ]
  },
  "response": {
    "body": "<string>",
    "headers": [
      [
        "content-type",
        "application/json"
      ],
      [
        "content-length",
        "1024"
      ]
    ],
    "status_code": 200,
    "error_message": 200
  },
  "is_delivery_successful": true,
  "delivery_attempt": "initial_attempt"
}
```

{% endcode %}

## Authorizations

{% hint style="info" %}
Header: `api-key` (string) — required.

Admin API keys allow you to perform privileged actions such as creating a merchant account and Merchant Connector account.
{% endhint %}

## Path parameters

* merchant\_id (string, required)\
  The unique identifier for the Merchant Account.
* event\_id (string, required)\
  The unique identifier for the Event.

## Response

200 - application/json

The delivery of the Event was attempted. Check the `response` field in the response payload to identify the status of the delivery attempt.

The response body for retrieving an event contains the following fields:

* event\_id (string, required)\
  The identifier for the Event. Maximum length: 64\
  Example: `"evt_018e31720d1b7a2b82677d3032cab959"`
* merchant\_id (string, required)\
  The identifier for the Merchant Account. Maximum length: 64\
  Example: `"y3oqhf46pyzuxjbcn2giaqnb44"`
* profile\_id (string, required)\
  The identifier for the Business Profile. Maximum length: 64\
  Example: `"SqB0zwDGR5wHppWf0bx7GKr1f2"`
* object\_id (string, required)\
  The identifier for the object (Payment Intent ID, Refund ID, etc.). Maximum length: 64\
  Example: `"QHrfd5LUDdZaKtAjdJmMu0dMa1"`
* event\_type (enum, required)\
  Available options:
  * `payment_succeeded`
  * `payment_failed`
  * `payment_processing`
  * `payment_cancelled`
  * `payment_cancelled_post_capture`
  * `payment_authorized`
  * `payment_partially_authorized`
  * `payment_captured`
  * `payment_expired`
  * `action_required`
  * `refund_succeeded`
  * `refund_failed`
  * `dispute_opened`
  * `dispute_expired`
  * `dispute_accepted`
  * `dispute_cancelled`
  * `dispute_challenged`
  * `dispute_won`
  * `dispute_lost`
  * `mandate_active`
  * `mandate_revoked`
  * `payout_success`
  * `payout_failed`
  * `payout_initiated`
  * `payout_processing`
  * `payout_cancelled`
  * `payout_expired`
  * `payout_reversed`
  * `invoice_paid`
* event\_class (enum, required)\
  Available options:
  * `payments`
  * `refunds`
  * `disputes`
  * `mandates`
  * `payouts`
  * `subscriptions`
* initial\_attempt\_id (string, required)\
  The identifier for the initial delivery attempt. This will be the same as `event_id` for the initial delivery attempt. Maximum length: 64\
  Example: `"evt_018e31720d1b7a2b82677d3032cab959"`
* created (string, required)\
  Time at which the event was created. Example: `"2022-09-10T10:11:12Z"`
* request (object, required)\
  The request information (headers and body) sent in the webhook.
  * body (string)
  * headers (array)
* response (object, required)\
  The response information (headers, body and status code) received for the webhook sent.
  * body (string)
  * headers (array)
  * status\_code (integer)
  * error\_message (string | integer)
* is\_delivery\_successful (boolean | null)\
  Indicates whether the webhook was ultimately delivered or not.
* delivery\_attempt (enum)\
  Available options:
  * `initial_attempt`
  * `automatic_retry`
  * `manual_retry`

***

Was this page helpful?

Yes No

Suggest edits: <https://github.com/juspay/hyperswitch/edit/main/api-reference/v1/event/events--manual-retry.mdx\\>
Raise issue: <https://github.com/juspay/hyperswitch/issues/new?title=Issue%20on%20docs\\&body=Path:%20/v1/event/events--manual-retry>

Related:

* Events - Delivery Attempt List: <https://api-reference.hyperswitch.io/v1/event/events--delivery-attempt-list>
* Poll - Retrieve Poll Status: <https://api-reference.hyperswitch.io/v1/poll/poll--retrieve-poll-status>
