创建用户子合约钱包
POSThttps://api.utcpay.com/api/mer/user/create
在商户开通的所有链上批量创建用户子合约钱包。
Request
- application/json
Body
required
创建用户子合约钱包请求体
uuid stringrequired
用户 UUID,通常用来与商户系统的用户做关联
Responses
- 200
- 201
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
code int32required
状态码
msg stringrequired
成功或错误提示
description string
错误提示详情
data int32required
用户 ID
{
"code": 0,
"msg": "string",
"description": "string",
"data": 0
}
{
"code": 200,
"msg": "success",
"data": 1024
}
Created
Unauthorized
Forbidden
Not Found
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X POST 'https://api.utcpay.com/api/mer/user/create' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-PAY-KEY: <API_KEY_VALUE>' \
-H 'X-PAY-TIMESTAMP: <API_KEY_VALUE>' \
-H 'X-PAY-SIGN: <API_KEY_VALUE>' \
--data-raw '{
"uuid": "string"
}'
ResponseClear