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.
Requirements
Section titled “Requirements”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.
Save restricted key
Section titled “Save restricted key”- Open Settings → Stripe Account Connection.
- Click Change Stripe Connection.
- Select Use Stripe restricted key.
- Select mode — Test or Live.
- Paste the key and click Save Restricted Key.
Remove restricted key
Section titled “Remove restricted key”- Stay in Use Stripe restricted key.
- Select the mode.
- Click Remove Restricted Key.
Common validation errors
Section titled “Common validation errors”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.