---
title: "Protect bank account funds"
method: POST
path: "/bankaccounts/{id}/protect-funds"
tags: ["Bank Accounts"]
---

# Protect bank account funds

`POST /bankaccounts/{id}/protect-funds`

## Request

- Base URL: `https://api.smokeball.com`
- URL: `https://api.smokeball.com/bankaccounts/{id}/protect-funds`
- Auth: API key in header `x-api-key` and API key in header `Authorization`

Protects funds in a trust bank account. Only trust accounts are supported.

## Path parameters

- `id` string, required

## Request body

- ProtectFundsDto
  - `matterId` string, required: Unique identifier of the associated matter. Required.
  - `contactId` string, nullable: Unique identifier of the associated contact. Required in US only.
  - `reason` string, nullable: Reason for protecting the funds.
  - `effectiveDate` string, date-time, required: Date of protecting the funds.
  - `amount` number, double, required: The amount to protect in dollars. Limited to 2 decimal places (cents).

## Response `202`

When request is accepted. Returns a hypermedia 'Link' object.

- Link
  - `id` string, nullable
  - `href` string, nullable
  - `relation` string, nullable
  - `method` string, nullable

## Other responses

- `400`: When an unsupported request is made.
- `403`: When bank account is not associated with authenticated client.
- `404`: When bank account does not exist.

---

[API](https://skmtc.dev/smokeball/apis/smokeball-api.md) - [All operations](https://skmtc.dev/smokeball/apis/smokeball-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smokeball/apis/smokeball-api/revisions/6e350cf667d4?raw)
