User Information API
User Registration
POST
https://service.xxx.com/platformapi/chainup/open/user/registration
It is necessary to package the data in the parameter table into JSON strings and use rsa for parameter encryption and signature as data and sign in the body
Headers
Name | Type | Description |
---|---|---|
Content-Type | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
app_id* | String | Merchant unique identifier appKey |
time | String | |
data | String | |
sign | String |
The following are the parameters involved in rsa encryption:
The phone number and email fields are optional, but if you choose to fill in either one of them, you can only provide either the phone number or the email. You cannot fill in both fields simultaneously.
name | type | required | example | Description |
---|---|---|---|---|
mobileNumber | String | NO | 09011223 | Phone number and email can only be filled in one of them |
String | NO | xxxxx@.com | Phone number and email can only be filled in one of them | |
countryCode | String | NO | 93 | Country dialing code for the phone number |
password | String | YES | TtEest19121 | Password |
invitedCode | String | YES | QSKNOQQQ | Invitation code |
User Registration Information
POST
https://service.xxx.com/platformapi/chainup/open/user/reg_info_list
It is necessary to package the data in the parameter table into JSON strings and use rsa for parameter encryption and signature as data and sign in the body
Query Parameters
Name | Type | Description |
---|---|---|
page | String | Page number for pagination, defaults to 1 if not specified |
pageSize | String | Number of items per page, defaults to 100 if not specified |
regStartTime* | String | Start registration time (13-digit timestamp) |
Headers
Name | Type | Description |
---|---|---|
Content-Type | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
app_id* | String | Merchant unique identifier appKey |
time | String | |
sign | String | |
data | String |
The following are the parameters involved in rsa encryption:
name | type | required | example | Description |
---|---|---|---|---|
page | String | NO | 1 | Page number for pagination, defaults to 1 if not specified |
pageSize | String | NO | 20 | Number of items per page, defaults to 100 if not specified |
regStartTime | String | YES | 1232123421123 | Start registration time (13-digit timestamp) |
Invitation Relationship Query - Superior
Return all superior levels found in the current query, up to a maximum of five levels.
POST
https://service.xxx.com/platformapi/chainup/open/user/user_superior
It is necessary to package the data in the parameter table into JSON strings and use rsa for parameter encryption and signature as data and sign in the body
Headers
Name | Type | Description |
---|---|---|
Content-Type | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
app_id* | String | Merchant unique identifier appKey |
sign | String | Signature |
data | String | |
time | String |
The following are the parameters involved in rsa encryption:
name | type | required | example | Description |
---|---|---|---|---|
openId | String | NO | Choose either openid, emailOrPhone, with uid taking priority | |
uid | String | NO | user ID | |
emailOrPhone | String | NO | Mobile phone number |
Invitation Relationship Query - Subordinate
POST
https://service.xxx.com/platformapi/chainup/open/user/user_invite
It is necessary to package the data in the parameter table into JSON strings and use rsa for parameter encryption and signature as data and sign in the body
Headers
Name | Type | Description |
---|---|---|
Content-Type | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
app_id* | String | Merchant unique identifier appKey |
sign | String | Signature |
data | String | |
time | String |
The following are the parameters involved in rsa encryption:
name | type | required | example | Description |
---|---|---|---|---|
openId | String | NO | Choose either openid, emailOrPhone, with uid taking priority | |
uid | String | NO | user ID | |
emailOrPhone | String | NO | Mobile phone number | |
page | String | YES | 1 | Page number for pagination, defaults to 1 if not specified |
pageSize | String | YES | 20 | Number of items per page, defaults to 100 if not specified |
User Identity Verification
POST
https://service.xxx.com/platformapi/chainup/open/user/verifyUserIdentity
It is necessary to package the data in the parameter table into JSON strings and use rsa for parameter encryption and signature as data and sign in the body
Headers
Name | Type | Description |
---|---|---|
Content-Type | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
app_id* | String | Merchant Unique Identifier (appKey) |
time | String | |
sign | String | |
data | String |
The following are the parameters involved in rsa encryption:
name | type | required | example | Description |
---|---|---|---|---|
uid | String | YES | 230000 | User ID |
countryCode | String | YES | 93 | Country code. You need to enter the correct "code", which can be obtained from the left-hand side country code list. |
certificateNumber | String | YES | 211111111111 | ID number |
familyName | String | YES | test | Last name |
name | String | YES | test | First name |
firstPhoto | String | YES | ID photo, only supports online image URLs, maximum of three inputs, separated by commas. Example:"https://oss.com.https://oss.com,https://oss.com" |
get user history login
POST
https://service.xxx.com/platformapi/chainup/open/user/getUserHistoryLogin
Headers
Name | Type | Description |
---|---|---|
Content-Type | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
appKey* | String | Merchant Unique Identifier (appKey) |
sign* | String | |
uid* | String | User ID |
endDate | String | end time 2024-00-00 00:00:00 |
startDate | String | start time 2024-00-00 00:00:00 |
Last updated