Billed
Latest Articles

How do I get my Stripe API Key

Step-by-step guide to finding your Stripe API key and connecting it to Billed so you can accept credit card payments on your invoices.

B
Billed Team
2 min read
How do I get my Stripe API Key

Connecting Stripe to Billed lets your clients pay invoices with a credit or debit card. To set up the integration you need your Stripe Secret API Key. Here is how to find it.

Step-by-step instructions

  1. Log in to your Stripe account at dashboard.stripe.com.
  2. In the left sidebar, click Developers.
  3. Click API Keys.
  4. Next to Secret key, click Reveal live key token.
  5. Copy the key — it starts with sk_live_.
  6. In Billed, go to Settings → Payment Gateways → Stripe and paste the key.

Stripe API keys dashboard

Test mode vs. live mode

Stripe provides two sets of API keys: test and live. Test keys (prefixed sk_test_) let you simulate payments without moving real money, which is useful for verifying the connection before going live. Toggle between modes using the Test mode switch at the top of your Stripe Dashboard.

Keeping your key secure

Your secret key grants full access to your Stripe account. Never share it publicly, commit it to a code repository, or send it over unencrypted channels. If you believe your key has been compromised, click Roll key in the Stripe Dashboard to generate a new one and update it in Billed immediately.

Troubleshooting

  • "Invalid API Key" error in Billed — Make sure you copied the Secret key, not the Publishable key. The secret key starts with sk_live_.
  • Payments not appearing — Confirm you are using your live key, not a test key. Test transactions only show in Stripe's test mode.
  • Key not visible — You may need account owner permissions in Stripe to view or reveal API keys. Ask your account administrator if the option is greyed out.

Put Your Billing On Autopilot With Billed

Start creating professional invoices, tracking expenses, and managing your business today. No credit card required.

No credit card required. Cancel anytime.