import requests
url = "https://api.paywise.de/v2/mandates/{id}/history/"
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/v2/mandates/{id}/history/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.paywise.de/v2/mandates/{id}/history/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/v2/mandates/{id}/history/");
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/v2/mandates/{id}/history/ \
--header 'Authorization: Bearer <token>'{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"advance_type": null,
"attachments": [],
"claim_type_code": null,
"description": "Please confirm the outstanding amount.",
"id": "b0000000-0000-4000-8000-000000000001",
"is_advance_request": false,
"occurred_at": "2026-07-18T11:05:00Z",
"related_resources": [
{
"body": {
"allowed_answer_types": "yes-no-freetext-on-no",
"answer": null,
"answered": false,
"answered_at": null,
"created_at": "2026-07-18T11:05:00Z",
"description": "We need your confirmation before continuing.",
"href": "https://api.paywise.de/v2/mandates/50000000-0000-4000-8000-000000000001/requests-to-client/80000000-0000-4000-8000-000000000001/",
"id": "80000000-0000-4000-8000-000000000001",
"mandate": {
"href": "https://api.paywise.de/v2/mandates/50000000-0000-4000-8000-000000000001/",
"id": "50000000-0000-4000-8000-000000000001",
"reference_number": "PW-2026-000123"
},
"question_attachments": [],
"title": "Please confirm the outstanding amount",
"updated_at": "2026-07-18T11:05:00Z"
},
"id": "80000000-0000-4000-8000-000000000001",
"type": "request_to_client",
"url": "https://api.paywise.de/v2/mandates/50000000-0000-4000-8000-000000000001/requests-to-client/80000000-0000-4000-8000-000000000001/"
}
],
"source_mandate": {
"id": "50000000-0000-4000-8000-000000000001",
"reference_number": "PW-2026-000123",
"relation": "main_case"
},
"state": {
"legal_stage": {
"code": "extrajudicial",
"label": "Extrajudicial",
"label_key": "mandate.state.legal_stage.extrajudicial"
},
"payment": {
"code": "open",
"label": "Open",
"label_key": "mandate.state.payment.open"
},
"processing": {
"code": "active",
"label": "Active",
"label_key": "mandate.state.processing.active"
}
},
"text": "Please confirm the outstanding amount.",
"title": "Additional information required",
"type": "status_update",
"updated_at": "2026-07-18T11:05:00Z"
}
]
}{
"code": "validation_error",
"detail": "The request contains invalid data.",
"errors": [
{
"code": "invalid",
"field": "claims[0].due_date",
"message": "Due date must not precede the document date."
}
]
}{
"code": "not_authenticated",
"detail": "Authentication credentials were not provided."
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "not_found",
"detail": "The requested resource was not found."
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}Get mandate history
Accepted cases (Aktenzeichen).
Main-case-centric: the list returns main cases only. Sub-cases are reachable through the main case detail representation and direct detail/subresource URLs, not a flat list expansion. Tenant-scoped by the authenticated company.
Sub-resources of one mandate:
- payments — the reported, non-ignored payments
- documents — claim-document metadata and a proxy-stream download
- history — published client activity, related resources, and attachments. A main case includes its subcases; a subcase includes only itself.
The sub-resource operations resolve the mandate including sub-cases — unlike the list, which hides sub-cases — so an individually-addressable sub-case’s own track stays reachable. These public mandate operations are reads.
import requests
url = "https://api.paywise.de/v2/mandates/{id}/history/"
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/v2/mandates/{id}/history/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.get("https://api.paywise.de/v2/mandates/{id}/history/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/v2/mandates/{id}/history/");
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/v2/mandates/{id}/history/ \
--header 'Authorization: Bearer <token>'{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"advance_type": null,
"attachments": [],
"claim_type_code": null,
"description": "Please confirm the outstanding amount.",
"id": "b0000000-0000-4000-8000-000000000001",
"is_advance_request": false,
"occurred_at": "2026-07-18T11:05:00Z",
"related_resources": [
{
"body": {
"allowed_answer_types": "yes-no-freetext-on-no",
"answer": null,
"answered": false,
"answered_at": null,
"created_at": "2026-07-18T11:05:00Z",
"description": "We need your confirmation before continuing.",
"href": "https://api.paywise.de/v2/mandates/50000000-0000-4000-8000-000000000001/requests-to-client/80000000-0000-4000-8000-000000000001/",
"id": "80000000-0000-4000-8000-000000000001",
"mandate": {
"href": "https://api.paywise.de/v2/mandates/50000000-0000-4000-8000-000000000001/",
"id": "50000000-0000-4000-8000-000000000001",
"reference_number": "PW-2026-000123"
},
"question_attachments": [],
"title": "Please confirm the outstanding amount",
"updated_at": "2026-07-18T11:05:00Z"
},
"id": "80000000-0000-4000-8000-000000000001",
"type": "request_to_client",
"url": "https://api.paywise.de/v2/mandates/50000000-0000-4000-8000-000000000001/requests-to-client/80000000-0000-4000-8000-000000000001/"
}
],
"source_mandate": {
"id": "50000000-0000-4000-8000-000000000001",
"reference_number": "PW-2026-000123",
"relation": "main_case"
},
"state": {
"legal_stage": {
"code": "extrajudicial",
"label": "Extrajudicial",
"label_key": "mandate.state.legal_stage.extrajudicial"
},
"payment": {
"code": "open",
"label": "Open",
"label_key": "mandate.state.payment.open"
},
"processing": {
"code": "active",
"label": "Active",
"label_key": "mandate.state.processing.active"
}
},
"text": "Please confirm the outstanding amount.",
"title": "Additional information required",
"type": "status_update",
"updated_at": "2026-07-18T11:05:00Z"
}
]
}{
"code": "validation_error",
"detail": "The request contains invalid data.",
"errors": [
{
"code": "invalid",
"field": "claims[0].due_date",
"message": "Due date must not precede the document date."
}
]
}{
"code": "not_authenticated",
"detail": "Authentication credentials were not provided."
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "not_found",
"detail": "The requested resource was not found."
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}Authorizations
Company-bound Case Management API key — the standard credential for this API.
Headers
Required when a Partner key calls the Case Management API; rejected for direct Case keys. Contains the entitled paywise company UUID.
Path Parameters
UUID of the accepted case in this request.
Query Parameters
Embed the typed related resource body.
history.related_resources Number of results to return (maximum 100).
1 <= x <= 100Zero-based result offset.
x >= 0Return entries changed at or after this timezone-aware RFC 3339 timestamp (inclusive). With the cursor set, results are ordered by change time and then id instead of newest first.
Response
Limit/offset page of results.
Total number of matching resources.
URL for the next page, or null when this is the last page.
URL for the previous page, or null when this is the first page.
History entries returned for the requested page.
Show child attributes
Show child attributes
