Back to Knowledge Base

Allowed domains

Allowed domains (also called allowed origins) limit which websites may use your API key from a browser.

How it works: you list the website addresses you own, for example https://myshop.com. When a request arrives with your key from a web page, RahaKaitse checks the page's address (the Origin). If you have added at least one domain, requests from any other website are rejected, even if they have your key. Calls made from your own server (server-to-server) are not affected, because they have no browser origin.

To set up: open Partner → API → Allowed domains, add each domain with its protocol (https://) and no trailing path, and activate it. Add every address you use, including https://www.myshop.com and any staging site. You can disable or remove a domain at any time.

Leaving the list empty means no restriction, so we recommend adding your real domains before going live.

Related articles: Partners & Business