Documentation Index
Fetch the complete documentation index at: https://docs.stablegenius.co/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
The Stable Genius API uses API keys for authentication. Include your key in theAuthorization header of every request.
API Key Types
| Key Prefix | Environment | Description |
|---|---|---|
sk_test_ | Sandbox | Test payments on Base Sepolia testnet. No real money moves. |
sk_live_ | Production | Real USDC payments on Base mainnet. |
Getting Your API Keys
The Stable Genius API is currently in private beta. Request early access to receive your API keys.
- Navigate to Settings → API Keys
- Click Create API Key
- Copy the key immediately — it’s only shown once
- Store it securely (environment variables, secrets manager)
Key Permissions
Each API key has access to all merchants associated with the integrator’s account. A single key can create payment intents for multiple merchants.Key Rotation
To rotate a key without downtime:- Create a new API key in the dashboard
- Update your integration to use the new key
- Verify requests succeed with the new key
- Revoke the old key
Security Best Practices
- Store keys in environment variables or a secrets manager (never hardcode)
- Use
sk_test_keys during development and CI/CD - Rotate keys quarterly or immediately if compromised
- Use webhook signatures to verify events are from Stable Genius (see Webhook Security)
- Restrict server egress to allow only
api.stablegenius.coif possible

