客户注册
需要验证签名
接口描述
注册用户
提示
- 该接口支持幂等。
- KYC提交前请先注册用户
- 邮箱、合作伙伴客户ID都不允许重复
请求头
| Parameter | Type | Required | Description |
|---|---|---|---|
| Authorization | string | M | access_token |
| Content-Type | string | M | application/json |
请求参数
| Parameter | Type | Required | Description |
|---|---|---|---|
| string(128) | M | 客户邮箱,唯一 | |
| phone_no | string(11) | M | 客户手机号码 |
| calling_prefix | string(10) | M | 国际电话区号,示例:+86 |
| partner_user_id | string(64) | M | 合作伙伴客户唯一 ID |
返回响应
| Parameter | Type | Required | Description |
|---|---|---|---|
| client_id | string | M | 客户在PP注册后的唯一ID |
返回示例
- 成功
- 失败
{
"code": 200,
"message": "SUCCESS",
"data": {
"client_id": "IT8623090607825418235"
}
}
{
"code": 920002,
"message": "partner_user_id already exist",
"data": null
}
错误码
| 返回码 | 描述 | 解决方案 |
|---|---|---|
| 900000 | system error | 系统错误,请联系PingPong技术人员核查 |
| 900002 | illegal param | 参数有误,请根据提示更正信息 |
| 910003 | email already exist | 邮箱已存在,请更换邮箱 |
| 910000 | user already exist | partner_user_id已存在,请更换后再发起 |