---
title: "Enable or disable retries for a single transaction"
method: PUT
path: "/recovery/v3/enable"
tags: ["Decline Recovery"]
---

# Enable or disable retries for a single transaction

`PUT /recovery/v3/enable`

Allows the merchant to enable or disable retries for a single transaction when that transaction is declined. For more information, see the [Decline recovery overview](https://docs.nexiopay.com/docs/decline-recovery-overview).

<!-- theme: warning -->
> ⚠️ Try It
> 
> To use the Try It feature for this endpoint, you must use the credentials for your [Sandbox API user](https://docs.nexiopay.com/docs/sandbox-environments).<br/><br/>Include at least the retry ID in the body of the request.

<div style="display:none;">

## Request parameters
- id
- isEnabledForRecovery

## Response parameters
- id
- isEnabledForRecovery
- success

</div>

## Request body

- object
  - `id` integer, required — The retry ID. To get the retry ID, send a `GET` request to the [View recovery status](https://docs.nexiopay.com/reference/viewrecoverystatus) endpoint.
  - `isEnabledForRecovery` boolean — Set to `true` to enable recovery for the transaction. Set to `false` to disable recovery for the transaction.

## Response `200`

OK

- object
  - `id` integer — The retry ID.
  - `isEnabledForRecovery` boolean — Shows `true` if recovery is enabled for the transaction. Shows `false` if recovery is not enabled for the transaction.
  - `success` boolean — Shows `true` if the API request was sent successfully. Shows `false` if the request was not successful. Note that this does not mean that the transaction was successfully enabled or disabled for decline recovery.

## Other responses

- `400` — Nexio could not change the status for retries, such as for a retry that is unrecoverable. Attempt the request again or check the retry status for the transaction using the [View a recovery](https://docs.nexiopay.com/reference/viewrecovery) or [View recoveries](viewrecoverystatus) endpoint.
- `401` — Unauthorized. For help with this error and other error codes, see [Common errors](https://docs.nexiopay.com/docs/common-errors) in the Guides area.

---

[API](https://skmtc.dev/nexiopay/apis/payments-api-reference.md) · [All operations](https://skmtc.dev/nexiopay/apis/payments-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nexiopay/payments-api-reference/revisions/b414b73979e5/schema)
