Skip to main content
Ringup has two kinds of credentials: a secret API key that authenticates every API request, and a publishable key that identifies your account in the hosted Connect button. Secret keys ride the Authorization header on each call:

Secret keys

Create one in your Ringup dashboard, under API Keys. Keys come in two kinds, and the same code works with either, so you promote by swapping the key:
  • Test keys (rk_test_...) run against test mode: the real API, no real money, every charge settling on Ringup’s test processor account. See Testing.
  • Live keys (rk_live_...) run against your real merchants and settle on their own processor.
The key picks the environment on every request, and every id you get back says which environment it belongs to (cs_test_… / cs_live_…), so a test object can never be read as a live one.

Pass it on every request

Every Ringup call, identify, create_checkout, charge, and the rest, takes the key as a Bearer token:
In an agent integration you set the key once and it rides every call:
  • Hosted, from the dashboard: Ringup writes your key into the payment tools it provisions for you, so it rides every call without you handling it.
  • In your agent (API): the key lives in the Authorization header of the Ringup tools or HTTP calls your agent makes, next to the other tool config.
Either way the key sits on your server or in the platform’s tool configuration, never in a value the model generates.
Your secret key can create charges. Keep it server-side. Never put it in client-side code, a prompt, a transcript, or a public repository, and never let the model see or type it. If a key leaks, roll it from the dashboard.

Publishable keys

A publishable key (pk_test_... / pk_live_...) identifies your account without authorizing anything sensitive: it starts a merchant connection from the hosted Connect button and nothing else. It is safe to embed in a page or an email, and the dashboard shows it whenever you need it. It cannot read data or create charges, so it needs none of the secret key’s handling rules.

Next steps

Testing

What test mode gives you and how to rehearse every flow.

How it works

The architecture, then the integration guide for your platform.