Used to check the status of the API
Responses
| Code | Description |
|---|---|
| 200 | OK Media type application/json |
Basic OAuth authorization and REST API
curl -X GET https://api.symetrisk.com/api/v1/ping \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"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 partner integration and client
| Code | Description |
|---|---|
| 200 | OK Media type application/json |
Intializes and creates a new credit-scorer company. This company will now be selectable by debtors during onboarding, and they can see view credit score on debtors that consent to share data.
{
"borrowers": [
{
"organization_number": "000000000"
}
]
}| Code | Description |
|---|---|
| 200 | OK Media type application/json |
Ask for access to a debtors credit score. If the debtor already has an account and connected their accounting system, they just have to accept the new request in their dashboard. If they don't have an account yet, they can either log in through delregnskap.no or with the signup link that is returned. This will generate a signup link and create a relationship in state access_requested. Forward the link to the debtor, 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 /list-debtors to list all debtors who have consented to share data. Provide a list of debtors you want to request access to with their organization number in the body of this request.
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| creditor_organization_number | string | path | Yes | The organization number of the creditor that is requesting access to debtors credit score. |
{
"debtors": [
{
"organization_number": "000000000"
},
{
"organization_number": "111111111"
}
]
}| Code | Description |
|---|---|
| 200 | OK Media type application/json |
Get a list of all debtors of the creditor. To get credit score, use /get-credit-score/{creditor-organization-number}/{debtor-organization-number}, which will return the credit score for that specific debtor.
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| creditor_organization_number | string | path | Yes | The organization number of the creditor to list debtors of |
| 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 the credit score of a debtor.
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| creditor_organization_number | string | path | Yes | The organization number of the creditor that the debtor has shared data with. |
| debtor_organization_number | string | path | Yes | The organization number of the debtor to get credit score of. |
| 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 |
|---|---|---|---|---|
| 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 |
|---|---|---|---|---|
| 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/{organization_number} to see connection status and other data on the borrower.
{
"borrowers": [
{
"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/{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 |