跳转收银台
URL
POST: https://api.echooo.xyz/service-pay/sellerApi/cashier
HEADER说明
入参说明
参数名称
参数类型
必填
备注
outerOrderId
string
是
外部订单号。限制长度8~32位,含字母数字,区分大小写,不允许特殊字符
originCurrency
string
是
订单法币类型。见附录 - 支持币种
originCurrencyAmount
string
是
订单法币数量,单位分
commodityName
string
是
商品名称
响应说明
参数名称
参数类型
备注
cashierUrl
string
收银台跳转地址
CURL示例
curl --location 'https://api.valleysound.xyz/service-pay/sellerApi/cashier' \
--header 'Content-Type: application/json' \
--header 'appKey: secret_key123' \
--header 'timestamp: 1704643200000' \
--header 'signToken: sign123' \
--data '{
"outerOrderId": "2050322162971135583",
"originCurrency": "usd",
"originCurrencyAmount": "1000",
"commodityName": "phone"
}'
响应预览
{
"code": "0",
"message": "success",
"data": {
"cashierUrl": "https://pay.echooo.xyz/en-us/v1/?oid=20240122999867758636301&hash=4e85b9422820461aa252c4ebf353d9a0"
}
}
最后更新于