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
MF Holdings Import using MFCβs CAS summary & detailed API
Gateway partner can request MF Holdings response based on a combination of MFC's CAS summary and detailed API by passing responseConfig while creating the transactionId
{
"intent": "MF_HOLDINGS_IMPORT",
"assetConfig": {
"pan": "ABCTY1234D",
"phone": "9876543210"
},
"responseConfig": {
"casDetail": true,
"casSummary": true
}
}
Response Structure
A single, unified response will be shared over a webhook once for a transaction ID.
- casDetail = true, casSummary = true
- Response structure would be similar to existing response
- Response will be shared over webhook once smallcase gets CAS summary and detail API response
- casDetail = true, casSummary = false
- No change in existing integration
- casDetail = false, casSummary = true
- Response structure would be similar to existing response
- Fields that are only available in detail API (and not in summary API) will be dropped
- Additional keys only available in summary API will be added