Get the dunning state
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"
}Invoices
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.
GET
/
mahnservice
/
v1
/
invoices
/
{uuid}
/
dunning
/
Get the dunning state
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
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.
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.
Available options:
held, pending, active, paused, completed, paid, cancelled, written_off, inkasso 