Send the key as a bearer token:
- The sandbox accepts only test keys and the live API accepts only live keys.
A mismatch fails with
api_key_mode_mismatch. - Never put a secret key in browser code or a mobile app. Kalixo.js refuses secret keys.
- Kalixo stores only a hash of your keys. Kalixo shows each key once, when it is issued.
- Publishable keys work only from the domains registered for your account
(
origin_not_allowedotherwise). Ask Kalixo to add new domains.
Client secret
Every checkout session has aclient_secret. Kalixo.js sends it with the publishable
key to prove the browser may pay that session. Do not log it or store it in analytics.