Step 2 - Generate User access token

In this step, you can generate ClientId & redirectRef Id through public access token.

Request Parameter

Key ParameterData typeDescription
institution_idIntegerUnique Institution Id for every institutions, For BPJS its 14 and for DJP its 43
usernameStringEnd-users username of BPJS Portal or NPWP Number of DJP Portal
passwordStringEnd-users password for BPJS portal or DJP Portal
redirectRefIdStringRedirect refId, You can generate this Id from Step 1

Response parameters

Key ParameterData typeDescription
accessTokenIntegrerAccess_token to identify end-users
bankIdString14(BPJS institution Id)
targetStringURL of client's endpoint after end-user completed login process
userIdStringEnd-user uniqueID that should be saved for future reference
Language
Click Try It! to start a request and see the response here!