post https://sandbox.onebrick.io/v1/auth/clientId=
In this step, you can generate ClientId & redirectRef Id through public access token.
Request Parameter
Key Parameter | Data type | Description |
---|---|---|
institution_id | Integer | Unique Institution Id for every institutions, For BPJS its 14 and for DJP its 43 |
username | String | End-users username of BPJS Portal or NPWP Number of DJP Portal |
password | String | End-users password for BPJS portal or DJP Portal |
redirectRefId | String | Redirect refId, You can generate this Id from Step 1 |
Response parameters
Key Parameter | Data type | Description |
---|---|---|
accessToken | Integrer | Access_token to identify end-users |
bankId | String | 14(BPJS institution Id) |
target | String | URL of client's endpoint after end-user completed login process |
userId | String | End-user uniqueID that should be saved for future reference |