Skip to main content

Check UID Existence

HTTP request Verify whether the specified UID and phone/email belong to the same WEEX account.

  • POST /api/v3/rebate/affiliate/checkUidExistence

Request parameters

ParameterTypeRequired?Description
uidLongYesWEEX user UID to verify. Must be a positive integer.
contactTypeStringYesContact type: phone / email.
areaCodeIntegerNoCountry/region calling code. Required when contactType=phone.
contactValueStringYesFor phone, the mobile number without area code; for email, the full email address.

Request example

curl -X POST "https://api-spot.weex.com/api/v3/rebate/affiliate/checkUidExistence" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "Content-Type: application/json" \
-d '{
"uid": 12345678,
"contactType": "phone",
"areaCode": 86,
"contactValue": "13800138000"
}'

Response parameters

Field NameTypeDescription
verifiedBooleantrue if the UID and the submitted phone/email belong to the same WEEX account; false otherwise.

Response example

{
"verified": true
}