---
agentTools:
  projectIndex: https://docs.yordex.com/llms.txt
---

# Users Fields

[block:parameters]
{
  "data": {
    "h-0": "Field",
    "h-1": "Description",
    "0-0": "id",
    "0-1": "**String, Yordex generated**  \n[UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) that is unique for this user",
    "1-0": "gender",
    "1-1": "**String, mandatory**  \nGender of the user, can be \"M\" or \"F\"",
    "2-0": "firstName",
    "2-1": "**String, mandatory**  \nFirst name of the user",
    "3-0": "lastName",
    "3-1": "**String, mandatory**  \nLast name of the user",
    "4-0": "mobileNumber",
    "4-1": "**String, mandatory**  \nThe phone number country code without the leading zero, so for example \"7707123456\"",
    "5-0": "mobileNumberCountryCode",
    "5-1": "**String, mandatory**  \nThe phone number country code without the +, so for example \"44\" for the UK and \"01\" for the US",
    "6-0": "phoneCountryCode",
    "6-1": "**String, Yordex generated**  \n2-letter ISO country code corresponding to the mobileNumberCountryCode. This field is required to differentiate between countries with the same mobileNumberCountryCode, e.g. US and Canada",
    "7-0": "email",
    "7-1": "**String, mandatory**  \nEmail address of the user",
    "8-0": "emailConfirmed",
    "8-1": "**Boolean, Yordex generated**  \nThe user has confirmed their email yes or no",
    "9-0": "traderAccounts",
    "9-1": "**Object, Yordex generated**  \nA user can be associated with more than one trader. All traders a user is associated are listed here",
    "10-0": ".  traderId",
    "10-1": "**String, mandatory**  \nOne of the traders that this user is associated with",
    "11-0": ".  primaryAccount",
    "11-1": "**Boolean, mandatory**  \nWhether this is the primary account or not. If a user logs in, the first account they are logged into is their primary account",
    "12-0": "roles",
    "12-1": "**String, mandatory**  \nRole of this user. Possible values are listed on the right hand side",
    "13-0": "approvalLevel",
    "13-1": "**String, optional**  \nCustom roles you can give this user to implement your required approval process, e.g. \"Director\"",
    "14-0": "managerUserId",
    "14-1": "**String, optional**  \nThe user id of the manager of this user which can be used in approval rules",
    "15-0": "approvalLimitAmountInCents",
    "15-1": "**Number, optional**  \nThe maximum amount up to which this user can approve orders in cents. If this field is not set, it is deemed to be zero and their manager will have to approve all their orders",
    "16-0": "approvalLimitCurrency",
    "16-1": "**String, mandatory when approvalLimitAmountInCents is defined**  \nThe currency for this order using the [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) standard.",
    "17-0": "expenseReimbursementCurrency",
    "17-1": "**String, optional**  \nCurrency in which we will reimburse your users for expenses. It will also be used as the default currency for their out-of-pocket expenses",
    "18-0": "receiptMandatoryThreshHoldInCents",
    "18-1": "**Number, optional**  \nThe amount in cents below which this user is not required to provide a receipt",
    "19-0": "delegates",
    "19-1": "**Array, optional**  \nOther users who this user has delegated their account to. So users listed in this array will be able to log in as this user.",
    "20-0": "tags",
    "20-1": "**Array, optional**  \nA set of customer defined key:value pairs",
    "21-0": "termsOfService",
    "21-1": "**Array, optional**  \nIf the user has accepted the cardholder terms of service. accepted:true/false",
    "22-0": "dateOfBirth",
    "22-1": "**String, optional**  \nDate of birth of the user in yyyy-mm-dd format. Required before ordering cards with some US providers - your customer team contact will inform you if this is applicable to you.",
    "23-0": "address",
    "23-1": "**Object, optional**  \nThe address of the user. This may be required for some card programs - your customer team representative will inform you if this is the case. This is **NOT** the card delivery address of the user."
  },
  "cols": 2,
  "rows": 24,
  "align": [
    "left",
    "left"
  ]
}
[/block]

<br />

| role                               | Role description        |
| :--------------------------------- | :---------------------- |
| ROLE\_TRADER\_ADMIN                | Admin user              |
| ROLE\_TRADER\_STANDARD             | Standard user           |
| ROLE\_TRADER\_ADMIN\_VIEW\_ONLY    | View only admin user    |
| ROLE\_TRADER\_STANDARD\_VIEW\_ONLY | View only standard user |