Verify OTP Code

Verify the OTP code sent to consumer's mobile number.

Verify consumer mobile number

This endpoint verifies the one-time password (OTP) submitted by the consumer. A successful verification confirms the consumer’s mobile number and activates their account in the Tanda WaaS platform.

Parameters

  • organizationId (path): Your organization ID
  • consumerId (path): Consumer's unique identifier

Request Body Parameters

ParameterDescriptionMandatory
otpThis is a 4 digit code sent to the consumer's mobile numberYes

Sample Response

{
    "message": "Oliver Tambo verified successfully",
    "consumer": {
        "id": "14ac3424-c9d7-43cc-b76d-ddc3124410c3",
        "firstName": "Oliver",
        "lastName": "Tambo",
        "status": "New",
        "idNumber": "24743579279",
        "mobile": "+254723009900",
        "datetimeCreated": "2025-09-12T05:41:53.000Z",
        "lastModified": "2025-09-12T05:41:53.000Z",
        "country": {
            "id": "KE",
            "shortName": "Kenya"
        },
        "headOffice": {
            "id": "457cc8a6-4774-4e81-a670-64b9c951a142",
            "name": "Bonface&Sons",
            "tradingName": "Bonface&Sons"
        }
    },
    "isSuccess": true
}
Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!