Create a hold
POST
/ledger/holdsPlace a hold
Headers
Idempotency-KeystringOptionalSend on every write that creates or changes money or state; a replay with the same key returns the original result with 200.
Body parameters
amountintegerRequiredMinor units of the currency (cents for USD)
currency_codestringRequiredISO 4217 code
expires_atstring · date-time or nullOptionalkindstringRequiredledger_account_idstringRequiredExample lacc_2tVh8nqLxq4GbDe0K1F6S9zRcWm
require_availablebooleanOptionalsource_refstringRequiredReturns
201 Created
The Hold object.
Errors
Every error is a problem document with a stable code. See Errors.
400401403404409412413422424429500503