Skip to main content

PaymentFieldValueDTO

One custom field value of a payment — same shape as ContractFieldValueDTO. Which of the extra keys are filled depends on type; fields that are null are omitted from the response entirely.

fieldIdint64

Field ID — matches PaymentFieldDTO.id

Example: 42
valuestringnullable

The resolved value as text (option name, date, URL, …)

Example: Naqd
namestringnullable

Field name

Example: To'lov kanali
typeCustomFieldType

Custom field type, shared by every custom-field family (contract, flat, payment and lead task). Serialized by name. Identical value set to ContractFieldType, which remains as the contract-family alias.

Possible values: [TEXT, EXTENDED_TEXT, DATE, SELECT, MULTI_SELECT, RADIO, TOGGLE_SWITCH, URL, TAG, LOCATION, COUNTER, ADDRESS, EMPLOYEE, FILE, NUMBER]

Example: SELECT
requiredbooleannullable

Whether the field is mandatory

Example: false
sortOrderint32nullable

Display position

Example: 1
numberdoublenullable

Numeric value — NUMBER fields only

Example: 1500000
currencyIdint32nullable

Currency of number — NUMBER fields only

Example: 24
valuesstring[]

Ordered values of a multi-value field (MULTI_SELECT, EMPLOYEE, FILE). Empty for single-value types.

Example: ["Naqd","Karta"]
latitudedoublenullable

Latitude — LOCATION fields only

Example: 41.311081
longitudedoublenullable

Longitude — LOCATION fields only

Example: 69.240562
files object[]

Attached files — FILE fields only. Empty for every other type.

  • Array [
  • absolutePathstringnullable

    Presigned URL to the full-size file

    Example: https://minio.uysot.uz/uysot/files/201/avatar.png?X-Amz-Expires=3600
    thumbAbsolutePathstringnullable

    Presigned URL to the thumbnail rendition

    Example: https://minio.uysot.uz/uysot/files/201/avatar_thumb.png?X-Amz-Expires=3600
    smallestAbsolutePathstringnullable

    Presigned URL to the smallest rendition

    Example: https://minio.uysot.uz/uysot/files/201/avatar_small.png?X-Amz-Expires=3600
  • ]
  • PaymentFieldValueDTO
    {
    "fieldId": 42,
    "value": "Naqd",
    "name": "To'lov kanali",
    "type": "SELECT",
    "required": false,
    "sortOrder": 1,
    "number": 1500000,
    "currencyId": 24,
    "values": [
    "Naqd",
    "Karta"
    ],
    "latitude": 41.311081,
    "longitude": 69.240562,
    "files": [
    {
    "absolutePath": "https://minio.uysot.uz/uysot/files/201/avatar.png?X-Amz-Expires=3600",
    "thumbAbsolutePath": "https://minio.uysot.uz/uysot/files/201/avatar_thumb.png?X-Amz-Expires=3600",
    "smallestAbsolutePath": "https://minio.uysot.uz/uysot/files/201/avatar_small.png?X-Amz-Expires=3600"
    }
    ]
    }