Learn about the Mutual Fund Holdings Import -
https://developers.gateway.smallcase.com/docs/mutual-fund-holdings-import
Once the transactionId is created, the same can be passed to the triggerMfTransaction
method of the client-side SDK
User will be asked to enter his PAN and mobile number (mobile number must be linked to one of the folios user is holding) to generate an OTP.
Once the user generates an OTP, MFCentral will share the OTP on the entered mobile number. User needs to enter this OTP on the verify OTP screen.
Once that is done, the mutual funds holdings will be fetched in background and will be shared on the registered webhook
Learn more
To import MF transactions only from a particular date, you may optionally pass assetConfig.fromDate
in yyyy-mm-dd
format -
{
"intent": "MF_HOLDINGS_IMPORT",
"assetConfig": {
"fromDate": "1986-01-15"
}
}
Pre-fill PAN & Mobile number in SDK flow (Gateway UI)
If your app has access to the user's PAN and Mobile no, the same can be pre-filled in the Gateway UI for users to just confirm the details. To pre-fill, pass the PAN and Mobile no while creating the transaction -
{
"intent": "MF_HOLDINGS_IMPORT",
"assetConfig": {
"pan": "ABCTY1234D",
"phone": "9876543210"
}
}
Notes for pre-filling:
- Both fields,
pan
&phone
, has to be passed for pre-filling to work pan
must be in uppercasephone
must be a 10-digit Indian number without country code