import requests
url = "https://api.paywise.de/v2/orders/{order_id}/rental-agreement/"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.paywise.de/v2/orders/{order_id}/rental-agreement/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.patch("https://api.paywise.de/v2/orders/{order_id}/rental-agreement/")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{}")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/v2/orders/{order_id}/rental-agreement/");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{}", false);
var response = await client.PatchAsync(request);
Console.WriteLine("{0}", response.Content);
curl --request PATCH \
--url https://api.paywise.de/v2/orders/{order_id}/rental-agreement/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'Update rental agreement
Tenant-scoped resource collection of the authenticated company.
import requests
url = "https://api.paywise.de/v2/orders/{order_id}/rental-agreement/"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.paywise.de/v2/orders/{order_id}/rental-agreement/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.patch("https://api.paywise.de/v2/orders/{order_id}/rental-agreement/")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{}")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/v2/orders/{order_id}/rental-agreement/");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
request.AddJsonBody("{}", false);
var response = await client.PatchAsync(request);
Console.WriteLine("{0}", response.Content);
curl --request PATCH \
--url https://api.paywise.de/v2/orders/{order_id}/rental-agreement/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'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.
Apply the change only while the current ETag matches one of the supplied validators (or *); otherwise the request fails with 412 precondition_failed and nothing is written.
Path Parameters
UUID of the parent order in this request.
Body
Unknown and read-only request fields are rejected with a validation error instead of being silently ignored.
Date on which the rental contract was concluded; this is not the tenancy start or move-in date. Required before finalization. Updating it also updates the legal_basis.contract_date of H17/H19 claims in the order.
Rule used to derive H17/H19 rental due dates. Omission preserves the current rule; null restores the default third German business day. Changes recalculate dates except claim-level dates explicitly overridden by the client.
Show child attributes
Show child attributes
Total recurring Warmmiete, including ancillary-cost prepayments; it does not constrain an individual claim amount. May be absent or null while drafting; must be positive before finalization.
Show child attributes
Show child attributes
Complete address of the rented property, even when it matches the debtor address. Supply street, postal_code, city, and country; this creates a separate property address and does not reuse a debtor address id or primary flag. A complete property address is required before finalization.
Show child attributes
Show child attributes
Response
Date on which the rental contract was concluded; this is not the tenancy start or move-in date.
Time at which the rental agreement was created.
Documents owned by the agreement, including the optional rental-agreement and claim-statement primary slots.
Show child attributes
Show child attributes
Rule used to derive H17/H19 rental due dates. Null means the default third German business day of the rental month applies; explicit claim-level dates override the derived result.
Show child attributes
Show child attributes
Stable identifier of the rental agreement.
Total recurring Warmmiete, including ancillary-cost prepayments; it does not constrain an individual claim amount.
Show child attributes
Show child attributes
Complete address of the rented property, even when it matches the debtor address.
Show child attributes
Show child attributes
Time at which the rental agreement last changed.
