get
https://sandbox.onebrick.io/v1/income/salary/
This API helps you to get past income data of your end-users.
Request parameters
| Key Parameter | Data Type | Description |
|---|---|---|
| user_acces_token | String | token generated after successful institution connection through the widget which needs to be passed as the Bearer token in the Authorization header |
Response parameters
| Key Parameter | Data Type | Description |
|---|---|---|
| companyName | String | Name of the company |
| monthName | String | - Date of the payment (for BPJS account) - Year of tax report (for DJP account) |
| salary | String | - Amount of gross salary received Monthly (for BPJS account) - Amount of gross salary received Annually (for DJP account) |
| bpjsCardNumber | String | BPJS number of the end user (only applicable for BPJS account) |
| type | String | The type of data source, "bpjs-tk" for BPJS account and "tax" for DJP account |
| institutionId | Integer | Unique Institution Id for every institutions |
