mirror of
https://github.com/valitydev/swag-payments.git
synced 2024-11-07 01:55:22 +00:00
3a34b8915b
* CAPI-97 Add payments search, update invoices search. Remove statuses array in invoices/payments search requests
26 lines
693 B
YAML
26 lines
693 B
YAML
type: object
|
|
allOf:
|
|
- $ref: '#/definitions/PaymentTool'
|
|
- type: object
|
|
description: Банковская карта
|
|
required:
|
|
- cardNumber
|
|
- expDate
|
|
- cvv
|
|
properties:
|
|
cardNumber:
|
|
description: Номер банковской карты
|
|
type: string
|
|
pattern: '^\d{12,19}$'
|
|
expDate:
|
|
description: Срок действия банковской карты
|
|
type: string
|
|
pattern: '^\d{2}\/\d{2}$'
|
|
cvv:
|
|
description: Код верификации
|
|
type: string
|
|
pattern: '^\d{3,4}$'
|
|
cardHolder:
|
|
description: Имя держателя карты
|
|
type: string
|