openapi: 3.2.0 info: title: Raiffeisen Ru Rates API version: 0.30.0 description: 'Operations tagged Rates API across 2 of this provider''s published API definitions: raiffeisen-ru-cbr-exchange-rates-openapi.yml, raiffeisen-ru-cbr-exchange-rates-openapi.yml. Each path carries the servers of the definition it was published in.' servers: - url: https://api.raiffeisen.ru/exchange-rate tags: - name: Rates API description: API курса валют ЦБ paths: /v1/currencies/rates/{currencyFrom}/{currencyTo}: get: tags: - Rates API summary: Запрос курса валют ЦБ за указанный период operationId: rateByDate parameters: - name: currencyFrom in: path description: Базовая валюта (RUB, EUR и.т.д) required: true schema: type: string enum: - RUB - name: currencyTo in: path description: Целевая валюта (AUD, и.т.д) required: true schema: type: string enum: - HUF - INR - USD - CZK - XDR - AUD - CAD - SEK - KRW - ZAR - BRL - UAH - UZS - AMD - SGD - AZN - BYR - NOK - CNY - PLN - JPY - DKK - TMT - BYN - TJS - CHF - TRY - MDL - BGN - KGS - KZT - HKD - GBP - RON - EUR - AED - THB - VND - RSD - NZD - GEL - IDR - EGP - QAR - name: date in: query description: Дата required: true schema: type: string format: date pattern: yyyy-MM-dd - name: source in: query description: Источник курса required: false schema: type: string enum: - CBR - $ref: '#/components/parameters/IdTokenHeader' - $ref: '#/components/parameters/AuthorizationHeader' responses: '200': description: Результат курса валют content: application/json: schema: $ref: '#/components/schemas/Rate' '401': $ref: '#/components/responses/Unauthorized' '500': $ref: '#/components/responses/InternalError' servers: - url: https://api.raiffeisen.ru/exchange-rate components: responses: Unauthorized: description: Аутентификация не пройдена InternalError: description: Внутренняя ошибка parameters: AuthorizationHeader: name: Authorization in: header description: Токен доступа required: true schema: type: string format: byte example: Bearer QXV0aG9yaXphdGlvbiBIZWFkZXIgRm9yIFRlc3Rpbmc= IdTokenHeader: name: Id-Token in: header description: Идентификационный токен пользователя required: true schema: type: string format: byte example: SUQgVE9LRU4gRk9SIFRFU1RJTkc= schemas: Rate: type: object description: Курс валют properties: id: type: string format: uuid description: Идентификатор currencyFrom: type: string description: Базовая валюта (RUB, EUR и.т.д) enum: - RUB currencyTo: type: string description: Целевая валюта (AUD, и.т.д) enum: - HUF - INR - USD - CZK - XDR - AUD - CAD - SEK - KRW - ZAR - BRL - UAH - UZS - AMD - SGD - AZN - BYR - NOK - CNY - PLN - JPY - DKK - TMT - BYN - TJS - CHF - TRY - MDL - BGN - KGS - KZT - HKD - GBP - RON - EUR - AED - THB - VND - RSD - NZD - GEL - IDR - EGP - QAR value: type: number description: Значение date: type: string description: Дата format: date-time source: type: string description: Источник курса enum: - CBR required: - currencyFrom - currencyTo - date - id - source - value x-refined-from: - raiffeisen-ru-cbr-exchange-rates-openapi.yml - raiffeisen-ru-cbr-exchange-rates-openapi.yml