import requests
url = "https://api.paywise.de/mahnservice/v1/invoices/{uuid}/dunning/"
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/invoices/{uuid}/dunning/', 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/invoices/{uuid}/dunning/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/mahnservice/v1/invoices/{uuid}/dunning/");
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/invoices/{uuid}/dunning/ \
--header 'Authorization: Bearer <token>'{
"current_level": 1,
"dunning_flow": {
"id": "73000000-0000-4000-8000-000000000001",
"level_count": 3,
"levels": 3,
"name": "Standard reminders"
},
"dunnings": [],
"next_action_date": "2026-09-04T00:00:00+02:00",
"pause_reason": null,
"paused_at": null,
"state": "active"
}Get the dunning state
The dunning process of this invoice: state (held until release), pause state, current level, next action date, the dunning flow, and the history of sent dunnings with their fees.
import requests
url = "https://api.paywise.de/mahnservice/v1/invoices/{uuid}/dunning/"
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/invoices/{uuid}/dunning/', 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/invoices/{uuid}/dunning/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/mahnservice/v1/invoices/{uuid}/dunning/");
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/invoices/{uuid}/dunning/ \
--header 'Authorization: Bearer <token>'{
"current_level": 1,
"dunning_flow": {
"id": "73000000-0000-4000-8000-000000000001",
"level_count": 3,
"levels": 3,
"name": "Standard reminders"
},
"dunnings": [],
"next_action_date": "2026-09-04T00:00:00+02:00",
"pause_reason": null,
"paused_at": null,
"state": "active"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
UUID of the invoice in this request.
Response
The dunning state of one invoice: the dunning process plus the history of sent notices. A held, never-released invoice reports the held shape with no process.
One-based next dunning level. It can be one beyond the final configured level after the last notice; null when no dunning process exists.
Flow assigned to this invoice's dunning process, which can be an older configuration version. Null when no process or assigned flow exists.
Show child attributes
Show child attributes
History of sent or attempted dunning notices. Empty when the invoice has no dunning process.
Show child attributes
Show child attributes
Scheduled time of the next dunning action, which can be a notice or automatic debt-collection handover. Null when no action is scheduled or no process exists.
Reason recorded for the process hold (manual user pause, subscription, administrator, debtor hold, or disconnected integration); null when no reason is recorded.
user, subscription, admin, debtor, integration Time the process entered its current pause. Null when not paused, when no process exists, or when a legacy pause has no recorded timestamp.
Current dunning process state. held means an API invoice awaits release; an invoice settled while held reports paid, cancelled, or written_off. Null means a bookkeeping invoice has never been enrolled.
held, pending, active, paused, completed, paid, cancelled, written_off, inkasso 