Simulation
Simulate account status
POST
https://api.firstleeward.com/v0/simulation/accounts/:id/statusSimulates an account status change between ACTIVE and RESTRICTED. RESTRICTED restricts the account and its deposit addresses, and declines every authorization on its cards; the cards themselves keep the status they held. ACTIVE lifts the restriction and leaves card statuses untouched.
Authorizations
Authorizationstring · headerrequiredAPI key as Bearer token, e.g. Bearer YOUR_API_KEY
Headers
Leeward-Versionenum<string>requiredAPI version (YYYY-MM-DD). Available option: 2026-09-18
Path Parameters
idstring<uuid>requiredBody
application/json
statusstringrequiredTarget account status
Available options:
ACTIVERESTRICTEDResponse
204Response for status 204
400The resource is not in a valid state for the requested simulation
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired404Account not found
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired