> ## Documentation Index
> Fetch the complete documentation index at: https://doc.haipay.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Real-Time Exchange Rate Query

> Deprecated USD exchange rate query (/common/quote/v1/exchange-rate) that supports USD settlement payment methods only; use Real-Time Exchange Rate Query (V2) instead.

> [!WARNING]
>
> This API has been deprecated. Please use [Real-Time Exchange Rate Query (V2)](https://doc.haipay.net/en/history/V20260801/operations/exchange-rate-v2.md) instead.

**Description:**

* **Query exchange rates for converting USD to other currencies, only USD settlement payment methods are supported**

**URL:**

`/common/quote/v1/exchange-rate`

**Parameters:**

| Parameter Name | Required | Type | Description |
| :- | :- | :- | :- |
| appId | Yes | Long | Business ID (obtained from the admin console) |
| sourceCurrency | Yes | String | Source currency (USD) |
| targetCurrency | Yes | String | Target currency |
| payType | No | String | Payment type |
| inBankCode | No | String | Payment method |
| sign | Yes | String | Signature |

Return **data** parameter description

| Parameter Name | Type | Description |
| :- | :- | :- |
| sourceCurrency | String | Source currency (USD) |
| targetCurrency | String | Target currency |
| payType | String | Payment type |
| inBankCode | String | Payment method |
| exchangeRate | String | Exchange rate |
| sign | String | Signature |

## Related Topics

* [HaiPay API Description and Common Rules](https://doc.haipay.net/en/history/V20260801/get-started/api-conventions.md)
* [Configure Merchant Keys and RSA Signature Rules](https://doc.haipay.net/en/history/V20260801/get-started/configuration-and-signatures.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.