auth
Verify Phone Number

Verify Phone Number

This API handles verification, it is essential to validate phone number because most payouts will be made through it,and also for secuiry purposes.

Note:In this API, you must provide an access_token and consumer_token in the header

the consumer_token is the token you get from the login or signup API, and the access_token is the token you get from the authorization API.

Request

Endpoint:

POST https://demo.rewardadz.com/public/api/v1/gateway/verify_phone

Headers

x-access-token:string
x-consumer-token:string

Body

{
  "verification_code": 300060
}

You might be wondering where to get the verification code, it is sent to the phone number you provided in the signup API automatically on signup completion. So the user will have to provide the code to verify the phone number.

here are the possible responses:

{
  "success": true,
  "ra_message": "Phone number verified successfully",
  "ra_data": null
}
{
  "success": false,
  "ra_message": "Invalid verification code",
  "ra_data": null
}

unverified phone numbers will not be ab;e to withdraw, so it is important to verify the phone number.