---
title: "Update a Deposit"
method: PATCH
path: "/v2/deposit/{id}"
tags: ["Deposit"]
---

# Update a Deposit

`PATCH /v2/deposit/{id}`

## Request

- Base URL: `https://api.starkbank.com`
- URL: `https://api.starkbank.com/v2/deposit/{id}`
- Auth: API key in header `Digital-Signature`

Update the Deposit by passing its id to be partially or fully reversed.

## Path parameters

- `id` string, required

## Request body

- object
  - `amount` integer, required: The new amount of the Deposit. If the amount = 0 the Deposit will be fully reversed

## Response `200`

Successful operation

- object

## Other responses

- `400`: Client error
- `500`: Server error

---

[API](https://skmtc.dev/starkbank/apis/stark-bank-api.md) - [All operations](https://skmtc.dev/starkbank/apis/stark-bank-api/llms.txt) - [OpenAPI document](https://skmtc.dev/starkbank/apis/stark-bank-api/revisions/aeff5068a5da?raw)
