Get a dunning flow
import requests
url = "https://api.paywise.de/mahnservice/v1/dunning-flows/{uuid}/"
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/mahnservice/v1/dunning-flows/{uuid}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.paywise.de/mahnservice/v1/dunning-flows/{uuid}/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/mahnservice/v1/dunning-flows/{uuid}/");
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/mahnservice/v1/dunning-flows/{uuid}/ \
--header 'Authorization: Bearer <token>'{
"fees_enabled": true,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_activated": true,
"is_active": true,
"is_default": true,
"level_count": 123,
"levels": [
{
"channel": "email",
"days_after_previous": 123,
"fee_amount": "<string>",
"fee_enabled": true,
"level": 123
}
],
"name": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}Dunning flows
Get a dunning flow
Read-only dunning-flow (Mahnlauf) configuration. Flows are company config with no test/production split, so both token modes read the same flows; configuration itself stays in the paywise portal (design D-portal: the public API keeps flows read-only).
GET
/
mahnservice
/
v1
/
dunning-flows
/
{uuid}
/
Get a dunning flow
import requests
url = "https://api.paywise.de/mahnservice/v1/dunning-flows/{uuid}/"
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/mahnservice/v1/dunning-flows/{uuid}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.paywise.de/mahnservice/v1/dunning-flows/{uuid}/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/mahnservice/v1/dunning-flows/{uuid}/");
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/mahnservice/v1/dunning-flows/{uuid}/ \
--header 'Authorization: Bearer <token>'{
"fees_enabled": true,
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"is_activated": true,
"is_active": true,
"is_default": true,
"level_count": 123,
"levels": [
{
"channel": "email",
"days_after_previous": 123,
"fee_amount": "<string>",
"fee_enabled": true,
"level": 123
}
],
"name": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}Authorizations
Response
A configured dunning flow (Mahnlauf). levels is the ordered level
configuration; level_count matches the summary shape embedded in
GET /invoices/{uuid}/dunning/.
