Simulation
Simulate user application status
POST
https://api.firstleeward.com/v0/simulation/users/:userId/applicationSimulates a user application (KYC) status change. The status update is processed asynchronously via an internal webhook pipeline, so the user status may not reflect the change immediately after this call returns. Clients should poll GET /users/{userId} until the desired status is observed.
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
userIdstring<uuid>requiredBody
application/json
statusstringrequiredTarget application status
Available options:
APPROVEDREJECTEDRETRY_REQUIREDIN_REVIEWResponse
204Response for status 204
400Response for status 400
Option 1 · SimulationInvalidStateError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequiredOption 2 · SimulationNotApplicableError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired404User not found
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired