Verify OTP

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

👍

Learn how to generate an OTP for the Mutual Fund Holdings Import -

https://developers.gateway.smallcase.com/reference/get-otp-mf-holdings

On hitting the API for a 200 response, the holdings and orderbook will be fetched and shared with you on the registered webhook url.

Error Maps

DescriptionstatusCodeerror messageerrorType
Internal Error on the smallcase gateway server500Internal ErrorInternalError
transactionId passed is either non-existent or invalid400TransactionIdNotFoundInputException
transactionId passed is not of the intent MF_HOLDINGS_IMPORT400InvalidIntentInputException
when the OTP is triggered on one method (e.g., email or phone), but the verification payload contains the OTP from a different method.400OTPMethodMismatchInputException
transactionId passed is expired400TransactionIdExpiredAccessDenied
maximum number of wrong attempts exceeded with this particular transactionId
(max. 5 attemps allowed per transaction)
400wrong_attempts_exceededAccessDenied
Invalid request sent to MFCentral422Invalid Input or Request FormatMFCException
Ratelimit exceeded on MFCentral for the Client429Too many requests to the API (rate limiting)MFCException
validation error on MFCentral400Validation error or Invalid request parameters or valuesMFCException
Invalid access token or client Id401Invalid token or client IdMFCException
Incorrect otp entered406Incorrect OTPAccessDenied
Body Params
string
required
Defaults to ABCDEF14G

PAN for which the mutual funds holdings are to be imported

string
required
Defaults to +911234567890

phone number which must be linked with any of the invested folios or pan. The OTP will be sent on this number. Either of phone or email needs to be passed.

string
required
Defaults to TRX_dc73061e7f79470dbb7bad384243f210

the transactionId for generated for the intent MF_HOLDINGS_IMPORT

string
required
Defaults to 123456

6-digit OTP received from MFCentral

string
Defaults to user@domain

email which must be linked with any of the invested folios or pan. The OTP will be sent on this email.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json