NairaSMS
/

Verify SMS OTP

Verify tokens previously sent with the SMS OTP endpoint.

POST/v1/otp/verify

Request Body

OptionTypeRequiredDescription
pin_idstringyesThe pinId returned by Send SMS OTP.
pinstringyesCode entered by the customer.
{
  "pin_id": "c8dcd048-5e7f-4347-8c89-4470c3af0b",
  "pin": "195558"
}

Sample Response

{
  "data": {
    "pinId": "c8dcd048-5e7f-4347-8c89-4470c3af0b",
    "verified": true,
    "msisdn": "2348025671695"
  }
}