get
https://sandbox.onebrick.io/v1/account/detail
Once you get the user access token using the widget, The Account endpoint allows developers to retrieve data associated with the specified ‘account_id’ in their backend.
Request Parameter
| 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 |
| accountId | String | Unique primary key for institute for which we want to fetch the details |
Response parameters
| Key Parameter | Data type | Description |
|---|---|---|
| lastUpdateAt | String | The time stamp of when the data is last updated |
| session | String | The session status of the particular accounts to the institution |
| accountId | String | Account Identification number from end-user's bank account |
| accountHolder | String | Account holder from end-user's bank account |
| accountNumber | String | Account number from end-user's bank account |
| address | String | Address of account holder (only available for selected institutions) |
| phoneNumber | String | Phone number of account holder (only available for selected institutions) |
| String | Email of account holder (only available for selected institutions) | |
| balances-available | Float | End-user's balance amount that is available to use |
| balances-current | Float | End-user's balance amount that includes "balances-available" and "on-hold amount" |
| ktpNumber | String | Id of user's KTP |
