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

Agent#

Title: Agent

Type object
Required No
Additional properties Any type allowed
Defined in

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

Property Pattern Type Deprecated Definition Title/Description
- id No string No - Уникальный идентификатор
- customer No object No - -
- fullName No string No - Название
- fullNameEnglish No string No - Название на английском языке
- inn No string No - ИНН
- kpp No string No - КПП
- ogrn No string No - ОГРН
- bankAccount No array of object No In common/_common.schema.json#/bankAccount Реквизиты банковского счета
- addressRegistration No object No In common/_common.schema.json#/address Адрес регистрации
- addressRegistrationEnglish No object No Same as addressRegistration Адрес регистрации на английском языке
- taxResidence No string No In common/_common.schema.json#/country Страна налогового резидентства
- representative No object No Same as representative Подписант
- stampPath No string No - Путь к файлу с изображением штампа
- additionalProperties No object No - -
- required No object No - -
+ status No enum (of string) No - Статус

- `ACTIVE`: действующий агент
- `INACTIVE`: заблокированный агент

1. Property Company > id#

Type string
Required No
Format uuid

Description: Уникальный идентификатор

2. Property Company > customer#

Type object
Required No
Additional properties Any type allowed

3. Property Company > fullName#

Type string
Required No

Description: Название

4. Property Company > fullNameEnglish#

Type string
Required No

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

5. Property Company > inn#

Type string
Required No

Description: ИНН

6. Property Company > kpp#

Type string
Required No

Description: КПП

Restrictions
Min length 9
Max length 9
Must match regular expression ^[0-9]{9}$ Test

7. Property Company > ogrn#

Type string
Required No

Description: ОГРН

8. Property Company > bankAccount#

Type array of object
Required No
Defined in common/_common.schema.json#/bankAccount

Description: Реквизиты банковского счета

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

8.1. Company > bankAccount > bankAccount items#

Type object
Required No
Additional properties Not allowed
Property Pattern Type Deprecated Definition Title/Description
- isPriority No boolean No - Признак приоритетного счета в указанной валюте
+ number No string No - Номер счета
- bank No object No - Банк РФ
- foreignBank No object No - Банк из списка SWIFT
- bankAccountType No enum (of string) No - -
- currency No object No - -
- status No enum (of string) No - Статус

- `ACTIVE`: активный
- `INACTIVE`: заблокированный

8.1.1. Property Company > bankAccount > bankAccount items > isPriority#

Type boolean
Required No

Description: Признак приоритетного счета в указанной валюте

8.1.2. Property Company > bankAccount > bankAccount items > number#

Type string
Required Yes

Description: Номер счета

Restrictions
Max length 50
Must match regular expression ^[0-9a-zA-Z]+$ Test

8.1.3. Property Company > bankAccount > bankAccount items > bank#

Type object
Required No
Additional properties Any type allowed

Description: Банк РФ

8.1.4. Property Company > bankAccount > bankAccount items > foreignBank#

Type object
Required No
Additional properties Any type allowed

Description: Банк из списка SWIFT

8.1.5. Property Company > bankAccount > bankAccount items > bankAccountType#

Type enum (of string)
Required No

Must be one of: * "RUS" * "FOREIGN"

8.1.6. Property Company > bankAccount > bankAccount items > currency#

Type object
Required No
Additional properties Any type allowed

8.1.7. Property Company > bankAccount > bankAccount items > status#

Type enum (of string)
Required No

Description: Статус

  • ACTIVE: активный
  • INACTIVE: заблокированный

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

9. Property Company > addressRegistration#

Type object
Required No
Additional properties Any type allowed
Defined in common/_common.schema.json#/address

Description: Адрес регистрации

Property Pattern Type Deprecated Definition Title/Description
- address No string No - Адрес
- zipCode No string No - Почтовый индекс
- additionalProperties No object No - -
- required No object No - -

9.1. Property Company > addressRegistration > address#

Type string
Required No

Description: Адрес

9.2. Property Company > addressRegistration > zipCode#

Type string
Required No

Description: Почтовый индекс

9.3. Property Company > addressRegistration > additionalProperties#

Type object
Required No
Additional properties Any type allowed

9.4. Property Company > addressRegistration > required#

Type object
Required No
Additional properties Any type allowed

10. Property Company > addressRegistrationEnglish#

Type object
Required No
Additional properties Any type allowed
Same definition as addressRegistration

Description: Адрес регистрации на английском языке

11. Property Company > taxResidence#

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

Description: Страна налогового резидентства

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

12. Property Company > representative#

Type object
Required No
Additional properties Not allowed
Same definition as representative

Description: Подписант

13. Property Company > stampPath#

Type string
Required No

Description: Путь к файлу с изображением штампа

14. Property Company > additionalProperties#

Type object
Required No
Additional properties Any type allowed

15. Property Company > required#

Type object
Required No
Additional properties Any type allowed

16. Property Agent > status#

Type enum (of string)
Required Yes

Description: Статус

  • ACTIVE: действующий агент
  • INACTIVE: заблокированный агент

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


Generated using json-schema-for-humans on 2025-02-11 at 13:20:15 +0000