Verify OTP Mandate
Last updated Jul 30th, 2024
get
api.withmono.com/v3/payments/mandates/verify/otpv1.0
This resource handles mandate OTP verification in two steps:
Set Preferred OTP Method: Specify the preferred OTP verification method for users with an existing approved mandate. Provide the session ID and OTP method, which can be retrieved from the Create a Mandate API.
Verify Mandate OTP: After the OTP is sent to the user's preferred method (phone or email), this endpoint validates the OTP. If correct, the mandate is immediately created and approved.
NOTE: The OTP generated expires after 1 minute.
Step 1 - Set OTP Method
Step 2 - Verify OTP
Headers
Request
1234567891011
curl --request POST \
--url https://api.withmono.com/v3/payments/mandates/verify/otp \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"session": "string",
"method": "string",
"otp": "string",
}
'
Response
Choose an option from the drop down or click one of these buttons to see an example: