Edit User
Path Parameters
id string required
reference_id
Header Parameters
Nonce string required
random 16 bytes alphanumerics
Credential string required
Please follow the OpenAPI authentication section
Example: d900da8b-6e16-4a85-8a66-05d29ac53f24/20240501120123/Wonder-RSA-SHA256
Signature string required
Please follow the OpenAPI authentication section
Example: lM42cgyuLS98Dieydc8K2OD3KwYkOXibpV9pFvr/R0i/830M/FPKUKbav2UBBN3M3EdPk/PpvKQlvBNT+NbEg20CKuiDTZWDc3r7KiA1pdZsui/57XCVhC2s01W8jEM+G5lS362+p8+E0K6UKQDrJMyVpbDT31XSkSJIxae+uDi2nJr4DnIkemeU2LlNDRPPGe9NeX7z3B3N3LwIiQgKMyauPqAjro0UrZykQM9pv4UySRSU2cT8EcjQmyKxbzyuR2A47PyeodJvotlIthdfCHIxG52D06tpRJlRVbUdvxSg14bFiPbr3FwCvruZlbR15gOanJCqE4wp4fC8qEXXsg==
Content-type string required
Example: application/json
x-request-id string
Example: d900da8b-6e16-4a85-8a66-05d29ac53f24
x-i18n-lang string
from zh-HK, zh-CN, or en
application/json
Request Body
user object required
calling_code string required
区号 1-3位数字
phone_number string required
手机号 1-11位数 (唯一)
document_type string required
document_number string required
first_name string required
last_name string required
date_of_birth string required
issuing_country string required
Responses
- 200
Response Headers
application/json
Schema
Example (from schema)
Example
Schema
code error code required
message error message required
data object required
user object required
id string required
user_id string required
reference_id string required
calling_code string required
phone_number string required
first_name string required
last_name string required
date_of_birth string required
p_created_at string required
{
"code": 0,
"message": "string",
"data": {
"user": {
"id": "string",
"user_id": "string",
"reference_id": "string",
"calling_code": "string",
"phone_number": "string",
"first_name": "string",
"last_name": "string",
"date_of_birth": "string",
"p_created_at": "string"
}
}
}
{
"code": 200,
"data": {
"user": {
"id": "xx",
"user_id": "xx",
"reference_id": "xx",
"calling_code": "xx",
"phone_number": "xx",
"document_type": "xx",
"document_number": "xx",
"first_name": "xx",
"last_name": "xx",
"issuing_country": "xx",
"date_of_birth": "xx",
"p_created_at": "xx"
}
},
"message": "succeed"
}
Loading...