import requests
url = "https://api.paywise.de/v2/single-mandate-statements/"
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/single-mandate-statements/', 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/single-mandate-statements/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/v2/single-mandate-statements/");
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/single-mandate-statements/ \
--header 'Authorization: Bearer <token>'{
"count": 123,
"results": [
{
"booking_date": "2023-12-25",
"cancelled_at": "2023-11-07T05:31:56Z",
"clearing_no": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invoice_no": "<string>",
"period_end": "2023-12-25",
"period_start": "2023-12-25",
"reference_number": "<string>",
"statement_type": "interim",
"status": "published",
"updated_at": "2023-11-07T05:31:56Z",
"your_reference": "<string>"
}
],
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100"
}{
"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": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}{
"code": "<string>",
"detail": "<string>",
"errors": [
{
"code": "<string>",
"field": "<string>",
"message": "<string>"
}
]
}List single mandate statements
Published per-case settlements (Aktenabrechnungen) and their PDF.
import requests
url = "https://api.paywise.de/v2/single-mandate-statements/"
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/single-mandate-statements/', 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/single-mandate-statements/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/v2/single-mandate-statements/");
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/single-mandate-statements/ \
--header 'Authorization: Bearer <token>'{
"count": 123,
"results": [
{
"booking_date": "2023-12-25",
"cancelled_at": "2023-11-07T05:31:56Z",
"clearing_no": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"invoice_no": "<string>",
"period_end": "2023-12-25",
"period_start": "2023-12-25",
"reference_number": "<string>",
"statement_type": "interim",
"status": "published",
"updated_at": "2023-11-07T05:31:56Z",
"your_reference": "<string>"
}
],
"next": "http://api.example.org/accounts/?offset=400&limit=100",
"previous": "http://api.example.org/accounts/?offset=200&limit=100"
}{
"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": "<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.
Query Parameters
Booked on exactly this date.
Booking date on or after this date (inclusive).
Booking date on or before this date (inclusive).
Exact clearing number.
Exact invoice number.
Number of results to return (maximum 100).
1 <= x <= 100Return statements for this accepted case UUID.
Zero-based result offset.
x >= 0Comma-separated sort fields: booking_date, period_start, period_end, created, updated, clearing_no, or invoice_no. Prefix a field with - for descending order. Defaults to -created; updated_since uses its synchronization order instead.
Exact paywise case reference recorded on the statement.
Statement kind: interim, final, expenses invoice, transition to long-term monitoring, or negative closing. Use the corresponding enum value.
expenses_invoice, final, interim, negative_closing, transition_to_longtime_monitoring Return published statements that have not been cancelled, or cancelled statements.
cancelled, published Return rows changed at or after this timezone-aware RFC 3339 timestamp. Results are ordered by updated_at and id.
Exact client reference recorded on the statement.
Response
Total number of matching resources.
123
Resources returned for the requested page.
Show child attributes
Show child attributes
URL for the next page, or null when this is the last page.
"http://api.example.org/accounts/?offset=400&limit=100"
URL for the previous page, or null when this is the first page.
"http://api.example.org/accounts/?offset=200&limit=100"
