Skip to content

Sandbox

Sandbox test endpoints.

POST/api/sandbox/financing_cases/{id}/finance-decision

Sandbox only: trigger a finance decision for a test financing case

Sandbox-only endpoint for integration partners: drives the quote of a test financing case to FINANCE_ACCEPTED or FINANCE_REJECTED end-to-end, without an HMAC signature, response hash or Kairos call. Requires a sandbox API key (ROLE_API_USER) and only operates on financing cases owned by the calling partner. The quote state machine is driven directly, so the same downstream subscribers (partner mails, webhooks) fire as for a real decision. Responds 204 on success, 422 when the quote is in a non-decidable state, and 404 outside the sandbox environment (where the endpoint is inactive).

Parameters

Path and query parameters for POST /api/sandbox/financing_cases/{id}/finance-decision
Name In Type Required Description
id path string yes FinancingCase identifier

Request body

Request body properties for POST /api/sandbox/financing_cases/{id}/finance-decision
Name Type Required Description
decision string|null yes

Code samples

curl -X POST 'https://sandbox.partner.miete24.com/api/sandbox/financing_cases/{id}/finance-decision' \
  -H 'X-Api-Key: YOUR_API_KEY'

Responses

Responses for POST /api/sandbox/financing_cases/{id}/finance-decision
Status Description Schema
204 FinancingCase resource created
400 Invalid input
403 Forbidden
422 Unprocessable entity