WalletD developers
Accounts

Freeze an account (no postings, no new reservations)

Freezes an account: no new postings touch it and no new funds may be reserved against it.

POST/v1/ledgers/{ledgerId}/accounts/{accountId}/freeze

Freezes an account: no new postings touch it and no new funds may be reserved against it. Pendings already outstanding are untouched, so a capture in flight can still complete. Reversible with unfreeze. An account that is already closed refuses with account_closed; a posting that names a frozen account refuses with account_frozen (422).

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

ledgerId*string
Formatuuid
accountId*string
Formatuuid

Response Body

application/problem+json

curl -X POST "https://example.com/v1/ledgers/497f6eca-6276-4993-bfeb-53cbbbba6f08/accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/freeze"
Empty