Get OTP

API to generate an OTP from MFCentral for a particular transactionId, phone and PAN combination

👍

Learn how to create a transactionId for the Mutual Fund Holdings Import -

https://developers.gateway.smallcase.com/reference/mutual-fund-holdings-import-transaction

On hitting the API for a 200 response, an OTP will be shared by MFCentral, to the user on the phone number provided in this particular API call

The same OTP is to be used in the /verifyOTP API call

Error Maps

Description

statusCode

error message

errorType

Internal Error on the smallcase gateway server

500

Internal Error

InternalError

transactionId passed is either non-existent or invalid

400

TransactionIdNotFound

InputException

transactionId passed is not of the intent MF_HOLDINGS_IMPORT

400

InvalidIntent

InputException

transactionId passed is expired

400

TransactionIdExpired

AccessDenied

maximum number of otp resend exceeded with this particular transactionId
(max. 5 attemps allowed per transaction)

400

otp_resend_limit_exceeded

AccessDenied

PAN and phone combination is invalid (can happen when the used number is not linked to any folios)

422

Invalid PAN and Mobile combination

MFCException

PAN and email combination is invalid (can happen when the used email is not linked to any folios)

422

Invalid PAN and Email combination

MFCException

Invalid request sent to MFCentral

422

Invalid Input or Request Format

MFCException

Ratelimit exceeded on MFCentral for the Client

429

Too many requests to the API (rate limiting)

MFCException

validation error on MFCentral

400

Validation error or Invalid request parameters or values

MFCException

Invalid access token or client Id

401

Invalid token or client Id

MFCException

Language
Click Try It! to start a request and see the response here!