Simulation

Simulate user application status

POSThttps://api.firstleeward.com/v0/simulation/users/:userId/application

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

userIdstring<uuid>required

Body

application/json

statusstringrequired

Target application status

Available options:APPROVEDREJECTEDRETRY_REQUIREDIN_REVIEW

Response

204Response for status 204
400Response for status 400
Option 1 · SimulationInvalidStateError
errorobjectrequired
Show child attributes
codestringrequired
messagestringrequired
detailobject | nullrequired
Option 2 · SimulationNotApplicableError
errorobjectrequired
Show child attributes
codestringrequired
messagestringrequired
detailobject | nullrequired
404User not found
errorobjectrequired
Show child attributes
codestringrequired
messagestringrequired
detailobject | nullrequired