PATCH
/
v1
/
wallets
/
{walletId}
/
auto-settlements
/
rules
/
{id}
Update Rule
curl --request PATCH \
  --url https://api.blockradar.co/v1/wallets/{walletId}/auto-settlements/rules/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "destination": {
    "address": "0x2455eC6700092991Ce0782365A89d5Cd89c8Fa22",
    "asset": "USDC",
    "blockchain": "optimism"
  },
  "isActive": true,
  "name": "Swap from USDT to OP USDC",
  "order": "FASTEST",
  "slippageTolerance": "5",
  "source": {
    "assets": [
      "USDT"
    ],
    "blockchain": "base",
    "maxAmount": "1000",
    "minAmount": "1"
  }
}'
{
  "data": {
    "createdAt": "2025-08-26T15:44:05.940Z",
    "destination": {
      "address": "0x2455eC6700092991Ce0782365A89d5Cd89c8Fa22",
      "asset": "USDC",
      "blockchain": "optimism"
    },
    "id": "b1517045-6817-4bc5-8cd5-72fd2283b444",
    "isActive": true,
    "name": "Swap from USDT to OP USDC",
    "order": "FASTEST",
    "slippageTolerance": "5",
    "source": {
      "assets": [
        "USDT"
      ],
      "blockchain": "base",
      "maxAmount": "1000",
      "minAmount": "1"
    },
    "updatedAt": "2025-08-26T15:58:49.876Z"
  },
  "message": "Auto settlement rule updated successfully",
  "statusCode": 200
}

Authorizations

x-api-key
string
header
required

Path Parameters

walletId
string
required
Example:

"{{walletId}}"

id
string
required
Example:

"55869cbe-fa3a-44d2-a7e3-d65c08355e4d"

Body

application/json

Response

200 - application/json

200

The response is of type object.