After review

This commit is contained in:
k.struzhkin 2021-02-25 15:16:32 +03:00
parent 9961d01a7c
commit 00ca863eee
2 changed files with 9 additions and 4 deletions

View File

@ -15,10 +15,10 @@ properties:
minLength: 3
maxLength: 20
binCountryCode:
description: Страна банковской карты
description: 'Страна карты, alpha-3 код по стандарту [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1)'
type: string
minLength: 3
maxLength: 3
pattern: '^[A-Z]{3}$'
example: "RUS"
cardToken:
description: Токен идентифицирующий карту
type: string
@ -27,3 +27,5 @@ properties:
bankName:
description: Название банка
type: string
minLength: 1
maxLength: 200

View File

@ -7,6 +7,9 @@ properties:
description: Сумма платежа
type: int64
currency:
description: Валюта платежа
description: >-
Валюта, символьный код согласно [ISO
4217](http://www.iso.org/iso/home/standards/currency_codes.htm).
type: string
pattern: '^[A-Z]{3}$'