Перейти к содержанию

Subagent#

Title: Subagent

Type object
Required No
Additional properties Not allowed

Description: Компания, выступающая субагентом между клиентом и третьим лицом

Property Pattern Type Deprecated Definition Title/Description
- id No string No - Идентификатор
- fullNameEnglish No string No - Название на английском языке
+ status No enum (of string) No - Статус

- `ACTIVE`: Активен
- `INACTIVE`: Заблокирован
- agents No array No - Связанные агенты
- limits No array No - Лимита субагента
- costs No array No - Себестоимость платежкй субагента
- subsidiaries No array No - Связанные плательщики и получатели

1. Property Subagent > id#

Type string
Required No
Format UUID

Description: Идентификатор

2. Property Subagent > fullNameEnglish#

Type string
Required No

Description: Название на английском языке

3. Property Subagent > status#

Type enum (of string)
Required Yes

Description: Статус

  • ACTIVE: Активен
  • INACTIVE: Заблокирован

Must be one of: * "ACTIVE" * "INACTIVE"

4. Property Subagent > agents#

Type array
Required No

Description: Связанные агенты

Array restrictions
Min items N/A
Max items N/A
Items unicity False
Additional items False
Tuple validation See below
Each item of this array must be Description
agents items -

4.1. Subagent > agents > agents items#

Type object
Required No
Additional properties Any type allowed

5. Property Subagent > limits#

Type array
Required No

Description: Лимита субагента

Array restrictions
Min items N/A
Max items N/A
Items unicity False
Additional items False
Tuple validation See below
Each item of this array must be Description
limits items -

5.1. Subagent > limits > limits items#

Type object
Required No
Additional properties Any type allowed
Property Pattern Type Deprecated Definition Title/Description
- currency No string No In common/_common.schema.json#/currency Валюта лимита
- amount No number No - Сумма лимита

5.1.1. Property Subagent > limits > limits items > currency#

Type string
Required No
Defined in common/_common.schema.json#/currency

Description: Валюта лимита

Restrictions
Min length 3
Max length 3
Must match regular expression ^[A-Z]{3}$ Test

5.1.2. Property Subagent > limits > limits items > amount#

Type number
Required No

Description: Сумма лимита

Restrictions
Multiple of 0.01
Minimum ≥ 0

6. Property Subagent > costs#

Type array
Required No

Description: Себестоимость платежкй субагента

Array restrictions
Min items N/A
Max items N/A
Items unicity False
Additional items False
Tuple validation See below
Each item of this array must be Description
costs items -

6.1. Subagent > costs > costs items#

Type object
Required No
Additional properties Any type allowed
Property Pattern Type Deprecated Definition Title/Description
- currency No string No Same as currency Валюта платежа
- minAmount No number No - Нижняя граница диапазона
- maxAmount No number No - Верхняя граница диапазона
- percent No number No - Размер себестоимости, указывается в %

6.1.1. Property Subagent > costs > costs items > currency#

Type string
Required No
Same definition as currency

Description: Валюта платежа

6.1.2. Property Subagent > costs > costs items > minAmount#

Type number
Required No

Description: Нижняя граница диапазона

Restrictions
Multiple of 0.01
Minimum ≥ 0

6.1.3. Property Subagent > costs > costs items > maxAmount#

Type number
Required No

Description: Верхняя граница диапазона

Restrictions
Multiple of 0.01
Minimum ≥ 0

6.1.4. Property Subagent > costs > costs items > percent#

Type number
Required No

Description: Размер себестоимости, указывается в %

Restrictions
Multiple of 0.0001

7. Property Subagent > subsidiaries#

Type array
Required No

Description: Связанные плательщики и получатели

Array restrictions
Min items N/A
Max items N/A
Items unicity False
Additional items False
Tuple validation See below
Each item of this array must be Description
subsidiaries items -

7.1. Subagent > subsidiaries > subsidiaries items#

Type object
Required No
Additional properties Any type allowed

Generated using json-schema-for-humans on 2025-02-11 at 14:28:16 +0000