mirror of
https://github.com/valitydev/swag-wallets.git
synced 2024-11-06 10:55:21 +00:00
0ba011b839
* CAPI-262: Make up swagger repo w/ basic wallet api * CAPI-262: Design identity levels and challenges * CAPI-262: Allow to list wallets and identites * CAPI-292: Switch to Redoc 2.x * CAPI-262: Draft outputs and withdrawals
65 lines
1.5 KiB
YAML
65 lines
1.5 KiB
YAML
swagger: '2.0'
|
||
info:
|
||
version: '0.0.1'
|
||
title: RBKmoney Payment Resource API
|
||
description: >
|
||
|
||
RBKmoney Payment Resource API служит для токенизации чувствительных данных
|
||
платёжных ресурсов пользователей.
|
||
|
||
termsOfService: http://rbk.money/
|
||
contact:
|
||
name: RBKmoney support team
|
||
email: support@rbk.money
|
||
url: https://rbk.money
|
||
host: api.rbk.money
|
||
basePath: /privdoc/v0
|
||
schemes:
|
||
- https
|
||
consumes:
|
||
- application/json; charset=utf-8
|
||
produces:
|
||
- application/json; charset=utf-8
|
||
securityDefinitions:
|
||
bearer:
|
||
type: apiKey
|
||
name: Authorization
|
||
in: header
|
||
description: >
|
||
Для аутентификации вызовов мы используем [JWT](https://jwt.io).
|
||
Cоответствующий ключ передается в заголовке.
|
||
|
||
```shell
|
||
Authorization: Bearer {TOKENIZATION|PRIVATE_JWT}
|
||
```
|
||
|
||
security:
|
||
- bearer: []
|
||
|
||
responses:
|
||
|
||
NotFound:
|
||
description: Искомая сущность не найдена
|
||
|
||
BadRequest:
|
||
description: Недопустимые для операции входные данные
|
||
schema:
|
||
$ref: '#/definitions/BadRequest'
|
||
|
||
parameters:
|
||
|
||
requestID:
|
||
name: X-Request-ID
|
||
in: header
|
||
description: Уникальный идентификатор запроса к системе
|
||
required: true
|
||
type: string
|
||
maxLength: 32
|
||
minLength: 1
|
||
|
||
tags:
|
||
|
||
- name: Payment Resources
|
||
x-displayName: Платёжные ресурсы
|
||
description: ""
|