This endpoint will help you resend OTP’s in scenarios where your customers don’t get the previous ones sent or in cases of expiration.

This endpoint is protected with OAuth 2.0 Bearer token. To find out more about authorization for Monnify endpoints, check Here.

Endpoint URL: {{base_url}}/api/v2/disbursements/single/resend-otp

HTTP Method: POST

The {{base_url}} for test is https://sandbox.monnify.com but when you go live, it changes to the live url

Resend OTP Sample Request

{
	"reference" : "{{reference}}"
}

Resend OTP Sample Response

{
    "requestSuccessful": true,
    "responseMessage": "success",
    "responseCode": "0",
    "responseBody": {
        "message": "Authorization code will be processed and sent to predefined email addresses(s)"
    }
}

Batch Resend OTP for 2FA

Endpoint URL: {{base_url}}/api/v2/disbursements/batch/resend-otp

The {{base_url}} for test is https://sandbox.monnify.com but when you go live, it changes to the live url

HTTP Method: POST

This endpoint is protected with OAuth 2.0 Bearer token

Batch Resend OTP Request

{
	"batchReference" : "{{batchReference}}"
}

Batch Resend OTP Response

{
    "requestSuccessful": true,
    "responseMessage": "success",
    "responseCode": "0",
    "responseBody": {
        "message": "Authorization code will be processed and sent to predefined email addresses(s)",
        "emailRecipients": null
    }
}


Related Articles