import requests
url = "https://api.paywise.de/v2/mandates/{mandate_id}/correspondence/{id}/"
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/{mandate_id}/correspondence/{id}/', 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/{mandate_id}/correspondence/{id}/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/v2/mandates/{mandate_id}/correspondence/{id}/");
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/{mandate_id}/correspondence/{id}/ \
--header 'Authorization: Bearer <token>'{
"attachments": [
{
"download_url": "https://api-sandbox.paywise.de/v2/mandates/50000000-0000-4000-8000-000000000001/correspondence/f3000000-0000-4000-8000-000000000001/attachments/logical_0123456789abcdef01234567/download/",
"filename": "kontoauszug.pdf",
"id": "logical_0123456789abcdef01234567",
"mime_type": "application/pdf",
"size_bytes": 48213,
"status": "available"
}
],
"body": {
"complete": true,
"quoted_text": null,
"text": "Guten Tag, ich möchte in Raten zahlen."
},
"channel": "email",
"direction": "inbound",
"email": {
"cc": [],
"from": "[email protected]",
"to": [
"[email protected]"
]
},
"history_entry_ids": [
"f0000000-0000-4000-8000-000000000001"
],
"id": "f3000000-0000-4000-8000-000000000001",
"occurred_at": "2026-08-27T10:58:00Z",
"pdf_url": "https://api-sandbox.paywise.de/v2/mandates/50000000-0000-4000-8000-000000000001/correspondence/f3000000-0000-4000-8000-000000000001/pdf/",
"source_mandate": {
"id": "50000000-0000-4000-8000-000000000001",
"reference_number": "PW-2026-000042",
"relation": "main_case"
},
"subject": "Ratenzahlung",
"updated_at": "2026-08-27T11:05:00Z",
"url": "https://api-sandbox.paywise.de/v2/mandates/50000000-0000-4000-8000-000000000001/correspondence/f3000000-0000-4000-8000-000000000001/"
}{
"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 correspondence item
Debtor correspondence of one accepted case, read-only.
import requests
url = "https://api.paywise.de/v2/mandates/{mandate_id}/correspondence/{id}/"
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/{mandate_id}/correspondence/{id}/', 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/{mandate_id}/correspondence/{id}/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/v2/mandates/{mandate_id}/correspondence/{id}/");
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/{mandate_id}/correspondence/{id}/ \
--header 'Authorization: Bearer <token>'{
"attachments": [
{
"download_url": "https://api-sandbox.paywise.de/v2/mandates/50000000-0000-4000-8000-000000000001/correspondence/f3000000-0000-4000-8000-000000000001/attachments/logical_0123456789abcdef01234567/download/",
"filename": "kontoauszug.pdf",
"id": "logical_0123456789abcdef01234567",
"mime_type": "application/pdf",
"size_bytes": 48213,
"status": "available"
}
],
"body": {
"complete": true,
"quoted_text": null,
"text": "Guten Tag, ich möchte in Raten zahlen."
},
"channel": "email",
"direction": "inbound",
"email": {
"cc": [],
"from": "[email protected]",
"to": [
"[email protected]"
]
},
"history_entry_ids": [
"f0000000-0000-4000-8000-000000000001"
],
"id": "f3000000-0000-4000-8000-000000000001",
"occurred_at": "2026-08-27T10:58:00Z",
"pdf_url": "https://api-sandbox.paywise.de/v2/mandates/50000000-0000-4000-8000-000000000001/correspondence/f3000000-0000-4000-8000-000000000001/pdf/",
"source_mandate": {
"id": "50000000-0000-4000-8000-000000000001",
"reference_number": "PW-2026-000042",
"relation": "main_case"
},
"subject": "Ratenzahlung",
"updated_at": "2026-08-27T11:05:00Z",
"url": "https://api-sandbox.paywise.de/v2/mandates/50000000-0000-4000-8000-000000000001/correspondence/f3000000-0000-4000-8000-000000000001/"
}{
"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.
Return 304 with an empty body when the current ETag matches one of the supplied validators (or *).
Path Parameters
UUID of the correspondence item in this request.
UUID of the parent accepted case in this request.
Response
List row plus the projected text and the attachment inventory.
Attachments of the message that a creditor may download.
Show child attributes
Show child attributes
Projected plain text, or null when no body is stored.
Show child attributes
Show child attributes
Communication channel. Open enumeration: email today; clients must tolerate new values.
Whether paywise received or sent the message.
inbound, outbound Email-channel details; present when channel is email.
Show child attributes
Show child attributes
Published history entries that surface this message; empty for messages reachable only through a client request.
Stable identifier of the correspondence item.
Time the message was received or sent.
Authenticated URL of the message rendered as PDF (header block and plain text).
Main case or subcase the message belongs to.
Show child attributes
Show child attributes
Subject line, or null.
Latest change to this item; use for incremental synchronization.
Authenticated API URL of this item.
