Partner API keys
An API key lets your website or server talk to RahaKaitse, for example to create checkout sessions. Treat it like a password.
Create a key
- Open Partner → API Keys.
- Enter your website URL, your webhook URL (where you want order updates sent) and the client wallet (the wallet that should receive the money).
- Press Generate API Key.
- Copy the key right away. It is shown only once. If you lose it, generate a new one.
Manage keys. You can edit the details, activate/deactivate a key, or delete it (this cannot be undone and the key stops working immediately). You can have several keys, for example one per website or for testing.
Security
- Keep the key on your server where possible. A key in front-end code can be copied; use Allowed domains to limit where it works.
- Never post it publicly or send it by chat or e-mail.
- If you suspect a leak, deactivate or delete the key and make a new one.