Customer/Social
version=0.0.1 bizType=customer.app.CustomerThirdLoginService.config Guest Accessible
0.0.1{{company}}{{mock_trace}}zh-CN{{LoginResult.data.token}}Third-Party Sources: google, facebook, twitter, telegram, apple, metamask
POST /api/global/customer.app.CustomerThirdLoginService.config HTTP/1.1
Host: prewppc-3.cmfbl.com
version: text
companyId: text
trace: text
lang: text
Content-Type: application/json
Accept: */*
Content-Length: 22
{
"thirdSource": "text"
}{
"code": "text",
"msg": "text",
"bizCode": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"thirdSource": "text",
"clientId": "text",
"developerAccount": "text"
}
}version=0.0.1 bizType=customer.app.CustomerThirdLoginService.appleVerify Accessible after login
Required on app end
Required on app end
Required on web end
Required on web end
POST /api/h/com.cats.customer.api.app.CustomerThirdLoginService/appleVerify HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 95
{
"companyId": 1,
"openId": "text",
"identityToken": "text",
"email": 1,
"code": "text",
"idToken": "text"
}{
"code": "text",
"msg": "text",
"bizCode": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"userId": "text",
"action": "text",
"result": true,
"failReason": "text",
"thirdSource": "text",
"email": "text",
"phone": "text"
}
}version=0.0.1 bizType=customer.app.CustomerThirdLoginService.facebookVerify Access after login
Verify accessToken
POST /api/third/login/customer.app.CustomerThirdLoginService.facebookVerify HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 22
{
"accessToken": "text"
}{
"code": "text",
"msg": "text",
"bizCode": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"userId": "text",
"action": "text",
"result": true,
"failReason": "text",
"thirdSource": "text",
"email": "text",
"phone": "text"
}
}version=0.0.1 bizType=customer.app.CustomerThirdLoginService.googleVerify Accessible after login
POST /api/h/com.cats.customer.api.app.CustomerThirdLoginService/googleVerify HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"idToken": "text",
"accessToken": "text"
}{
"code": "text",
"msg": "text",
"bizCode": "text",
"tm": 1,
"trace": "text",
"data": {
"thirdSource": "text",
"result": true,
"phone": "text",
"action": "text",
"failReason": "text",
"userId": "text",
"email": "text",
"token": "text"
},
"msgParams": "text"
}version=0.0.1 bizType=customer.app.CustomerThirdLoginService.telegramVerify ###Version 0.0.2, used for third-party registration and login (no need for phone or email) version=0.0.2 bizType=customer.app.CustomerThirdLoginService.telegramVerify Access after login
{{company}}en-US{{mock_trace}}0.0.1POST /api/third/login/customer.app.CustomerThirdLoginService.telegramVerify HTTP/1.1
Host: prewppc-3.cmfbl.com
companyId: text
lang: text
trace: text
version: text
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"userJsonStr": "text",
"channelSource": "text"
}{
"code": "text",
"msg": "text",
"bizCode": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"userId": "text",
"action": "text",
"result": true,
"failReason": "text",
"thirdSource": "text",
"email": "text",
"phone": "text",
"authToken": "text"
}
}version=0.0.1 bizType=customer.app.CustomerThirdLoginService.metaMaskVerify Access after login
POST /api/third/login/customer.app.CustomerThirdLoginService.metaMaskVerify HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 55
{
"web3Signature": "text",
"address": "text",
"timestamp": 1
}{
"code": "text",
"msg": "text",
"bizCode": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"userId": "text",
"action": "text",
"result": true,
"failReason": "text",
"thirdSource": "text",
"email": "text",
"phone": "text"
}
}version=0.0.1 bizType=customer.app.CustomerThirdLoginService.twitterVerify Accessible after login
oauth_token
oauth_token_secret
user_id
screen_name
access_token
state
client_id
network
display
redirect_uri
scope
oauth_proxy
POST /api/third/login/customer.app.CustomerThirdLoginService.twitterVerify HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 236
{
"oauth_token": "text",
"oauth_token_secret": "text",
"user_id": "text",
"screen_name": "text",
"access_token": "text",
"state": "text",
"client_id": "text",
"network": "text",
"display": "text",
"redirect_uri": "text",
"scope": "text",
"oauth_proxy": "text"
}{
"code": "text",
"msg": "text",
"bizCode": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"userId": "text",
"action": "text",
"result": true,
"failReason": "text",
"thirdSource": "text",
"email": "text",
"phone": "text"
}
}version=0.0.1 bizType=customer.app.CustomerThirdLoginService.login Accessible to guests
{{company}}en-US{{mock_trace}}0.0.1Third-Party Sources: google, facebook, twitter, telegram, apple, metamask
Third-party userId
Phone Number
POST /api/third/login/customer.app.CustomerThirdLoginService.login HTTP/1.1
Host: prewppc-3.cmfbl.com
companyId: text
lang: text
trace: text
version: text
Content-Type: application/json
Accept: */*
Content-Length: 68
{
"thirdSource": "text",
"userId": "text",
"email": "text",
"phone": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"id": 1,
"companyId": 1,
"customerGroupId": 1,
"customerNo": "text",
"kycAuditStatus": 1,
"kycAuditRemark": "text",
"kycStatus": 1,
"kycRemark": "text",
"accountList": {},
"accountRemark": "text",
"loginPassStatus": "text",
"payPassStatus": "text",
"email": "text",
"phone": "text",
"phoneArea": "text",
"name": "text",
"country": "text",
"type": 1,
"deposit": 1,
"withdraw": 1,
"optional": 1,
"activateStatus": 1,
"activateTime": 1,
"companyKycStatus": 1,
"status": 1,
"thirdServerCode": "text",
"source": "text",
"thirdLoginSource": "text",
"thirdUserId": "text",
"idCard": "text",
"idCardType": "text",
"thirdIntactMsg": "text",
"firstName": "text",
"lastName": "text",
"isFund": 1,
"assertPassStatus": "text",
"googleId": 1,
"openAccountType": 1,
"loginTime": 1,
"createTime": 1,
"relationCustomerId": 1,
"companyType": "text",
"registerSource": 1,
"associationCompanyId": 1,
"registerTime": 1
},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerThirdLoginService.socialLogin Guest access
{{company}}en-US{{mock_trace}}0.0.1Third-party source telegram
Third-party userId
Third-party authorization certificate
POST /api/third/login/customer.app.CustomerThirdLoginService.socialLogin HTTP/1.1
Host: prewppc-3.cmfbl.com
companyId: text
lang: text
trace: text
version: text
Content-Type: application/json
Accept: */*
Content-Length: 57
{
"thirdSource": "text",
"userId": "text",
"authToken": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"id": 1,
"companyId": 1,
"customerGroupId": 1,
"customerNo": "text",
"kycAuditStatus": 1,
"kycAuditRemark": "text",
"kycStatus": 1,
"kycRemark": "text",
"accountList": {},
"accountRemark": "text",
"loginPassStatus": "text",
"payPassStatus": "text",
"email": "text",
"phone": "text",
"phoneArea": "text",
"name": "text",
"country": "text",
"type": 1,
"deposit": 1,
"withdraw": 1,
"optional": 1,
"activateStatus": 1,
"activateTime": 1,
"companyKycStatus": 1,
"status": 1,
"thirdServerCode": "text",
"source": "text",
"thirdLoginSource": "text",
"thirdUserId": "text",
"idCard": "text",
"idCardType": "text",
"thirdIntactMsg": "text",
"firstName": "text",
"lastName": "text",
"isFund": 1,
"assertPassStatus": "text",
"googleId": 1,
"openAccountType": 1,
"loginTime": 1,
"createTime": 1,
"relationCustomerId": 1,
"companyType": "text",
"registerSource": 1,
"associationCompanyId": 1,
"registerTime": 1
},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerThirdLoginService.register Guest access
{{company}}en-US{{mock_trace}}0.0.1Country
Third-Party Sources: google, facebook, twitter, telegram, apple, metamask
Third-party userId
Client group ID
Email and phone number must exist one
Phone Number
New phone area code
Verification code
Verification code sending ticket
Registration source: 1=mobile web: H5, 2=pc web: PC_Web, 3=system & backend registration: System, 4=Android native app: Android, 5=iOS native app: iOS, 6=HarmonyOS: HOS, 7=pc windows client: PC_Win, 8=pc mac client: PC_Mac, 9=other
Advertising source (account opening link parameter source)
Advertising medium (account opening link parameter medium)
Advertising campaign (account opening link parameter campaign)
Advertising group (account opening link parameter content)
Keyword (account opening link parameter term)
Language Information
Unique identifier from third-party system
Third-party system source, such as: agent=agent
Registered device model
POST /api/third/login/customer.app.CustomerThirdLoginService.register HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 266
{
"customerGroupId": 1,
"userId": "5708954114",
"phoneArea": "18163223782",
"phone": "18631358776",
"sendToken": "reprehenderit veniam do sit minim",
"verifyCode": "23",
"country": "CN",
"thirdSource": "telegram",
"registerSource": 2,
"thirdServerSource": "test",
"thirdServerCode": "10"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"customerNo": "text",
"list": [
{
"levelCode": "text",
"openAccountType": 1,
"levelName": "text",
"pathName": "text",
"pathCode": "text",
"elementList": [
{
"elementCode": "text",
"elementName": "text",
"showType": "text",
"extend": "text",
"elementValue": "text",
"elementValueInputGroup": "text",
"elementCodeInputGroup": "text"
}
]
}
],
"companyId": 1,
"ext1": "text",
"ext2": "text",
"email": "text",
"phone": "text",
"phoneArea": "text",
"name": "text",
"loginPassStatus": "text",
"payPassStatus": "text",
"customerGroupId": 1,
"country": "text",
"id": 1,
"optional": 1,
"companyKycStatus": 1,
"thirdServerCode": "text",
"source": "text",
"capitalInStatus": 1,
"openAccountType": 1,
"companyType": "text",
"associationCompanyId": 1,
"registerTime": 1,
"apiCheckSwitch": true,
"apiCheckRule": "text",
"token": "text"
},
"ok": true,
"fail": true
}version=0.0.1 bizType=customer.app.CustomerThirdLoginService.socialRegister Accessible for guests
{{company}}en-US{{mock_trace}}0.0.1Country code
Third-party source telegram
Third-party userId
Third-party authorization certificate
Registration source: 1=mobile web: H5, 2=pc web: PC_Web, 3=system & backend registration: System, 4=Android native app: Android, 5=iOS native app: iOS, 6=HarmonyOS: HOS, 7=pc windows client: PC_Win, 8=pc mac client: PC_Mac, 9=other
Client group ID
Advertising source (account opening link parameter source)
Advertising medium (account opening link parameter medium)
Advertising campaign (account opening link parameter campaign)
Advertising group (account opening link parameter content)
Keyword (account opening link parameter term)
Language Information
Unique identifier from third-party system
Third-party system source, such as: agent=agent
Registered device model
Login Token
POST /api/third/login/customer.app.CustomerThirdLoginService.socialRegister HTTP/1.1
Host: prewppc-3.cmfbl.com
Content-Type: application/json
Accept: */*
Content-Length: 314
{
"country": "text",
"thirdSource": "text",
"userId": "text",
"authToken": "text",
"registerSource": 1,
"customerGroupId": 1,
"utmSource": "text",
"utmMedium": "text",
"utmCampaign": "text",
"utmContent": "text",
"utmTerm": "text",
"lang": "text",
"thirdServerCode": "text",
"thirdServerSource": "text",
"registerDevice": "text",
"token": "text"
}{
"bizCode": "text",
"code": "text",
"msg": "text",
"tm": 1,
"trace": "text",
"msgParams": "text",
"data": {
"customerNo": "text",
"list": [
{
"levelCode": "text",
"openAccountType": 1,
"levelName": "text",
"pathName": "text",
"pathCode": "text",
"elementList": [
{
"elementCode": "text",
"elementName": "text",
"showType": "text",
"extend": "text",
"elementValue": "text",
"elementValueInputGroup": "text",
"elementCodeInputGroup": "text"
}
]
}
],
"companyId": 1,
"ext1": "text",
"ext2": "text",
"email": "text",
"phone": "text",
"phoneArea": "text",
"name": "text",
"loginPassStatus": "text",
"payPassStatus": "text",
"customerGroupId": 1,
"country": "text",
"id": 1,
"optional": 1,
"companyKycStatus": 1,
"thirdServerCode": "text",
"source": "text",
"capitalInStatus": 1,
"openAccountType": 1,
"companyType": "text",
"associationCompanyId": 1,
"registerTime": 1,
"apiCheckSwitch": true,
"apiCheckRule": "text"
},
"ok": true,
"fail": true
}Last updated