Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions spec/definitions/Claim.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions spec/definitions/ClaimAccepted.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions spec/definitions/ClaimChangeset.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions spec/definitions/ClaimDenied.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions spec/definitions/ClaimPending.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions spec/definitions/ClaimRevoked.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions spec/definitions/GeoLocationInfo.yaml

This file was deleted.

51 changes: 0 additions & 51 deletions spec/definitions/InvoiceSearchResult.yaml

This file was deleted.

19 changes: 0 additions & 19 deletions spec/definitions/PaymentConversionStat.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions spec/definitions/PaymentGeoStat.yaml

This file was deleted.

26 changes: 0 additions & 26 deletions spec/definitions/PaymentMethodBankCardStat.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions spec/definitions/PaymentMethodStat.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions spec/definitions/PaymentRateStat.yaml

This file was deleted.

19 changes: 0 additions & 19 deletions spec/definitions/PaymentRevenueStat.yaml

This file was deleted.

13 changes: 2 additions & 11 deletions spec/definitions/PaymentSearchResult.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ allOf:
id:
description: Идентификатор платежа
type: string
shortID:
description: Cокращенный идентификатор платежа и инвойса (spid)
type: string
invoiceID:
description: 'Идентификатор инвойса, в рамках которого был создан платеж'
type: string
Expand All @@ -34,9 +31,9 @@ allOf:
качестве валюты.
type: integer
format: int64
minimum: 1
minimum: 0
fee:
description: 'Комиссия системы, в минорных денежных единицах'
description: Комиссия системы в минорных денежных единицах
type: integer
format: int64
minimum: 0
Expand All @@ -47,8 +44,6 @@ allOf:
$ref: '#/definitions/Payer'
flow:
$ref: '#/definitions/PaymentFlow'
geoLocationInfo:
$ref: '#/definitions/GeoLocationInfo'
metadata:
description: Связанные с платежом метаданные
type: object
Expand All @@ -57,13 +52,9 @@ allOf:
type: string
format: date-time
transactionInfo:
description: 'Информация о транзакции'
$ref: '#/definitions/TransactionInfo'
makeRecurrent:
x-rebillyMerge:
- $ref: '#/definitions/PaymentMakeRecurrent'
- readOnly: true
cart:
$ref: '#/definitions/InvoiceCart'
allocation:
$ref: '#/definitions/Allocation'
14 changes: 0 additions & 14 deletions spec/definitions/RefundSearchResult.yaml

This file was deleted.

38 changes: 0 additions & 38 deletions spec/definitions/ServiceProvider.yaml

This file was deleted.

7 changes: 3 additions & 4 deletions spec/definitions/Shop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ required:
- createdAt
- isBlocked
- isSuspended
- categoryID
- location
- categoryID
- details
- contractID
properties:
Expand All @@ -23,9 +23,6 @@ properties:
isSuspended:
description: Приостановлены ли операции в рамках магазина?
type: boolean
currency:
x-rebillyMerge:
- $ref: '#/definitions/Currency'
categoryID:
description: |
Идентификатор категории товаров и услуг, предлагаемых в этом магазине
Expand All @@ -49,3 +46,5 @@ properties:
description: Идентификатор расписания выводов
type: integer
format: int32
account:
$ref: '#/definitions/ShopAccount'
16 changes: 16 additions & 0 deletions spec/definitions/ShopAccount.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
description: Счета магазина
type: object
required:
- currency
- guaranteeID
- settlementID
properties:
currency:
x-rebillyMerge:
- $ref: '#/definitions/Currency'
guaranteeID:
type: integer
format: int64
settlementID:
type: integer
format: int64
2 changes: 1 addition & 1 deletion spec/definitions/TransactionInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ properties:
rrn:
description: 'Retrieval Reference Number'
type: string
pattern: '^[a-zA-Z0-9]{4,20}$'
pattern: '^[a-zA-Z0-9]{12}$'
approvalCode:
description: 'Authorization Approval Code'
type: string
Loading