Get Company
import requests
url = "https://api.paywise.de/partner/v1/companies/{id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paywise.de/partner/v1/companies/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.paywise.de/partner/v1/companies/{id}/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/partner/v1/companies/{id}/");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
curl --request GET \
--url https://api.paywise.de/partner/v1/companies/{id}/ \
--header 'Authorization: Bearer <token>'{
"href": "https://api.paywise.de/partner/v1/companies/e2f8f69c-d5ef-4821-b334-d3b5769f9a70/",
"id": "6196ba03-83f2-46ea-83e1-a087bd0c5acc",
"name": "Mustermann GmbH & Co. KG",
"address": {
"street": "Musterstr. 1",
"zip": "44651",
"city": "Musterhausen",
"country": "DE"
},
"phone": "+49 89 123456",
"vat_number": "DE123456789",
"users": [
{
"href": "https://api.paywise.de/partner/v1/users/ab5fc850-7bb3-4c33-9741-d1305dfa41d9/",
"id": "ab5fc850-7bb3-4c33-9741-d1305dfa41d9",
"email": "[email protected]",
"first_name": "Max",
"last_name": "Mustermann",
"company": "6196ba03-83f2-46ea-83e1-a087bd0c5acc",
"email_verified": true,
"notification_channels": [
{
"channel_type": "EMAIL",
"value": "[email protected]",
"notification_types": [
"REQUESTS_TO_CLIENT",
"STATUS_UPDATE",
"STATEMENTS"
]
}
]
}
],
"data_submission_completed": true,
"legal_form": "GmbH & Co. KG",
"legal_representatives": [
{
"type": "komplementaer",
"name": "Mustermann Holding GbnH"
},
{
"type": "geschaeftsführer",
"name": "Max Mustermann"
}
],
"tax_deduction_eligibility": "J",
"notification_channels": [
{
"channel_type": "EMAIL",
"value": "[email protected]",
"notification_types": [
"REQUESTS_TO_CLIENT",
"STATUS_UPDATE",
"STATEMENTS"
]
}
]
}{
"detail": "<string>"
}companies
Get Company
Get a company
GET
/
partner
/
v1
/
companies
/
{id}
/
Get Company
import requests
url = "https://api.paywise.de/partner/v1/companies/{id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paywise.de/partner/v1/companies/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.paywise.de/partner/v1/companies/{id}/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/partner/v1/companies/{id}/");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
curl --request GET \
--url https://api.paywise.de/partner/v1/companies/{id}/ \
--header 'Authorization: Bearer <token>'{
"href": "https://api.paywise.de/partner/v1/companies/e2f8f69c-d5ef-4821-b334-d3b5769f9a70/",
"id": "6196ba03-83f2-46ea-83e1-a087bd0c5acc",
"name": "Mustermann GmbH & Co. KG",
"address": {
"street": "Musterstr. 1",
"zip": "44651",
"city": "Musterhausen",
"country": "DE"
},
"phone": "+49 89 123456",
"vat_number": "DE123456789",
"users": [
{
"href": "https://api.paywise.de/partner/v1/users/ab5fc850-7bb3-4c33-9741-d1305dfa41d9/",
"id": "ab5fc850-7bb3-4c33-9741-d1305dfa41d9",
"email": "[email protected]",
"first_name": "Max",
"last_name": "Mustermann",
"company": "6196ba03-83f2-46ea-83e1-a087bd0c5acc",
"email_verified": true,
"notification_channels": [
{
"channel_type": "EMAIL",
"value": "[email protected]",
"notification_types": [
"REQUESTS_TO_CLIENT",
"STATUS_UPDATE",
"STATEMENTS"
]
}
]
}
],
"data_submission_completed": true,
"legal_form": "GmbH & Co. KG",
"legal_representatives": [
{
"type": "komplementaer",
"name": "Mustermann Holding GbnH"
},
{
"type": "geschaeftsführer",
"name": "Max Mustermann"
}
],
"tax_deduction_eligibility": "J",
"notification_channels": [
{
"channel_type": "EMAIL",
"value": "[email protected]",
"notification_types": [
"REQUESTS_TO_CLIENT",
"STATUS_UPDATE",
"STATEMENTS"
]
}
]
}{
"detail": "<string>"
}Authorizations
Response
The company's default claim type (Vertragsart/Forderungsart)
H05- DienstleistungsvertragH43- Warenlieferung/-enH22- MitgliedsbeitragH21- MieteH11- KaufvertragH44- Werkvertrag/WerklieferungsvertragH08- HandwerkerleistungH41- Versicherungsprämie/-beitragH16- Lehrgangs-/UnterrichtskostenH10- HotelkostenH02- Ärztliche oder zahnärztliche LeistungH28- Schadenersatz aus VertragH26- ReparaturleistungH24- Rechtsanwalts-/RechtsbeistandshonorarH06- FrachtkostenH18- Miete für KraftfahrzeugH34- SpeditionskostenH19- Miete für Wohnraum einschl. NebenkostenH42- Versorgungsleistung - Strom, Wasser, Gas, Wärme-H17- Miete für Geschäftsraum einschl. NebenkostenH45- Zeitungs-/ZeitschriftenbezugH37- Ungerechtfertigte BereicherungH29- Schadenersatz aus Unfall/VorfallH01- Anzeigen in Zeitungen u.a.H78- Tierärztliche LeistungH14- LagerkostenH77- KrankentransportkostenH40- Vermittlungs-/MaklerprovisionH15- Leasing/MietkaufH23- PachtH04- DarlehensrückzahlungH20- Mietnebenkosten - auch Renovierungskosten-H79- VerpflegungskostenH75- ReisevertragH33- SchuldanerkenntnisH39- Vergleich, außergerichtlicherH70- KindertagesstättenbeitragH90- Wohngeld/Hausgeld für WohnungseigentümergemeinschaftH09- HeimunterbringungH03- BürgschaftH07- Geschäftsbesorgung durch SelbständigeH12- KontokorrentabrechnungH13- Krankenhauskosten-Pflege/BehandlungH36- Überziehung des BankkontosH61- Wahlleistungen bei stationärer BehandlungH76- Telekommunikationsleistungen
Available options:
H05, H43, H22, H21, H11, H44, H08, H41, H16, H10, H02, H28, H26, H24, H06, H18, H34, H19, H42, H17, H45, H37, H29, H01, H78, H14, H77, H40, H15, H23, H04, H20, H79, H75, H33, H39, H70, H90, H09, H03, H07, H12, H13, H36, H61, H76 