UAE API Endpoint
This endpoint will send pin to msisdn & verify them, for a service hosted by Comparo Media.
It's your responsibility to secure the token shared by the API team, using it publically allows anyone to access and make requests on behalf of you for the service.
For token related queries, contact your Comparo Media partner or send an email to [email protected].
For the APIs to work you need to implement the Evina Script, Please find the script & how to implement in the file below.
The file includes the implementation of evina script as well the how to implement the APIs with Evina script.
Please do not remove the existing code just the update the file where neccessary to properly implement the evina script & API.
Send PIN
POST /send_pin
Send Pin to MSISDN.
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
msisdn
string
Mobile number / MSIDN of the user. {country_code_without_+_symbol}
cid
string
The id generated by Evina Script
affiliate_params
object
Object with clickid and trackid details,
affiliate_params.click_id
string
123456
Click ID
affiliate_params.tr_id
string
123456
Track ID
{
"status": true,
"req_id": "01j98k0p8pqz3aww26xfp3mbpz"
}{
"status": false,
"message": "Please enter MSISDN"
}{
"status": false,
"message": "HTTP/1.0 401 Unauthorized. Token not found in request."
}Validate PIN
POST /validate_pin
Verify the pin sent to the MSISDN
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
msisdn
string
Mobile number / MSIDN of the user. Prefix mobile number with: 00{country_code_without_+_symbol}
pin
number
Pin which your user enters.
req_id
string
01j98k0p8pqz3aww2
Request Id received from first API.
cid
string
Request id generated by Evina Script
Response
{
"status": true
}{
"status": false,
"message": "Pin Expired"
}{
"status": false,
"message": "HTTP/1.0 401 Unauthorized. Token not found in request."
}Last updated