Which payment API key belongs on the server?

A credential used when a system calls a provider's API.

Identify the environment and permission scope before using a key. A test success proves little about a live integration using different credentials. Logs should identify the key configuration without disclosing its secret value.