# Reject Settlements

Source: https://developers.bitgo.com/docs/go-network-settle-reject

## Overview

You can reject settlements that either you or your counterparties initiate. Unlike approving settlements, rejecting a settlement is only ever 1 API call.

## Prerequisites

* [Get Started](/docs/get-started-intro)
* [Deposit Assets](/docs/deposit-assets)
* [Add Counterparties](/docs/go-network-counterparties)
* Counterparty initiated a settlement.

## Cookbook

Need just the steps? Expand the cookbook below to get started:

<Cookbook slug="go-network-settle-reject" title="Reject Settlements" />

## 1. Reject Settlement

Acknowledging a settlement is a final check that lets your counterparty know you reviewed and confirmed the amounts for transfer. Acknowledging doesn't sign the settlement.

>Endpoint: [Update settlement approval request](/reference/v1approvalrequestputroute)

```shell cURL
export ENTERPRISE_ID="<YOUR_ENTERPRISE_ID>"
export ACCOUNT_ID="<YOUR_ACCOUNT_ID>"
export APPROVAL_REQUEST_ID="<APPROVAL_REQUEST_ID>"
export ACCESS_TOKEN="<YOUR_ACCESS_TOKEN>"
export PAYLOAD="<SETTLEMENT_PAYLOAD>"
export SIGNATURE="<YOUR_PUBLIC_KEY>"

curl -X PUT \
  https://app.bitgo-test.com/api/clearing/v1/enterprise/$ENTERPRISE_ID/account/$ACCOUNT_ID/approval-requests/$APPROVAL_REQUEST_ID \
  -H 'Content-Type: application/json' \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  -d '{"status": "rejected"}'
  // "rejected" if your counterparty initiated the settlement
  // "canceled" if you initiated the settlement
```

#### Step Result

The settlement cancels. The system releases any assets that were in `hold` state in your Go Account, freeing them for other transactions.

```json JSON
{
  "settlementId": "string",
  "createdAt": "2019-08-24",
  "updatedAt": "2019-08-24",
  "id": "string",
  "accountId": "string",
  "status": "canceled",
  "payload": "string"
}
```

## Next Steps

You can confirm your unchanged balances by viewing your Go Account in BitGo or by calling the [Get wallet by ID](/reference/v2walletgetbyid) endpoint. If a settlement still needs to occur, you or your counterparty can [Create Settlements](/docs/go-network-settle-create).

## See Also

* [API Reference: Get wallet by ID](/reference/v2walletgetbyid)
* [API Reference: Update settlement approval request](/reference/v1approvalrequestputroute)
