---
title: "Get exchange rate information by its ID"
method: GET
path: "/v2/exchange-rates/{id}"
tags: ["Exchange"]
---

# Get exchange rate information by its ID

`GET /v2/exchange-rates/{id}`

## Request

- Base URL: `https://api.sandbox.payall.com`
- URL: `https://api.sandbox.payall.com/v2/exchange-rates/{id}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `/v2/oauth/token`

## Path parameters

- `id` string, uuid, required

## Response `200`

OK

- ExchangeRateInstance: `source_amount` represents a value in the currency **from** which the exchange is made. `target_amount` represents a value in the currency **to** which the exchange is made. For example 10 EUR (`source_amount`) converted **to** GBP will result in 8 GBP (`target_amount`).
  - `id` string, uuid
  - `source_amount` Amount
    - `currency` string, iso-4217, required
    - `value` integer, required: Amounts are always in the smallest currency unit. Example: 1000.23 EUR is represented as 100023 euro cents.
  - `target_amount` Amount
    - `currency` string, iso-4217, required
    - `value` integer, required: Amounts are always in the smallest currency unit. Example: 1000.23 EUR is represented as 100023 euro cents.
  - `expiration_date` string, date-time: Exchange rate is valid until this date and time.

---

[API](https://skmtc.dev/payall/apis/payall-m2m-authentication-api.md) - [All operations](https://skmtc.dev/payall/apis/payall-m2m-authentication-api/llms.txt) - [OpenAPI document](https://skmtc.dev/payall/apis/payall-m2m-authentication-api/revisions/5f561eccd6ce?raw)
