Sends an OTP (One-Time Password) to the user via the specified notification modes. Supports multiple delivery channels including SMS and WhatsApp for secure user verification.
Your unique client identifier issued by Cashfree.
The secret key associated with your client ID.
API version to be used. Format is in YYYY-MM-DD.
"2025-11-01"
Unique identifier that you create to identify the OTP verification request in your system. Maximum 50 characters. Only alphanumeric characters, periods (.), hyphens (-), and underscores (_) are allowed.
1 - 50"Test123"
Unique identifier for the user, as provided by you during PPI user creation.
1 - 50"USER827364"
Array of notification modes for OTP delivery. Supported modes are SMS and WHATSAPP.
1SMS, WHATSAPP ["SMS", "WHATSAPP"]OTP sent successfully.
Unique identifier for the OTP verification request, as provided by you during the request.
"Test123"
Unique identifier for the OTP verification request, generated by Cashfree.
"8901234567890123456"
Status of the OTP generation process.
OTP_GENERATED, FAILED "OTP_GENERATED"
Unique identifier for the user, as provided by you during PPI user creation.
"USER827364"
Array of notification modes used for OTP delivery.
SMS, WHATSAPP ["SMS", "WHATSAPP"]