Simulation

Simulate account status

POSThttps://api.firstleeward.com/v0/simulation/accounts/:id/status

Simulates 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 · headerrequired

API key as Bearer token, e.g. Bearer YOUR_API_KEY

Headers

Leeward-Versionenum<string>required

API version (YYYY-MM-DD). Available option: 2026-09-18

Path Parameters

idstring<uuid>required

Body

application/json

statusstringrequired

Target account status

Available options:ACTIVERESTRICTED

Response

204Response for status 204
400The resource is not in a valid state for the requested simulation
errorobjectrequired
Show child attributes
codestringrequired
messagestringrequired
detailobject | nullrequired
404Account not found
errorobjectrequired
Show child attributes
codestringrequired
messagestringrequired
detailobject | nullrequired