get https://sandbox.onebrick.io/v2/payments/account/list/
The account list GET api will return sessionId that will be used in POST method
Request Parameter
| Key Parameter | Data Type | Description |
|---|---|---|
| user_access_token | string | Access token generated after successful institution connection through the widget which needs to be passed as the Bearer token in the Authorization headerResponse Parameter |
Response parameters
| Key Parameter | Data type | Description |
|---|---|---|
| sessionId | string | Unique Id that generated after successful bank connection that will be use on POST method |
| requestId | string | Unique Id that generated after successful bank connection |
| token | string | Token generated after successful bank connection through the widget |
| duration | integer | Life duration for token\OTP generated |
