$ trust-the.store connect --platform stripe
Connect Stripe (custom / headless shops)
A restricted key with Read on Charges only (rk_live_…). Full secret keys are refused.
Before you start
- A Stripe account that takes your shop's payments (custom or headless stores).
Steps · about 2 min
- Stripe Dashboard → Developers → API keys → Create restricted key.
- Charges: Read. Optional: Balance and Payouts: Read (verified fees and payouts), Account: Read (store name). Everything else: None.
- Create key and copy it (rk_live_…). Paste it in Trust the Store.
What you paste in Trust the Store
- Restricted API key
rk_live_…
Troubleshooting
Use a restricted key (rk_…) with read-only Charges access.
Secret keys (sk_…) can move money, so we refuse them. Create a restricted key instead.
This store is already listed.
Someone (maybe you) already connected it. Sign in with the account that added it, or claim it from the dashboard with its manage link.
Network error reaching … / Could not resolve …
The store must be publicly reachable over HTTPS. Check the URL, and that no firewall or maintenance mode blocks API requests.
Prefer to do it from your AI assistant?
Add the Trust the Store MCP server to Claude, Cursor or VS Code and say “connect my Stripe (custom / headless shops) store”: it walks you through these steps and connects the store for you. Set up MCP.