Die fünf Zugänge der Kundenoberfläche: API-Token, Kunden-Token, Portal-Session, Session-Geheimnis und Link-Token.
Die Kundenoberfläche kennt fünf Zugänge. Sie unterscheiden sich darin, wer sie ausstellt und wie weit sie reichen.
Zugang
Gehört
Reicht für
API-Token
deiner Organisation
POST /api/portal/sessions, POST /api/checkout/sessions und die übrige Fynn-API
Kunden-Token
einem angemeldeten Kunden
alles unter /api/customer/..., was du für den Kanal freigegeben hast
Portal-Session
einem Kunden, ausgestellt von dir
je nach Geltungsbereich ein Ausschnitt davon
Session-Geheimnis
einer Checkout-Session
genau diese Session lesen und beenden
Link-Token
einem Dokument
genau dieses Angebot, Mandat oder diese Bestellung
API-Token
Dein API-Token identifiziert deine Organisation. Er gehört ins Backend und nie in eine Web-Anwendung.
POST /api/portal/sessionsAuthorization: Bearer api_test_…Content-Type: application/json
Wie du Token erzeugst und verwaltest, steht unter Authentifizierung.
Kunden-Token
Ein Kunde meldet sich mit einem Anmeldelink an. Das Ergebnis sind ein Zugriffs-Token und ein Erneuerungs-Token.
POST /public/customer/request-login-linkContent-Type: application/json{ "email": "rechnung@mueller-industries.demo" }
Fynn antwortet immer mit 200, auch für unbekannte Adressen. Über das Formular lässt sich also nicht herausfinden, wer bei dir Kunde ist.Der Kunde bekommt daraufhin eine Mail, und sie trägt beides: die Schaltfläche und den sechsstelligen Code. Wer am selben Gerät liest, tippt nichts; wer die Mail auf dem Telefon öffnet und am Rechner weiterarbeitet, überträgt den Code. Du musst dafür nichts zusätzlich anfordern, es gibt keine zweite Mail.Der Token aus der Mail wird einmalig eingelöst:
POST /public/customer-area/resolve-tokenContent-Type: application/json{ "token": "…" }
Sitzung erneuern
POST /api/customer/token/refreshContent-Type: application/json{ "refreshToken": "…" }
Das Feld heißt refreshToken in Binnenmajuskel. Der Erneuerungs-Token wird dabei nicht ausgetauscht. Der Kundenbereich erneuert aus dem Browser und aus dem Server heraus, zwei Aufrufe können also Millisekunden auseinanderliegen. Ein Austausch würde den zweiten Aufruf abmelden. Der Zugriffs-Token gilt eine Stunde; wie lange der Erneuerungs-Token gilt, ist eine Einstellung der Installation und keine feste Zahl, auf die du dich im Code verlassen kannst.Plane die nächste Erneuerung anhand von expiresAt, statt auf einen Fehler zu warten.Ein unbekannter, abgelaufener oder zurückgezogener Token antwortet 401 CUSTOMER__REFRESH_TOKEN_INVALID, in allen Fällen gleich.
Abmelden
POST /api/customer/logoutContent-Type: application/json{ "refreshToken": "…" }
{ "success": true }
Der Aufruf ist wiederholbar und antwortet für unbekannte wie für gültige Token identisch. Zurückgezogen wird nur der übergebene Token, nicht jede Sitzung des Kunden: derselbe Mensch hat den Kundenbereich oft auf dem Telefon und am Rechner offen. Ein Aufruf ohne Rumpf ist gültig.
Portal-Session
Eine Portal-Session ist ein Kunden-Token, den du ausstellst. Er trägt den Präfix fps_ und wird wie ein Kunden-Token gesendet:
GET /api/customer/subscriptionsAuthorization: Bearer fps_eyJ0eXAi…
Weder X-Fynn-Tenant-Id noch ein Domain-Kopf sind nötig, die Organisation steckt im Token. Die Ausstellung beschreibt Portal-Sessions.
Session-Geheimnis im Checkout
Eine Checkout-Session wird mit ihrem Geheimnis gelesen, entweder im Kopf oder in der Abfrage:
GET /public/checkout/sessions/01a0c19c-…X-Checkout-Client-Secret: 01a0c19c-…_secret_3a9bb…
Ein falsches Geheimnis und eine unbekannte Id antworten gleich, nämlich 404 CHECKOUT_SESSION__NOT_FOUND.
Link-Token
Angebote, Mandate, Bestellungen und Rechnungsangaben werden über einen Token im Pfad adressiert. Der Token ist der Zugang, es gibt keinen zusätzlichen Kopf:
GET /public/links/01M1H47JQ68YTP48FHNPP61K3R-01M1H47JQ68YTP48FHNPP61K3S
Ein unbekannter Token antwortet neutral mit 404 PUBLIC_LINK__NOT_FOUND. Ein abgelaufener antwortet 410. Die Unterscheidung ist Absicht: ein gültiger, aber abgelaufener Link soll dem Empfänger sagen, dass er einen neuen braucht.
Schick niemals einen Kunden-Token an eine Linkseite und umgekehrt. Ein angemeldeter Browser darf ein Angebot nicht im Namen des Kunden annehmen, bei dem er gerade angemeldet ist.
Aufrufe aus dem Browser
Für Aufrufe aus einer Web-Anwendung ist Authorization der Zugang, nicht ein Cookie. Cookies wandern nicht über Domaingrenzen, Bearer-Token schon. Erlaubt sind neben Authorization unter anderem Content-Type, X-Source-Domain und Idempotency-Key.Läuft deine Anwendung auf einer eigenen Domain, nennst du die Marke, für die du handelst, über X-Source-Domain. Der Wert muss eine für deine Organisation registrierte Kundenbereichs-Domain sein, sonst wird er ignoriert.
War diese Seite hilfreich?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Fynn Docs","colors":{"primary":"#000","light":"#fff","dark":"#000"},"logo":{"light":"https://mintcdn.com/fynnsubscriptionbilling/kPbBeWVEZfmEic9q/logo/logo-dark.svg?fit=max\u0026auto=format\u0026n=kPbBeWVEZfmEic9q\u0026q=85\u0026s=83e4b30a53d77c3809e0f22afa29335d","dark":"https://mintcdn.com/fynnsubscriptionbilling/kPbBeWVEZfmEic9q/logo/dark.svg?fit=max\u0026auto=format\u0026n=kPbBeWVEZfmEic9q\u0026q=85\u0026s=5798319f6c8632d79fe789f72eaa94e2"},"favicon":"https://mintcdn.com/fynnsubscriptionbilling/zDQkHT5wBBQ3jA-O/favicon.svg?fit=max\u0026auto=format\u0026n=zDQkHT5wBBQ3jA-O\u0026q=85\u0026s=410ff1f698a399faed9fbb877457bb43","api":{"openapi":["assets/openapi.json","assets/openapi-v2-plans.json","assets/openapi-v2-offers.json","assets/openapi-v2-commission.json","assets/openapi-v2-payment-plans.json","assets/openapi-v2-finance.json","assets/openapi-v2-organisation.json"],"playground":{"display":"interactive"},"examples":{"languages":["curl","python","javascript","php"]}},"navbar":{"links":[{"href":"https://cal.com/team/fynn/fynn-documentation","label":"Termin buchen"},{"href":"mailto:support@fynn.eu","label":"Support"}],"primary":{"type":"button","label":"App Login","href":"https://app.fynn.eu"}},"footer":{"socials":{"x":"https://twitter.com/wearefynn","github":"https://github.com/fynn-digital","linkedin":"https://www.linkedin.com/company/wearefynn"}},"integrations":{"gtm":{"tagId":"GTM-NKGQ4TQ9"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"de","default":true,"href":"introduction"},{"language":"en","href":"en/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fynnsubscriptionbilling","hasAudioNarration":false,"actualSubdomain":"fynnsubscriptionbilling","customDomains":["docs.fynn.eu"],"gitSource":{"type":"gitlab","owner":"fynn/core","repo":"core-api23","deployBranch":"main","contentDirectory":"public-docs","isPrivate":true,"projectId":396,"hostUrl":"https://git.netzfabrik.com","mountPath":"","label":""},"feedback":{"thumbs":true,"edits":true,"issues":true,"agentFeedback":true},"entitlements":{"REMOVE_BRANDING":{"status":"ENABLED"}},"buildId":"6b0e3980f4b490f2ad7d4b04","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"de","tag":"API Referenz","count":249},{"language":"de","tag":"Dokumentation","count":132},{"language":"de","tag":"API V2","count":83},{"language":"en","tag":"Documentation","count":77},{"language":"de","tag":"API","count":52},{"language":"de","tag":"Catalogue","count":42},{"language":"default","tag":"API V2","count":42},{"language":"de","tag":"Angebote","count":38},{"language":"de","tag":"Finanzberichte","count":36},{"language":"de","tag":"Subscription","count":30},{"language":"de","tag":"Customer","count":30},{"language":"de","tag":"Payment","count":26},{"language":"default","tag":"Dokumentation","count":15},{"language":"default","tag":"Pläne","count":15},{"language":"en","tag":"Integrations","count":15},{"language":"default","tag":"Organisation","count":14},{"language":"default","tag":"API","count":14},{"language":"default","tag":"API Referenz","count":12},{"language":"default","tag":"API documentation","count":12},{"language":"en","tag":"Customer-Facing Pages","count":11},{"language":"default","tag":"Kundenoberfläche","count":10},{"language":"en","tag":"Products","count":9},{"language":"en","tag":"Settings","count":9},{"language":"default","tag":"Guides","count":8},{"language":"en","tag":"Customers","count":7},{"language":"en","tag":"Subscriptions","count":7},{"language":"default","tag":"Plan-Verwaltung","count":6},{"language":"en","tag":"Organisation","count":6},{"language":"en","tag":"Payment Providers","count":6},{"language":"en","tag":"Accounting","count":5}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".update-container{display:flex}.update-container>div{position:unset!important}@media (min-width: 1024px){.update-container{flex-direction:column!important}}[data-component-part=\"update-label\"]{background:none}[data-component-part=\"update-tag\"]{-webkit-text-size-adjust:100%;tab-size:4;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-feature-settings:\"cv02\",\"cv03\",\"cv04\",\"cv11\";--scroll-mt: 9.5rem;--font-inter: '__Inter_86cd50', '__Inter_Fallback_86cd50';--font-jetbrains-mono: '__JetBrains_Mono_3c557b', '__JetBrains_Mono_Fallback_3c557b';--primary: 39 19 64;--primary-light: 255 255 255;--primary-dark: 0 0 0;--background-light: 255 255 255;--background-dark: 0 0 0;--gray-50: 244 243 244;--gray-100: 239 238 239;--gray-200: 223 223 224;--gray-300: 207 206 207;--gray-400: 159 159 160;--gray-500: 113 112 113;--gray-600: 81 80 81;--gray-700: 63 63 64;--gray-800: 38 37 39;--gray-900: 23 23 24;--gray-950: 11 10 12;font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";-webkit-font-smoothing:antialiased;--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgba(0,0,0,.5);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;-webkit-user-modify:read-only;box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--gray-200));--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgba(59,130,246,.5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: ;display:flex;flex-grow:0;cursor:pointer;align-items:center;justify-content:center;border-radius:var(--rounded-lg,.5rem);background-color:rgb(var(--primary)/.1);padding-left:.5rem;padding-right:.5rem;padding-top:.25rem;padding-bottom:.25rem;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(var(--primary)/var(--tw-text-opacity))}"}]}
{"page":{"pagePath":"v2-customer-api/authentication","slug":"/v2-customer-api/authentication","pageMetadata":{"title":"Authentifizierung","description":"Die fünf Zugänge der Kundenoberfläche: API-Token, Kunden-Token, Portal-Session, Session-Geheimnis und Link-Token.","sidebarTitle":"Authentifizierung","icon":"key","keywords":["Authentifizierung","API-Token","Kunden-Token","Portal-Session","Client Secret","Link-Token"],"href":"/v2-customer-api/authentication"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Die fünf Zugänge der Kundenoberfläche: API-Token, Kunden-Token, Portal-Session, Session-Geheimnis und Link-Token.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Die Kundenoberfläche kennt fünf Zugänge. Sie unterscheiden sich darin, wer sie ausstellt und wie weit sie reichen.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Zugang`}),_jsx(_components.th,{children:`Gehört`}),_jsx(_components.th,{children:`Reicht für`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`API-Token`}),_jsx(_components.td,{children:`deiner Organisation`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`POST /api/portal/sessions`}),`, `,_jsx(_components.code,{children:`POST /api/checkout/sessions`}),` und die übrige Fynn-API`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Kunden-Token`}),_jsx(_components.td,{children:`einem angemeldeten Kunden`}),_jsxs(_components.td,{children:[`alles unter `,_jsx(_components.code,{children:`/api/customer/...`}),`, was du für den Kanal freigegeben hast`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Portal-Session`}),_jsx(_components.td,{children:`einem Kunden, ausgestellt von dir`}),_jsx(_components.td,{children:`je nach Geltungsbereich ein Ausschnitt davon`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Session-Geheimnis`}),_jsx(_components.td,{children:`einer Checkout-Session`}),_jsx(_components.td,{children:`genau diese Session lesen und beenden`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Link-Token`}),_jsx(_components.td,{children:`einem Dokument`}),_jsx(_components.td,{children:`genau dieses Angebot, Mandat oder diese Bestellung`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`api-token`,children:`API-Token`}),`\n`,_jsx(_components.p,{children:`Dein API-Token identifiziert deine Organisation. Er gehört ins Backend und nie in eine Web-Anwendung.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`POST`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /api/portal/sessions`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Authorization`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Bearer api_test_…`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Content-Type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` application/json`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Wie du Token erzeugst und verwaltest, steht unter `,_jsx(_components.a,{href:`/api-reference/authentication`,children:`Authentifizierung`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`kunden-token`,children:`Kunden-Token`}),`\n`,_jsx(_components.p,{children:`Ein Kunde meldet sich mit einem Anmeldelink an. Das Ergebnis sind ein Zugriffs-Token und ein Erneuerungs-Token.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`POST`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /public/customer/request-login-link`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Content-Type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` application/json`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"rechnung@mueller-industries.demo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Fynn antwortet immer mit `,_jsx(_components.code,{children:`200`}),`, auch für unbekannte Adressen. Über das Formular lässt sich also nicht herausfinden, wer bei dir Kunde ist.`]}),`\n`,_jsxs(_components.p,{children:[`Der Kunde bekommt daraufhin `,_jsx(_components.strong,{children:`eine`}),` Mail, und sie trägt beides: die Schaltfläche und den sechsstelligen Code. Wer am selben Gerät liest, tippt nichts; wer die Mail auf dem Telefon öffnet und am Rechner weiterarbeitet, überträgt den Code. Du musst dafür nichts zusätzlich anfordern, es gibt keine zweite Mail.`]}),`\n`,_jsx(_components.p,{children:`Der Token aus der Mail wird einmalig eingelöst:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`POST`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /public/customer-area/resolve-token`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Content-Type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` application/json`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`sitzung-erneuern`,children:`Sitzung erneuern`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`POST`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /api/customer/token/refresh`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Content-Type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` application/json`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"refreshToken\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"accessToken\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"eyJ0eXAiOiJK…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"refreshToken\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expiresAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-21T00:21:48+00:00\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Das Feld heißt `,_jsx(_components.code,{children:`refreshToken`}),` in Binnenmajuskel. Der Erneuerungs-Token wird dabei `,_jsx(_components.strong,{children:`nicht`}),` ausgetauscht. Der Kundenbereich erneuert aus dem Browser und aus dem Server heraus, zwei Aufrufe können also Millisekunden auseinanderliegen. Ein Austausch würde den zweiten Aufruf abmelden. Der Zugriffs-Token gilt eine Stunde; wie lange der Erneuerungs-Token gilt, ist eine Einstellung der Installation und keine feste Zahl, auf die du dich im Code verlassen kannst.`]}),`\n`,_jsxs(_components.p,{children:[`Plane die nächste Erneuerung anhand von `,_jsx(_components.code,{children:`expiresAt`}),`, statt auf einen Fehler zu warten.`]}),`\n`,_jsxs(_components.p,{children:[`Ein unbekannter, abgelaufener oder zurückgezogener Token antwortet `,_jsx(_components.code,{children:`401 CUSTOMER__REFRESH_TOKEN_INVALID`}),`, in allen Fällen gleich.`]}),`\n`,_jsx(Heading,{level:`3`,id:`abmelden`,children:`Abmelden`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`POST`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /api/customer/logout`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Content-Type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` application/json`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"refreshToken\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"…\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"success\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Der Aufruf ist wiederholbar und antwortet für unbekannte wie für gültige Token identisch. Zurückgezogen wird nur der übergebene Token, nicht jede Sitzung des Kunden: derselbe Mensch hat den Kundenbereich oft auf dem Telefon und am Rechner offen. Ein Aufruf ohne Rumpf ist gültig.`}),`\n`,_jsx(Heading,{level:`2`,id:`portal-session`,children:`Portal-Session`}),`\n`,_jsxs(_components.p,{children:[`Eine Portal-Session ist ein Kunden-Token, den du ausstellst. Er trägt den Präfix `,_jsx(_components.code,{children:`fps_`}),` und wird wie ein Kunden-Token gesendet:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /api/customer/subscriptions`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Authorization`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Bearer fps_eyJ0eXAi…`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Weder `,_jsx(_components.code,{children:`X-Fynn-Tenant-Id`}),` noch ein Domain-Kopf sind nötig, die Organisation steckt im Token. Die Ausstellung beschreibt `,_jsx(_components.a,{href:`/v2-customer-api/portal-sessions`,children:`Portal-Sessions`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`session-geheimnis-im-checkout`,children:`Session-Geheimnis im Checkout`}),`\n`,_jsx(_components.p,{children:`Eine Checkout-Session wird mit ihrem Geheimnis gelesen, entweder im Kopf oder in der Abfrage:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /public/checkout/sessions/01a0c19c-…`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`X-Checkout-Client-Secret`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 01a0c19c-…_secret_3a9bb…`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Ein falsches Geheimnis und eine unbekannte Id antworten gleich, nämlich `,_jsx(_components.code,{children:`404 CHECKOUT_SESSION__NOT_FOUND`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`link-token`,children:`Link-Token`}),`\n`,_jsx(_components.p,{children:`Angebote, Mandate, Bestellungen und Rechnungsangaben werden über einen Token im Pfad adressiert. Der Token ist der Zugang, es gibt keinen zusätzlichen Kopf:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`http`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`GET`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /public/links/01M1H47JQ68YTP48FHNPP61K3R-01M1H47JQ68YTP48FHNPP61K3S`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Ein unbekannter Token antwortet neutral mit `,_jsx(_components.code,{children:`404 PUBLIC_LINK__NOT_FOUND`}),`. Ein abgelaufener antwortet `,_jsx(_components.code,{children:`410`}),`. Die Unterscheidung ist Absicht: ein gültiger, aber abgelaufener Link soll dem Empfänger sagen, dass er einen neuen braucht.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Schick niemals einen Kunden-Token an eine Linkseite und umgekehrt. Ein angemeldeter Browser darf ein Angebot nicht im Namen des Kunden annehmen, bei dem er gerade angemeldet ist.`})}),`\n`,_jsx(Heading,{level:`2`,id:`aufrufe-aus-dem-browser`,children:`Aufrufe aus dem Browser`}),`\n`,_jsxs(_components.p,{children:[`Für Aufrufe aus einer Web-Anwendung ist `,_jsx(_components.code,{children:`Authorization`}),` der Zugang, nicht ein Cookie. Cookies wandern nicht über Domaingrenzen, Bearer-Token schon. Erlaubt sind neben `,_jsx(_components.code,{children:`Authorization`}),` unter anderem `,_jsx(_components.code,{children:`Content-Type`}),`, `,_jsx(_components.code,{children:`X-Source-Domain`}),` und `,_jsx(_components.code,{children:`Idempotency-Key`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Läuft deine Anwendung auf einer eigenen Domain, nennst du die Marke, für die du handelst, über `,_jsx(_components.code,{children:`X-Source-Domain`}),`. Der Wert muss eine für deine Organisation registrierte Kundenbereichs-Domain sein, sonst wird er ignoriert.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Authentifizierung","description":"Die fünf Zugänge der Kundenoberfläche: API-Token, Kunden-Token, Portal-Session, Session-Geheimnis und Link-Token.","sidebarTitle":"Authentifizierung","icon":"key","keywords":["Authentifizierung","API-Token","Kunden-Token","Portal-Session","Client Secret","Link-Token"],"href":"/v2-customer-api/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"API-Token","slug":"api-token","depth":2,"children":[]},{"title":"Kunden-Token","slug":"kunden-token","depth":2,"children":[{"title":"Sitzung erneuern","slug":"sitzung-erneuern","depth":3,"children":[]},{"title":"Abmelden","slug":"abmelden","depth":3,"children":[]}]},{"title":"Portal-Session","slug":"portal-session","depth":2,"children":[]},{"title":"Session-Geheimnis im Checkout","slug":"session-geheimnis-im-checkout","depth":2,"children":[]},{"title":"Link-Token","slug":"link-token","depth":2,"children":[]},{"title":"Aufrufe aus dem Browser","slug":"aufrufe-aus-dem-browser","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/fynnsubscriptionbilling/086131e1768d5953/changelog-sidebar.js"],"subdomain":"fynnsubscriptionbilling","siteName":"Fynn Docs","title":"Authentifizierung - Fynn Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"de":{"href":"/v2-customer-api/authentication","matchLevel":0},"en":{"href":"/v2-customer-api/authentication","matchLevel":0}}},"lastModified":"2026-11-30T22:06:36.408Z","originalFileLocation":"v2-customer-api/authentication.mdx","locale":"de"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Die fünf Zugänge der Kundenoberfläche: API-Token, Kunden-Token, Portal-Session, Session-Geheimnis und Link-Token.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Fynn Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fynnsubscriptionbilling/aEyoysRsbJwnVfa3/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/fynnsubscriptionbilling/aEyoysRsbJwnVfa3/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fynnsubscriptionbilling/aEyoysRsbJwnVfa3/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/fynnsubscriptionbilling/aEyoysRsbJwnVfa3/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/fynnsubscriptionbilling/aEyoysRsbJwnVfa3/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fynnsubscriptionbilling/aEyoysRsbJwnVfa3/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fynnsubscriptionbilling/aEyoysRsbJwnVfa3/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/fynnsubscriptionbilling/aEyoysRsbJwnVfa3/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/fynnsubscriptionbilling/aEyoysRsbJwnVfa3/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentifizierung - Fynn Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Die fünf Zugänge der Kundenoberfläche: API-Token, Kunden-Token, Portal-Session, Session-Geheimnis und Link-Token.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fynn Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.fynn.eu/v2-customer-api/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fynnsubscriptionbilling.mintlify.site/_mintlify/api/og/v2?division=Kundenoberfl%C3%A4che\u0026amp;title=Authentifizierung\u0026amp;description=Die+f%C3%BCnf+Zug%C3%A4nge+der+Kundenoberfl%C3%A4che%3A+API-Token%2C+Kunden-Token%2C+Portal-Session%2C+Session-Geheimnis+und+Link-Token.\u0026amp;theme=e7dd9c799652fa75e5fe0868\u0026amp;signature=879e0affc115780a7827c350febd586fbcb1419cbe280febc267f438133fb52a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Authentifizierung - Fynn Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Die fünf Zugänge der Kundenoberfläche: API-Token, Kunden-Token, Portal-Session, Session-Geheimnis und Link-Token.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fynnsubscriptionbilling.mintlify.site/_mintlify/api/og/v2?division=Kundenoberfl%C3%A4che\u0026amp;title=Authentifizierung\u0026amp;description=Die+f%C3%BCnf+Zug%C3%A4nge+der+Kundenoberfl%C3%A4che%3A+API-Token%2C+Kunden-Token%2C+Portal-Session%2C+Session-Geheimnis+und+Link-Token.\u0026amp;theme=e7dd9c799652fa75e5fe0868\u0026amp;signature=879e0affc115780a7827c350febd586fbcb1419cbe280febc267f438133fb52a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/fynnsubscriptionbilling/aEyoysRsbJwnVfa3/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Fynn Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.fynn.eu/v2-customer-api/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v2-customer-api/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.fynn.eu/#organization\",\"name\":\"Fynn Docs\",\"url\":\"https://docs.fynn.eu\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fynnsubscriptionbilling/kPbBeWVEZfmEic9q/logo/logo-dark.svg?fit=max\u0026auto=format\u0026n=kPbBeWVEZfmEic9q\u0026q=85\u0026s=83e4b30a53d77c3809e0f22afa29335d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.fynn.eu#website\",\"name\":\"Fynn Docs\",\"url\":\"https://docs.fynn.eu\",\"publisher\":{\"@id\":\"https://docs.fynn.eu/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.fynn.eu/v2-customer-api/authentication#webpage\",\"url\":\"https://docs.fynn.eu/v2-customer-api/authentication\",\"name\":\"Authentifizierung\",\"description\":\"Die fünf Zugänge der Kundenoberfläche: API-Token, Kunden-Token, Portal-Session, Session-Geheimnis und Link-Token.\",\"dateModified\":\"2026-11-30T22:06:36.408Z\",\"isPartOf\":{\"@id\":\"https://docs.fynn.eu#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fynn.eu/v2-customer-api/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fynn.eu/v2-customer-api/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Kundenoberfläche\",\"item\":\"https://docs.fynn.eu/v2-customer-api/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentifizierung\",\"item\":\"https://docs.fynn.eu/v2-customer-api/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.fynn.eu/v2-customer-api/authentication#article\",\"headline\":\"Authentifizierung\",\"name\":\"Authentifizierung\",\"description\":\"Die fünf Zugänge der Kundenoberfläche: API-Token, Kunden-Token, Portal-Session, Session-Geheimnis und Link-Token.\",\"url\":\"https://docs.fynn.eu/v2-customer-api/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fynn.eu/v2-customer-api/authentication#webpage\"},\"dateModified\":\"2026-11-30T22:06:36.408Z\",\"keywords\":\"Authentifizierung, API-Token, Kunden-Token, Portal-Session, Client Secret, Link-Token\",\"publisher\":{\"@id\":\"https://docs.fynn.eu/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.fynn.eu#website\"}}]}\u003c/script>","agentPointerHref":"/v2-customer-api/authentication.md","siteName":"Fynn Docs","nav":{"global":null,"languages":[{"language":"de","default":true,"tabs":[{"tab":"Dokumentation","pages":[{"title":"Dokumentation","href":"/introduction"}]},{"tab":"Integrationen","pages":[{"title":"Integrationen","href":"/integrations/overview"}]},{"tab":"API Referenz","pages":[{"title":"API Referenz","href":"/api-reference/introduction"}]},{"tab":"API V2","groups":[{"group":"Einführung","icon":"compass","pages":[{"title":"Fynn API V2","sidebarTitle":"Einführung","icon":"compass","href":"/v2-plans-api/introduction"}]},{"group":"Grundlagen","icon":"cube","pages":[{"title":"Authentifizierung","sidebarTitle":"Authentifizierung","icon":"key","href":"/v2-plans-api/authentication"},{"title":"Asynchrone Abrechnung","sidebarTitle":"Asynchrone Abrechnung","icon":"receipt","href":"/v2-plans-api/billing"}]},{"group":"Pläne","icon":"layer-group","pages":[{"title":"Schnellstart","sidebarTitle":"Schnellstart","icon":"rocket","href":"/v2-plans-api/quickstart"},{"title":"Kernkonzepte","sidebarTitle":"Kernkonzepte","icon":"book","href":"/v2-plans-api/concepts"},{"title":"Up- und Downgrades","sidebarTitle":"Up- und Downgrades","icon":"arrow-up-arrow-down","href":"/v2-plans-api/upgrades-downgrades"},{"title":"Checkout","sidebarTitle":"Checkout","icon":"cart-shopping","href":"/v2-plans-api/checkout-and-sales-channels"},{"group":"API","pages":[{"group":"Plan-Verwaltung","pages":[{"openapi":"get /api/plans","title":"List plans","href":"/v2-plans-api/plans/list-plans"},{"openapi":"post /api/plans","title":"Create a plan","href":"/v2-plans-api/plans/create-plan"},{"openapi":"get /api/plans/{id}","title":"Retrieve a plan","href":"/v2-plans-api/plans/get-plan"},{"openapi":"put /api/plans/{id}","title":"Update a plan","href":"/v2-plans-api/plans/update-plan"},{"openapi":"post /api/plans/{id}/activate","title":"Activate a plan","href":"/v2-plans-api/plans/activate-plan"},{"openapi":"delete /api/plans/{id}","title":"Delete or archive a plan","href":"/v2-plans-api/plans/delete-plan"}]},{"group":"Checkout-Links","pages":[{"openapi":"post /api/plans/{id}/checkout-links","title":"Create a checkout link","href":"/v2-plans-api/checkout-links/create-checkout-link"},{"openapi":"get /api/plans/{id}/checkout-links","title":"List checkout links of a plan","href":"/v2-plans-api/checkout-links/list-checkout-links"}]},{"group":"Tarifwechsel","pages":[{"openapi":"get /api/customer/subscriptions/{id}/plan-options","title":"Get plan switch options","href":"/v2-plans-api/customer/plan-options"},{"openapi":"post /api/customer/subscriptions/{id}/plan-tier-preview","title":"Preview a tier switch","href":"/v2-plans-api/customer/preview-plan-tier-switch"},{"openapi":"post /api/customer/subscriptions/{id}/switch-plan-tier","title":"Switch the plan tier","href":"/v2-plans-api/customer/switch-plan-tier"}]}]}]},{"group":"Angebote","icon":"file-signature","pages":[{"title":"Angebote","sidebarTitle":"Einführung","icon":"file-signature","href":"/v2-offers-api/introduction"},{"title":"Schnellstart","sidebarTitle":"Schnellstart","icon":"rocket","href":"/v2-offers-api/quickstart"},{"title":"Kernkonzepte","sidebarTitle":"Kernkonzepte","icon":"book","href":"/v2-offers-api/concepts"},{"title":"Der Angebots-Editor","sidebarTitle":"Der Editor","icon":"pen-ruler","href":"/v2-offers-api/editor"},{"title":"Die Angebots-Ansicht","sidebarTitle":"Angebots-Ansicht","icon":"eye","href":"/v2-offers-api/angebots-ansicht"},{"title":"Annahme und Signatur","sidebarTitle":"Annahme und Signatur","icon":"file-signature","href":"/v2-offers-api/acceptance-and-signing"},{"title":"Rechnungsdaten","sidebarTitle":"Rechnungsdaten","icon":"receipt","href":"/v2-offers-api/billing-details"},{"title":"Veröffentlichen und Empfänger","sidebarTitle":"Veröffentlichen","icon":"paper-plane","href":"/v2-offers-api/sending-and-recipients"},{"title":"Freigaben","sidebarTitle":"Freigaben","icon":"circle-check","href":"/v2-offers-api/freigaben"},{"title":"Einstellungen","sidebarTitle":"Einstellungen","icon":"gear","href":"/v2-offers-api/settings"},{"title":"Authentifizierung","sidebarTitle":"Authentifizierung","icon":"key","href":"/v2-offers-api/authentication"},{"title":"Webhooks","sidebarTitle":"Webhooks","icon":"bell","href":"/v2-offers-api/webhooks"},{"group":"API","pages":[{"group":"Angebote","pages":[{"openapi":"assets/openapi-v2-offers.json get /offers","title":"List offers","href":"/v2-offers-api/offers/list-offers"},{"openapi":"assets/openapi-v2-offers.json get /api/offers/{id}","title":"Get an offer","href":"/v2-offers-api/offers/get-offer"},{"openapi":"assets/openapi-v2-offers.json put /offers/{id}","title":"Update an offer","href":"/v2-offers-api/offers/update-offer"},{"openapi":"assets/openapi-v2-offers.json get /offers/{id}/document","title":"Download an offer as PDF","href":"/v2-offers-api/offers/download-offer"},{"openapi":"assets/openapi-v2-offers.json post /api/offers/{id}/publish","title":"Publish an offer","href":"/v2-offers-api/offers/publish-offer"},{"openapi":"assets/openapi-v2-offers.json post /api/offers/{id}/accept","title":"Accept an offer manually","href":"/v2-offers-api/offers/accept-offer"},{"openapi":"assets/openapi-v2-offers.json post /api/offers/{id}/documents/signed","title":"Replace the signed document of an accepted offer","href":"/v2-offers-api/offers/replace-signed-document"},{"openapi":"assets/openapi-v2-offers.json post /offers/{id}/cancel-signing","title":"Cancel a signing process","href":"/v2-offers-api/offers/cancel-signing"},{"openapi":"assets/openapi-v2-offers.json post /offers/{id}/recipients","title":"Add a recipient","href":"/v2-offers-api/offers/add-recipient"},{"openapi":"assets/openapi-v2-offers.json get /api/offers/{id}/activities","title":"List offer activity","href":"/v2-offers-api/offers/list-activities"},{"openapi":"assets/openapi-v2-offers.json delete /offers/{id}","title":"Archive an offer","href":"/v2-offers-api/offers/archive-offer"}]},{"group":"Freigabe","pages":[{"openapi":"assets/openapi-v2-offers.json get /api/offers/{id}/approval","title":"Get the approval state","href":"/v2-offers-api/approval/get-approval"},{"openapi":"assets/openapi-v2-offers.json post /api/offers/{id}/approval/approve","title":"Approve a pending request","href":"/v2-offers-api/approval/approve"},{"openapi":"assets/openapi-v2-offers.json post /api/offers/{id}/approval/reject","title":"Reject a pending request","href":"/v2-offers-api/approval/reject"},{"openapi":"assets/openapi-v2-offers.json post /api/offers/{id}/approval/cancel","title":"Cancel a pending request","href":"/v2-offers-api/approval/cancel-approval"}]}]}]},{"group":"Finanzberichte","icon":"chart-line","pages":[{"title":"Finanzberichte: Konzepte","sidebarTitle":"Konzepte","icon":"book","href":"/v2-finance-api/concepts"},{"title":"Datensätze","sidebarTitle":"Datensätze","icon":"table","href":"/v2-finance-api/datasets"},{"title":"Drill-downs","sidebarTitle":"Drill-downs","icon":"magnifying-glass","href":"/v2-finance-api/drill-downs"},{"title":"Snapshots und Investor-Update","sidebarTitle":"Snapshots und Investor-Update","icon":"lock","href":"/v2-finance-api/snapshots"},{"title":"Excel-Exporte","sidebarTitle":"Excel-Exporte","icon":"file-excel","href":"/v2-finance-api/excel"},{"title":"Angebote schließen","sidebarTitle":"Angebote schließen","icon":"circle-xmark","href":"/v2-finance-api/closing-offers"},{"title":"Gutschriften verrechnen","sidebarTitle":"Gutschriften verrechnen","icon":"arrow-right-arrow-left","href":"/v2-finance-api/settle-credit-notes"},{"title":"Fehler","sidebarTitle":"Fehler","icon":"triangle-exclamation","href":"/v2-finance-api/errors"},{"title":"Definitionen","sidebarTitle":"Definitionen","icon":"book-open","href":"/v2-finance-api/definitions"},{"group":"API","pages":[{"group":"Datensätze","pages":[{"openapi":"assets/openapi-v2-finance.json get /api/analytics/finance/recurring","title":"Recurring revenue page datasets","href":"/v2-finance-api/datasets/get-recurring"},{"openapi":"assets/openapi-v2-finance.json get /api/analytics/finance/customers","title":"Customer base page datasets","href":"/v2-finance-api/datasets/get-customers"},{"openapi":"assets/openapi-v2-finance.json get /api/analytics/finance/liquidity","title":"Liquidity page datasets","href":"/v2-finance-api/datasets/get-liquidity"},{"openapi":"assets/openapi-v2-finance.json get /api/analytics/finance/revenue","title":"Revenue page datasets","href":"/v2-finance-api/datasets/get-revenue"},{"openapi":"assets/openapi-v2-finance.json get /api/analytics/finance/revenue/customers","title":"Revenue per customer, paged","href":"/v2-finance-api/datasets/get-revenue-customers"},{"openapi":"assets/openapi-v2-finance.json get /api/analytics/finance/overview","title":"Finance overview datasets","href":"/v2-finance-api/datasets/get-overview"},{"openapi":"assets/openapi-v2-finance.json get /api/analytics/mrr-financials","title":"MRR financials table","href":"/v2-finance-api/datasets/get-mrr-table"}]},{"group":"Drill-downs und Hinweise","pages":[{"openapi":"assets/openapi-v2-finance.json get /api/analytics/mrr-financials/details","title":"Lines behind one cell of the finance tables","href":"/v2-finance-api/drill-downs/get-details"},{"openapi":"assets/openapi-v2-finance.json get /api/analytics/mrr-financials/findings","title":"Data-quality findings of the MRR calculation","href":"/v2-finance-api/drill-downs/list-findings"},{"openapi":"assets/openapi-v2-finance.json get /api/analytics/mrr-financials/findings/{id}","title":"One data-quality finding with its explanation","href":"/v2-finance-api/drill-downs/get-finding"}]},{"group":"Snapshots und Investor-Update","pages":[{"openapi":"assets/openapi-v2-finance.json get /api/analytics/finance/snapshots","title":"Month-end MRR snapshots","href":"/v2-finance-api/snapshots/list-snapshots"},{"openapi":"assets/openapi-v2-finance.json post /api/analytics/finance/snapshots","title":"Take a month-end MRR snapshot again","href":"/v2-finance-api/snapshots/take-snapshot"},{"openapi":"assets/openapi-v2-finance.json get /api/analytics/finance/snapshots/{month}/{version}","title":"Frozen MRR figures of a snapshot","href":"/v2-finance-api/snapshots/get-snapshot"},{"openapi":"assets/openapi-v2-finance.json get /api/analytics/finance/pack","title":"Download the investor pack","href":"/v2-finance-api/snapshots/download-pack"}]},{"group":"Excel-Exporte","pages":[{"openapi":"assets/openapi-v2-finance.json get /api/analytics/finance/recurring/excel","title":"Export the recurring revenue page as XLSX","href":"/v2-finance-api/excel/export-recurring"},{"openapi":"assets/openapi-v2-finance.json get /api/analytics/finance/customers/excel","title":"Export the customer base page as XLSX","href":"/v2-finance-api/excel/export-customers"},{"openapi":"assets/openapi-v2-finance.json get /api/analytics/finance/liquidity/excel","title":"Export the liquidity page as XLSX","href":"/v2-finance-api/excel/export-liquidity"},{"openapi":"assets/openapi-v2-finance.json get /api/analytics/finance/revenue/excel","title":"Export the revenue page as XLSX","href":"/v2-finance-api/excel/export-revenue"},{"openapi":"assets/openapi-v2-finance.json get /api/analytics/mrr-financials/export/excel","title":"Export the MRR financials as XLSX","href":"/v2-finance-api/excel/export-mrr-table"},{"openapi":"assets/openapi-v2-finance.json get /api/analytics/mrr-financials/findings/export/excel","title":"Export the data-quality findings as XLSX","href":"/v2-finance-api/excel/export-findings"}]},{"group":"Definitionen","pages":[{"openapi":"assets/openapi-v2-finance.json get /api/analytics/finance/definitions","title":"Read the finance definitions catalogue","href":"/v2-finance-api/definitions/get-definitions"}]},{"group":"Gutschriften verrechnen","pages":[{"openapi":"assets/openapi-v2-finance.json post /api/invoices/credit-notes/{id}/settlement/preview","title":"Preview the settlement of a credit note or cancellation","href":"/v2-finance-api/settlement/preview-settlement"},{"openapi":"assets/openapi-v2-finance.json post /api/invoices/credit-notes/{id}/settlement","title":"Settle a credit note or cancellation","href":"/v2-finance-api/settlement/settle"}]},{"group":"Einstellungen","pages":[{"openapi":"assets/openapi-v2-finance.json get /api/analytics/mrr-financials/settings","title":"Read the finance settings","href":"/v2-finance-api/settings/get-settings"},{"openapi":"assets/openapi-v2-finance.json patch /api/analytics/mrr-financials/settings","title":"Update the finance settings","href":"/v2-finance-api/settings/update-settings"}]},{"group":"Angebote schließen","pages":[{"openapi":"assets/openapi-v2-finance.json post /api/offers/{id}/lose","title":"Close an offer as lost","href":"/v2-finance-api/offers/lose-offer"},{"openapi":"assets/openapi-v2-finance.json post /api/offers/{id}/withdraw","title":"Withdraw an offer","href":"/v2-finance-api/offers/withdraw-offer"}]}]}]},{"group":"Provisionen","icon":"percent","pages":[{"title":"Provisionen API","sidebarTitle":"Einführung","icon":"percent","href":"/v2-commission-api/introduction"},{"title":"Kernkonzepte","sidebarTitle":"Kernkonzepte","icon":"book","href":"/v2-commission-api/concepts"},{"group":"API","pages":[{"group":"Provisionspläne","pages":[{"openapi":"assets/openapi-v2-commission.json get /api/commissions/plans","title":"List commission plans","href":"/v2-commission-api/plans/list-plans"},{"openapi":"assets/openapi-v2-commission.json post /api/commissions/plans","title":"Create a commission plan","href":"/v2-commission-api/plans/create-plan"},{"openapi":"assets/openapi-v2-commission.json get /api/commissions/plans/{id}","title":"Get a commission plan","href":"/v2-commission-api/plans/get-plan"},{"openapi":"assets/openapi-v2-commission.json put /api/commissions/plans/{id}","title":"Update a commission plan","href":"/v2-commission-api/plans/update-plan"},{"openapi":"assets/openapi-v2-commission.json delete /api/commissions/plans/{id}","title":"Delete a commission plan","href":"/v2-commission-api/plans/delete-plan"}]}]}]},{"group":"Zahlungspläne","icon":"calendar-days","pages":[{"title":"Zahlungsplan API","sidebarTitle":"Einführung","icon":"calendar-days","href":"/v2-payment-plans-api/introduction"},{"title":"Schnellstart","sidebarTitle":"Schnellstart","icon":"rocket","href":"/v2-payment-plans-api/quickstart"},{"title":"Kernkonzepte","sidebarTitle":"Kernkonzepte","icon":"book","href":"/v2-payment-plans-api/concepts"},{"title":"Webhooks","sidebarTitle":"Webhooks","icon":"bell","href":"/v2-payment-plans-api/webhooks"},{"group":"API","pages":[{"group":"Zahlungsplan-Verwaltung","pages":[{"openapi":"assets/openapi-v2-payment-plans.json post /api/payment-plans","title":"Create a payment plan","href":"/v2-payment-plans-api/payment-plans/create-payment-plan"},{"openapi":"assets/openapi-v2-payment-plans.json get /api/payment-plans/{id}","title":"Get a payment plan","href":"/v2-payment-plans-api/payment-plans/get-payment-plan"},{"openapi":"assets/openapi-v2-payment-plans.json get /api/invoices/{id}/payment-plan","title":"Get the payment plan of an invoice","href":"/v2-payment-plans-api/payment-plans/get-invoice-payment-plan"},{"openapi":"assets/openapi-v2-payment-plans.json post /api/payment-plans/{id}/cancel","title":"Cancel a payment plan","href":"/v2-payment-plans-api/payment-plans/cancel-payment-plan"},{"openapi":"assets/openapi-v2-payment-plans.json post /api/payment-plans/{id}/extend","title":"Extend a payment plan","href":"/v2-payment-plans-api/payment-plans/extend-payment-plan"}]}]}]},{"group":"Payments (Beta)","icon":"money-check-dollar","pages":[{"title":"Payments API","sidebarTitle":"Einführung","icon":"money-check-dollar","href":"/v2-payments-api/introduction"},{"title":"Schnellstart","sidebarTitle":"Schnellstart","icon":"rocket","href":"/v2-payments-api/quickstart"},{"title":"Kernkonzepte","sidebarTitle":"Kernkonzepte","icon":"book","href":"/v2-payments-api/concepts"},{"title":"Webhooks","sidebarTitle":"Webhooks","icon":"bell","href":"/v2-payments-api/webhooks"}]},{"group":"Kundenoberfläche","icon":"user","pages":[{"title":"Kundenoberfläche","description":"Die API hinter Kundenbereich, Checkout und Linkseiten: Portal-Sessions, Checkout-Sessions, Portal-Konfiguration, Kunden-API, Links und Webhooks.","sidebarTitle":"Einführung","icon":"user","href":"/v2-customer-api/introduction"},{"title":"Authentifizierung","sidebarTitle":"Authentifizierung","icon":"key","href":"/v2-customer-api/authentication"},{"title":"Portal-Konfiguration","description":"Branding, Rechtstexte, Preisdarstellung, Zahlungsarten, Mandatsangaben und Schalter eines Vertriebskanals, ohne Anmeldung abrufbar.","sidebarTitle":"Portal-Konfiguration","icon":"palette","href":"/v2-customer-api/portal-config"},{"title":"Portal-Sessions","sidebarTitle":"Portal-Sessions","icon":"key","href":"/v2-customer-api/portal-sessions"},{"title":"Checkout-Sessions","sidebarTitle":"Checkout-Sessions","icon":"cart-shopping","href":"/v2-customer-api/checkout-sessions"},{"title":"Abos und Tarifwechsel","sidebarTitle":"Abos und Tarife","icon":"repeat","href":"/v2-customer-api/customer-subscriptions"},{"title":"Rechnungen und Zahlungsarten","sidebarTitle":"Rechnungen und Zahlung","icon":"receipt","href":"/v2-customer-api/customer-billing"},{"title":"Stammdaten und Bestellungen","sidebarTitle":"Stammdaten","icon":"address-card","href":"/v2-customer-api/customer-profile"},{"title":"Links","sidebarTitle":"Links","icon":"link","href":"/v2-customer-api/links"},{"title":"Webhooks","sidebarTitle":"Webhooks","icon":"bell","href":"/v2-customer-api/webhooks"}]},{"group":"Organisation","icon":"sitemap","pages":[{"title":"Organisation und Umgebungen","sidebarTitle":"Einführung","icon":"sitemap","href":"/v2-organisation-api/introduction"},{"title":"Organisationen","sidebarTitle":"Organisationen","icon":"building","href":"/v2-organisation-api/organisations"},{"title":"Aktive Umgebung wechseln","sidebarTitle":"Umgebung wechseln","icon":"right-left","href":"/v2-organisation-api/session"},{"title":"Art der Umgebung in Antworten","sidebarTitle":"Art der Umgebung","icon":"tag","href":"/v2-organisation-api/environment-fields"},{"title":"Empfänger-Domains einer Sandbox","sidebarTitle":"Empfänger-Domains","icon":"at","href":"/v2-organisation-api/sandbox-mail-settings"},{"title":"Zurückgehaltene Nachrichten","sidebarTitle":"Zurückgehaltene Nachrichten","icon":"inbox","href":"/v2-organisation-api/suppressed-messages"},{"title":"Daten einer Umgebung löschen","sidebarTitle":"Daten löschen","icon":"eraser","href":"/v2-organisation-api/data-wipe"},{"title":"Umgebung löschen","sidebarTitle":"Umgebung löschen","icon":"trash-can","href":"/v2-organisation-api/delete-environment"},{"group":"Daten übertragen","pages":[{"title":"Daten zwischen Umgebungen übertragen","sidebarTitle":"Daten übertragen","icon":"arrow-right-arrow-left","href":"/v2-organisation-api/transfers/overview"},{"title":"Aufbau einer Übertragung","sidebarTitle":"Aufbau einer Übertragung","icon":"list-tree","href":"/v2-organisation-api/transfers/transfer-object"},{"title":"Fehler bei Übertragungen","sidebarTitle":"Fehler bei Übertragungen","icon":"triangle-exclamation","href":"/v2-organisation-api/transfers/errors"}]},{"group":"API","pages":[{"group":"Empfänger-Domains","pages":[{"openapi":"assets/openapi-v2-organisation.json get /api/tenant/sandbox-mail-settings","title":"Get the allowed recipient domains of a Sandbox","href":"/v2-organisation-api/sandbox-mail-settings/get-sandbox-mail-settings"},{"openapi":"assets/openapi-v2-organisation.json put /api/tenant/sandbox-mail-settings","title":"Replace the allowed recipient domains of a Sandbox","href":"/v2-organisation-api/sandbox-mail-settings/update-sandbox-mail-settings"}]},{"group":"Zurückgehaltene Nachrichten","pages":[{"openapi":"assets/openapi-v2-organisation.json get /api/tenant/suppressed-messages","title":"List suppressed messages","href":"/v2-organisation-api/suppressed-messages/list-suppressed-messages"}]}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/2026-11"}]}]},{"language":"en","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/en/introduction"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/en/integrations/overview"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"tab":"API V2","groups":[{"group":"Introduction","icon":"compass","pages":[{"title":"Fynn API V2","sidebarTitle":"Einführung","icon":"compass","href":"/v2-plans-api/introduction"}]},{"group":"Fundamentals","icon":"cube","pages":[{"title":"Authentifizierung","sidebarTitle":"Authentifizierung","icon":"key","href":"/v2-plans-api/authentication"},{"title":"Asynchrone Abrechnung","sidebarTitle":"Asynchrone Abrechnung","icon":"receipt","href":"/v2-plans-api/billing"}]},{"group":"Plans","icon":"layer-group","pages":[{"title":"Schnellstart","sidebarTitle":"Schnellstart","icon":"rocket","href":"/v2-plans-api/quickstart"},{"title":"Kernkonzepte","sidebarTitle":"Kernkonzepte","icon":"book","href":"/v2-plans-api/concepts"},{"title":"Up- und Downgrades","sidebarTitle":"Up- und Downgrades","icon":"arrow-up-arrow-down","href":"/v2-plans-api/upgrades-downgrades"},{"title":"Checkout","sidebarTitle":"Checkout","icon":"cart-shopping","href":"/v2-plans-api/checkout-and-sales-channels"},{"group":"API","pages":[{"group":"Plan management","pages":[{"openapi":"get /api/plans","title":"List plans","href":"/v2-plans-api/plans/list-plans"},{"openapi":"post /api/plans","title":"Create a plan","href":"/v2-plans-api/plans/create-plan"},{"openapi":"get /api/plans/{id}","title":"Retrieve a plan","href":"/v2-plans-api/plans/get-plan"},{"openapi":"put /api/plans/{id}","title":"Update a plan","href":"/v2-plans-api/plans/update-plan"},{"openapi":"post /api/plans/{id}/activate","title":"Activate a plan","href":"/v2-plans-api/plans/activate-plan"},{"openapi":"delete /api/plans/{id}","title":"Delete or archive a plan","href":"/v2-plans-api/plans/delete-plan"}]},{"group":"Checkout links","pages":[{"openapi":"post /api/plans/{id}/checkout-links","title":"Create a checkout link","href":"/v2-plans-api/checkout-links/create-checkout-link"},{"openapi":"get /api/plans/{id}/checkout-links","title":"List checkout links of a plan","href":"/v2-plans-api/checkout-links/list-checkout-links"}]},{"group":"Plan switching","pages":[{"openapi":"get /api/customer/subscriptions/{id}/plan-options","title":"Get plan switch options","href":"/v2-plans-api/customer/plan-options"},{"openapi":"post /api/customer/subscriptions/{id}/plan-tier-preview","title":"Preview a tier switch","href":"/v2-plans-api/customer/preview-plan-tier-switch"},{"openapi":"post /api/customer/subscriptions/{id}/switch-plan-tier","title":"Switch the plan tier","href":"/v2-plans-api/customer/switch-plan-tier"}]}]}]},{"group":"Customer surface","icon":"user","pages":[{"title":"Kundenoberfläche","description":"Die API hinter Kundenbereich, Checkout und Linkseiten: Portal-Sessions, Checkout-Sessions, Portal-Konfiguration, Kunden-API, Links und Webhooks.","sidebarTitle":"Einführung","icon":"user","href":"/v2-customer-api/introduction"},{"title":"Authentifizierung","sidebarTitle":"Authentifizierung","icon":"key","href":"/v2-customer-api/authentication"},{"title":"Portal-Konfiguration","description":"Branding, Rechtstexte, Preisdarstellung, Zahlungsarten, Mandatsangaben und Schalter eines Vertriebskanals, ohne Anmeldung abrufbar.","sidebarTitle":"Portal-Konfiguration","icon":"palette","href":"/v2-customer-api/portal-config"},{"title":"Portal-Sessions","sidebarTitle":"Portal-Sessions","icon":"key","href":"/v2-customer-api/portal-sessions"},{"title":"Checkout-Sessions","sidebarTitle":"Checkout-Sessions","icon":"cart-shopping","href":"/v2-customer-api/checkout-sessions"},{"title":"Abos und Tarifwechsel","sidebarTitle":"Abos und Tarife","icon":"repeat","href":"/v2-customer-api/customer-subscriptions"},{"title":"Rechnungen und Zahlungsarten","sidebarTitle":"Rechnungen und Zahlung","icon":"receipt","href":"/v2-customer-api/customer-billing"},{"title":"Stammdaten und Bestellungen","sidebarTitle":"Stammdaten","icon":"address-card","href":"/v2-customer-api/customer-profile"},{"title":"Links","sidebarTitle":"Links","icon":"link","href":"/v2-customer-api/links"},{"title":"Webhooks","sidebarTitle":"Webhooks","icon":"bell","href":"/v2-customer-api/webhooks"}]},{"group":"Organisation","icon":"sitemap","pages":[{"title":"Organisation und Umgebungen","sidebarTitle":"Einführung","icon":"sitemap","href":"/v2-organisation-api/introduction"},{"title":"Organisationen","sidebarTitle":"Organisationen","icon":"building","href":"/v2-organisation-api/organisations"},{"title":"Aktive Umgebung wechseln","sidebarTitle":"Umgebung wechseln","icon":"right-left","href":"/v2-organisation-api/session"},{"title":"Art der Umgebung in Antworten","sidebarTitle":"Art der Umgebung","icon":"tag","href":"/v2-organisation-api/environment-fields"},{"title":"Empfänger-Domains einer Sandbox","sidebarTitle":"Empfänger-Domains","icon":"at","href":"/v2-organisation-api/sandbox-mail-settings"},{"title":"Zurückgehaltene Nachrichten","sidebarTitle":"Zurückgehaltene Nachrichten","icon":"inbox","href":"/v2-organisation-api/suppressed-messages"},{"title":"Daten einer Umgebung löschen","sidebarTitle":"Daten löschen","icon":"eraser","href":"/v2-organisation-api/data-wipe"},{"title":"Umgebung löschen","sidebarTitle":"Umgebung löschen","icon":"trash-can","href":"/v2-organisation-api/delete-environment"},{"group":"Data transfer","pages":[{"title":"Daten zwischen Umgebungen übertragen","sidebarTitle":"Daten übertragen","icon":"arrow-right-arrow-left","href":"/v2-organisation-api/transfers/overview"},{"title":"Aufbau einer Übertragung","sidebarTitle":"Aufbau einer Übertragung","icon":"list-tree","href":"/v2-organisation-api/transfers/transfer-object"},{"title":"Fehler bei Übertragungen","sidebarTitle":"Fehler bei Übertragungen","icon":"triangle-exclamation","href":"/v2-organisation-api/transfers/errors"}]},{"group":"API","pages":[{"group":"Sandbox recipient domains","pages":[{"openapi":"assets/openapi-v2-organisation.json get /api/tenant/sandbox-mail-settings","title":"Get the allowed recipient domains of a Sandbox","href":"/v2-organisation-api/sandbox-mail-settings/get-sandbox-mail-settings"},{"openapi":"assets/openapi-v2-organisation.json put /api/tenant/sandbox-mail-settings","title":"Replace the allowed recipient domains of a Sandbox","href":"/v2-organisation-api/sandbox-mail-settings/update-sandbox-mail-settings"}]},{"group":"Suppressed messages","pages":[{"openapi":"assets/openapi-v2-organisation.json get /api/tenant/suppressed-messages","title":"List suppressed messages","href":"/v2-organisation-api/suppressed-messages/list-suppressed-messages"}]}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/en/changelog/overview"}]}]}]},"basePath":"","title":"Authentifizierung - Fynn Docs","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":[],"chunks":[]}