patch https://sandbox.onebrick.io/v1/assets-mfa/transactions
This API helps you to get investment account's transactional data of your end-users.
Request parameters
| Key Parameter | Data Type | Description |
|---|---|---|
| user_access_token | String | token generated after successful institution connection through the widget which needs to be passed as the Bearer token in the Authorization header |
| from | Date | Returns transactions posted on or after this date. Default value is date as of the API request minus 3 months |
| to | Date | Returns transactions up to and including this date. Default value is date as of the API request |
| sessionId | String | Unique Id that generated after successful connection |
| token | String | OTP from the end-user's investment account |
Response parameters
| Key Parameter | Data type | Description |
|---|---|---|
| direction | String | The direction of transaction made (buy / sell) |
| asset_type | String | Type of investment asset (stocks / mutual_funds / bonds) |
| name | String | The name of the assets (For example CPRO for stocks, BNI AM Dana Likuid for mutual funds) |
| type | String | The type of assets (For mutual funds example: Pasar Uang, Pasar Saham) |
| date | Date | The date of the transaction made |
| time | String | The time of the transaction made |
| lot | Float | The lot amount of the assets |
| average_value | Float | The initial average value of the assets |
| amount | Float | The amount of the transaction |
| fee | Float | The fee of the transaction |
| status | String | The status of the transaction |
