Calculation Type
Financing types the partner may offer.
GET/api/calculation-types
List the calculation types the authenticated partner may offer
Returns the financing types the authenticated partner is allowed to offer, each with its machine-readable value and a human-readable label, in the order the portal displays them. The set follows the rental factor matrices configured for the partner, complemented per article type by those of its distribution hub where the partner has none of its own. A partner with no matrices at all and no hub receives an empty list — that is a valid answer, not an error. Use the value in calculation requests.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| page | query | integer | no | The collection page number |
Code samples
curl -X GET 'https://sandbox.partner.miete24.com/api/calculation-types' \
-H 'X-Api-Key: YOUR_API_KEY'
const response = await fetch('https://sandbox.partner.miete24.com/api/calculation-types', {
method: 'GET',
headers: {
'X-Api-Key': 'YOUR_API_KEY',
},
});
const data = await response.json();
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | CalculationTypesResource collection | array<CalculationTypesResource.CalculationTypeResponse> |
| 403 | Forbidden | — |