跳转收银台

URL

POST: https://api.echooo.xyz/service-pay/sellerApi/cashier

HEADER说明

开放API鉴权方式

入参说明

参数名称
参数类型
必填
备注

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"
}'

响应预览

最后更新于