# Privacy Policy / Informativa sulla Privacy — Magistro Token Proxy & Billing > **[DRAFT — FILL `[PLACEHOLDER]` FIELDS AND VERIFY WITH COMMERCIALISTA / LEGAL COUNSEL BEFORE PUBLIC LAUNCH]** _Last updated / Ultimo aggiornamento: 2026-11-26 (Version: `2026-11-26-v1`)_ --- ## English Version This Privacy Policy explains how **Magistro** (`[LEGAL_ENTITY_NAME]`, Italy / EU) processes personal data when you use the Magistro account dashboard, checkout page (`[LIVE_CHECKOUT_URL]`), and hosted AI token proxy (`[LIVE_API_URL]`). The open-source Magistro desktop/local client application (licensed under AGPL-3.0) stores your chats, knowledge graph, and settings locally on your device. This policy governs only the hosted billing and token proxy service. ### 1. Data Controller & Contact - **Data Controller:** `[LEGAL_ENTITY_NAME]` - **Registered Address:** `[ITALIAN_REGISTERED_ADDRESS]` - **VAT Number (Partita IVA):** `[PARTITA_IVA]` - **Tax Code (Codice Fiscale):** `[CODICE_FISCALE]` - **PEC (if applicable):** `[PEC_EMAIL]` - **GDPR / Support Contact Email:** `[SUPPORT_EMAIL]` ### 2. Data We Collect and Why - **Account data:** Email address and Argon2-hashed password, plus your masked API token identifier (`prefix`/`last4`) and token hash, used to authenticate you and issue API tokens. - **Billing & order consent records:** Stripe Customer/Checkout Session IDs, credit pack IDs, EUR amounts, Stripe webhook event IDs, non-VAT receipt references, and your explicit 14-day withdrawal-waiver consent timestamp and Terms version (`checkout_consents`). Payment card, Apple Pay, Google Pay, and SEPA details are collected directly by **Stripe** and never touch our servers. - **Usage metadata:** Per-request timestamps, model ID, prompt/cached/completion token counts, and EUR cost deducted (`usage_ledger`) for real-time prepaid balance metering and abuse prevention. - **Zero chat/prompt body storage:** We do **not** store or log prompt text or model completion bodies on our proxy servers. Prompts are transmitted in memory only to the upstream inference provider. - **Technical security logs:** Minimal HTTP/server error and rate-limit logs (IP/request metadata) kept briefly for service security and stability. - **Cookies:** One strictly necessary `HttpOnly` session cookie (`magistro_session`) for dashboard authentication. No analytics or advertising cookies are used (see [Cookie Notice](/legal/cookies)). ### 3. Third-Party Processors (Sub-processors) - **Stripe (Stripe Payments Europe, Ltd.):** Payment processing, fraud prevention, and payout settlement. - **DeepSeek (`api.deepseek.com`):** Upstream LLM inference. Your prompt and conversation payload sent through the proxy are forwarded over TLS to DeepSeek. - **Data-Use Disclosure:** Under DeepSeek's standard API terms, requests sent to their API may be subject to DeepSeek's API data-use and retention policy unless an opt-out or enterprise Data Processing Agreement is active. `[CONFIRM_OPT_OUT_STATUS_AND_DPA_BEFORE_LAUNCH — e.g. "Standard DeepSeek API terms apply; do not submit sensitive personal data (Art. 9 GDPR) or confidential trade secrets."]` - *(If any future free-trial route uses OpenRouter or another provider, this section and the disclosure of potential model training on free-tier routes must be updated before activation.)* ### 4. Legal Basis (GDPR Art. 6) - **Contract performance (Art. 6(1)(b)):** Account registration, authentication, token metering, and delivery of prepaid credits. - **Legal obligation (Art. 6(1)(c)):** Retaining accounting, receipt, and Stripe transaction records under Italian fiscal law. - **Legitimate interest (Art. 6(1)(f)):** Rate limiting, preventing abuse, and defending payment disputes/chargebacks. ### 5. Retention & Your Rights (including Self-Service Deletion) - **Active account & usage metadata:** Retained while your account remains active, or until you delete your account. - **Self-service account deletion:** You can delete your account at any time from the dashboard (**Delete Account**) or via `DELETE /me`, or by emailing `[SUPPORT_EMAIL]`. Deleting your account immediately removes your user record (email, password hash, API token) and cascades deletion of your `usage_ledger` rows. - **Statutory fiscal retention (10 years):** Italian accounting law requires retaining transaction, receipt, Stripe event, and checkout-consent records for **10 years** (Art. 2220 Italian Civil Code). Those records are preserved without your account credentials (`user_id` set to `NULL`) solely for tax compliance and chargeback defense. - **GDPR Rights:** Under Arts. 15–22 GDPR, you may request access, rectification, portability, restriction, objection, or deletion by writing to `[SUPPORT_EMAIL]`. You also have the right to lodge a complaint with the **Garante per la protezione dei dati personali** (`www.garanteprivacy.it`) or your local EU supervisory authority. --- ## Versione Italiana La presente Informativa sulla Privacy spiega come **Magistro** (`[LEGAL_ENTITY_NAME]`, Italia / UE) tratta i dati personali quando utilizzi la dashboard dell'account Magistro, la pagina di checkout (`[LIVE_CHECKOUT_URL]`) e il proxy API a consumo (`[LIVE_API_URL]`). L'applicazione client open-source Magistro (concessa in licenza AGPL-3.0) salva chat, grafo della conoscenza e impostazioni esclusivamente in locale sul tuo dispositivo. Questa informativa riguarda unicamente il servizio ospitato di fatturazione e proxy token. ### 1. Titolare del Trattamento e Contatti - **Titolare del Trattamento:** `[LEGAL_ENTITY_NAME]` - **Sede / Indirizzo:** `[ITALIAN_REGISTERED_ADDRESS]` - **Partita IVA:** `[PARTITA_IVA]` - **Codice Fiscale:** `[CODICE_FISCALE]` - **PEC (se applicabile):** `[PEC_EMAIL]` - **Email per richieste GDPR e supporto:** `[SUPPORT_EMAIL]` ### 2. Dati Raccolti e Finalità - **Dati dell'account:** Indirizzo email, password sottoposta ad hashing Argon2 e identificativo mascherato/hash del token API personale, per autenticazione e gestione delle chiavi. - **Dati di pagamento e consenso d'acquisto:** ID sessione/cliente Stripe, pacchetto crediti acquistato, importi in EUR, ID evento webhook Stripe, riferimenti alle ricevute e marca temporale + versione dei Termini per il consenso alla perdita del diritto di recesso (`checkout_consents`). I dati di carta, Apple Pay, Google Pay o SEPA sono raccolti direttamente da **Stripe** e non transitano sui nostri server. - **Metadati di utilizzo:** Timestamp della richiesta, modello selezionato, conteggio token (input/cached/output) e costo addebitato in EUR (`usage_ledger`) per il calcolo in tempo reale del credito residuo. - **Nessuna memorizzazione del contenuto delle chat:** I testi dei prompt e le risposte del modello **non** vengono salvati né registrati nei log dei nostri server proxy; transitano esclusivamente in memoria verso il fornitore di inferenza. - **Log tecnici di sicurezza:** Log tecnici essenziali (es. rate limiting ed errori applicativi) conservati per il tempo strettamente necessario alla sicurezza del servizio. - **Cookie:** Un solo cookie tecnico strettamente necessario `HttpOnly` (`magistro_session`) per la sessione della dashboard. Nessun cookie di profilazione o analitico (vedi [Informativa Cookie](/legal/cookies)). ### 3. Responsabili del Trattamento e Fornitori Terzi - **Stripe (Stripe Payments Europe, Ltd.):** Elaborazione dei pagamenti, prevenzione frodi e accrediti. - **DeepSeek (`api.deepseek.com`):** Fornitore upstream di inferenza AI. I prompt inviati tramite il proxy vengono inoltrati tramite TLS a DeepSeek. - **Informativa sull'uso dei dati:** Secondo i termini API standard di DeepSeek, le richieste possono essere trattate in base alle policy di conservazione e utilizzo API di DeepSeek salvo attivazione di opt-out o DPA dedicato. `[CONFIRM_OPT_OUT_STATUS_AND_DPA_BEFORE_LAUNCH — es. "Si applicano i termini API standard di DeepSeek; non inserire dati personali particolari (art. 9 GDPR) o segreti industriali."]` ### 4. Basi Giuridiche (Art. 6 GDPR) - **Esecuzione del contratto (art. 6(1)(b)):** Registrazione, autenticazione, erogazione del servizio proxy e conteggio crediti. - **Obbligo legale (art. 6(1)(c)):** Conservazione decennale delle scritture contabili e dei documenti fiscali prevista dalla normativa italiana. - **Legittimo interesse (art. 6(1)(f)):** Sicurezza tecnica, prevenzione abusi e gestione di eventuali contestazioni di pagamento (chargeback). ### 5. Conservazione e Diritti dell'Interessato (inclusa Cancellazione) - **Account e metadati di utilizzo:** Conservati finché l'account è attivo o fino alla cancellazione. - **Cancellazione autonoma dell'account:** Puoi eliminare il tuo account in qualsiasi momento dalla dashboard (**Delete Account**), tramite `DELETE /me`, oppure scrivendo a `[SUPPORT_EMAIL]`. La cancellazione elimina immediatamente i dati dell'account (email, hash password, token API) e i relativi record di utilizzo (`usage_ledger`). - **Conservazione fiscale decennale:** Ai sensi dell'art. 2220 c.c., i dati relativi a transazioni Stripe, ricevute e prova del consenso d'acquisto sono conservati per **10 anni** senza credenziali dell'account (`user_id` impostato a `NULL`) esclusivamente per obblighi fiscali e difesa in caso di contestazioni. - **Diritti GDPR:** Puoi esercitare i diritti di cui agli artt. 15–22 GDPR scrivendo a `[SUPPORT_EMAIL]` e proporre reclamo al **Garante per la protezione dei dati personali** (`www.garanteprivacy.it`).