更新付款信息
POST/payment/payInfo/update
商户主动更新收单页面的付款信息,包括链和币种。
Request
- application/json
Responses
- 200
- 201
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
code int32required
状态码
msg stringrequired
成功或错误提示
description string
错误提示详情
data
object
required
expectedAmount stringrequired
订单预期支付金额
注:该字段的值为整型数字,通过 (实际金额 * 10^货币小数位数) 计算而来
userWalletAddress stringrequired
用于收款的子合约账户地址
商户或用户更改支付所使用的链和货币后可能会改变
saltHash stringrequired
用于验证子合约账户的盐值哈希
商户或用户更改支付所使用的链和货币后可能会改变
{
"code": 0,
"msg": "string",
"description": "string",
"data": {
"expectedAmount": "string",
"userWalletAddress": "string",
"saltHash": "string"
}
}
{
"code": 200,
"msg": "success",
"data": {
"expectedAmount": "1864595",
"userWalletAddress": "TBqJ84AKTezZnzRN5nJs1k3yD2LUbQa23K",
"saltHash": "0x657faff79490a0c7a7d798d23d6b119e5eacc8f850f99a44e32b0a6cf9da6b11"
}
}
Created
Unauthorized
Forbidden
Not Found
Loading...