mirror of
https://github.com/valitydev/swag-payments.git
synced 2024-11-06 17:45:24 +00:00
Update bank card spec (#194)
This commit is contained in:
parent
ff1cff34ad
commit
b04a12937f
@ -5,11 +5,15 @@ properties:
|
||||
cardNumberMask:
|
||||
description: Маскированый номер карты
|
||||
type: string
|
||||
pattern: '^\d{2,4}$'
|
||||
pattern: '^\d{6,8}\*+\d{2,4}$'
|
||||
bin:
|
||||
description: BIN банка-эмитента карты
|
||||
type: string
|
||||
pattern: '^\d{6,8}$'
|
||||
lastDigits:
|
||||
description: Последние цифры номера карты
|
||||
type: string
|
||||
pattern: '^\d{2,4}$'
|
||||
paymentSystem:
|
||||
x-rebillyMerge:
|
||||
- $ref: '#/definitions/BankCardPaymentSystem'
|
||||
|
@ -96,12 +96,21 @@ get:
|
||||
type: string
|
||||
maxLength: 40
|
||||
minLength: 1
|
||||
- name: cardNumberMask
|
||||
- name: lastDigits
|
||||
in: query
|
||||
description: Маскированый номер карты
|
||||
description: Последние цифры номера карты
|
||||
required: false
|
||||
type: string
|
||||
pattern: '^\d{2,4}$'
|
||||
|
||||
# ToDo: add as soon as magista has the implementation
|
||||
# - name: bin
|
||||
# in: query
|
||||
# description: BIN банка-эмитента карты
|
||||
# required: false
|
||||
# type: string
|
||||
# pattern: '^\d{6,8}\*+\d{2,4}$'
|
||||
|
||||
- name: paymentAmount
|
||||
in: query
|
||||
description: Сумма платежа
|
||||
|
Loading…
Reference in New Issue
Block a user