Docs · LLMs and developers
Version3.14.0Connect Stripe with a read-only restricted key so charges, invoices, customers, and subscriptions become team memory.
Stripe
The Stripe connector reads your account's events with a restricted key that can only read events. Owners and admins connect it under Settings > Connectors (/settings/integrations).
What you need
- An owner or admin role in Achiral. See Roles.
- A Stripe role that can create API keys: Administrator, Developer, or Super Administrator. See Stripe's user roles.
What comes into memory
Achiral reads these Stripe event types:
| Stripe event | Becomes |
|---|---|
charge.succeeded, charge.refunded, charge.dispute.created | A payment: amount, amount refunded, currency, status, reason |
invoice.paid, invoice.payment_failed | An invoice: amount paid, currency, status, invoice number |
customer.created | A customer: name and email |
customer.subscription.created, customer.subscription.updated, customer.subscription.deleted | A subscription: plan, price, interval, status, cancel setting |
Each memory links back to the event in the Stripe Dashboard.
Achiral checks Stripe every 15 minutes. The first sync goes back one day, so events from before then don't come in. Each sync reads up to 500 events; when there are more, Achiral catches up in further syncs about five minutes apart.
Let an assistant walk you through it
Copy the prompt, or open it in Claude or ChatGPT. An assistant that can use your browser can fill in Stripe's form for you; otherwise it walks you through each step. Either way, you create the key and paste it into Achiral yourself. Don't paste it into the chat.
Help me connect Stripe to Achiral with a read-only restricted key. The guide is https://achiral.ai/docs/integrations/stripe.
If you can use my browser, open the Stripe Dashboard in live mode and go to Developers > API keys > Create secret key. Choose "Sharing with a third-party service", enter Achiral as the vendor name and my Achiral address as the URL, then choose "Custom permissions". Set only Events to Read and leave everything else at None. Stop on the review screen so I can check it and click Create key myself.
If you can't use my browser, walk me through those steps one at a time.
Don't ask me for the key. I'll paste it into Achiral myself.1. Create a restricted key in Stripe
-
In the Stripe Dashboard, switch to live mode.
-
Open Developers > API keys and click Create secret key.
-
Choose Sharing with a third-party service. Enter
Achiralas the vendor name and your Achiral address, such ashttps://acme.achiral.ai, as the URL. Click Continue. -
Choose Custom permissions, not Standard. Standard gives far more access than Achiral needs.
-
Search for
/v1/eventsand set Events to Read. Leave every other permission at None.
-
Click Continue. The review screen should list one permission: Events: Read.

-
Click Create key and copy the key. It starts with
rk_live_. Stripe shows it once. A test-mode key (rk_test_) also connects, but reads only test-mode events.
2. Connect it in Achiral
-
Open Settings > Connectors, on the Catalog page, and find Stripe under Core Apps.
-
Click Connect. Leave Connection name as it is.
-
Paste the key into Restricted key (
rk_live_...) with Read access to Events. -
Under Whose account is this?, choose who can recall Stripe activity. New customers come in with their name and email. Everyone in the organization is selected unless you pick Only me.
- Only me: it stays in your memory alone.
- Everyone in the organization: every member's assistant can recall it.
You can't change this in the app after connecting. See Whose account it is.
-
Click Connect.
If your browser offers a saved password for the key field, clear it before you paste.
The card shows Active and Disconnect as soon as you connect, before Achiral has used the key. The first sync runs within five minutes. If the key is wrong, the card then shows the error where Last activity was.

Last activity updates after each sync, even when Stripe had no new events.
Troubleshooting
The card shows an error, Reconnect needed, or Error
The key was revoked, expired, or lacks Events: Read. Create a new restricted key as above. On the Stripe card, click Disconnect, then Confirm, and connect again with the new key. Reconnect doesn't work for apps that connect with a key. It shows "Stripe signs in with a key: disconnect it and connect it again with a new key", with your connection name in place of Stripe. Disconnecting keeps the memories Stripe already brought in.
Active, but nothing from Stripe in memory
The first sync reads only the last day. If your account had no charges, invoices, new customers, or subscription changes in that time, there is nothing to bring in yet. New events are synced within about 20 minutes of happening, and can be recalled within about 25, after the next memory write.
Related pages
- Connectors: what Whose account is this? changes, and how connection status works.
- Mercury: the same setup for bank transactions.
- Cloudflare: the same setup for audit logs and alerts.