Query information on the payment page
GET/payment/payInfo
Query the latest information of the payment page, including the countdown, updated sub-contract wallet address, etc.
Request
Query Parameters
outTradeNo stringrequired
Merchant order number
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
code int32required
Status code
msg stringrequired
Status message on success or error message on failure
description string
Detailed description when error
data
object
required
countDown int64required
Payment page countdown
Unit: seconds
orgName stringrequired
Merchant name
Can be modified by the merchant administrator on the orgnization information page of the management platform
userWalletAddress stringrequired
Sub-contract wallet address for receiving payments
May change after the merchant or user changes the chain and currency used for payment
saltHash stringrequired
Salt value hash used to verify the sub-contract address
May change after the merchant or user changes the chain and currency used for payment
{
"code": 0,
"msg": "string",
"description": "string",
"data": {
"countDown": 0,
"orgName": "string",
"userWalletAddress": "string",
"saltHash": "string"
}
}
{
"code": 200,
"msg": "success",
"data": {
"countDown": 1800,
"orgName": "Sample Merchant",
"userWalletAddress": "TBqJ84AKTezZnzRN5nJs1k3yD2LUbQa23K",
"saltHash": "0x657faff79490a0c7a7d798d23d6b119e5eacc8f850f99a44e32b0a6cf9da6b11"
}
}
Unauthorized
Forbidden
Not Found
Loading...