---
title: "Confirm exchange rate"
method: POST
path: "/v2/exchange-rates/confirm"
tags: ["Exchange"]
---

# Confirm exchange rate

`POST /v2/exchange-rates/confirm`

## Request

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

Confirm the exchange rate to lock it for future use.
This operation is required if you want to use the exchange rate
for a payment after exchange rate quote expires. This is valid
only for quoted rates program configurations.

**This operation will block funds on the source account.**
The funds will be release automatically if the payment is not initiated
within the timeframe configured for your program.

If needed you can cancel the quote to unblock funds earlier.

## Request body

- object
  - `exchange_rate_id` string, uuid: ID of the exchange rate to confirm.

## Response `200`

OK

## Other responses

- `404`: Not found This response will be sent if exchange rate with provided ID does not exist.
- `405`: Not allowed This response will be sent if exchange rate is already confirmed or if the configuration of your program does not offer this feature.

---

[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)
