Skip to content
For AI agents and documentation tools, use llms.txt for the documentation index. Full public content is available at llms-full.txt. Markdown versions of pages are available by appending .md to canonical URLs when published.
Installation Use Stripe restricted key

Use Stripe restricted key

Link Stripe using a restricted API key instead of OAuth.

Use this method when you want to connect Stripe without OAuth.

Use a Stripe restricted key only — rk_....
Do not use secret keys — sk_....
Match mode and key prefix: Test uses rk_test_...; Live uses rk_live_....
Grant read access to accounts, customers, subscriptions, products, prices, invoices, and events.
  1. Open Settings → Stripe Account Connection.
  2. Click Change Stripe Connection.
  3. Select Use Stripe restricted key.
  4. Select mode — Test or Live.
  5. Paste the key and click Save Restricted Key.
  1. Stay in Use Stripe restricted key.
  2. Select the mode.
  3. Click Remove Restricted Key.
Mode does not match key: the selected mode and the key prefix are different.
Secret key not allowed: key starts with sk_.
Missing permissions: key cannot read accounts, customers, subscriptions, products, prices, invoices, and events.