In the merchant portal, open Developers → API keys and create a key. Give it
a name that says where it is used (“production server”, “staging”). The
plaintext key is shown exactly once — only its hash is stored, so it cannot
be retrieved later.A business can hold several named keys, so one can be revoked without breaking
the others. Revoke a key from the same page; revoked keys stay listed so a log
line can still be traced to them.
If a key may have leaked and you do not know which, rotate them all with the
self-service endpoint. Every live key of your business stops working
immediately and one replacement is returned, once: