Skip to main content
Amount fields apply to transaction-creation bodies, not every transaction endpoint. The v1 creation payloads use decimal value. The API accepts a JSON number or string. A string avoids client-side IEEE-754 rounding. The v2 direct, hold, block, unblock, and batch creation endpoints require string amount. Commit, cancel, and revert identify an existing transaction by its ID and take no amount.
Do not combine field conventions from different transaction versions. Use the API reference for the specific operation you call.