Used to check the status of the API
Responses
| Code | Description |
|---|---|
| 200 | OK Media type application/json |
Basic OAuth authorization and REST API
Used to check the status of the API
| Code | Description |
|---|---|
| 200 | OK Media type application/json |
Used to check the status of the API
| Code | Description |
|---|---|
| 200 | OK Media type application/json |
Get info about own company and API client
| Code | Description |
|---|---|
| 200 | OK Media type application/json |
Get accounting data for borrower. Returns up to 100 instances of accounting data with a snapshot date as the last day of the month. Sorted by snapshot_date descending. You will only be able to call this endpoint with borrowers where you have a relationship in state 'access_approved' (consented_to_share_data in /borrower endpoint).
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| brreg_organization_number | string | path | Yes | The brreg organization number of the borrower to retrieve data from. |
| limit | integer | query | No | Max amount of items to return |
| skip | integer | query | No | Number of items to skip. |
| Code | Description |
|---|---|
| 200 | OK Media type application/json |
Get data about a borrower company.
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| brreg_organization_number | string | path | Yes | The brreg organization number of the borrower to retrieve data from. |
| Code | Description |
|---|---|
| 200 | OK Media type application/json |
Request access to a borrower company. This will generate a signup link and create a relationship in state access_requested. Forward the link to the borrower, and after they have completed the onboarding they can accept the request. The relationship will then be set to access_approved, and you will be able to view data. Call GET /borrower/{brreg_organization_number} to see connection status and other data on the borrower.
{
"borrowers": [
{
"brreg_organization_number": "000000000"
}
]
}| Code | Description |
|---|---|
| 200 | OK Media type application/json |
Get a list of all relationships. To get extended info about a borrower, make a call to /borrower/{brreg_organization_number}, with the brreg organization number of the borrower. You will only be able to call /accounting-data on borrowers in this list with 'relationship_state' access_approved.
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| limit | integer | query | No | Max amount of items to return |
| skip | integer | query | No | Number of items to skip. |
| Code | Description |
|---|---|
| 200 | OK Media type application/json |
Get notifications
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| limit | integer | query | No | Max amount of items to return |
| skip | integer | query | No | Number of items to skip. |
| Code | Description |
|---|---|
| 200 | OK Media type application/json |