---
title: "Update cash-equivalent position amount"
method: PATCH
path: "/reserves/{id}/position"
tags: ["reserve"]
---

# Update cash-equivalent position amount

`PATCH /reserves/{id}/position`

Sets `data.valueUSDC` to the given token amount (smallest units as a numeric string), stores `paymentFromValue`, and recalculates `value` in USD using the latest yield-source price. Only cash-equivalent reserves with a yield source and without deposit/investment diff are allowed.

## Path parameters

- `id` number, required

## Request body

- UpdatePositionDto
  - `amount` string, required — Token amount in smallest units (numeric string)
  - `paymentFromValue` string — Payment from amount in smallest units (numeric string)

## Response `200`

Reserve with updated position

- Reserve

## Other responses

- `400` — Invalid body, reserve is not cash equivalent, missing yield source, or deposit/investment diff is set
- `401` — Unauthorized
- `404` — Reserve not found

---

[API](https://skmtc.dev/dre/apis/dre-api.md) · [All operations](https://skmtc.dev/dre/apis/dre-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dre/dre-api/revisions/5d14beb9482b/schema)
