1. Verified
`interface address:{host}/api/v2.1/merch/verify/name
`Request method:GET/POST表单
field | type | nickname | description |
---|---|---|---|
merchId | Integer | merchant ID | |
body | String | encryption parameter | See table 6 for details |
t | Integer | current timestamp | |
key | String | sign | Md5(merchId+body+t+md5key) |
Parameters: BODY Parameters:
field | type | nickname | description |
---|---|---|---|
userwalletAddress | String | user wallet Address | |
merchOrderId | String | verified id | unique |
realName | String | realName | user realName |
phoneNumber | String | phoneNumber | |
cardNumber | String | cardNumber | |
notifyUrl | String | 通知的url | Notification of callback results |
param | String | Extended parameters | |
merchUserId | String | Merchant's user ID | |
title | String | title |
realName,phoneNumber,cardNumber must fill in any one
body generation rules:
`1. base64Decode public key
`2. Convert the parameters in Table 4 to jsonString
3. Use public key to encrypt jsonString with RSA (ECB mode, PKCS1 alignment)
4. The encryption result base64 Encode is the string body
field | type | nickname | description |
---|---|---|---|
code | Integer | status code | 0 means the request is normal, see the attached table for details. |
message | String | message | |
data | Return data | {url:”url”} |