---
title: "Retrieve Reference Rates"
method: GET
path: "/api/v2_1/fx-providers/ecb/fx-rates"
tags: ["FX-Reference"]
---

# Retrieve Reference Rates

`GET /api/v2_1/fx-providers/ecb/fx-rates`

## Request

- Base URL: `https://secure.payu.com`
- URL: `https://secure.payu.com/api/v2_1/fx-providers/ecb/fx-rates`
- Auth: HTTP bearer

You can retrieve a reference rate table that is updated daily. This table encompasses rates released by the European Central Bank (ECB) against EUR, as well as additional rates that are triangulated using EUR (e.g., PLN/USD, CZK/GBP, etc.).

## Query parameters

- `termCurrency` string, required

## Headers

- `Content-Type` string, required
- `Authorization` string, required

## Response `200`

- object
  - `effectiveDate` string: reference rate table validity. You need to refresh the table daily
  - `fxRates` object[]: Section containing pairs of chosen term currency and base currencies
    - `baseCurrency` string: initial currency - this is the currency in which the payer will be charged (card settlement currency)
    - `termCurrency` string: final currency - this is the currnecy of the shop at which the payment will be processed (currency set for the shop in the PayU system)
    - `midRate` number: midrate to be used to calculate the percentage mark-up

## Other responses

- `401`

---

[API](https://skmtc.dev/payu-com/apis/payu-gpo-europe-rest-api.md) - [All operations](https://skmtc.dev/payu-com/apis/payu-gpo-europe-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/payu-com/apis/payu-gpo-europe-rest-api/revisions/185e74d5e007?raw)
