Theme

Start for free
DocsStripe

03 · Revenue

Connect Stripe with a key that can only read

One restricted key brings in the past 365 days of payments, refunds and chargebacks included. Then the visitor's id on your checkout ties each new sale to its visit.

01Connect Stripe

  1. Create a restricted key in Stripe

    Tally only reads your payments; it never needs to move money. A restricted key can do only what you allow, and you can revoke it in Stripe at any time. In Stripe, open Developers, API keys, choose Create restricted key, and set these:

    PermissionAccessWhy
    PaymentIntentsReadEvery payment: its amount, currency, customer and metadata.
    InvoicesReadWhether a payment is a subscription's first, a renewal or a plan change, and the tax in it.
    Checkout SessionsReadThe visitor id you pass in metadata or client_reference_id, and which Payment Link sold it.
    CustomersReadThe customer's metadata, and their email to match tally('identify'): hashed at once, never stored.
    ChargesReadRefunds.
    DisputesReadChargebacks, and funds reinstated after a won dispute.
    Webhook EndpointsWriteTally creates its own endpoint on your account, so payments arrive within seconds.

    Leave everything else at None.

  2. Paste the restricted key

    On your site's Integrations page (or the Payments step when you add a site), open Stripe and fill in:

    • Restricted key: It starts with rk_live_ or rk_test_. Tally stores it encrypted and never shows it again.

    Then press Connect Stripe.

  3. Tally checks it and imports the past year

    It names any permission the key is missing, adds its own webhook to your account so new payments arrive as they happen, and imports the past 365 days.

02Keys and accounts

  • Only a restricted key is taken: a secret key (sk_…) is refused before it's used.
  • A key made in test mode (rk_test_…) sees test payments, which is the way to try it first.
  • Each Stripe account is a connection of its own: connect each one you sell through.
  • Revoke the key in Stripe at any time, or disconnect it on the Integrations page: the payments already imported stay, with their receipts.

04Check it worked

Something missing, or not what you see? Write to support@tallybyoutpost.com and say which page.