# Release Blocked Funds (Cancel Pending Transaction)
source: https://developer.mastercard.com/mastercard-processing-core/documentation/sandbox-testing/transactions-and-fees-management/release-blocked-funds/index.md

## Test case -- Success {#test-case--success}

This test case describes releasing blocked funds of a specified transaction.

**Sample request**

`PUT /contracts/70001/transactions/90001/releasing-blocked-funds`

```JSON
{
  "reason": "Transaction aborted"
}
```

**Sample response**

`200`

```JSON
{
  "cancelHoldResult": "RELEASE_FUNDS_PERFORMED"
}
```

## Test case -- Success -- Release funds failure {#test-case--success--release-funds-failure}

This test case describes failed attempt to release blocked funds of a specified transaction.

For this test case, use the following information in the request:

|  Path parameter  | Available value |
|------------------|-----------------|
| `transaction_id` | 95001           |

**Sample request**

`PUT /contracts/70001/transactions/95001/releasing-blocked-funds`

```JSON
{
  "reason": "Transaction aborted"
}
```

**Sample response**

`200`

```JSON
{
  "cancelHoldResult": "RELEASE_FUNDS_FAILURE"
}
```

