> For the complete documentation index, see [llms.txt](https://cetus-1.gitbook.io/cetus-developer-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cetus-1.gitbook.io/cetus-developer-docs/developer/via-sdk-v2/sdk-modules/cetusprotocol-xcetus-sdk/cancel-redeem.md).

# Cancel Redeem

`cancelRedeemPayload` can cancel the redeem lock, the Cetus locked will be return back to the manager and the xCetus will be available again

#### Function Parameters

* venft\_id: Your VeNFT id
* lock\_id: id of a redemption batch under lockup period

```typescript
const lock_id = '0x005ba9202a5d9e41c73155a1...'
const lock_cetus = await sdk.XCetusModule.getLockCetus(lock_id)

if (lock_cetus && XCetusUtil.isLocked(lock_cetus)) {
  const payload = sdk.XCetusModule.cancelRedeemPayload({
    venft_id,
    lock_id,
  })
}
```
