Skip to main content
POST
/
user
/
create
创建用户
curl --request POST \
  --url http://dev-cn.your-api-server.com/user/create \
  --header 'Content-Type: application/json' \
  --data '
{
  "merchantId": "<string>",
  "merchantUserId": "<string>",
  "channel": "<string>",
  "email": "jsmith@example.com",
  "mobileNumber": "<string>",
  "mobilePrefix": "<string>"
}
'
{
  "success": false,
  "errorCode": "",
  "errorMessage": "",
  "errorMessageEn": "",
  "detailMessage": "",
  "requestId": "",
  "data": {
    "powerCardUserId": ""
  }
}

Interface Description

Create a user
For card products that do not require KYC verification, users must be created before creating cards.
merchantUserId is the merchant’s own user ID, which must be globally unique.

Body

application/json
merchantId
string
required

商户id

merchantUserId
string
required

商户对应用户id

channel
string
required

开卡渠道

email
string<email>

电子邮箱

mobileNumber
string

手机号码

mobilePrefix
string

手机号国家码

Response

200 - application/json
success
boolean
default:false

是否业务处理成功

errorCode
string

错误码

errorMessage
string

错误信息

errorMessageEn
string

英文错误信息

detailMessage
string

详细信息

requestId
string

請求uuid

data
object

结果数据