CallbackShield guide · By the Ingenious AI team · Published 14 November 2026 · Reviewed 14 November 2026
How do API keys work for payment verification integrations?
The short answer. Like a key to a specific door, labelled, and copyable by nobody after the moment it is cut. Owners and customers create keys in the account, list them by name, and revoke them in one action; CallbackShield stores only each key's hash, so the database holds nothing an attacker could replay. Give every integration its own named key, build with test keys, and revoke without ceremony the moment a system is retired or a key might have leaked.
Open a free verification case See pricing · Verify a vendor in the registry · All CallbackShield guides
What is an API key? An API key is a secret credential that authenticates one integration to your CallbackShield workspace's API: issued from the account, shown once, stored only as a hash, attributable to the integration it names, and revocable at any moment with immediate effect.
One key per integration
The cardinal rule of API keys is granularity: a key belongs to one system, doing one job, under one name — 'invoicing tool', 'ERP sync', 'AP dashboard'. Granularity buys attribution (every case an integration opens is traceable to its key) and surgical revocation (retiring one tool never disturbs the others). A shared key smeared across five systems has neither property; it is a master key with amnesia.
Names are part of the security model. A key list that reads like a parts catalogue — created dates, last-used signals, clear owners — gets reviewed. A key list of indistinguishable strings gets ignored, and ignored key lists are where decade-old credentials for dead systems live on, valid and forgotten.
Shown once, stored as a hash
When a key is created, its secret is shown at creation and never displayed again — because it is never stored in recoverable form. CallbackShield keeps a hash of the key and authenticates by comparison, the same hash-only discipline applied to code phrases and registry fingerprints. If you lose a key's secret, you do not retrieve it; you revoke and reissue, which takes a minute and leaves a clean record.
This design decides in advance how bad a database incident can be. Copied hashes cannot call your API. The integrations' secrets live in exactly one place each — the integrating system's own configuration — which is where your operational security should concentrate.
The resolver: revocation actually bites
A key system is only as good as its revocation path. CallbackShield's authentication resolves each presented key against the stored hashes and checks the revocation blocklist on every resolution — a revoked key stops working immediately, not at the next deploy or cache refresh. That immediacy is what turns 'we think a key leaked' from an incident into an errand: revoke, reissue, redeploy the integration, read the usage log for anything the old key did.
Test the path before you need it. Revoke a test key in a rehearsal and watch the integration fail closed. A revocation nobody has ever exercised is a fire alarm nobody has ever heard.
Test keys and safe building
Integrations get built by developers who need to experiment freely — creating cases, breaking flows, retrying storms of requests — without polluting the live record your auditors read. Test keys exist for exactly this: build against them, rehearse the failure modes, and promote the integration to a live key only when its behaviour, especially its failure behaviour, is understood.
The promotion moment deserves its checklist: live key issued and named, test key revoked, failure mode verified (a payment whose case cannot be created waits, visibly), and the first live cases eyeballed by a human. After that, the integration joins the monthly review rhythm with the rest of the control surface.
Keys in the wider control picture
API keys are how machines join a human control system, and they should inherit its habits: least privilege per key, named ownership, periodic review, prompt revocation. Your monthly log review should include the key list — which keys opened cases this month, which opened none (dead integrations still holding live keys), and which are due for rotation under your own policy.
Treat a key with the respect due to what it can do: it can open cases that gate real money. That is a worthwhile power to give a well-built integration and a reckless one to leave in a retired contractor's config file. The revocation button is cheap; use it like you mean it.
The five-action checklist
- Issue one named API key per integration; never share a key across systems, teams, or environments.
- Store each key's secret only in the integrating system's configuration — it is shown once at creation and cannot be retrieved later.
- Build and rehearse with test keys; revoke them when the integration promotes to a live key.
- Revoke instantly on suspicion of leakage or when a system retires, and verify the integration fails closed afterwards.
- Review the key list monthly alongside case logs: usage by key, silent keys, and rotations due.
A worked example: the retired tool with the live key
A fictional services firm replaces its invoicing platform. During the monthly review, the finance lead notices the key list still shows 'invoice-tool-legacy' — created fourteen months ago, unused for ninety days, still valid. The old platform was decommissioned by a contractor whose config backups live nobody-quite-knows-where. She revokes the key in the meeting, in ten seconds, and the incident that never happens gets minuted as a near-miss.
The counterfactual writes itself: a key that could open cases in their workspace, floating in an unmanaged backup, valid indefinitely. Nothing about the revocation was technically impressive. The discipline was in the calendar item — the monthly review where a human reads the key list and asks of each entry: should this still exist?
Frequently asked questions
What if we lose a key's secret?
Revoke it and issue a replacement. Secrets are shown once and stored only as hashes, so retrieval is impossible by design — reissue is fast, clean, and leaves the old key permanently dead.
Can a stolen key confirm cases or move money?
No. A key opens and reads cases through the API; confirmation remains a human act inside the case after a callback, and the vault still changes only from confirmed cases. A stolen key is a real incident — revoke immediately — but it cannot counterfeit the human layer.
How many keys can we have?
As many as you have integrations to name. The constraint is governance, not count: every key should have an owner, a purpose, and a review date in your own rhythm.
Do test keys affect live data?
Test keys are for building and rehearsing without polluting the live record. Promote deliberately: issue the live key, verify the integration's failure behaviour, then revoke the test key.
Who in the account can manage keys?
Key management sits with the account's owners and authorised customers in the workspace — creation, listing, and revocation are account actions, and every key's lifecycle is part of the workspace's accountable record.
Keep reading
- How does the CallbackShield API create verification cases?
- Why are vendor account numbers fingerprinted instead of stored in full?
- What is callback verification for payment changes?
- Why must the requester and the approver be different people?
- All CallbackShield guides
- CallbackShield — callback verification for payment changes
- Start free — unlimited verification cases
- CallbackShield pricing — Free, Pro $29/mo, Team $79/mo
- The Vendor Bank-Detail Registry
- The Ingenious AI portfolio