Back to dashboard

Tutorial

Connecting Stripe with a read-only API key

Stripe is the payment service Presumption reads to report on your revenue, payments and customers. This walks through what it is, how to create a restricted read-only key, and how to connect it.

Presumption only ever reads

Presumption never moves money or changes anything in your Stripe account. The key you connect is restricted to read-only access, so automations can report your balance and activity but can't issue refunds, create charges, or modify anything.

What is Stripe?

Stripe is a payment platform that processes card payments, subscriptions and payouts for online businesses. If you take payments online, Stripe is very likely the system holding your transaction history, customer records and balance.

Presumption uses Stripe to give you a live picture of your money without leaving your dashboard — your available balance, recent payments, refunds and new customers — and to power automations like a daily revenue report emailed to you each morning.

Visit stripe.com

Step 1 — Sign in to your Stripe account

Go to dashboard.stripe.com and sign in with the account that owns your business's payments. If you don't have a Stripe account yet, you'll need to create one and start processing payments before this connection is useful.

Step 2 — Create a restricted key

Presumption requires a restricted key (it starts with rk_). We do not accept your secret key, because a restricted key can be limited to reading only.

  1. 1
    Open the API keys page

    In the Stripe dashboard, go to Developers (or Developers → API keys).

  2. 2
    Create a restricted key

    Under "Restricted keys", click Create restricted key. This is different from your standard secret key, which starts with sk_.

  3. 3
    Name it "Presumption"

    Give the key a label like "Presumption" so you remember what it's for.

  4. 4
    Grant read-only permissions

    Set access to Read only for Balance, Charges (or Payments), Customers, and Refunds. Leave everything else as None. Do not grant Write or any access that could create or change records.

  5. 5
    Copy the key

    Click Create and copy the key that appears. It starts with rk_. You can reveal it again later from the same page, but copy it now to be safe.

Why a restricted key? A restricted key lets you hand Presumption just the read permissions it needs. Even if a key were ever exposed, it couldn't issue refunds, move money, or change your account. We refuse any key that isn't an rk_ restricted key.

Read Stripe's API key guide

Step 3 — Connect it in Presumption

  1. 1

    Open Settings → Connections in your dashboard.

  2. 2

    Find Stripe and click Add key.

  3. 3

    Paste the rk_... restricted key you created in Step 2.

  4. 4

    Click Save key. Presumption checks the key against Stripe (it reads your balance to confirm), then connects your account.

Tip — turn it into a daily report

Once Stripe is connected, tell the Presumption agent something like "Email me a daily revenue report from Stripe". It'll create an automation that reads your balance, recent payments, refunds and new customers each day and emails you a summary — no spreadsheet required.

Build in Presumption

Opens your dashboard with the request pre-typed in the agent chat — just press send.

Ready to connect?

Head back to your dashboard and add your Stripe restricted key in Settings → Connections.

Open dashboard