v1

latestOpenAPI 3.1.02026-08-0416027.2 KB

Confirm OTP

API to confirm Verification OTP

post/verification/confirm

Request body

verification_referencestring required

The unique reference that was returned as response when the OTP was created

verification_codestring required

The OTP that was sent to the customer.

Response

200

codeinteger
{"stackTrail":"paths:/verification/confirm:post:responses:200:content:application/json:schema:properties:errors","oasType":"schema","type":"unknown"}
messagestring
statusstring

Example response

{
  "code": 200,
  "data": {
    "token": "Abcde",
    "token_length": 5,
    "token_duration": "6",
    "status": "sent",
    "phone": "2348034210294",
    "email": "sadiqful@gmail.com",
    "reference": "MN-OTP-847923e3-a59f-4f29-b565-35b8f344b1fb",
    "created_at": "2023-01-21T15:25:02Z",
    "updated_at": "2023-01-21T15:25:02Z"
  },
  "message": "Confirm verification",
  "status": "success"
}