Universal API for fetching transaction details for all supported transaction intents
API details
This API supports transactionId created for both CONNECTED as well as GUEST users.
In the case of a connected user, the transaction details for the given transactionId would be provided if the transactionId belongs to the connected user.
Supported transactionId
transactionIdAll transactionId created with either of these intents are supported - CONNECT, TRANSACTION, SUBSCRIPTION and HOLDINGS_IMPORT
Transaction statuses
Possible values of transactionDetails.status:
Transaction Status | Description |
|---|---|
| • Txn is not triggered OR |
| • If txn has not expired yet: user is still completing post broker login Gateway flow OR |
| • Txn is under process (eg: AMO, limit orders in open state). |
| • smallcase order txn requires user to take some other action (eg: REPAIR) before they can continue with the intended order type (eg: REBALANCE). |
| • Gateway flow has ended with an error thrown to SDK. Use |
| • Txn is complete (eg: order placement, holdings import, smallcase subscription, etc). Note: For order transactions, this status means that Gateway has a final update on the order. Order can have failed/succeed/partially succeed. Further details in - |
Transaction status description for MF_HOLDINGS_IMPORT intent
MF_HOLDINGS_IMPORT intentPossible values of transactionDetails.status:
Transaction Status | Description |
|---|---|
| This is the default status of the transactionId, when a transactionId is created for an intent, and it stays |
| For SDK based integration For API based integration |
| Once the OTP verification is done, the transactionId status changes into It denotes that holdings are being fetched currently |
| For SDK For API based int. |
| Once a webhook has been shared successfully, then the transaction lifecycle is finished and that’s when transactionId is marked |