Translate into english (#38)

* Translate into english

* Update api/payres/spec/swagger.yaml

* Update api/wallet/spec/definitions/DepositRevertStatus.yaml

* Revert webhook public key example

* Apply suggestions from code review

Co-authored-by: vilorij <vilorij@ya.ru>
Co-authored-by: Rinat Arsaev <11846445+A77AY@users.noreply.github.com>

* Update api/wallet/spec/definitions/WithdrawalsTopic.yaml

* Update api/wallet/spec/paths/identities@{identityID}@withdrawal-methods.yaml

* Update api/wallet/spec/paths/destinations@{destinationID}@grants.yaml

* Format MD parts

* Update api/wallet/spec/definitions/CurrencyID.yaml

* Update api/wallet/spec/definitions/Deposit.yaml

* Apply suggestions from code review

Co-authored-by: vilorij <vilorij@ya.ru>
Co-authored-by: Артем <WWW_cool@inbox.ru>

* Update api/wallet/spec/definitions/Deposit.yaml

* Update api/wallet/spec/definitions/Identity.yaml

Co-authored-by: Артем <WWW_cool@inbox.ru>

* Update api/wallet/spec/definitions/DestinationGrantRequest.yaml

Co-authored-by: vilorij <vilorij@ya.ru>

* Update api/wallet/spec/definitions/DestinationGrantRequest.yaml

Co-authored-by: vilorij <vilorij@ya.ru>

* Update api/wallet/spec/definitions/DestinationGrantRequest.yaml

Co-authored-by: vilorij <vilorij@ya.ru>

* Update api/wallet/spec/definitions/FileDownload.yaml

Co-authored-by: vilorij <vilorij@ya.ru>

* Update api/wallet/spec/definitions/W2WTransfer.yaml

Co-authored-by: vilorij <vilorij@ya.ru>

* Update api/payres/spec/swagger.yaml

Co-authored-by: Артем <WWW_cool@inbox.ru>

* Update api/wallet/spec/definitions/Destination.yaml

Co-authored-by: Артем <WWW_cool@inbox.ru>

* Update api/wallet/spec/definitions/Provider.yaml

Co-authored-by: vilorij <vilorij@ya.ru>

* Update api/wallet/spec/definitions/Report.yaml

Co-authored-by: vilorij <vilorij@ya.ru>

* Update api/wallet/spec/definitions/Identity.yaml

Co-authored-by: Артем <WWW_cool@inbox.ru>

* Update api/wallet/spec/definitions/Provider.yaml

Co-authored-by: Артем <WWW_cool@inbox.ru>

* Update api/wallet/spec/definitions/Report.yaml

Co-authored-by: vilorij <vilorij@ya.ru>

* Update api/wallet/spec/definitions/QuoteParameters.yaml

* Update api/wallet/spec/definitions/SourceID.yaml

Co-authored-by: vilorij <vilorij@ya.ru>

* Update api/wallet/spec/definitions/ReceiverResource.yaml

Co-authored-by: Артем <WWW_cool@inbox.ru>

* Fixes

* Remove crowdin configuration

Co-authored-by: vilorij <vilorij@ya.ru>
Co-authored-by: Rinat Arsaev <11846445+A77AY@users.noreply.github.com>
Co-authored-by: Артем <WWW_cool@inbox.ru>
This commit is contained in:
Pavel Popov 2023-01-16 15:38:24 +07:00 committed by GitHub
parent cd91884a06
commit c9461e1782
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
141 changed files with 1303 additions and 1259 deletions

8
.gitignore vendored
View File

@ -33,8 +33,8 @@ node_modules
# Optional REPL history # Optional REPL history
.node_repl_history .node_repl_history
# CI
.wercker
# Frontend # Frontend
/lib /lib
# Other
.DS_Store

View File

@ -1,7 +1,8 @@
---
type: object type: object
properties: properties:
authData: authData:
description: Данные для авторизации платежа по карте description: Data for card withdrawal authorization
type: string type: string
minLength: 1 minLength: 1
maxLength: 1000 maxLength: 1000

View File

@ -1,31 +1,33 @@
description: Данные банковской карты ---
description: Bank card details
type: object type: object
required: required:
- cardNumber - cardNumber
properties: properties:
type: type:
description: Банковская карта description: Card
type: string type: string
enum: [BankCard] enum:
- BankCard
cardNumber: cardNumber:
description: Номер банковской карты description: Card number
type: string type: string
pattern: '^\d{12,19}$' pattern: '^\d{12,19}$'
example: "4242424242424242" example: "4242424242424242"
expDate: expDate:
description: Срок действия банковской карты description: Сard expiration date
type: string type: string
pattern: '^\d{2}\/(\d{2}|\d{4})$' pattern: '^\d{2}\/(\d{2}|\d{4})$'
example: "12/21" example: "12/21"
cardHolder: cardHolder:
description: Имя держателя карты description: Cardholder name
type: string type: string
pattern: '^[[:alpha:][:space:][:punct:]]+$' pattern: "^[[:alpha:][:space:][:punct:]]+$"
minLength: 1 minLength: 1
maxLength: 100 maxLength: 100
example: "LEXA SVOTIN" example: "LEEROY JENKINS"
cvv: cvv:
description: Код верификации description: Verification code
type: string type: string
pattern: '^\d{3,4}$' pattern: '^\d{3,4}$'
example: "321" example: "321"

View File

@ -1,14 +1,6 @@
---
description: | description: |
Платежная система. Payment system.
Набор систем, доступных для проведения выплат, можно узнать, вызвав соответствующую [операцию](#operation/getWithdrawalMethods). The set of systems available for making withdrawals can be found by calling the corresponding [operation](#operation/getWithdrawalMethods).
type: string type: string
# enum:
# - visa
# - mastercard
# - amex
# - dinersclub
# - discover
# - unionpay
# - jcb
# - nspkmir

View File

@ -1,17 +1,18 @@
description: Безопасные данные банковской карты ---
description: Secure bank card details
type: object type: object
required: required:
- token - token
properties: properties:
token: token:
description: Токен, идентифицирующий исходные данные карты description: Token identifying the original card data
type: string type: string
minLength: 1 minLength: 1
maxLength: 1000 maxLength: 1000
example: zu3TcwGI71Bpaaw2XkLWZXlhMdn4zpVzMQg9xMkh example: zu3TcwGI71Bpaaw2XkLWZXlhMdn4zpVzMQg9xMkh
bin: bin:
description: | description: |
[Идентификационный номер][1] банка-эмитента карты [Identification number][1] of the card issuing bank
[1]: https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_(IIN) [1]: https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_(IIN)
type: string type: string
@ -19,7 +20,7 @@ properties:
example: "424242" example: "424242"
readOnly: true readOnly: true
lastDigits: lastDigits:
description: Последние цифры номера карты description: Card last digits
type: string type: string
pattern: '^\d{2,4}$' pattern: '^\d{2,4}$'
example: "4242" example: "4242"

View File

@ -1,4 +1,5 @@
---
type: object type: object
allOf: allOf:
- $ref: '#/definitions/SecuredBankCard' - $ref: "#/definitions/SecuredBankCard"
- $ref: '#/definitions/AuthData' - $ref: "#/definitions/AuthData"

View File

@ -1,7 +1,8 @@
---
type: object type: object
properties: properties:
validUntil: validUntil:
description: Дата и время, до наступления которых токен платёжного ресурса остается действительным description: The date and time by which the withdrawal resource token remains valid
type: string type: string
format: date-time format: date-time
readOnly: true readOnly: true

View File

@ -1,3 +1,4 @@
---
type: object type: object
properties: properties:
message: message:

View File

@ -1,26 +1,27 @@
---
post: post:
operationId: storeBankCard operationId: storeBankCard
summary: Сохранить банковскую карту summary: Save card
tags: tags:
- Payment Resources - Withdrawal Resources
parameters: parameters:
- $ref: '#/parameters/requestID' - $ref: "#/parameters/requestID"
- name: bankCard - name: bankCard
description: Данные банковской карты description: Сard details
in: body in: body
required: true required: true
schema: schema:
$ref: '#/definitions/BankCard' $ref: "#/definitions/BankCard"
responses: responses:
'201': "201":
description: Карта сохранена description: Card saved
schema: schema:
$ref: '#/definitions/StoreBankCardResponse' $ref: "#/definitions/StoreBankCardResponse"
'400': "400":
$ref: '#/responses/BadRequest' $ref: "#/responses/BadRequest"
'401': "401":
$ref: '#/responses/Unauthorized' $ref: "#/responses/Unauthorized"
'422': "422":
description: Непригодные данные банковской карты description: Invalid сard details
schema: schema:
$ref: '#/definitions/InvalidBankCard' $ref: "#/definitions/InvalidBankCard"

View File

@ -1,25 +1,26 @@
---
get: get:
operationId: getBankCard operationId: getBankCard
summary: Получить данные банковской карты summary: Receive bank card details
tags: tags:
- Payment Resources - Withdrawal Resources
parameters: parameters:
- $ref: '#/parameters/requestID' - $ref: "#/parameters/requestID"
- name: token - name: token
description: Данные банковской карты description: Bank card details
in: path in: path
required: true required: true
type: string type: string
minLength: 1 minLength: 1
maxLength: 1000 maxLength: 1000
responses: responses:
'200': "200":
description: Данные карты найдены description: Card data found
schema: schema:
$ref: '#/definitions/SecuredBankCard' $ref: "#/definitions/SecuredBankCard"
'400': "400":
$ref: '#/responses/BadRequest' $ref: "#/responses/BadRequest"
'401': "401":
$ref: '#/responses/Unauthorized' $ref: "#/responses/Unauthorized"
'404': "404":
$ref: '#/responses/NotFound' $ref: "#/responses/NotFound"

View File

@ -1,14 +1,14 @@
swagger: '2.0' ---
swagger: "2.0"
info: info:
version: '0.1.0' version: "0.1.0"
title: Vality Payment Resource API title: Vality Payment Resource API
description: > description: >
Vality Payment Resource API служит для токенизации чувствительных данных платёжных ресурсов пользователей. The Vality Payment Resource API is used to tokenize sensitive data of users' payment resources.
termsOfService: https://vality.dev/ termsOfService: https://vality.dev/
contact: contact:
name: Команда техподдержки name: Support Team
email: support@vality.dev email: support@vality.dev
url: https://vality.dev/ url: https://vality.dev/
host: api.vality.dev host: api.vality.dev
@ -25,8 +25,8 @@ securityDefinitions:
name: Authorization name: Authorization
in: header in: header
description: > description: >
Для аутентификации вызовов мы используем [JWT](https://jwt.io). Use [JWT](https://jwt.io) for call authentication.
Cоответствующий ключ передается в заголовке. The corresponding key is passed in the header.
```shell ```shell
Authorization: Bearer {TOKENIZATION|PRIVATE_JWT} Authorization: Bearer {TOKENIZATION|PRIVATE_JWT}
@ -34,33 +34,25 @@ securityDefinitions:
security: security:
- bearer: [] - bearer: []
responses: responses:
NotFound: NotFound:
description: Искомая сущность не найдена description: The content you are looking for was not found
BadRequest: BadRequest:
description: Недопустимые для операции входные данные description: Invalid input data for operation
schema: schema:
$ref: '#/definitions/BadRequest' $ref: "#/definitions/BadRequest"
Unauthorized: Unauthorized:
description: Ошибка авторизации description: Authorization Error
parameters: parameters:
requestID: requestID:
name: X-Request-ID name: X-Request-ID
in: header in: header
description: Уникальный идентификатор запроса к системе description: Unique identifier of the request to the system
required: true required: true
type: string type: string
maxLength: 32 maxLength: 32
minLength: 1 minLength: 1
tags: tags:
- name: Payment Resources - name: Payment Resources
x-displayName: Платёжные ресурсы x-displayName: Payment resources
description: "" description: ""

View File

@ -1,3 +1,4 @@
---
type: object type: object
properties: properties:
type: type:
@ -6,4 +7,4 @@ properties:
token: token:
type: string type: string
binDataID: binDataID:
type: string type: string

View File

@ -1,5 +1,6 @@
---
description: | description: |
Объём денежных средств The amount of money
type: object type: object
required: required:
- amount - amount
@ -7,10 +8,10 @@ required:
properties: properties:
amount: amount:
description: | description: |
Сумма денежных средств в минорных единицах, например, в копейках The amount of money in minor units, for example, in cents
type: integer type: integer
format: int64 format: int64
example: 1430000 example: 1430000
currency: currency:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/CurrencyID' - $ref: "#/definitions/CurrencyID"

View File

@ -1,4 +1,5 @@
description: Банковская карта ---
description: Card
allOf: allOf:
- $ref: '#/definitions/DestinationResource' - $ref: "#/definitions/DestinationResource"
- $ref: '#/definitions/SecuredBankCard' - $ref: "#/definitions/SecuredBankCard"

View File

@ -1,10 +1,11 @@
description: Банковская карта ---
description: Card
allOf: allOf:
- $ref: '#/definitions/ReceiverResource' - $ref: "#/definitions/ReceiverResource"
- $ref: '#/definitions/SecuredBankCard' - $ref: "#/definitions/SecuredBankCard"
- type: object - type: object
properties: properties:
paymentSystem: paymentSystem:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/BankCardPaymentSystem' - $ref: "#/definitions/BankCardPaymentSystem"
- readOnly: true - readOnly: true

View File

@ -1,4 +1,5 @@
---
description: Банковская карта description: Банковская карта
allOf: allOf:
- $ref: '#/definitions/ReceiverResourceParams' - $ref: "#/definitions/ReceiverResourceParams"
- $ref: '#/definitions/SecuredBankCard' - $ref: "#/definitions/SecuredBankCard"

View File

@ -1,10 +1,11 @@
---
description: Банковская карта description: Банковская карта
allOf: allOf:
- $ref: '#/definitions/SenderResource' - $ref: "#/definitions/SenderResource"
- $ref: '#/definitions/SecuredBankCard' - $ref: "#/definitions/SecuredBankCard"
- type: object - type: object
properties: properties:
paymentSystem: paymentSystem:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/BankCardPaymentSystem' - $ref: "#/definitions/BankCardPaymentSystem"
- readOnly: true - readOnly: true

View File

@ -1,12 +1,13 @@
description: Банковская карта ---
description: Card
allOf: allOf:
- $ref: '#/definitions/SenderResourceParams' - $ref: "#/definitions/SenderResourceParams"
- $ref: '#/definitions/SecuredBankCard' - $ref: "#/definitions/SecuredBankCard"
- type: object - type: object
required: required:
- authData - authData
properties: properties:
authData: authData:
description: Данные авторизации, полученные при сохранении карты description: Authorization data received when saving the card
type: string type: string
maxLength: 1000 maxLength: 1000

View File

@ -1,14 +1,15 @@
---
type: object type: object
allOf: allOf:
- $ref: '#/definitions/BrowserRequest' - $ref: "#/definitions/BrowserRequest"
- type: object - type: object
required: required:
- uriTemplate - uriTemplate
properties: properties:
uriTemplate: uriTemplate:
description: | description: |
Шаблон значения URL для перехода в браузере URL value template for browser navigation
Шаблон представлен согласно стандарту The template is represented according to the standard
[RFC6570](https://tools.ietf.org/html/rfc6570). [RFC6570](https://tools.ietf.org/html/rfc6570).
type: string type: string

View File

@ -1,6 +1,7 @@
---
type: object type: object
allOf: allOf:
- $ref: '#/definitions/BrowserRequest' - $ref: "#/definitions/BrowserRequest"
- type: object - type: object
required: required:
- uriTemplate - uriTemplate
@ -8,10 +9,10 @@ allOf:
properties: properties:
uriTemplate: uriTemplate:
description: | description: |
Шаблон значения URL для отправки формы URL value template for form submission
Шаблон представлен согласно стандарту The template is represented according to the standard
[RFC6570](https://tools.ietf.org/html/rfc6570). [RFC6570](https://tools.ietf.org/html/rfc6570).
type: string type: string
form: form:
$ref: '#/definitions/UserInteractionForm' $ref: "#/definitions/UserInteractionForm"

View File

@ -1,8 +1,9 @@
---
type: object type: object
discriminator: requestType discriminator: requestType
required: required:
- requestType - requestType
properties: properties:
requestType: requestType:
description: Тип браузерной операции description: Type of browser operation
type: string type: string

View File

@ -1,14 +1,15 @@
description: Контактные данные ---
description: Contact details
type: object type: object
properties: properties:
email: email:
description: Адрес электронной почты description: Email address
type: string type: string
format: email format: email
maxLength: 100 maxLength: 100
phoneNumber: phoneNumber:
description: | description: |
Номер мобильного телефона с международным префиксом согласно Mobile phone number with international prefix according to
[E.164](https://en.wikipedia.org/wiki/E.164). [E.164](https://en.wikipedia.org/wiki/E.164).
type: string type: string
format: '^\+\d{4,15}$' format: '^\+\d{4,15}$'

View File

@ -1,5 +1,6 @@
---
description: | description: |
Токен, сигнализирующий о том, что в ответе передана только часть данных. A token signalling that only part of the data has been transmitted in the response.
Для получения следующей части нужно повторно обратиться к сервису, указав тот же набор условий и полученый токен. To retrieve the next part, you need repeat the request to the service again, specifying the same set of conditions and the received token.
Если токена нет, получена последняя часть данных. If there is no token, the last piece of data is received.
type: string type: string

View File

@ -1,10 +1,7 @@
---
description: | description: |
Криптовалюта. Cryptocurrency.
Набор криптовалют, доступных для проведения выплат, можно узнать, вызвав соответствующую [операцию](#operation/getWithdrawalMethods). The set of cryptocurrencies available for withdrawals can be found out by calling the appropriate [operation](#operation/getWithdrawalMethods).
type: string type: string
example: BTC example: BTC
# enum:
# - BTC
# - LTC
# - ETH

View File

@ -1,15 +1,16 @@
description: Данные криптовалютного кошелька ---
description: Cryptocurrency wallet details
type: object type: object
required: required:
- id - id
- currency - currency
properties: properties:
id: id:
description: Идентификатор (он же адрес) криптовалютного кошелька description: Identifier (aka address) of a cryptocurrency wallet
type: string type: string
minLength: 16 minLength: 16
maxLength: 256 maxLength: 256
example: zu3TcwGI71Bpaaw2XkLWZXlhMdn4zpVzMQ example: zu3TcwGI71Bpaaw2XkLWZXlhMdn4zpVzMQ
currency: currency:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/CryptoCurrency' - $ref: "#/definitions/CryptoCurrency"

View File

@ -1,4 +1,5 @@
description: Криптовалютные денежные средства ---
description: Cryptocurrency funds
allOf: allOf:
- $ref: '#/definitions/DestinationResource' - $ref: "#/definitions/DestinationResource"
- $ref: '#/definitions/CryptoWallet' - $ref: "#/definitions/CryptoWallet"

View File

@ -1,4 +1,5 @@
description: Описание валюты ---
description: Currency description
type: object type: object
required: required:
- id - id
@ -8,28 +9,28 @@ required:
properties: properties:
id: id:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/CurrencyID' - $ref: "#/definitions/CurrencyID"
numericCode: numericCode:
description: | description: |
Цифровой код валюты согласно Digital currency code according to
[ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm) [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm)
type: string type: string
pattern: '^[0-9]{3}$' pattern: "^[0-9]{3}$"
example: '643' example: "840"
name: name:
description: | description: |
Человекочитаемое название валюты Human readable currency name
type: string type: string
example: Российский рубль example: United States Dollar
sign: sign:
description: | description: |
Знак единицы валюты Currency unit sign
type: string type: string
example: '₽' example: "$"
exponent: exponent:
description: | description: |
Количество допустимых знаков после запятой в сумме средств, в которых может The number of acceptable decimal places in the amount of funds,
указываться количество минорных денежных единиц in which the number of minor monetary units can be indicated
type: integer type: integer
minimum: 0 minimum: 0
example: 2 example: 2

View File

@ -1,6 +1,7 @@
---
description: | description: |
Валюта, символьный код согласно [ISO Currency character code according to
4217](http://www.iso.org/iso/home/standards/currency_codes.htm). [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).
type: string type: string
pattern: '^[A-Z]{3}$' pattern: '^[A-Z]{3}$'
example: RUB example: USD

View File

@ -1,4 +1,5 @@
description: Данные поступления денежных средств ---
description: Deposit data
allOf: allOf:
- type: object - type: object
required: required:
@ -9,28 +10,28 @@ allOf:
properties: properties:
id: id:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/DepositID' - $ref: "#/definitions/DepositID"
- readOnly: true - readOnly: true
createdAt: createdAt:
description: Дата и время запуска пополнения description: Deposit start date and time
type: string type: string
format: date-time format: date-time
readOnly: true readOnly: true
wallet: wallet:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/WalletID' - $ref: "#/definitions/WalletID"
source: source:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/SourceID' - $ref: "#/definitions/SourceID"
body: body:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/Asset' - $ref: "#/definitions/Asset"
- description: Объём поступивших средств - description: The amount of funds received
fee: fee:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/Asset' - $ref: "#/definitions/Asset"
- description: Сумма коммисии - description: Fee amount
externalID: externalID:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/ExternalID' - $ref: "#/definitions/ExternalID"
- $ref: '#/definitions/DepositStatus' - $ref: "#/definitions/DepositStatus"

View File

@ -1,17 +1,18 @@
description: Данные корректировки поступления денежных средств ---
description: Deposit adjustment data
allOf: allOf:
- type: object - type: object
properties: properties:
id: id:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/DepositAdjustmentID' - $ref: "#/definitions/DepositAdjustmentID"
- readOnly: true - readOnly: true
createdAt: createdAt:
description: Дата и время запуска корректировки description: Date and time the adjustment was started
type: string type: string
format: date-time format: date-time
readOnly: true readOnly: true
externalID: externalID:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/ExternalID' - $ref: "#/definitions/ExternalID"
- $ref: '#/definitions/DepositAdjustmentStatus' - $ref: "#/definitions/DepositAdjustmentStatus"

View File

@ -1,9 +1,10 @@
---
type: object type: object
required: required:
- code - code
properties: properties:
code: code:
description: Код ошибки коррекции description: Adjustment error code
type: string type: string
subError: subError:
$ref: '#/definitions/SubFailure' $ref: "#/definitions/SubFailure"

View File

@ -1,3 +1,4 @@
description: Идентификатор корректировки поступления денежных средств ---
description: Deposit adjustment identifier
type: string type: string
example: tZ0jUmlsV0 example: tZ0jUmlsV0

View File

@ -1,14 +1,15 @@
---
type: object type: object
properties: properties:
status: status:
description: | description: |
Статус корректировки поступления денежных средств. Deposit adjustment status.
| Значение | Пояснение | | Meaning | Explanation |
| ----------- | ------------------------------------------------------- | | ----------- | ------------------------------------------------------- |
| `Pending` | Корректировка в процессе выполнения | | `Pending` | Adjustment in progress |
| `Succeeded` | Корректировка произведёна успешно | | `Succeeded` | Adjustment completed successfully |
| `Failed` | Корректировка завершилась неудачей | | `Failed` | Adjustment failed |
type: string type: string
enum: enum:
@ -19,8 +20,8 @@ properties:
failure: failure:
x-rebillyMerge: x-rebillyMerge:
- description: | - description: |
> Если `status` == `Failed` > If `status` == `Failed`
Пояснение причины неудачи Explanation of the reason for failure
readOnly: true readOnly: true
- $ref: '#/definitions/DepositAdjustmentFailure' - $ref: "#/definitions/DepositAdjustmentFailure"

View File

@ -1,9 +1,10 @@
---
type: object type: object
required: required:
- code - code
properties: properties:
code: code:
description: Код ошибки поступления description: Deposit error code
type: string type: string
subError: subError:
$ref: '#/definitions/SubFailure' $ref: "#/definitions/SubFailure"

View File

@ -1,3 +1,4 @@
description: Идентификатор поступления денежных средств ---
description: Deposit identifier
type: string type: string
example: tZ0jUmlsV0 example: tZ0jUmlsV0

View File

@ -1,4 +1,5 @@
description: Данные отмены поступления денежных средств ---
description: Deposit revert data
allOf: allOf:
- type: object - type: object
required: required:
@ -8,26 +9,26 @@ allOf:
properties: properties:
id: id:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/DepositRevertID' - $ref: "#/definitions/DepositRevertID"
- readOnly: true - readOnly: true
createdAt: createdAt:
description: Дата и время запуска отмены description: Date and time of revert start
type: string type: string
format: date-time format: date-time
readOnly: true readOnly: true
wallet: wallet:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/WalletID' - $ref: "#/definitions/WalletID"
source: source:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/SourceID' - $ref: "#/definitions/SourceID"
body: body:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/Asset' - $ref: "#/definitions/Asset"
- description: Объем денежных средств - description: Amount of funds
reason: reason:
type: string type: string
externalID: externalID:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/ExternalID' - $ref: "#/definitions/ExternalID"
- $ref: '#/definitions/DepositRevertStatus' - $ref: "#/definitions/DepositRevertStatus"

View File

@ -1,9 +1,10 @@
---
type: object type: object
required: required:
- code - code
properties: properties:
code: code:
description: Код ошибки отмены description: Deposit revert error code
type: string type: string
subError: subError:
$ref: '#/definitions/SubFailure' $ref: "#/definitions/SubFailure"

View File

@ -1,3 +1,4 @@
description: Идентификатор отмены поступления денежных средств  ---
description: Deposit revert identifier
type: string type: string
example: "10068321" example: "10068321"

View File

@ -1,14 +1,15 @@
---
type: object type: object
properties: properties:
status: status:
description: | description: |
Статус отмены поступления денежных средств. Deposit revert status.
| Значение | Пояснение | | Meaning | Explanation |
| ----------- | ------------------------------------------------------- | | ----------- | ------------------------------------------------------- |
| `Pending` | Отмена в процессе выполнения | | `Pending` | Deposit revert in progress |
| `Succeeded` | Отмена поступления средств произведёна успешно | | `Succeeded` | Deposit revert completed successfully |
| `Failed` | Отмена поступления средств завершилась неудачей | | `Failed` | Deposit revert failed |
type: string type: string
enum: enum:
@ -19,8 +20,8 @@ properties:
failure: failure:
x-rebillyMerge: x-rebillyMerge:
- description: | - description: |
> Если `status` == `Failed` > If `status` == `Failed`
Пояснение причины неудачи Explanation of the reason for failure
readOnly: true readOnly: true
- $ref: '#/definitions/DepositRevertFailure' - $ref: "#/definitions/DepositRevertFailure"

View File

@ -1,14 +1,15 @@
---
type: object type: object
properties: properties:
status: status:
description: | description: |
Статус поступления денежных средств. Status of deposit.
| Значение | Пояснение | | Meaning | Explanation |
| ----------- | ------------------------------------------------ | | ----------- | ------------------------------------------------ |
| `Pending` | Поступление в процессе выполнения | | `Pending` | Deposit in progress |
| `Succeeded` | Поступление средств произведён успешно | | `Succeeded` | Deposit of funds made successfully |
| `Failed` | Поступление средств завершился неудачей | | `Failed` | Deposit of funds ended in failure |
type: string type: string
enum: enum:
@ -19,8 +20,8 @@ properties:
failure: failure:
x-rebillyMerge: x-rebillyMerge:
- description: | - description: |
> Если `status` == `Failed` > If `status` == `Failed`
Пояснение причины неудачи Explanation of the reason for failure
readOnly: true readOnly: true
- $ref: '#/definitions/DepositFailure' - $ref: "#/definitions/DepositFailure"

View File

@ -1,4 +1,5 @@
description: Данные приёмника денежных средств ---
description: Destination data
allOf: allOf:
- type: object - type: object
required: required:
@ -9,39 +10,38 @@ allOf:
properties: properties:
id: id:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/DestinationID' - $ref: "#/definitions/DestinationID"
- readOnly: true - readOnly: true
name: name:
description: | description: |
Человекочитаемое название приёмника средств, по которому его легко узнать A human-readable name for the destination by which it is easily recognizable
type: string type: string
example: Squarey plastic thingy example: Squarey plastic thingy
createdAt: createdAt:
description: Дата и время создания приёмника средств description: Date and time of creation of the destination of the funds
type: string type: string
format: date-time format: date-time
readOnly: true readOnly: true
isBlocked: isBlocked:
description: Заблокирован ли приёмник средств? description: Is the destination blocked?
type: boolean type: boolean
readOnly: true readOnly: true
example: false example: false
identity: identity:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/IdentityID' - $ref: "#/definitions/IdentityID"
currency: currency:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/CurrencyID' - $ref: "#/definitions/CurrencyID"
resource: resource:
$ref: '#/definitions/DestinationResource' $ref: "#/definitions/DestinationResource"
metadata: metadata:
description: | description: |
Произвольный, специфичный для клиента API и непрозрачный для системы набор данных, ассоциированных с Some non-transparent for system set of data associated with this destination
данным приёмником
type: object type: object
example: example:
color_hint: olive-green color_hint: olive-green
externalID: externalID:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/ExternalID' - $ref: "#/definitions/ExternalID"
- $ref: '#/definitions/DestinationStatus' - $ref: "#/definitions/DestinationStatus"

View File

@ -1,15 +1,16 @@
description: Запрос на право управления выводами на приёмник средств ---
description: Request for the permission to control the withdrawals to the destination
type: object type: object
required: required:
- validUntil - validUntil
properties: properties:
token: token:
x-rebillyMerge: x-rebillyMerge:
- description: Токен, дающий право управления выводами - description: Token granting the permission to control the withdrawals
- $ref: '#/definitions/GrantToken' - $ref: "#/definitions/GrantToken"
- readOnly: true - readOnly: true
validUntil: validUntil:
description: | description: |
Дата и время, до наступления которых выданное право действительно The date and time by which the granted right is valid
type: string type: string
format: date-time format: date-time

View File

@ -1,3 +1,4 @@
description: Идентификатор приёмника денежных средств ---
description: Destination identifier
type: string type: string
example: "107498" example: "107498"

View File

@ -1,4 +1,5 @@
description: Ресурс приёмника денежных средств, используемый для осуществления выводов ---
description: Destination resource used to make withdrawals
type: object type: object
discriminator: type discriminator: type
required: required:
@ -6,9 +7,9 @@ required:
properties: properties:
type: type:
description: | description: |
Тип ресурса приёмника средств. The resource type of the destination.
См. [Vality Payment Resource API](?api/payres/swagger.yaml). See [Vality Withdrawal Resource API](?api/payres/swagger.yaml).
type: string type: string
enum: enum:
- BankCardDestinationResource - BankCardDestinationResource

View File

@ -1,13 +1,14 @@
---
type: object type: object
properties: properties:
status: status:
description: | description: |
Статус приёмника денежных средств. The status of the destination.
| Значение | Пояснение | | Meaning | Explanation |
| -------------- | ------------------------------------------ | | -------------- | --------------------------------------------- |
| `Unauthorized` | Не авторизован владельцем на вывод средств | | `Unauthorized` | Not authorized by the owner to withdraw funds |
| `Authorized` | Авторизован владельцем на вывод средств | | `Authorized` | Authorized by the owner to withdraw funds |
type: string type: string
enum: enum:
@ -17,9 +18,9 @@ properties:
example: Authorized example: Authorized
validUntil: validUntil:
description: | description: |
> Если `status` == `Authorized` > If `status` == `Authorized`
Дата и время, до наступления которых авторизация действительна Date and time until which authorization is valid
type: string type: string
format: date-time format: date-time
readOnly: true readOnly: true

View File

@ -1,14 +1,14 @@
---
description: | description: |
Область охвата, включающая события по приёмникам денежных средств A coverage area that includes events by asset destinations within a particular wallet
в рамках определённого кошелька
allOf: allOf:
- $ref: '#/definitions/WebhookScope' - $ref: "#/definitions/WebhookScope"
- type: object - type: object
required: required:
- eventTypes - eventTypes
properties: properties:
eventTypes: eventTypes:
description: Набор типов событий приёмника денежных средств, о которых следует оповещать description: Set of event types of the destination, which should be notified
type: array type: array
items: items:
type: string type: string

View File

@ -1,21 +1,22 @@
description: Данные цифрового кошелька ---
description: Digital wallet data
type: object type: object
required: required:
- id - id
- provider - provider
properties: properties:
id: id:
description: Идентификатор цифрового кошелька description: Digital wallet ID
type: string type: string
minLength: 1 minLength: 1
maxLength: 100 maxLength: 100
example: zu3TcwGI71Bpaaw2XkLWZXlhMdn4zpVzMQ example: zu3TcwGI71Bpaaw2XkLWZXlhMdn4zpVzMQ
provider: provider:
description: Провайдер электронных денежных средств description: Digital wallet service provider
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/DigitalWalletProvider' - $ref: "#/definitions/DigitalWalletProvider"
token: token:
description: Строка, содержащая данные для авторизации операций над этим кошельком description: A string containing authorization data for transactions on this digital wallet
type: string type: string
minLength: 1 minLength: 1
maxLength: 4000 maxLength: 4000

View File

@ -1,4 +1,5 @@
description: Цифровой кошелек ---
description: Digital wallet
allOf: allOf:
- $ref: '#/definitions/DestinationResource' - $ref: "#/definitions/DestinationResource"
- $ref: '#/definitions/DigitalWallet' - $ref: "#/definitions/DigitalWallet"

View File

@ -1,7 +1,8 @@
---
description: | description: |
Провайдер электронных денежных средств. Digital wallet provider.
Набор провайдеров, доступных для проведения выплат, можно узнать, вызвав The set of providers available for making withdrawals can be found by calling
соответствующую [операцию](#operation/getWithdrawalMethods). corresponding [operation](#operation/getWithdrawalMethods).
type: string type: string
example: Paypal example: Paypal

View File

@ -1,6 +1,7 @@
---
description: | description: |
Уникальный идентификатор сущности на вашей стороне. The unique identifier of the entity on your side.
При указании будет использован для того, чтобы гарантировать идемпотентную обработку операции. When specified, will be used to ensure idempotent processing of the operation.
type: string type: string
example: "10036274" example: "10036274"

View File

@ -1,12 +1,13 @@
---
type: object type: object
required: required:
- url - url
- expiresAt - expiresAt
properties: properties:
url: url:
description: URL файла description: URL of the file
type: string type: string
expiresAt: expiresAt:
description: Время до которого ссылка будет считаться действительной description: The date and time by which the link will be valid
type: string type: string
format: date-time format: date-time

View File

@ -1,7 +1,8 @@
---
description: | description: |
Провайдер сервисов выплат. Withdrawal service provider.
Набор провайдеров, доступных для проведения выплат, можно узнать, вызвав The set of providers available for making withdrawals can be found by calling
соответствующую [операцию](#operation/getWithdrawalMethods). corresponding [operation](#operation/getWithdrawalMethods).
type: string type: string
example: YourBankName example: YourBankName

View File

@ -1,3 +1,4 @@
---
type: string type: string
minLength: 1 minLength: 1
maxLength: 4000 maxLength: 4000

View File

@ -1,4 +1,5 @@
description: Данные личности владельца кошельков ---
description: Data of the wallet owner
type: object type: object
required: required:
- name - name
@ -6,36 +7,35 @@ required:
properties: properties:
id: id:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/IdentityID' - $ref: "#/definitions/IdentityID"
- readOnly: true - readOnly: true
name: name:
description: | description: |
Человекочитаемое имя личности владельца, по которому его легко опознать Human-readable name of the owner's identity, by which he can be easily identified
type: string type: string
example: Keyn Fawkes example: Keyn Fawkes
createdAt: createdAt:
description: Дата и время создания личности владельца description: Date and time the owner identity was created
type: string type: string
format: date-time format: date-time
readOnly: true readOnly: true
provider: provider:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/ProviderID' - $ref: "#/definitions/ProviderID"
isBlocked: isBlocked:
description: Заблокирована ли личность владельца? description: Is the owner's identity blocked?
type: boolean type: boolean
readOnly: true readOnly: true
example: false example: false
metadata: metadata:
description: | description: |
Произвольный, специфичный для клиента API и непрозрачный для системы набор данных, ассоциированных с Some non-transparent for system set of data associated with this identity
данной личностью владельца
type: object type: object
example: example:
lkDisplayName: Сергей Иванович lkDisplayName: James Smith
externalID: externalID:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/ExternalID' - $ref: "#/definitions/ExternalID"
partyID: partyID:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/PartyID' - $ref: "#/definitions/PartyID"

View File

@ -1,3 +1,4 @@
description: Идентификатор личности владельца кошелька ---
description: Identifier of wallet owner
type: string type: string
example: "10036274" example: "10036274"

View File

@ -1,4 +1,5 @@
description: Уникальный в рамках системы идентификатор участника. ---
description: The participant's unique identifier within the system.
type: string type: string
minLength: 1 minLength: 1
maxLength: 40 maxLength: 40

View File

@ -1,4 +1,5 @@
description: Данные провайдера услуг ---
description: Service provider data
type: object type: object
required: required:
- id - id
@ -7,16 +8,16 @@ required:
properties: properties:
id: id:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/ProviderID' - $ref: "#/definitions/ProviderID"
name: name:
description: | description: |
Человекочитаемое наименование провайдера услуг Human-readable name of the service provider
type: string type: string
example: ООО «СЕРВИС ПРОВАЙДЕР» example: SERVICE PROVIDER LLC
residences: residences:
type: array type: array
description: | description: |
Резиденции, в которых провайдер предоставляет услуги Residences in which the provider can service
items: items:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/ResidenceID' - $ref: "#/definitions/ResidenceID"

View File

@ -1,3 +1,4 @@
description: Идентификатор провайдера услуг ---
description: Identifier of the service provider
type: string type: string
example: serviceprovider example: serviceprovider

View File

@ -1,4 +1,5 @@
description: Параметры запроса комиссий ---
description: Quote request parameters
type: object type: object
required: required:
- sender - sender
@ -7,13 +8,13 @@ required:
- body - body
properties: properties:
sender: sender:
$ref: '#/definitions/SenderResource' $ref: "#/definitions/SenderResource"
receiver: receiver:
$ref: '#/definitions/ReceiverResource' $ref: "#/definitions/ReceiverResource"
identityID: identityID:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/IdentityID' - $ref: "#/definitions/IdentityID"
body: body:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/Asset' - $ref: "#/definitions/Asset"
- description: Сумма операции - description: Transaction amount

View File

@ -1,4 +1,5 @@
description: Ресурс получателя денежных средств, используемый для осуществления переводов ---
description: The beneficiary's resource used to make the transfers
type: object type: object
discriminator: type discriminator: type
required: required:
@ -6,9 +7,9 @@ required:
properties: properties:
type: type:
description: | description: |
Тип ресурса получателя средств. The resource type of the receiver of the funds.
См. [Vality Payment Resource API](?api/payres/swagger.yaml). See [Vality Withdrawal Resource API](?api/payres/swagger.yaml).
type: string type: string
enum: enum:
- BankCardReceiverResource - BankCardReceiverResource

View File

@ -1,4 +1,5 @@
description: Параметры ресурса получателя денежных средств ---
description: Recipient resource parameters
type: object type: object
discriminator: type discriminator: type
required: required:
@ -6,9 +7,9 @@ required:
properties: properties:
type: type:
description: | description: |
Тип ресурса получателя средств. The resource type of the payee.
См. [Vality Payment Resource API](?api/payres/swagger.yaml). See [Vality Withdrawal Resource API](?api/payres/swagger.yaml).
type: string type: string
enum: enum:
- BankCardReceiverResourceParams - BankCardReceiverResourceParams

View File

@ -1,9 +1,10 @@
---
type: object type: object
allOf: allOf:
- $ref: '#/definitions/UserInteraction' - $ref: "#/definitions/UserInteraction"
- type: object - type: object
required: required:
- request - request
properties: properties:
request: request:
$ref: '#/definitions/BrowserRequest' $ref: "#/definitions/BrowserRequest"

View File

@ -1,3 +1,4 @@
---
type: object type: object
required: required:
- id - id
@ -9,30 +10,30 @@ required:
- files - files
properties: properties:
id: id:
description: Идентификатор отчета description: Report identifier
type: integer type: integer
format: int64 format: int64
createdAt: createdAt:
description: Дата и время создания description: Date and time of creation
type: string type: string
format: date-time format: date-time
fromTime: fromTime:
description: Дата и время начала периода description: Date and time of the start of the period
type: string type: string
format: date-time format: date-time
toTime: toTime:
description: Дата и время конца периода description: Date and time of the end of period
type: string type: string
format: date-time format: date-time
status: status:
description: Статус формирования отчета description: Report generation status
type: string type: string
enum: enum:
- pending - pending
- created - created
- canceled - canceled
type: type:
description: Тип отчета description: Report type
type: string type: string
enum: enum:
- withdrawalRegistry - withdrawalRegistry
@ -44,7 +45,7 @@ properties:
- id - id
properties: properties:
id: id:
description: Идентификатор файла description: File identifier
type: string type: string
maxLength: 40 maxLength: 40
minLength: 1 minLength: 1

View File

@ -1,3 +1,4 @@
---
type: object type: object
required: required:
- reportType - reportType
@ -5,15 +6,15 @@ required:
- toTime - toTime
properties: properties:
reportType: reportType:
description: Тип отчета description: Type of report
type: string type: string
enum: enum:
- withdrawalRegistry - withdrawalRegistry
fromTime: fromTime:
description: Начало временного отрезка description: Start of the time period
type: string type: string
format: date-time format: date-time
toTime: toTime:
description: Конец временного отрезка description: End of the time period
type: string type: string
format: date-time format: date-time

View File

@ -1,4 +1,5 @@
description: Описание региона резиденции ---
description: Description of the region of residence
type: object type: object
required: required:
- id - id
@ -6,14 +7,14 @@ required:
properties: properties:
id: id:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/ResidenceID' - $ref: "#/definitions/ResidenceID"
name: name:
description: | description: |
Человекочитаемое название региона резиденции Human-readable name of the region of residence
type: string type: string
example: Российская федерация example: The United States of America
flag: flag:
description: | description: |
Флаг региона резиденции Residence region flag
type: string type: string
example: '🇷🇺' example: "🇺🇸"

View File

@ -1,5 +1,6 @@
---
description: | description: |
Резиденция, символьный код по стандарту [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1) Residence symbol code by standard [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1)
type: string type: string
pattern: '^[A-Z]{3}$' pattern: "^[A-Z]{3}$"
example: RUS example: RUS

View File

@ -1,4 +1,5 @@
description: Ресурс отправителя денежных средств, используемый для осуществления переводов ---
description: The sender resource used to make transfers
type: object type: object
discriminator: type discriminator: type
required: required:
@ -6,9 +7,9 @@ required:
properties: properties:
type: type:
description: | description: |
Тип ресурса отправителя средств. The resource type of the sender of the funds.
См. [Vality Payment Resource API](?api/payres/swagger.yaml). See [Vality Withdrawal Resource API](?api/payres/swagger.yaml).
type: string type: string
enum: enum:
- BankCardSenderResource - BankCardSenderResource

View File

@ -1,4 +1,5 @@
description: Параметры ресурса отправителя денежных средств ---
description: Fund sender resource settings
type: object type: object
discriminator: type discriminator: type
required: required:
@ -6,9 +7,9 @@ required:
properties: properties:
type: type:
description: | description: |
Тип ресурса отправителя средств. The resource type of the sender of the funds.
См. [Vality Payment Resource API](?api/payres/swagger.yaml). See [Vality Withdrawal Resource API](?api/payres/swagger.yaml).
type: string type: string
enum: enum:
- BankCardSenderResourceParams - BankCardSenderResourceParams

View File

@ -1,3 +1,4 @@
description: Идентификатор источника денежных средств ---
description: Funds source identifier
type: string type: string
example: "107498" example: "107498"

View File

@ -1,11 +1,12 @@
---
description: | description: |
Детализация описания ошибки Detailed description of the error
type: object type: object
required: required:
- code - code
properties: properties:
code: code:
description: Детализация кода ошибки description: Details of the error code
type: string type: string
subError: subError:
$ref: '#/definitions/SubFailure' $ref: "#/definitions/SubFailure"

View File

@ -1,2 +0,0 @@
allOf:
- $ref: '#/definitions/CryptoWallet'

View File

@ -1,8 +1,9 @@
---
type: object type: object
discriminator: interactionType discriminator: interactionType
required: required:
- interactionType - interactionType
properties: properties:
interactionType: interactionType:
description: Тип взаимодействия с пользователем description: Type of interaction with the user
type: string type: string

View File

@ -1,10 +1,11 @@
---
type: object type: object
discriminator: changeType discriminator: changeType
required: required:
- changeType - changeType
properties: properties:
changeType: changeType:
description: Вид изменения взаимодействию с пользователем. description: Type of change in user interaction.
type: string type: string
enum: enum:
- UserInteractionCreated - UserInteractionCreated

View File

@ -1,9 +1,10 @@
---
type: object type: object
allOf: allOf:
- $ref: '#/definitions/UserInteractionChange' - $ref: "#/definitions/UserInteractionChange"
- type: object - type: object
required: required:
- userInteraction - userInteraction
properties: properties:
userInteraction: userInteraction:
$ref: '#/definitions/UserInteraction' $ref: "#/definitions/UserInteraction"

View File

@ -1,3 +1,4 @@
---
type: object type: object
allOf: allOf:
- $ref: '#/definitions/UserInteractionChange' - $ref: "#/definitions/UserInteractionChange"

View File

@ -1,4 +1,5 @@
description: Форма для отправки средствами браузера ---
description: Browser submission form
type: array type: array
items: items:
type: object type: object
@ -8,12 +9,11 @@ items:
properties: properties:
key: key:
description: | description: |
Значение ключа элемента формы, которую необходимо отправить средствами The value of the key of the form element to be send by means of browser
браузера
type: string type: string
template: template:
description: | description: |
Шаблон значения элемента формы The template for the form element value
Шаблон представлен согласно стандарту The template is presented according to the standard
[RFC6570](https://tools.ietf.org/html/rfc6570). [RFC6570](https://tools.ietf.org/html/rfc6570).
type: string type: string

View File

@ -1,4 +1,5 @@
description: Данные перевода ---
description: Transfer data
type: object type: object
required: required:
- id - id
@ -10,21 +11,21 @@ required:
properties: properties:
id: id:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/W2WTransferID' - $ref: "#/definitions/W2WTransferID"
createdAt: createdAt:
description: Дата и время создания description: Date and time of creation
type: string type: string
format: date-time format: date-time
body: body:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/Asset' - $ref: "#/definitions/Asset"
- description: Сумма операции - description: Transaction amount
sender: sender:
$ref: '#/definitions/WalletID' $ref: "#/definitions/WalletID"
receiver: receiver:
$ref: '#/definitions/WalletID' $ref: "#/definitions/WalletID"
status: status:
$ref: '#/definitions/W2WTransferStatus' $ref: "#/definitions/W2WTransferStatus"
externalID: externalID:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/ExternalID' - $ref: "#/definitions/ExternalID"

View File

@ -1,11 +1,12 @@
---
description: | description: |
[Ошибка, возникшая в процессе проведения перевода](#tag/Error-Codes) [Error occurred during the transfer process](#tag/Error-Codes)
type: object type: object
required: required:
- code - code
properties: properties:
code: code:
description: Основной код ошибки description: Main error code
type: string type: string
subError: subError:
$ref: '#/definitions/SubFailure' $ref: "#/definitions/SubFailure"

View File

@ -1,4 +1,5 @@
description: Идентификатор перевода ---
description: Transfer identifier
type: string type: string
example: "10a0b68D3E21" example: "10a0b68D3E21"
maxLength: 40 maxLength: 40

View File

@ -1,4 +1,5 @@
description: Параметры создания перевода ---
description: Transfer creation options
type: object type: object
required: required:
- sender - sender
@ -6,13 +7,13 @@ required:
- body - body
properties: properties:
sender: sender:
$ref: '#/definitions/WalletID' $ref: "#/definitions/WalletID"
receiver: receiver:
$ref: '#/definitions/WalletID' $ref: "#/definitions/WalletID"
body: body:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/Asset' - $ref: "#/definitions/Asset"
- description: Сумма перевода - description: Transfer amount
externalID: externalID:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/ExternalID' - $ref: "#/definitions/ExternalID"

View File

@ -1,17 +1,17 @@
---
type: object type: object
required: required:
- status - status
properties: properties:
status: status:
description: | description: |
Статус перевода денежных средств. The status of the money transfer.
| Значение | Пояснение |
| ----------- | ------------------------------------------ |
| `Pending` | Перевод в процессе выполнения |
| `Succeeded` | Перевод средств произведён успешно |
| `Failed` | Перевод средств завершился неудачей |
| Meaning | Explanation |
| ----------- | ------------------------------------ |
| `Pending` | Transfer in progress |
| `Succeeded` | Fund transfer completed successfully |
| `Failed` | Fund transfer failed |
type: string type: string
enum: enum:
- Pending - Pending
@ -20,7 +20,7 @@ properties:
failure: failure:
x-rebillyMerge: x-rebillyMerge:
- description: | - description: |
> Если `status` == `Failed` > If `status` == `Failed`
Пояснение причины неудачи Explanation of the reason for failure
- $ref: '#/definitions/W2WTransferFailure' - $ref: "#/definitions/W2WTransferFailure"

View File

@ -1,4 +1,5 @@
description: Данные кошелька ---
description: Wallet details
type: object type: object
required: required:
- name - name
@ -7,34 +8,33 @@ required:
properties: properties:
id: id:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/WalletID' - $ref: "#/definitions/WalletID"
- readOnly: true - readOnly: true
name: name:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/WalletName' - $ref: "#/definitions/WalletName"
createdAt: createdAt:
description: Дата и время создания кошелька description: Date and time of wallet creation
type: string type: string
format: date-time format: date-time
readOnly: true readOnly: true
isBlocked: isBlocked:
description: Заблокирован ли кошелёк? description: Is the wallet blocked?
type: boolean type: boolean
readOnly: true readOnly: true
example: false example: false
identity: identity:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/IdentityID' - $ref: "#/definitions/IdentityID"
currency: currency:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/CurrencyID' - $ref: "#/definitions/CurrencyID"
metadata: metadata:
description: | description: |
Произвольный, специфичный для клиента API и непрозрачный для системы набор данных, ассоциированных с Some non-transparent for system set of data associated with this wallet
данным кошельком
type: object type: object
example: example:
client_locale: RU_ru client_locale: en_US
externalID: externalID:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/ExternalID' - $ref: "#/definitions/ExternalID"

View File

@ -1,4 +1,5 @@
description: Состояние счёта кошелька ---
description: Wallet account status
type: object type: object
required: required:
- own - own
@ -6,15 +7,15 @@ required:
properties: properties:
own: own:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/Asset' - $ref: "#/definitions/Asset"
- description: | - description: |
Собственные средства Own funds
available: available:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/Asset' - $ref: "#/definitions/Asset"
- description: | - description: |
Доступные к использованию средства, обычно равны собственным средствам Funds available for use. Usually equal to own funds
за вычетом сумм всех незавершённых операций minus the sum of all pending transactions
example: example:
amount: 1200000 amount: 1200000
currency: RUB currency: USD

View File

@ -1,4 +1,5 @@
description: Запрос на единоразовое право управления средствами на кошельке ---
description: Request for a one-time permission to manage funds on the wallet
type: object type: object
required: required:
- asset - asset
@ -6,15 +7,15 @@ required:
properties: properties:
token: token:
x-rebillyMerge: x-rebillyMerge:
- description: Токен, дающий право единоразового управления средствами на кошельке - description: A token that gives the permission to one-time management of funds on the wallet
- $ref: '#/definitions/GrantToken' - $ref: "#/definitions/GrantToken"
- readOnly: true - readOnly: true
asset: asset:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/Asset' - $ref: "#/definitions/Asset"
- description: Допустимый к использованию объём средств - description: Amount of funds allowed for use
validUntil: validUntil:
description: | description: |
Дата и время, до наступления которых выданное право действительно Date and time until which the granted right is valid
type: string type: string
format: date-time format: date-time

View File

@ -1,3 +1,4 @@
description: Идентификатор кошелька ---
description: Identifier of the wallet
type: string type: string
example: "10068321" example: "10068321"

View File

@ -1,3 +1,4 @@
description: Человекочитаемое название кошелька, по которому его легко узнать ---
description: Human-readable name of the wallet, by which it is easy to recognize
type: string type: string
example: Worldwide PHP Awareness Initiative example: Worldwide PHP Awareness Initiative

View File

@ -1,3 +1,4 @@
---
type: object type: object
required: required:
- identityID - identityID
@ -6,29 +7,29 @@ required:
properties: properties:
id: id:
description: | description: |
Идентификатор webhook'а Identifier of the webhook
type: string type: string
readOnly: true readOnly: true
identityID: identityID:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/IdentityID' - $ref: "#/definitions/IdentityID"
active: active:
description: | description: |
Включена ли в данный момент доставка оповещений? Is notification delivery currently enabled?
type: boolean type: boolean
readOnly: true readOnly: true
scope: scope:
$ref: '#/definitions/WebhookScope' $ref: "#/definitions/WebhookScope"
url: url:
description: | description: |
URL, на который будут поступать оповещения о произошедших событиях The URL that will receive notifications of events that have occurred
type: string type: string
format: uri format: uri
maxLength: 1000 maxLength: 1000
publicKey: publicKey:
description: | description: |
Содержимое публичного ключа, служащего для проверки авторитативности The content of the public key used to check the authoritativeness of
приходящих на `url` оповещений notifications coming to `url`
type: string type: string
format: hexadecimal format: hexadecimal
readOnly: true readOnly: true

View File

@ -1,13 +1,14 @@
---
description: | description: |
Область охвата webhook'а, ограничивающая набор типов событий, по которым The scope of a webhook, limiting the set of event types,
следует отправлять оповещения for which the notifications should be sent
type: object type: object
discriminator: topic discriminator: topic
required: required:
- topic - topic
properties: properties:
topic: topic:
description: Предмет оповещений description: Subject of notifications
type: string type: string
enum: enum:
- WithdrawalsTopic - WithdrawalsTopic

View File

@ -1,4 +1,5 @@
description: Данные вывода денежных средств ---
description: Funds withdrawal data
allOf: allOf:
- type: object - type: object
required: required:
@ -8,35 +9,34 @@ allOf:
properties: properties:
id: id:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/WithdrawalID' - $ref: "#/definitions/WithdrawalID"
- readOnly: true - readOnly: true
createdAt: createdAt:
description: Дата и время запуска вывода description: Date and time the withdrawal started
type: string type: string
format: date-time format: date-time
readOnly: true readOnly: true
wallet: wallet:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/WalletID' - $ref: "#/definitions/WalletID"
destination: destination:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/DestinationID' - $ref: "#/definitions/DestinationID"
body: body:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/Asset' - $ref: "#/definitions/Asset"
- description: Объём средств, которые необходимо вывести - description: Amount of funds to be withdrawn
fee: fee:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/Asset' - $ref: "#/definitions/Asset"
- description: Сумма коммисии - description: Fee amount
metadata: metadata:
description: | description: |
Произвольный, специфичный для клиента API и непрозрачный для системы набор данных, ассоциированных с Some non-transparent for system set of data associated with this withdrawal
данным выводом
type: object type: object
example: example:
notify_email: iliketrains@example.com notify_email: iliketrains@example.com
externalID: externalID:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/ExternalID' - $ref: "#/definitions/ExternalID"
- $ref: '#/definitions/WithdrawalStatus' - $ref: "#/definitions/WithdrawalStatus"

View File

@ -1,5 +1,6 @@
---
description: | description: |
Событие, возникшее в процессе вывода средств An event that occurred during the funds withdrawal process
type: object type: object
required: required:
- eventID - eventID
@ -7,15 +8,15 @@ required:
- changes - changes
properties: properties:
eventID: eventID:
description: Идентификатор события вывода средств description: Identifier of the funds withdrawal event
type: integer type: integer
format: int32 format: int32
example: 42 example: 42
occuredAt: occuredAt:
description: Дата и время возникновения события description: Date and time the event occurrence
type: string type: string
format: date-time format: date-time
changes: changes:
type: array type: array
items: items:
$ref: '#/definitions/WithdrawalEventChange' $ref: "#/definitions/WithdrawalEventChange"

View File

@ -1,12 +1,13 @@
---
description: | description: |
Изменение, возникшее в процессе вывода средств Change that occurred in the funds withdrawal process
type: object type: object
discriminator: type discriminator: type
required: required:
- type - type
properties: properties:
type: type:
description: Тип произошедшего изменения description: The type of change that occurred
type: string type: string
enum: enum:
- WithdrawalStatusChanged - WithdrawalStatusChanged

View File

@ -1,9 +1,10 @@
---
type: object type: object
required: required:
- code - code
properties: properties:
code: code:
description: Код ошибки вывода description: Withdrawal error code
type: string type: string
subError: subError:
$ref: '#/definitions/SubFailure' $ref: "#/definitions/SubFailure"

View File

@ -1,3 +1,4 @@
description: Идентификатор вывода денежных средств ---
description: Identifier of funds withdrawal
type: string type: string
example: tZ0jUmlsV0 example: tZ0jUmlsV0

View File

@ -1,12 +1,13 @@
---
type: object type: object
discriminator: method discriminator: method
required: required:
- method - method
properties: properties:
method: method:
description: Метод для проведения выплаты description: Withdrawal method
type: string type: string
enum: enum:
- WithdrawalMethodBankCard - WithdrawalMethodBankCard
- WithdrawalMethodDigitalWallet - WithdrawalMethodDigitalWallet
- WithdrawalMethodGeneric - WithdrawalMethodGeneric

View File

@ -1,13 +1,14 @@
---
type: object type: object
allOf: allOf:
- $ref: '#/definitions/WithdrawalMethod' - $ref: "#/definitions/WithdrawalMethod"
- type: object - type: object
required: required:
- paymentSystems - paymentSystems
properties: properties:
paymentSystems: paymentSystems:
description: Список платежных систем description: List of payment systems
type: array type: array
items: items:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/BankCardPaymentSystem' - $ref: "#/definitions/BankCardPaymentSystem"

View File

@ -1,13 +1,14 @@
---
type: object type: object
allOf: allOf:
- $ref: '#/definitions/WithdrawalMethod' - $ref: "#/definitions/WithdrawalMethod"
- type: object - type: object
required: required:
- providers - providers
properties: properties:
providers: providers:
description: Список провайдеров электронных денежных средств description: List of digital wallet providers
type: array type: array
items: items:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/DigitalWalletProvider' - $ref: "#/definitions/DigitalWalletProvider"

View File

@ -1,13 +1,14 @@
---
type: object type: object
allOf: allOf:
- $ref: '#/definitions/WithdrawalMethod' - $ref: "#/definitions/WithdrawalMethod"
- type: object - type: object
required: required:
- providers - providers
properties: properties:
providers: providers:
description: Список провайдеров сервисов выплат description: List of withdrawal service providers
type: array type: array
items: items:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/GenericProvider' - $ref: "#/definitions/GenericProvider"

View File

@ -1,31 +1,32 @@
description: Параметры создаваемого вывода ---
description: Options of generated withdrawal
allOf: allOf:
- $ref: '#/definitions/Withdrawal' - $ref: "#/definitions/Withdrawal"
- type: object - type: object
properties: properties:
walletGrant: walletGrant:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/GrantToken' - $ref: "#/definitions/GrantToken"
- description: | - description: |
Токен, дающий право на списание с кошелька для оплаты вывода. A token that gives the right to withdraw from the wallet to pay for the withdrawal.
Необходимо предоставить в том случае, если оплата производится засчёт средств _чужого_ Must be provided if withdrawal is made at the expense of _foreign_
кошелька. Владелец указанного кошелька может wallet. The owner of said wallet can
[выдать на это право](#operation/issueWalletGrant). [issue this right](#operation/issueWalletGrant).
destinationGrant: destinationGrant:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/GrantToken' - $ref: "#/definitions/GrantToken"
- description: | - description: |
Токен, дающий право вывода. A token that gives the right to withdraw.
Необходимо предоставить в том случае, если вывод производится посредством _чужого_ приёмника Must be provided if the withdrawal is made through a _foreign_ recipient of
средств. Владелец указанного приёмника может funds. The owner of the specified recipient can
[выдать на это право](#operation/issueDestinationGrant). [issue this right](#operation/issueDestinationGrant).
quoteToken: quoteToken:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/GrantToken' - $ref: "#/definitions/GrantToken"
- description: | - description: |
Котировка, по которой следует проводить вывод средств. Quote at which funds should be withdrawn.
Должна быть [получена](#operation/createQuote) Must be [obtained](#operation/createQuote)
заранее для каждой отдельной операции вывода с конвертацией. in advance for each individual withdrawal operation with conversion.

View File

@ -1,4 +1,5 @@
description: Данные котировки для вывода ---
description: Quote data for withdrawal
type: object type: object
required: required:
- cashFrom - cashFrom
@ -9,28 +10,27 @@ required:
properties: properties:
cashFrom: cashFrom:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/Asset' - $ref: "#/definitions/Asset"
- description: Объём средств в исходной валюте - description: Amount of funds in source currency
- readOnly: true - readOnly: true
cashTo: cashTo:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/Asset' - $ref: "#/definitions/Asset"
- description: Объём средств в конечной валюте - description: Amount of funds in target currency
- readOnly: true - readOnly: true
createdAt: createdAt:
description: Дата и время получения котировки description: Date and time the quote was received
type: string type: string
format: date-time format: date-time
readOnly: true readOnly: true
expiresOn: expiresOn:
description: Дата и время окончания действия котировки description: Quote expiration date and time
type: string type: string
format: date-time format: date-time
readOnly: true readOnly: true
quoteToken: quoteToken:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/GrantToken' - $ref: "#/definitions/GrantToken"
- description: > - description: >
Котировка, по которой следует проводить вывод средств. Quote at which funds should be withdrawn.
Must be provided when creating withdrawal with conversion
Необходимо предоставить при создании вывода с конвертацией

View File

@ -1,4 +1,5 @@
description: Параметры котировки для вывода ---
description: Quote parameters for withdrawal
type: object type: object
required: required:
- walletID - walletID
@ -8,40 +9,34 @@ required:
properties: properties:
externalID: externalID:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/ExternalID' - $ref: "#/definitions/ExternalID"
walletID: walletID:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/WalletID' - $ref: "#/definitions/WalletID"
destinationID: destinationID:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/DestinationID' - $ref: "#/definitions/DestinationID"
currencyFrom: currencyFrom:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/CurrencyID' - $ref: "#/definitions/CurrencyID"
- description: Код исходной валюты - description: Source currency code
currencyTo: currencyTo:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/CurrencyID' - $ref: "#/definitions/CurrencyID"
- description: Код конечной валюты - description: Target currency code
cash: cash:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/Asset' - $ref: "#/definitions/Asset"
- description: Объём средств для получения котировки в одной из валют обмена - description: The amount of funds for receiving a quote in one of the exchange currencies
walletGrant: walletGrant:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/GrantToken' - $ref: "#/definitions/GrantToken"
- description: > - description: >
Токен, дающий право на списание с кошелька для оплаты вывода. A token that gives the right to withdraw from the wallet to pay for the withdrawal.
It is necessary to provide if the withdrawal is made at the expense of the funds of a _foreign_ wallet. The owner of the specified wallet can [issue this right](#operation/issueWalletGrant)
Необходимо предоставить в том случае, если оплата производится
засчёт средств _чужого_ кошелька. Владелец указанного кошелька
может [выдать на это право](#operation/issueWalletGrant)
destinationGrant: destinationGrant:
x-rebillyMerge: x-rebillyMerge:
- $ref: '#/definitions/GrantToken' - $ref: "#/definitions/GrantToken"
- description: > - description: >
Токен, дающий право вывода. A token that gives the right to withdraw.
Must be provided if the withdrawal is made through a _foreign_ fund recipient. The owner of the specified recipient can [grant this right](#operation/issueDestinationGrant)
Необходимо предоставить в том случае, если вывод производится
посредством _чужого_ приёмника средств. Владелец указанного
приёмника может [выдать на это право](#operation/issueDestinationGrant)

Some files were not shown because too many files have changed in this diff Show More