锁汇
POST/v1/global-payout/lock-rate请求参数
Body 参数application/json
mch_id
string
商户编号
商户在平台上开设的商户号码,为18位数字,如:201304121000001004
<= 18 字符
sub_mch_id
string
子商户号
子商户号(平台商模式下必传),为18位数字
txn_seqno
string
商户侧锁汇唯一编号
<= 64 字符
sell_currency
string
卖出币种
当前仅支持CNY
buy_currency
string
买入币种
三位标准格式,参考:https://www.iban.hk/currency-codes
示例
{
"mch_id": "string",
"sub_mch_id": "string",
"txn_seqno": "string",
"sell_currency": "string",
"buy_currency": "string"
}示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
ret_code
string
返回码
ret_msg
string
返回码描述
mch_id
string
商户编号
商户在平台上开设的商户号码,为18位数字,如:201304121000001004
txn_seqno
string
商户侧锁汇唯一编号
platform_txno
string
平台订单号,连连订单唯一编号
rate_id
string
汇率id
rate
string
汇率
示例值:
0.9851
sell_currency
string
卖出币种
buy_currency
string
买入币种
base_currency
string
基准币种
valid_start_time
string
汇率有效开始时间
示例值:
20251014094000
正则匹配:
yyyyMMddHHmmss
valid_end_time
string
汇率有效结束时间
示例值:
20251014095000
正则匹配:
yyyyMMddHHmmss
示例
{
"ret_code": "string",
"ret_msg": "string",
"mch_id": "string",
"txn_seqno": "string",
"platform_txno": "string",
"rate_id": "string",
"rate": "0.9851",
"sell_currency": "string",
"buy_currency": "string",
"base_currency": "string",
"valid_start_time": "20251014094000",
"valid_end_time": "20251014095000"
}最后修改时间: 3 个月前
