Added lastDigits

This commit is contained in:
Inal Arsanukaev 2018-05-10 17:08:03 +03:00
parent f23320bedd
commit b99b9d620e
3 changed files with 7 additions and 3 deletions

1
.gitignore vendored
View File

@ -39,7 +39,6 @@ node_modules
.DS_Store
package-lock.json
.DS_Store
swagger.json
java/

View File

@ -9,7 +9,7 @@
"gulp": "^3.9.1",
"gulp-connect": "^4.2.0",
"gulp-util": "^3.0.7",
"npm": "^5.7.1",
"npm": "^5.8.0",
"portfinder": "^1.0.3",
"shelljs": "^0.7.0",
"swagger-repo": "^1.0.0",

View File

@ -1,14 +1,19 @@
required:
- bin
- lastDigits
- cardNumberMask
- paymentSystem
properties:
bin:
description: БИН банка-эмитента карты
type: string
lastDigits:
description: Последние цифры номера карты
type: string
pattern: '^\d{2,4}$'
cardNumberMask:
description: Маскированый номер карты
type: string
pattern: '^\d{4}$'
paymentSystem:
description: Платежная система
type: string