---
title: "markFailed"
method: PUT
path: "/rejectedTransactions/markFailed"
---

# markFailed

`PUT /rejectedTransactions/markFailed`

## Request body

- object
  - `userId` integer — id of customer for which we transaction add need to be retriggered.
  - `transactionNumber` string[] — list of billNumbers for which the txns were rejected, and for which user wants to retrigger txn add.
  - `errorCode` string[] — list of error code for which user wants to retrigger all the rejected transactions.
  - `comments` string — can pass the reason for marking the rejected txn permanent fail.

## Response `200`

200

- object
  - `result` boolean
  - `warnings` unknown[]
    - unknown
  - `errors` unknown[]
    - unknown

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/versions/de241f2ed9b3/schema)
