Users
Get user
https://api.firstleeward.com/v0/users/:idRetrieves a single user by their unique identifier.
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>requiredResponse
200User resource with directly-attached spend policies
idstring<uuid>requiredUnique user identifier
externalIdstring | nullrequiredYour own identifier for this user, as supplied at creation. Null if none was provided.
emailstring<email>requiredUser email address
phoneNumberstringrequiredPhone number in E.164 format
firstNamestring | nullrequiredUser first name. Null until provided by the client or backfilled from the verified KYC identity on approval.
lastNamestring | nullrequiredUser last name. Null until provided by the client or backfilled from the verified KYC identity on approval.
countrystring | nullrequiredISO 3166-1 alpha-2 country code
dateOfBirthstring | nullrequiredDate of birth (YYYY-MM-DD). Filled from the verified KYC identity, or as sent at creation on corporate employee projects.
nationalitystring | nullrequiredNationality (ISO 3166-1 alpha-2) as sent at creation on corporate employee projects. Null on other projects.
companyIdstring<uuid> | nullrequiredCompany ID (set in CORPORATE program mode)
applicationobjectrequiredKYC application status
Show child attributes
statusstringrequiredCurrent KYC application status
NOT_STARTEDAWAITING_DOCUMENTSIN_REVIEWAPPROVEDREJECTEDRETRY_REQUIREDrejectionReasonstring | nullrequiredHuman-readable reason for rejection. Set when status is REJECTED or RETRY_REQUIRED, null otherwise.
rejectionLabelsstring[] | nullrequiredMachine-readable reject codes from the compliance review (for example FORGERY, SELFIE_MISMATCH, EXPIRATION_DATE). Set when status is REJECTED or RETRY_REQUIRED, null otherwise. The set of codes is open-ended - handle unknown values. For your internal use only - do not display these codes to the end user.
documentsobject[] | nullrequiredSupporting documents and their per-document review state. Null for applications with no supporting documents.
Show child attributes
typestringrequiredSupporting document category
IDENTITYPROOF_OF_ADDRESSCURPstatusstringrequiredReview state of this document
PENDINGUPLOADEDRETRY_REQUIREDREJECTEDcreatedAtstringrequiredISO 8601 timestamp of creation
updatedAtstringrequiredISO 8601 timestamp of last update
policiesobject[]requiredActive spend policies attached directly to this user. Only directly-attached policies are included - those attached at other scopes and platform-enforced limits are not.
Show child attributes
Option 1 · MerchantRestrictionPolicy
idstringrequiredPolicy ID. A UUID for your policies; a stable identifier for platform policies.
scopeobjectrequiredWhere the policy attaches.
Show child attributes
Option 1 · Project
typestringrequiredOption 2 · User
typestringrequiredidstring<uuid>requiredOption 3 · Card
typestringrequiredidstring<uuid>requiredstatusstringrequiredACTIVEDISABLEDnamestringrequiredHuman-readable label.
createdAtstringrequiredISO 8601 creation timestamp.
updatedAtstringrequiredISO 8601 last-update timestamp.
typestringrequiredconfigobjectrequiredBlock transactions whose merchant matches the criteria.
Show child attributes
matchobjectrequiredShow child attributes
Option 1 · Mcc
dimensionstringrequiredcodesstring[]requiredOption 2 · MerchantCountry
dimensionstringrequiredcountriesstring[]requiredOption 2 · ChannelRestrictionPolicy
idstringrequiredPolicy ID. A UUID for your policies; a stable identifier for platform policies.
scopeobjectrequiredWhere the policy attaches.
Show child attributes
Option 1 · Project
typestringrequiredOption 2 · User
typestringrequiredidstring<uuid>requiredOption 3 · Card
typestringrequiredidstring<uuid>requiredstatusstringrequiredACTIVEDISABLEDnamestringrequiredHuman-readable label.
createdAtstringrequiredISO 8601 creation timestamp.
updatedAtstringrequiredISO 8601 last-update timestamp.
typestringrequiredconfigobjectrequiredBlock transactions on the listed channels.
Show child attributes
channelsstring[]requiredATMPOSECOMMERCEVISA_DIRECTOption 3 · TransactionAmountLimitPolicy
idstringrequiredPolicy ID. A UUID for your policies; a stable identifier for platform policies.
scopeobjectrequiredWhere the policy attaches.
Show child attributes
Option 1 · Project
typestringrequiredOption 2 · User
typestringrequiredidstring<uuid>requiredOption 3 · Card
typestringrequiredidstring<uuid>requiredstatusstringrequiredACTIVEDISABLEDnamestringrequiredHuman-readable label.
createdAtstringrequiredISO 8601 creation timestamp.
updatedAtstringrequiredISO 8601 last-update timestamp.
typestringrequiredcurrencystringrequiredCurrency of the policy's amounts - the billing currency of the project's card program.
configobjectrequiredCap the amount of a single transaction.
Show child attributes
maxAmountnumberrequiredAmount in the project's billing currency.
Option 4 · SpendLimitPolicy
idstringrequiredPolicy ID. A UUID for your policies; a stable identifier for platform policies.
scopeobjectrequiredWhere the policy attaches.
Show child attributes
Option 1 · Project
typestringrequiredOption 2 · User
typestringrequiredidstring<uuid>requiredOption 3 · Card
typestringrequiredidstring<uuid>requiredstatusstringrequiredACTIVEDISABLEDnamestringrequiredHuman-readable label.
createdAtstringrequiredISO 8601 creation timestamp.
updatedAtstringrequiredISO 8601 last-update timestamp.
typestringrequiredcurrencystringrequiredCurrency of the policy's amounts - the billing currency of the project's card program.
configobjectrequiredCap cumulative spend over a calendar window.
Show child attributes
windowobjectrequiredShow child attributes
typestringrequiredperiodstringrequiredDAILYWEEKLYMONTHLYYEARLYLIFETIMEmaxAmountnumberrequiredAmount in the project's billing currency.
filterobjectShow child attributes
channelsstring[]ATMPOSECOMMERCEVISA_DIRECTmerchantobjectShow child attributes
Option 1 · Mcc
dimensionstringrequiredcodesstring[]requiredOption 2 · MerchantCountry
dimensionstringrequiredcountriesstring[]requiredOption 5 · AuthorizationCountLimitPolicy
idstringrequiredPolicy ID. A UUID for your policies; a stable identifier for platform policies.
scopeobjectrequiredWhere the policy attaches.
Show child attributes
Option 1 · Project
typestringrequiredOption 2 · User
typestringrequiredidstring<uuid>requiredOption 3 · Card
typestringrequiredidstring<uuid>requiredstatusstringrequiredACTIVEDISABLEDnamestringrequiredHuman-readable label.
createdAtstringrequiredISO 8601 creation timestamp.
updatedAtstringrequiredISO 8601 last-update timestamp.
typestringrequiredconfigobjectrequiredCap the number of transactions over a calendar window.
Show child attributes
windowobjectrequiredShow child attributes
typestringrequiredperiodstringrequiredDAILYWEEKLYMONTHLYYEARLYLIFETIMEmaxCountintegerrequiredMaximum number of transactions in the window.
filterobjectShow child attributes
channelsstring[]ATMPOSECOMMERCEVISA_DIRECTmerchantobjectShow child attributes
Option 1 · Mcc
dimensionstringrequiredcodesstring[]requiredOption 2 · MerchantCountry
dimensionstringrequiredcountriesstring[]required404User not found
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired