---
title: "Get exchange rate for payin"
method: POST
path: "/api/payins/exchange-rate"
tags: ["Payins"]
---

# Get exchange rate for payin

`POST /api/payins/exchange-rate`

Gets the exchange rate for a given fiat amount and payin rail.

## Request body

- GetPayinExchangeRateRequest
  - `amount` SimpleFiatAmount, required
    - `fiatAmount` number, required — The fiat amount.
    - `fiatCurrencyCode` 'USD' | 'COP' | 'ARS' | 'EUR' | 'MXN' | 'BRL' | 'CLP' | 'PEN' | 'BOB' | 'CRC' | 'ZAR', required — The fiat currency code.
  - `destinationToken` TokenWithBlockchain, required
    - `blockchain` 'ETHEREUM' | 'POLYGON' | 'BASE' | 'CELO' | 'PLASMA', required — The blockchain of the token
    - `symbol` 'USDC' | 'USDT', required — The symbol of the token

## Response `200`

Exchange rate for payin

- PayinExchangeRate
  - `destinationToken` TokenWithBlockchain, required
    - `blockchain` 'ETHEREUM' | 'POLYGON' | 'BASE' | 'CELO' | 'PLASMA', required — The blockchain of the token
    - `symbol` 'USDC' | 'USDT', required — The symbol of the token
  - `exchangeRate` number, required — The exchange rate for the payin.
  - `sourceCurrency` 'USD' | 'COP' | 'ARS' | 'EUR' | 'MXN' | 'BRL' | 'CLP' | 'PEN' | 'BOB' | 'CRC' | 'ZAR', required — The source currency for the payin.

## Other responses

- `401` — Unauthorized
- `403` — SignedAgreementRequiredException

---

[API](https://skmtc.net/muralpay/apis/mural-api.md) · [All operations](https://skmtc.net/muralpay/apis/mural-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/muralpay/mural-api/revisions/437d277f5948/schema)
