Close an account (terminal; requires zero balance, nothing reserved)
Closes an account for good. Terminal, and deliberately strict: the balance must be exactly zero and no pending may still be active, otherwise the request is refused as invalid with the offending fi...
/v1/ledgers/{ledgerId}/accounts/{accountId}/closeCloses an account for good. Terminal, and deliberately strict: the balance must be exactly zero and no pending may still be active, otherwise the request is refused as invalid with the offending figure in the detail. History is never deleted; the account simply stops accepting movement.
Authorization
bearerAuth In: header
Path Parameters
uuiduuidResponse Body
application/problem+json
curl -X POST "https://example.com/v1/ledgers/497f6eca-6276-4993-bfeb-53cbbbba6f08/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/close"Return a frozen account to service
Returns a frozen account to service. Closure is terminal, so a closed account cannot be unfrozen: that refuses with account_closed.
Provision the shard set of a sharded-purpose system account (idempotent)
Provisions the full shard set for a system account whose purpose is registered as sharded.