> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# Transaction amount

> Use the transaction field that belongs to the endpoint version. Midaz does not use one global amount field across every transaction API.

Amount fields apply to transaction-creation bodies, not every transaction endpoint. v1 creation payloads use decimal `value`; the API accepts a JSON number or string, although a string avoids client-side IEEE-754 rounding. v2 `direct`, `hold`, `block`, and `unblock` creation endpoints require string `amount`. Commit, cancel, and revert are ID-only lifecycle endpoints and have no amount request body.

<Warning>
  Do not combine field conventions from different transaction versions. Use the API reference for the specific operation you call.
</Warning>
