Die Entwickler-Doku gibt es nur auf Englisch.
Key vault button
The key vault button lets your customers find their licenses, keys and devices from your own website. A click opens your license portal in its own window. The customer signs in there with the email link or their account and sees only the licenses they hold with you. Nothing about the customer, their licenses or their keys reaches your page.
Pre-release. The checkout host below is a placeholder for the address of your Noctix web app. Set up the button on the Shop page of the dashboard or with the Management API.
Before you start
Allow the websites that may show the button with PATCH /v1/storefront (scope payments:write). Domains are hosts without https:// and path, such as kestrel.example, *.kestrel.example for all subdomains, or localhost:5000 for a test page. Test and live have their own lists.
curl -X PATCH https://api.example.com/v1/storefront \
-H "Authorization: Bearer mk_live_..." -H "Content-Type: application/json" \
-d '{"vault_domains": ["kestrel.example"]}'
The browser loads the button only on the allowed domains. On any other site the frame stays empty. With no allowed domains, the button cannot be embedded.
Embed the button
Put this where the button should appear, with your team ID (team_..., shown on the Shop page):
<script src="https://checkout.example/embed/vault.js" data-team="team_..." async></script>
| Attribute | Values | Default |
|---|---|---|
data-team |
Your team ID | required |
data-locale |
en, de |
en |
data-size |
sm (28 px), lg (44 px), or leave it out (36 px) |
36 px |
data-environment |
test for the test environment |
live |
The button reads "Find your license keys" and takes its color from your branding settings.
Why a window of its own
The portal's sign-in belongs to the checkout host. In a frame on your page, browsers would not keep it, and your page would sit around the customer's keys. In its own window the customer signs in once and the address bar shows where they are. If the browser blocks the window, the portal opens in a new tab.
Other ways to link the key vault
- Direct link:
https://checkout.example/en/portal?team=team_...opens your portal, for emails or any link. - Your shop links the portal below your products (vendor shop on the Shop page).
- Your own domain for the portal: see
/v1/domains.