Request OTP

The Request Token request creates an OTP object and sends its token to a specified phone number.

The request accepts a recipient's phone number as a JSON encoded body. It sends the token to the provided recipient number and returns an OTP object containing a unique transaction ID. The transaction ID can be used to make other requests concerning the OTP.

Request OTP



Request Body

    "status": 200,
    "type": "success",
    "message": "Successful",
    "data": {
        "verify": {
            "transaction_id": "55e6fefb965c11eba1bb86d35ec4f76b",
            "recipient": 2348012345678,
            "reference": "sent",
            "created_datetime": "2021-04-05T22:14:48",
            "valid_until": "2021-04-05T22:29:48"

Last updated