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>"
}
]
}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).
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
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
UUID of the dunning flow in this request.
Response
A configured dunning flow (Mahnlauf). levels is the ordered level
configuration; level_count matches the summary shape embedded in
GET /invoices/{uuid}/dunning/.
Master switch for dunning fees. A level's fee is charged only when this and the level's fee_enabled are true.
Stable identifier of the dunning flow.
Whether sending has been activated for this flow in the paywise portal. Released invoices remain pending until activation, unless another hold applies.
False = the flow was deactivated by paywise (no new enrollments; invoices already running on it continue). Not a deletion.
Current enrollment configuration. Non-default rows include historical versions still referenced by existing invoices; is_active does not identify the latest version.
Number of configured dunning levels.
Dunning-level configurations in level order. Flow configuration is read-only through this API.
Show child attributes
Show child attributes
Name of the dunning flow.
