> ## 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.

# 实时汇率查询V2

> 实时汇率查询 V2（/common/quote/v3/exchange-rate）：按 transactionType 查询 USD 兑目标币种的充值或提现汇率，并返回汇率最近更新时间。

**说明：**

* 查询USD转换其他币种汇率的充值汇率和提现汇率，返回汇率最近更新时间

**URL：**

`/common/quote/v3/exchange-rate`

**请求方式：** POST

**请求参数：**

| 参数名 | 必选 | 类型 | 说明 |
| :- | :- | :- | :- |
| appId | 是 | String | 任一可用appId，用于验签 |
| sourceCurrency | 是 | String | 源币种，固定USD，币种代码全大写 |
| targetCurrency | 是 | String | 目标币种，币种代码全大写 |
| transactionType | 是 | String | 汇率类型：`Recharge` 充值汇率、`Withdraw` 提现汇率 |
| sign | 是 | String | 签名 |

**返回参数说明：**

| 参数名 | 类型 | 说明 |
| :- | :- | :- |
| sourceCurrency | String | 源币种（USD） |
| targetCurrency | String | 目标币种 |
| exchangeRate | String | 汇率 |
| updateTime | String | 最近一次更新时间，格式：yyyy-MM-dd HH:mm:ss |
| sign | String | 签名 |

## 相关主题

* [HaiPay 接口说明与公共规则](https://doc.haipay.net/zh/get-started/api-conventions.md)
* [实时汇率查询](https://doc.haipay.net/zh/operations/exchange-rate.md)
* [配置商户密钥与 RSA 签名规则](https://doc.haipay.net/zh/get-started/configuration-and-signatures.md)


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