Simulation
Simulate company status
https://api.firstleeward.com/v0/simulation/companies/:companyId/statusSimulates a company KYB outcome. Returns 204. Observe the change via GET /companies/{companyId} and COMPANY_STATUS_UPDATED. On Universal KYB projects the company application must be submitted first; otherwise the request returns SIMULATION_INVALID_STATE. An incomplete application returns COMPANY_APPLICATION_INCOMPLETE.
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
companyIdstring<uuid>requiredBody
application/json
Option 1 · Active
statusstringrequiredapplicationDetailsobjectVerified KYB attributes to persist alongside the status change on Managed KYB projects. Registration and address countries restricted for card issuance are rejected. Universal KYB projects take company details from the submitted application.
Show child attributes
legalEntityNamestringrequiredThe legal entity's full name as verified at KYB. Used as both fullName and businessName when issuing Business cards.
registrationNumberstringrequiredThe legal entity's business registration number.
countrystringrequiredISO 3166-1 alpha-2 code of the legal entity's country of registration.
registeredAddressobjectrequiredCompany address with a city
Show child attributes
Option 1 · City
line1stringrequiredline2stringrequiredcitystringrequiredstatestring | nullpostalCodestring | nullcountrystringrequiredISO 3166-1 alpha-2 country code
Option 2 · State
line1stringrequiredline2stringrequiredcitystring | nullstatestringrequiredpostalCodestring | nullcountrystringrequiredISO 3166-1 alpha-2 country code
operationalAddressobjectrequiredCompany address with a city
Show child attributes
Option 1 · City
line1stringrequiredline2stringrequiredcitystringrequiredstatestring | nullpostalCodestring | nullcountrystringrequiredISO 3166-1 alpha-2 country code
Option 2 · State
line1stringrequiredline2stringrequiredcitystring | nullstatestringrequiredpostalCodestring | nullcountrystringrequiredISO 3166-1 alpha-2 country code
Option 2 · Rejected
statusstringrequiredOption 3 · In review
statusstringrequiredOption 4 · Action required
statusstringrequiredOption 5 · Cancelled
statusstringrequiredResponse
204Response for status 204
400Response for status 400
Option 1 · SimulationInvalidStateError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequiredOption 2 · CompanyApplicationIncompleteError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequiredOption 3 · CompanyCountryRestrictedError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired404Company not found
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired