Get your API keys
An API key identifies your business to Mitu and carries the full authority of your account, so it belongs only on your own servers. Test keys work in the sandbox, where no real money moves, and live keys work in production. Build with a test key and create a live key once your integration is ready.
Open API keys in the dashboard
Sign in to the Mitu dashboard and select API keys under Developer in the sidebar. This page lists every key on your account and shows when each one was last used.
Create a new key
Select New key, choose whether it is a test key or a live key, and name it after the service that will use it, so you can identify it later.
The full key is shown only once. Copy it before you leave the page.
Store the key securely
Keep the key in an environment variable or your platform’s secrets manager rather than in your code. It should never be committed to source control or shipped in a browser or mobile app.
Use the key
Your servers send the key with every request to Mitu. See authentication in the API reference to call the API directly, or pass the key to one of the SDKs when you create its client. Each request made with your keys appears under Logs in the dashboard.
Revoke it from the API keys page and requests made with it will be rejected. Deploy a replacement key first so your integration keeps running.
Your servers can now authenticate with Mitu. Next, accept your first payment, either with a payment link or for an API request.