Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

获取报价

简要描述

获取汇率报价信息。

更新记录

更新日期更新内容
2025-09-16添加返回 fixedFee、preRatedFee 字段
2025-10-15添加返回 fullPay、fullPayFee 字段

请求URL

${baseUrl}/tf/v4/quotes

请求方式

  • Method: POST
  • Content-Type: application/json

请求参数

参数名必选类型说明
sourceCurrencystring资金来源币种,可从 balance 接口获取支持的币种
countrystring目标国家,例如 CHN
businessstring业务类型,例如 C2C
typestring下发通道,例如 ewallet
targetCurrencystring下发币种,例如 CNY

返回示例

{
    "data": {
        "input": "USD",
        "output": "CNY",
        "rate": 6.402552,
        "fixedFee": 5,
        "preRatedFee": 0.012,
        "fullPay": true,
        "fullPayFee": 20
    },
    "msg": "操作成功",
    "status": 200,
    "success": true
}

返回参数说明

参数名称示例参数说明schema
datajson响应数据,data 信息
msg操作成功响应消息
status200响应码
successtrue是否成功:成功 true,失败 false

data 信息

参数名称示例参数说明
inputUSD输入币种
outputCNY输出币种
rate6.402552汇率报价
fixedFee12固定费用,币种与 input 相同
preRatedFee0.012按比例收取的费用,例如发送金额为 100,该费用为 100*0.012
fullPaytrue是否支持 fullPay
fullPayFee20fullPay 的费用