get https://sandbox.onebrick.io/v1/sandbox-widget/?accessToken=&redirect_url=&user_id=
This API helps connect the BRICK account; This API should be integrated into Frontend.
Request Parameters
Key Parameters | Data Type | Description |
---|---|---|
AccessToken | String | Public-access-token generated using your clientId and clientSecret |
Redirect_url | String | The url to which brick POST a response at the end of the widget flow |
User_id | String | Unique identifier for user connecting the account |
Response Parameters
Key Parameters | Data Type | Description |
---|---|---|
accessToken | String | An array of generated access token after successful accounts/institutions connection |
bankId | String | unique id of the institution |
Once the end-user connects their accounts/institutions, we would be making a POST API call to the redirect url with numerous a user-access-token assigned explicitly to the connected accounts/institutions. You need to have a REST api with a POST request listening on that endpoint.