Merge pull request #5 from rbkmoney/ft/add-payer-types

Added payers
This commit is contained in:
Pospolita Nikita 2019-05-28 18:53:47 +03:00 committed by GitHub
commit 343fcc3be2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,13 @@
type: object
description: Многоразовое платежное средство
allOf:
- $ref: '#/definitions/Payer'
- type: object
required:
- customerID
properties:
customerID:
description: Идентификатор плательщика
type: string
maxLength: 40
minLength: 1

View File

@ -0,0 +1,12 @@
type: object
description: Родительский платеж, на основе которого создан текущий рекуррентный платеж
required:
- invoiceID
- paymentID
properties:
invoiceID:
description: Идентификатор инвойса
type: string
paymentID:
description: Идентификатор платежа
type: string

View File

@ -0,0 +1,13 @@
type: object
description: Многоразовое платежное средство на основе другого платежа
allOf:
- $ref: '#/definitions/Payer'
- type: object
required:
- contactInfo
- recurrentParentPayment
properties:
contactInfo:
$ref: '#/definitions/ContactInfo'
recurrentParentPayment:
$ref: '#/definitions/PaymentRecurrentParent'