Sweep funds into a reserve account
Creates a reserve account (if it doesn’t yet exist) for the
(template, counterparty_ref, currency) triple and books a
balanced transaction that debits the source account and credits
the reserve. Reserves model holdbacks, escrow, FX holds, and any
other case where unrestricted funds need to be earmarked for a
named counterparty.
Listing and balance reads use the standard /v1/accounts
surface (?kind=reserve&counterparty_ref=<x>). The platform
does NOT auto-release on expires_at; that’s customer policy.
Authorizations
Scopes
Headers
Required on writes. Stable identifier you choose. The same key
always returns the same transaction, forever. Can also be supplied as
idempotency_key in the request body. Header wins.
Allowed character set: A-Z, a-z, 0-9, _, :, ., -.
Max 255 bytes. Replays of an accepted key return the original
response with header Idempotent-Replayed: true so callers can
tell a replay from a freshly-committed result.
1 - 255^[A-Za-z0-9_:.\-]+$"pi_acme_1234_capture"
Body
Response
Reserve sweep booked