Setting authentication mode to recipient
To enforce authentication for a particular recipient, verify_recipient parameter to be set as true and verification mode has to be set in verification_type parameter supports EMAIL, SMS, and OFFLINE.
Sample Payload
{
"requests": {
"actions": [
{
"verify_recipient": true,
"verification_type": "EMAIL",
"recipient_countrycode_iso": "IN", // pass if SMS OTP
"recipient_phonenumber": "9999999999", // pass if SMS OTP
"verification_code": "123456" // pass if OFFLINE
}
]
}
}