payoffId}"; } public function createDtoFromResponse(Response $response): DetailedPayoffData { return DetailedPayoffData::from($response->json()); } }