Skip to content

Connect Stripe

Connect your own Stripe account with a read-only restricted key so the AI and your team see a verified visitor's subscription and invoices.

5 min read 10 sections

This page explains how to connect your own Stripe account to an Axoryn project, so the AI and your team can see a visitor’s subscription and recent invoices during a conversation. It covers the restricted key you need, exactly what is read, and who sees it.

This integration is about the Stripe account you use to bill your own customers. It is separate from how Axoryn bills you. For your Axoryn subscription, see Billing and usage.

Before you start

  • Plan. Stripe isn’t a connector, so you can connect it on any plan. The inbox shows the billing summary to your team on every plan. AI answers that use it need a plan with the AI agent: AI, Engineer or Autopilot.
  • Role. Only owners and admins can connect, change or remove integrations.
  • Identity verification. The lookup only runs for visitors whose identity and email are verified. The setup panel warns “Stripe only answers for verified visitors, and identity verification is off.” when your project hasn’t verified anyone in the last 30 days. See Identify your users.
  • A restricted key. Axoryn only accepts a Stripe restricted key, which starts with rk_.

Create a restricted key in Stripe

  1. In the Stripe Dashboard, open the API keys page and create a restricted key.
  2. Give it a name you will recognize, such as Axoryn.
  3. Give it read access to Customers, Subscriptions and Invoices.
  4. Leave every other permission off. Axoryn never writes to Stripe.
  5. Create the key and copy it.

Live-mode keys start with rk_live_ and test-mode keys with rk_test_. Use a test-mode key to try the integration with test customers first.

Connect Stripe in Axoryn

  1. Open your project, select Integrations in the sidebar, select Add integration, then select Stripe. It is listed under Billing data.
  2. Paste the key into Restricted key.
  3. Select Continue. In What the AI may do, leave Look up billing summary on.
  4. Select Continue to test. The test reads one customer from your Stripe account to check that the key works. Nothing is saved until the test passes.
  5. Select Done.

The key is stored encrypted. If the key doesn’t start with rk_, the form shows Use a restricted key (starts with rk_).

What Axoryn reads

Axoryn looks up the visitor’s verified email in your Stripe customers and takes the first match. It then reads:

DataFields
CustomerName, email, created date, currency, and whether the customer is delinquent (payment overdue)
Subscriptions (up to 3, any status)Status, plan name (the price nickname or lookup key), amount, currency, billing interval, current period end, and whether it cancels at the period end
Invoices (the 3 most recent)Status, amount due, amount paid, currency, created date

Axoryn doesn’t read card details, billing addresses or payment methods.

The lookup returns nothing when the visitor’s identity isn’t verified, when the visitor has no verified email, or when no Stripe customer has that email.

When a visitor counts as verified

The lookup needs both:

  • A verified identity: your site called identify() with a valid user_hash.
  • A verified email: the user_hash was computed over the email (with no user_id), or the visitor opened a conversation link Axoryn emailed them.

A user_hash computed over a user ID verifies the identity but not the email. For those visitors the lookup runs only after their email is proven through an emailed conversation link. See Identify your users.

How the AI uses it

Stripe gives the AI one read tool, Look up billing summary, on by default. The AI can use it when a visitor asks about their plan, a renewal date or a recent invoice, and answer from your Stripe data.

To stop the AI from using Stripe, open the integration, go to the AI tools tab, turn off Look up billing summary, and select Save AI tools. The inbox summary keeps working.

What your team sees in the inbox

When a conversation’s visitor is verified and matches a Stripe customer, the visitor panel in the inbox shows a Stripe section with:

  • up to 2 subscriptions under Subscription, with status, plan name and price per interval
  • the latest invoice under Last invoice, with amount, status and date
  • Customer since, the customer’s created date

Delinquent customers are flagged with Payment overdue and a Copy email button.

No write actions

Stripe has no tools that change data. The AI can’t refund, cancel, change plans or edit anything in your Stripe account, so nothing from Stripe ever appears for approval under Needs you. With a read-only key, Stripe would also reject any write.

If a visitor asks for a refund or a plan change, the AI can hand the conversation to your team. See Human handoff.

Activity and health

The Activity tab lists every lookup the AI made through Stripe in the last 90 days. If Stripe rejects the key, for example after you roll or delete it in Stripe, the card shows Not working with the fix Update credentials.

Disconnect

Select Disconnect and confirm. The AI and the inbox stop using it right away. To be sure the key can’t be used anymore, also delete the restricted key in Stripe.

Troubleshooting

What you seeWhat to do
”Use a restricted key (starts with rk_).”You pasted a secret or publishable key. Create a restricted key.
Test fails with HTTP 401 or HTTP 403Stripe rejected the key, or it can’t read Customers. Copy the key again, or create a new one with read access to Customers, Subscriptions and Invoices.
No Stripe section in the inboxThe visitor isn’t verified, has no verified email, or has no Stripe customer with that email.
”Stripe only answers for verified visitors, and identity verification is off.”Set up identity verification in the project’s Security settings.
Still stuck? Check Troubleshooting or the FAQ. What changed recently