Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
206 commits
Select commit Hold shift + click to select a range
eedb028
New translations signature.yaml (English)
tolkonepiu Jan 18, 2023
d66666c
New translations NotFound.yaml (English)
tolkonepiu Jan 18, 2023
8f4e1e2
New translations BankCardDetails.yaml (English)
tolkonepiu Jan 18, 2023
aca4785
New translations ClientInfo.yaml (English)
tolkonepiu Jan 18, 2023
b73d1fa
New translations ContactInfo.yaml (English)
tolkonepiu Jan 18, 2023
4576e52
New translations CryptoCurrency.yaml (English)
tolkonepiu Jan 18, 2023
607cac6
New translations CryptoCurrencyType.yaml (English)
tolkonepiu Jan 18, 2023
1ce2272
New translations CryptoWalletDetails.yaml (English)
tolkonepiu Jan 18, 2023
2b23399
New translations Customer.yaml (English)
tolkonepiu Jan 18, 2023
71fb34d
New translations CustomerBinding.yaml (English)
tolkonepiu Jan 18, 2023
7ecc571
New translations CustomerBindingError.yaml (English)
tolkonepiu Jan 18, 2023
a5a07f0
New translations CustomerBindingFailed.yaml (English)
tolkonepiu Jan 18, 2023
af5fdfc
New translations CustomerBindingStarted.yaml (English)
tolkonepiu Jan 18, 2023
c64d4f0
New translations CustomerBindingStatus.yaml (English)
tolkonepiu Jan 18, 2023
d6b6cc6
New translations CustomerBindingSucceeded.yaml (English)
tolkonepiu Jan 18, 2023
a0a81d2
New translations CustomerCreated.yaml (English)
tolkonepiu Jan 18, 2023
09f8db9
New translations CustomerDeleted.yaml (English)
tolkonepiu Jan 18, 2023
1edcb80
New translations CustomerPayer.yaml (English)
tolkonepiu Jan 18, 2023
77dde8e
New translations CustomerReady.yaml (English)
tolkonepiu Jan 18, 2023
d53b2cd
New translations DigitalWalletDetails.yaml (English)
tolkonepiu Jan 18, 2023
fff2d84
New translations DigitalWalletDetailsQIWI.yaml (English)
tolkonepiu Jan 18, 2023
d7a9beb
New translations Event.yaml (English)
tolkonepiu Jan 18, 2023
fd16fc1
New translations GeneralError.yaml (English)
tolkonepiu Jan 18, 2023
c3bf8b3
New translations Invoice.yaml (English)
tolkonepiu Jan 18, 2023
b62e45a
New translations InvoiceCancelled.yaml (English)
tolkonepiu Jan 18, 2023
fa378a0
New translations InvoiceCartLine.yaml (English)
tolkonepiu Jan 18, 2023
fc33c80
New translations InvoiceCreated.yaml (English)
tolkonepiu Jan 18, 2023
17ef823
New translations InvoiceFulfilled.yaml (English)
tolkonepiu Jan 18, 2023
61dc3a0
New translations InvoicePaid.yaml (English)
tolkonepiu Jan 18, 2023
33bfdda
New translations MobileCommerceDetails.yaml (English)
tolkonepiu Jan 18, 2023
96e37e3
New translations Payer.yaml (English)
tolkonepiu Jan 18, 2023
5f7137d
New translations Payment.yaml (English)
tolkonepiu Jan 18, 2023
16d9352
New translations PaymentCancelled.yaml (English)
tolkonepiu Jan 18, 2023
dfc2985
New translations PaymentCaptured.yaml (English)
tolkonepiu Jan 18, 2023
3e471e7
New translations PaymentError.yaml (English)
tolkonepiu Jan 18, 2023
a149175
New translations PaymentFailed.yaml (English)
tolkonepiu Jan 18, 2023
c12ffd6
New translations PaymentProcessed.yaml (English)
tolkonepiu Jan 18, 2023
789c26d
New translations PaymentRecurrentParent.yaml (English)
tolkonepiu Jan 18, 2023
5596402
New translations PaymentRefunded.yaml (English)
tolkonepiu Jan 18, 2023
a594121
New translations PaymentResource.yaml (English)
tolkonepiu Jan 18, 2023
d896f08
New translations PaymentResourcePayer.yaml (English)
tolkonepiu Jan 18, 2023
3d69e3c
New translations PaymentStarted.yaml (English)
tolkonepiu Jan 18, 2023
9124980
New translations PaymentTerminalDetails.yaml (English)
tolkonepiu Jan 18, 2023
97f9473
New translations PaymentToolDetails.yaml (English)
tolkonepiu Jan 18, 2023
b9014e2
New translations PaymentToolDetailsBankCard.yaml (English)
tolkonepiu Jan 18, 2023
6193b36
New translations PaymentToolDetailsCryptoWallet.yaml (English)
tolkonepiu Jan 18, 2023
7808b63
New translations PaymentToolDetailsDigitalWallet.yaml (English)
tolkonepiu Jan 18, 2023
82fbb4d
New translations PaymentToolDetailsMobileCommerce.yaml (English)
tolkonepiu Jan 18, 2023
f3e0317
New translations PaymentToolDetailsPaymentTerminal.yaml (English)
tolkonepiu Jan 18, 2023
9be1811
New translations RecurrentPayer.yaml (English)
tolkonepiu Jan 18, 2023
fc9765d
New translations Refund.yaml (English)
tolkonepiu Jan 18, 2023
502ea3b
New translations RefundCreated.yaml (English)
tolkonepiu Jan 18, 2023
abb296e
New translations RefundFailed.yaml (English)
tolkonepiu Jan 18, 2023
e2aeeeb
New translations RefundPending.yaml (English)
tolkonepiu Jan 18, 2023
caf37ac
New translations RefundSucceeded.yaml (English)
tolkonepiu Jan 18, 2023
69b431f
New translations SubError.yaml (English)
tolkonepiu Jan 18, 2023
bb66d94
New translations openapi.yaml (English)
tolkonepiu Jan 18, 2023
a84123b
New translations webhook-url.yaml (English)
tolkonepiu Jan 18, 2023
0448849
New translations BankCardDetails.yaml (English)
tolkonepiu Jan 18, 2023
e56e366
New translations ClientInfo.yaml (English)
tolkonepiu Jan 18, 2023
d25ba91
New translations ContactInfo.yaml (English)
tolkonepiu Jan 18, 2023
36d83a3
New translations Customer.yaml (English)
tolkonepiu Jan 18, 2023
076f26a
New translations CustomerPayer.yaml (English)
tolkonepiu Jan 18, 2023
1c58508
New translations Event.yaml (English)
tolkonepiu Jan 18, 2023
0f12be4
New translations Invoice.yaml (English)
tolkonepiu Jan 18, 2023
fc99d36
New translations InvoiceCartLine.yaml (English)
tolkonepiu Jan 18, 2023
dcb3fbe
New translations Payment.yaml (English)
tolkonepiu Jan 18, 2023
9979f36
New translations PaymentError.yaml (English)
tolkonepiu Jan 18, 2023
368179f
New translations PaymentRecurrentParent.yaml (English)
tolkonepiu Jan 18, 2023
d8770fa
New translations Refund.yaml (English)
tolkonepiu Jan 18, 2023
6aa5155
New translations SubError.yaml (English)
tolkonepiu Jan 18, 2023
2071aa6
New translations Customer.yaml (English)
tolkonepiu Jan 20, 2023
ff2c988
New translations Invoice.yaml (English)
tolkonepiu Jan 20, 2023
ce1a386
New translations Payer.yaml (English)
tolkonepiu Jan 20, 2023
04971e0
New translations Payment.yaml (English)
tolkonepiu Jan 20, 2023
bb8e069
New translations PaymentToolDetails.yaml (English)
tolkonepiu Jan 20, 2023
770cf41
New translations Refund.yaml (English)
tolkonepiu Jan 20, 2023
993b6f8
New translations Invoice.yaml (English)
tolkonepiu May 4, 2023
b124f65
New translations Payment.yaml (English)
tolkonepiu May 4, 2023
3c325aa
New translations NotFound.yaml (English)
tolkonepiu Aug 1, 2023
147bf6e
New translations BankCardDetails.yaml (English)
tolkonepiu Aug 4, 2023
aa34629
New translations ClientInfo.yaml (English)
tolkonepiu Aug 4, 2023
5af6e84
New translations Customer.yaml (English)
tolkonepiu Aug 4, 2023
1df49c4
New translations CustomerBinding.yaml (English)
tolkonepiu Aug 4, 2023
1ea36f1
New translations CustomerBindingError.yaml (English)
tolkonepiu Aug 4, 2023
3b8b870
New translations CustomerBindingStatus.yaml (English)
tolkonepiu Aug 4, 2023
8610586
New translations Event.yaml (English)
tolkonepiu Aug 4, 2023
10c0540
New translations Invoice.yaml (English)
tolkonepiu Aug 4, 2023
d3c4473
New translations InvoiceCartLine.yaml (English)
tolkonepiu Aug 4, 2023
cb0ad4f
New translations PaymentRecurrentParent.yaml (English)
tolkonepiu Aug 4, 2023
24c2e32
New translations BankCardDetails.yaml (English)
tolkonepiu Aug 7, 2023
9adb984
New translations CryptoCurrency.yaml (English)
tolkonepiu Aug 7, 2023
e6190f8
New translations CryptoCurrencyType.yaml (English)
tolkonepiu Aug 7, 2023
07a3341
New translations MobileCommerceDetails.yaml (English)
tolkonepiu Aug 7, 2023
14ac575
New translations Payment.yaml (English)
tolkonepiu Aug 7, 2023
49a6d5e
New translations PaymentError.yaml (English)
tolkonepiu Aug 7, 2023
4b02b54
New translations PaymentResource.yaml (English)
tolkonepiu Aug 7, 2023
b9a70f9
New translations PaymentToolDetails.yaml (English)
tolkonepiu Aug 7, 2023
5c1a189
New translations RecurrentPayer.yaml (English)
tolkonepiu Aug 7, 2023
d3b7c6b
New translations openapi.yaml (English)
tolkonepiu Aug 7, 2023
ee7ce25
New translations signature.yaml (English)
tolkonepiu Aug 8, 2023
7d8fe7a
New translations ContactInfo.yaml (English)
tolkonepiu Aug 8, 2023
b4f798b
New translations CustomerBinding.yaml (English)
tolkonepiu Aug 8, 2023
21e9a31
New translations CustomerBindingFailed.yaml (English)
tolkonepiu Aug 8, 2023
ff19b3c
New translations CustomerBindingStarted.yaml (English)
tolkonepiu Aug 8, 2023
037a408
New translations CustomerBindingStatus.yaml (English)
tolkonepiu Aug 8, 2023
1de7b46
New translations CustomerBindingSucceeded.yaml (English)
tolkonepiu Aug 8, 2023
fb71074
New translations CustomerCreated.yaml (English)
tolkonepiu Aug 8, 2023
dab7a09
New translations CustomerDeleted.yaml (English)
tolkonepiu Aug 8, 2023
1438636
New translations CustomerReady.yaml (English)
tolkonepiu Aug 8, 2023
ddf7cf7
New translations DigitalWalletDetailsQIWI.yaml (English)
tolkonepiu Aug 8, 2023
998dcf2
New translations Event.yaml (English)
tolkonepiu Aug 8, 2023
e33076d
New translations Invoice.yaml (English)
tolkonepiu Aug 8, 2023
c019b4b
New translations InvoiceCancelled.yaml (English)
tolkonepiu Aug 8, 2023
fa992a9
New translations InvoiceCartLine.yaml (English)
tolkonepiu Aug 8, 2023
d993266
New translations InvoiceCreated.yaml (English)
tolkonepiu Aug 8, 2023
d7f5cf2
New translations InvoiceFulfilled.yaml (English)
tolkonepiu Aug 8, 2023
26c6b64
New translations InvoicePaid.yaml (English)
tolkonepiu Aug 8, 2023
8a430b1
New translations Payment.yaml (English)
tolkonepiu Aug 8, 2023
c3c62d8
New translations PaymentCancelled.yaml (English)
tolkonepiu Aug 8, 2023
a3a8a20
New translations PaymentCaptured.yaml (English)
tolkonepiu Aug 8, 2023
c63a18d
New translations PaymentError.yaml (English)
tolkonepiu Aug 8, 2023
4a98d08
New translations PaymentFailed.yaml (English)
tolkonepiu Aug 8, 2023
603df41
New translations PaymentProcessed.yaml (English)
tolkonepiu Aug 8, 2023
c8e7b4f
New translations PaymentRefunded.yaml (English)
tolkonepiu Aug 8, 2023
cad4355
New translations PaymentResource.yaml (English)
tolkonepiu Aug 8, 2023
34a4298
New translations PaymentResourcePayer.yaml (English)
tolkonepiu Aug 8, 2023
dd46495
New translations PaymentStarted.yaml (English)
tolkonepiu Aug 8, 2023
e498d34
New translations Refund.yaml (English)
tolkonepiu Aug 8, 2023
782f63b
New translations RefundCreated.yaml (English)
tolkonepiu Aug 8, 2023
c72f0a8
New translations RefundFailed.yaml (English)
tolkonepiu Aug 8, 2023
6643fae
New translations RefundPending.yaml (English)
tolkonepiu Aug 8, 2023
2583b56
New translations RefundSucceeded.yaml (English)
tolkonepiu Aug 8, 2023
e263db1
New translations openapi.yaml (English)
tolkonepiu Aug 8, 2023
e68e5b4
New translations webhook-url.yaml (English)
tolkonepiu Aug 8, 2023
55dd903
New translations NotFound.yaml (English)
tolkonepiu Aug 8, 2023
4e53729
New translations BankCardDetails.yaml (English)
tolkonepiu Aug 8, 2023
4d328f4
New translations ContactInfo.yaml (English)
tolkonepiu Aug 8, 2023
e6ed419
New translations CryptoWalletDetails.yaml (English)
tolkonepiu Aug 8, 2023
7682bb4
New translations Customer.yaml (English)
tolkonepiu Aug 8, 2023
df8f3c7
New translations CustomerBinding.yaml (English)
tolkonepiu Aug 8, 2023
39bdcff
New translations CustomerBindingFailed.yaml (English)
tolkonepiu Aug 8, 2023
db6c076
New translations CustomerBindingStarted.yaml (English)
tolkonepiu Aug 8, 2023
f6e7f1b
New translations CustomerBindingStatus.yaml (English)
tolkonepiu Aug 8, 2023
3685fd9
New translations CustomerBindingSucceeded.yaml (English)
tolkonepiu Aug 8, 2023
5896b4c
New translations CustomerCreated.yaml (English)
tolkonepiu Aug 8, 2023
0c67d73
New translations CustomerDeleted.yaml (English)
tolkonepiu Aug 8, 2023
c109ce9
New translations CustomerPayer.yaml (English)
tolkonepiu Aug 8, 2023
2286240
New translations CustomerReady.yaml (English)
tolkonepiu Aug 8, 2023
31a3bef
New translations DigitalWalletDetails.yaml (English)
tolkonepiu Aug 8, 2023
f73bda2
New translations DigitalWalletDetailsQIWI.yaml (English)
tolkonepiu Aug 8, 2023
94f4dbf
New translations Event.yaml (English)
tolkonepiu Aug 8, 2023
0797ebe
New translations Invoice.yaml (English)
tolkonepiu Aug 8, 2023
7cea2a7
New translations InvoiceCancelled.yaml (English)
tolkonepiu Aug 8, 2023
b69b4c6
New translations InvoiceCartLine.yaml (English)
tolkonepiu Aug 8, 2023
9c89043
New translations InvoiceCreated.yaml (English)
tolkonepiu Aug 8, 2023
702f38c
New translations InvoiceFulfilled.yaml (English)
tolkonepiu Aug 8, 2023
d1bf10c
New translations InvoicePaid.yaml (English)
tolkonepiu Aug 8, 2023
d808c09
New translations MobileCommerceDetails.yaml (English)
tolkonepiu Aug 8, 2023
116be56
New translations Payer.yaml (English)
tolkonepiu Aug 8, 2023
3d3c646
New translations Payment.yaml (English)
tolkonepiu Aug 8, 2023
f7eaf24
New translations PaymentCancelled.yaml (English)
tolkonepiu Aug 8, 2023
eb324e3
New translations PaymentCaptured.yaml (English)
tolkonepiu Aug 8, 2023
d4fb3ae
New translations PaymentError.yaml (English)
tolkonepiu Aug 8, 2023
74d4706
New translations PaymentFailed.yaml (English)
tolkonepiu Aug 8, 2023
abde124
New translations PaymentProcessed.yaml (English)
tolkonepiu Aug 8, 2023
d51da2c
New translations PaymentRecurrentParent.yaml (English)
tolkonepiu Aug 8, 2023
e0ecfaf
New translations PaymentRefunded.yaml (English)
tolkonepiu Aug 8, 2023
ee4f7bf
New translations PaymentResource.yaml (English)
tolkonepiu Aug 8, 2023
96f401d
New translations PaymentResourcePayer.yaml (English)
tolkonepiu Aug 8, 2023
6ac0aa2
New translations PaymentStarted.yaml (English)
tolkonepiu Aug 8, 2023
c4fcef6
New translations PaymentToolDetails.yaml (English)
tolkonepiu Aug 8, 2023
027f9ae
New translations PaymentToolDetailsBankCard.yaml (English)
tolkonepiu Aug 8, 2023
5aa4120
New translations PaymentToolDetailsCryptoWallet.yaml (English)
tolkonepiu Aug 8, 2023
2c39bbb
New translations PaymentToolDetailsDigitalWallet.yaml (English)
tolkonepiu Aug 8, 2023
f4f6b4a
New translations PaymentToolDetailsMobileCommerce.yaml (English)
tolkonepiu Aug 8, 2023
653709c
New translations PaymentToolDetailsPaymentTerminal.yaml (English)
tolkonepiu Aug 8, 2023
30b4e05
New translations RecurrentPayer.yaml (English)
tolkonepiu Aug 8, 2023
ab72e5a
New translations Refund.yaml (English)
tolkonepiu Aug 8, 2023
a9f94a4
New translations RefundCreated.yaml (English)
tolkonepiu Aug 8, 2023
b611d7b
New translations RefundFailed.yaml (English)
tolkonepiu Aug 8, 2023
77909fa
New translations RefundPending.yaml (English)
tolkonepiu Aug 8, 2023
c728171
New translations RefundSucceeded.yaml (English)
tolkonepiu Aug 8, 2023
0213374
New translations SubError.yaml (English)
tolkonepiu Aug 8, 2023
bd3a423
New translations openapi.yaml (English)
tolkonepiu Aug 8, 2023
03593b0
New translations webhook-url.yaml (English)
tolkonepiu Aug 8, 2023
0ab5b83
New translations payment.yaml (English)
tolkonepiu Nov 2, 2023
12452ca
New translations event.yaml (English)
tolkonepiu Nov 24, 2023
5d3ca8c
New translations payment.yaml (English)
tolkonepiu Nov 24, 2023
bc7ebea
New translations paymentcashchanged.yaml (English)
tolkonepiu Nov 24, 2023
1db8bc6
New translations event.yaml (English)
tolkonepiu Feb 26, 2024
dc6e4fd
New translations apiextensioninfo.yaml (English)
tolkonepiu Feb 26, 2024
ea18132
New translations apiextensionrequest.yaml (English)
tolkonepiu Feb 26, 2024
6e32dd8
New translations browserhttpinfo.yaml (English)
tolkonepiu Feb 26, 2024
c79b47f
New translations browserhttprequest.yaml (English)
tolkonepiu Feb 26, 2024
88fbd05
New translations cryptocash.yaml (English)
tolkonepiu Feb 26, 2024
e15c7c5
New translations cryptocurrencytransferinfo.yaml (English)
tolkonepiu Feb 26, 2024
1c0f723
New translations cryptocurrencytransferrequest.yaml (English)
tolkonepiu Feb 26, 2024
4872d50
New translations paymentinteractioncompleted.yaml (English)
tolkonepiu Feb 26, 2024
a9d7ff2
New translations paymentinteractionrequested.yaml (English)
tolkonepiu Feb 26, 2024
7688058
New translations paymentterminalreceipt.yaml (English)
tolkonepiu Feb 26, 2024
1184366
New translations paymentterminalreceiptinfo.yaml (English)
tolkonepiu Feb 26, 2024
7eeb655
New translations qrcodedisplayinfo.yaml (English)
tolkonepiu Feb 26, 2024
70691d4
New translations qrcodedisplayrequest.yaml (English)
tolkonepiu Feb 26, 2024
e3441c3
New translations rational.yaml (English)
tolkonepiu Feb 26, 2024
4dd3411
New translations userinteractiondetails.yaml (English)
tolkonepiu Feb 26, 2024
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
7 changes: 7 additions & 0 deletions en/openapi/components/parameters/signature.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: Content-Signature
in: header
description: >
Message signature formed according to the above rules
required: true
schema:
type: string
5 changes: 5 additions & 0 deletions en/openapi/components/responses/NotFound.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
description: Target resource not found
content:
application/json; charset=utf-8:
schema:
$ref: "../schemas/GeneralError.yaml"
8 changes: 8 additions & 0 deletions en/openapi/components/schemas/ApiExtensionInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
description: Api extension request
type: object
required:
- apiType
properties:
apiType:
description: Api type
type: string
10 changes: 10 additions & 0 deletions en/openapi/components/schemas/ApiExtensionRequest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
description: Browser http request
type: object
required:
- apiExtensionInfo
allOf:
-
$ref: "../schemas/UserInteractionDetails.yaml"
properties:
apiExtensionInfo:
$ref: "../schemas/ApiExtensionInfo.yaml"
49 changes: 49 additions & 0 deletions en/openapi/components/schemas/BankCardDetails.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
required:
- bin
- lastDigits
- cardNumberMask
- paymentSystem
properties:
bin:
description: Card issuing bank BIN
type: string
pattern: '^\d{6,8}$'
lastDigits:
description: Card last digits
type: string
pattern: '^\d{2,4}$'
cardNumberMask:
description: Masked card number
type: string
pattern: '^\d{6,8}\*+\d{2,4}$'
paymentSystem:
description: Payment system
type: string
maxLength: 100
tokenProvider:
description: Payment token provider
type: string
enum:
- applepay
- googlepay
- samsungpay
- yandexpay
- unknown
deprecated: true
tokenProviderName:
description: Payment token provider
type: string
issuerCountry:
description: Issuing country (alpha-3 code according to ISO_3166-1)
type: string
example:
- "RUS"
- "POL"
- "USA"
bankName:
description: Bank name
type: string
example:
- "SBERBANK OF RUSSIA"
- "JOINT STOCK COMPANY ALFA-BANK"
- "VTB BANK OJSC"
21 changes: 21 additions & 0 deletions en/openapi/components/schemas/BrowserHTTPInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
description: Browser http request
type: object
required:
- requestType
- url
properties:
requestType:
description: Type of http request
type: string
enum:
- get
- post
url:
description: Uniform Resource Locator
type: string
maxLength: 1000
form:
type: object
additionalProperties:
type: string
maxLength: 1000
10 changes: 10 additions & 0 deletions en/openapi/components/schemas/BrowserHTTPRequest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
description: Browser http request
type: object
required:
- browserHTTPInfo
allOf:
-
$ref: "../schemas/UserInteractionDetails.yaml"
properties:
browserHTTPInfo:
$ref: "../schemas/BrowserHTTPInfo.yaml"
14 changes: 14 additions & 0 deletions en/openapi/components/schemas/ClientInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: Payer's client device data
type: object
required:
- fingerprint
properties:
ip:
description: Payer IP-address
type: string
format: ip-address
maxLength: 45
fingerprint:
description: Payer's user agent unique fingerprint
type: string
maxLength: 1000
13 changes: 13 additions & 0 deletions en/openapi/components/schemas/ContactInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
description: Payer's contact information
type: object
properties:
email:
description: Email address
type: string
format: email
maxLength: 100
phoneNumber:
description: >
Mobile phone number with international prefix according to [E.164](https://en.wikipedia.org/wiki/E.164).
type: string
format: '^\+\d{4,15}$'
10 changes: 10 additions & 0 deletions en/openapi/components/schemas/CryptoCash.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
description: Crypto cash
type: object
required:
- cryptoAmount
- cryptoCurrency
properties:
cryptoAmount:
$ref: "../schemas/Rational.yaml"
cryptoCurrency:
$ref: "../schemas/CryptoCurrency.yaml"
11 changes: 11 additions & 0 deletions en/openapi/components/schemas/CryptoCurrency.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
description: Cryptocurrency type
type: string
enum:
- bitcoin
- litecoin
- bitcoinCash
- ripple
- ethereum
- zcash
- unknown
deprecated: true
11 changes: 11 additions & 0 deletions en/openapi/components/schemas/CryptoCurrencyTransferInfo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
description: Crypto currency transfer request
type: object
required:
- cryptoAddress
- cryptoCash
properties:
cryptoAddress:
description: Crypto address
type: string
cryptoCash:
$ref: "../schemas/CryptoCurrencyType.yaml"
10 changes: 10 additions & 0 deletions en/openapi/components/schemas/CryptoCurrencyTransferRequest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
description: Crypto currency transfer request
type: object
required:
- cryptoCurrencyTransferInfo
allOf:
-
$ref: "../schemas/UserInteractionDetails.yaml"
properties:
cryptoCurrencyTransferInfo:
$ref: "../schemas/CryptoCurrencyTransferInfo.yaml"
2 changes: 2 additions & 0 deletions en/openapi/components/schemas/CryptoCurrencyType.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
description: Cryptocurrency type
type: string
7 changes: 7 additions & 0 deletions en/openapi/components/schemas/CryptoWalletDetails.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
required:
- cryptoCurrency
properties:
cryptoCurrency:
$ref: "../schemas/CryptoCurrency.yaml"
cryptoCurrencyType:
$ref: "../schemas/CryptoCurrencyType.yaml"
26 changes: 26 additions & 0 deletions en/openapi/components/schemas/Customer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
description: Customer details
type: object
required:
- id
- shopID
- status
- contactInfo
- metadata
properties:
id:
description: Customer ID
type: string
shopID:
description: Shop ID
type: string
status:
description: Customer status
type: string
enum:
- ready
- unready
contactInfo:
$ref: "../schemas/ContactInfo.yaml"
metadata:
description: Customer metadata
type: object
16 changes: 16 additions & 0 deletions en/openapi/components/schemas/CustomerBinding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
description: Binding of the customer to the payment tool
type: object
allOf:
-
$ref: "../schemas/CustomerBindingStatus.yaml"
-
type: object
required:
- id
- paymentResource
properties:
id:
description: Customer binding identifier
type: string
paymentResource:
$ref: "../schemas/PaymentResource.yaml"
10 changes: 10 additions & 0 deletions en/openapi/components/schemas/CustomerBindingError.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
description: Description of the error that occurred during the binding process
type: object
required:
- code
- message
properties:
code:
type: string
message:
type: string
14 changes: 14 additions & 0 deletions en/openapi/components/schemas/CustomerBindingFailed.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: Event about unsuccessful binding of the customer to the payment tool
allOf:
-
$ref: "../schemas/Event.yaml"
-
type: object
required:
- customer
- binding
properties:
customer:
$ref: "../schemas/Customer.yaml"
binding:
$ref: "../schemas/CustomerBinding.yaml"
14 changes: 14 additions & 0 deletions en/openapi/components/schemas/CustomerBindingStarted.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: Customer binding creation event
allOf:
-
$ref: "../schemas/Event.yaml"
-
type: object
required:
- customer
- binding
properties:
customer:
$ref: "../schemas/Customer.yaml"
binding:
$ref: "../schemas/CustomerBinding.yaml"
14 changes: 14 additions & 0 deletions en/openapi/components/schemas/CustomerBindingStatus.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: Status of binding the customer to the payment tool
type: object
required:
- status
properties:
status:
description: Binding status
type: string
enum:
- pending
- succeeded
- failed
error:
$ref: "../schemas/CustomerBindingError.yaml"
14 changes: 14 additions & 0 deletions en/openapi/components/schemas/CustomerBindingSucceeded.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: Event about successful binding of the customer to the payment tool
allOf:
-
$ref: "../schemas/Event.yaml"
-
type: object
required:
- customer
- binding
properties:
customer:
$ref: "../schemas/Customer.yaml"
binding:
$ref: "../schemas/CustomerBinding.yaml"
11 changes: 11 additions & 0 deletions en/openapi/components/schemas/CustomerCreated.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
description: Customer creation event
allOf:
-
$ref: "../schemas/Event.yaml"
-
type: object
required:
- customer
properties:
customer:
$ref: "../schemas/Customer.yaml"
11 changes: 11 additions & 0 deletions en/openapi/components/schemas/CustomerDeleted.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
description: Customer deletion event
allOf:
-
$ref: "../schemas/Event.yaml"
-
type: object
required:
- customer
properties:
customer:
$ref: "../schemas/Customer.yaml"
12 changes: 12 additions & 0 deletions en/openapi/components/schemas/CustomerPayer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
type: object
allOf:
-
$ref: "../schemas/Payer.yaml"
-
type: object
required:
- customerID
properties:
customerID:
description: Customer ID
type: string
11 changes: 11 additions & 0 deletions en/openapi/components/schemas/CustomerReady.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
description: Event on the occurrence of the customer's readiness to make payment
allOf:
-
$ref: "../schemas/Event.yaml"
-
type: object
required:
- customer
properties:
customer:
$ref: "../schemas/Customer.yaml"
11 changes: 11 additions & 0 deletions en/openapi/components/schemas/DigitalWalletDetails.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
required:
- digitalWalletDetailsType
properties:
digitalWalletDetailsType:
type: string
enum:
- DigitalWalletDetailsQIWI
discriminator:
propertyName: digitalWalletDetailsType
mapping:
"DigitalWalletDetailsQIWI": "../schemas/DigitalWalletDetailsQIWI.yaml"
14 changes: 14 additions & 0 deletions en/openapi/components/schemas/DigitalWalletDetailsQIWI.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
allOf:
-
$ref: "../schemas/DigitalWalletDetails.yaml"
-
type: object
required:
- phoneNumberMask
properties:
phoneNumberMask:
type: string
description: |
Masked phone number of the payer in international format
pattern: '^\+\d\*{1,10}\d{2,4}$'
example: "+7******3210"
Loading