Get partner details
Returns details for a single partner. By default only the minimal “core” fields are returned. Each consumer requests only the sections it needs through the include query parameter, which keeps the response small and fast.
curl --request GET \
--url https://stage-api.findity.com/api/v1/admin/partners/{partnerId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://stage-api.findity.com/api/v1/admin/partners/{partnerId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://stage-api.findity.com/api/v1/admin/partners/{partnerId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://stage-api.findity.com/api/v1/admin/partners/{partnerId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://stage-api.findity.com/api/v1/admin/partners/{partnerId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://stage-api.findity.com/api/v1/admin/partners/{partnerId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://stage-api.findity.com/api/v1/admin/partners/{partnerId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "abc123",
"name": "Partner Test",
"partnerCode": "123",
"vat": "1234-0000",
"clientApplicationId": "987654321",
"invoiceEmailAddress": "test@example.com",
"licenseGroup": 2,
"licensingEnabled": "INHERITED",
"inheritedLicenseGroup": 2,
"inheritedLicensingEnabled": "INACTIVE",
"partnerType": "DIRECT",
"settings": {
"showReportOverview": true,
"numberOfReportGroups": 1
},
"administrators": [
{
"id": "1234abcd",
"firstName": "Partner",
"lastName": "Admin",
"email": "admin@example.com",
"supportRole": false,
"invite": false
}
]
}{
"result": "error",
"code": "INVALID_PARAMETER",
"description": "Unknown include value(s): unknownSection"
}{
"result": "error",
"code": "PARTNER_NOT_FOUND",
"description": "Partner not found"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Partner external ID
"abc123"
Query Parameters
Comma-separated list of optional sections to add to the response, e.g. ?include=invoicing,administrators.
settings, invoicing, identityProvider, partnerConfig, content, administrators, paymentSettings, memberOrganizations, templateOrganizations Response
Partner details
Partner details response. Only the core fields (id, name, partnerCode, vat, clientApplicationId) are always present. Every other field appears only when its section is requested via the include query parameter.
Partner external ID
Partner name
Partner code
VAT number
Client application that owns the partner
Invoice address (include=invoicing). Free-form address object.
Invoice email address (include=invoicing)
Our invoice reference (include=invoicing)
Their invoice reference (include=invoicing)
License group identifier (include=invoicing)
Licensing enabled state (include=invoicing). Accepted values are ACTIVE, INACTIVE, INHERITED.
ACTIVE, INACTIVE, INHERITED License group inherited from the client application (include=invoicing)
Licensing state inherited from the client application (include=invoicing). Accepted values are ACTIVE, INACTIVE, INHERITED.
ACTIVE, INACTIVE, INHERITED Creation date (include=invoicing)
Identity provider external ID (include=identityProvider)
Whether the identity provider is enabled (include=identityProvider)
Partner type (include=partnerConfig). Accepted values are DIRECT, INDIRECT.
DIRECT, INDIRECT Whether events are sent to an external system (include=partnerConfig)
Partner settings map - design, fieldSettings, reports, etc. (include=settings). Free-form settings object.
Partner images - icon, banner, fav icon, menu logo (include=content)
Hide child attributes
Hide child attributes
Unique identifier of the image resource
Display name of the image
MIME type of the image (e.g. image/png)
Image role. Accepted values are ICON, BANNER, FAV_ICON, MENU_LOGO.
ICON, BANNER, FAV_ICON, MENU_LOGO URL to retrieve the image
Partner administrators (include=administrators)
Hide child attributes
Hide child attributes
Unique identifier of the administrator
External source identifier, if provisioned from an external system
First name of the administrator
Last name of the administrator
Email address of the administrator
Whether the administrator has the partner support role
Whether the administrator has a pending invitation (not yet activated)
Customer payment settings for the partner (include=paymentSettings). Free-form payment settings object.
Member organizations (include=memberOrganizations). Non-paginated - for paginated/searchable listing use GET /v1/admin/partners/{id}/organizations instead.
Hide child attributes
Hide child attributes
Organization ID
"memberorg123"
Organization name
"Member Organization"
External source identifier
"EXT002"
VAT number
"SE123456789001"
Date when organization was created
Number of employees
50
Whether organization has its own license price
true
License price if hasOwnLicensePrice is true
25.5
Whether organization is paid by partner
false
Organization label
"label"
Number of unverified cards
3
List of accounting consultants
Hide child attributes
Hide child attributes
Consultant ID
"consultant123"
First name of consultant
"John"
Last name of consultant
"Doe"
Email of consultant
"john.doe@consultant.com"
Template organizations (include=templateOrganizations)
Hide child attributes
Hide child attributes
Organization ID
"tempid123"
Organization name
"Template Organization"
External source identifier
"EXT001"
Date when organization was created
Country code for accounting settings
"SE"
List of category groups
[
"com.findity.economy.accounting.RepresentationExpenseCategory"
]
List of recipients for this template organization
Hide child attributes
Hide child attributes
Recipient ID
"recipient123"
Integration plugin name
"integration plugin name"
Display name of recipient
"Test Integration"
Original recipient name
"Test"
Custom recipient name
"Custom Test"
Recipient email
"integration@test.com"
Error notification email
"errors@test.com"
Sort order of recipient
1
Recipient status
"NORMAL"
Whether recipient does debit accounting
true
Whether recipient does credit accounting
true
Whether recipient uses accounting numbers
true
Whether recipient uses salary codes
false
Whether recipient requires API key
true
Whether recipient has API key configured
true
Recipient settings configuration
curl --request GET \
--url https://stage-api.findity.com/api/v1/admin/partners/{partnerId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://stage-api.findity.com/api/v1/admin/partners/{partnerId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://stage-api.findity.com/api/v1/admin/partners/{partnerId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://stage-api.findity.com/api/v1/admin/partners/{partnerId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://stage-api.findity.com/api/v1/admin/partners/{partnerId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://stage-api.findity.com/api/v1/admin/partners/{partnerId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://stage-api.findity.com/api/v1/admin/partners/{partnerId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "abc123",
"name": "Partner Test",
"partnerCode": "123",
"vat": "1234-0000",
"clientApplicationId": "987654321",
"invoiceEmailAddress": "test@example.com",
"licenseGroup": 2,
"licensingEnabled": "INHERITED",
"inheritedLicenseGroup": 2,
"inheritedLicensingEnabled": "INACTIVE",
"partnerType": "DIRECT",
"settings": {
"showReportOverview": true,
"numberOfReportGroups": 1
},
"administrators": [
{
"id": "1234abcd",
"firstName": "Partner",
"lastName": "Admin",
"email": "admin@example.com",
"supportRole": false,
"invite": false
}
]
}{
"result": "error",
"code": "INVALID_PARAMETER",
"description": "Unknown include value(s): unknownSection"
}{
"result": "error",
"code": "PARTNER_NOT_FOUND",
"description": "Partner not found"
}
