Validate OTP Code
GET /tms/delivery-orders/validate-otp/{otpCode}
Description
This endpoint is used to validate an OTP (One-Time Password) code for delivery orders. The OTP code, along with tenant and country information, must be provided to validate the OTP.
Parameters
- tenantId (
string, header, required): The ID of the tenant. - countryCode (
string, header, required): The country code. - otpCode (
string, path, required): The OTP code to be validated.
Responses
- 200 OK
- OTP code validated
- Media type: Controls Accept header.
- Example Value:
{
"status": true,
"statusCode": 0,
"message": "string",
"data": {},
"errors": [
{
"message": "string",
"descriptiveMessage": "string"
}
]
}
400 Bad Request
Invalid OTP Code
404 Not Found
Resource not found
LANGUAGE
CURL REQUEST
curl --request GET \
--url /tms/delivery-orders/validate-otp/{otpCode} \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!