Stripe: creating a read-only key for Apteco
How to make a key that lets us copy your Stripe donations into your Apteco System, and nothing more
What we need and why
If donors give through your own website and Stripe takes the payment, those gifts only live in Stripe. A key lets us copy them into your Apteco System every day, so they sit alongside the rest of your giving and you don't have to export anything.
The key you'll make is read-only. It can look at your payments, but it can't take or move money, refund anyone or change anything in your Stripe account. With it we read:
- Charges and refunds: each gift, its date and amount, and whether it was refunded or disputed. Stripe's own ID for each charge lets us load every gift once, so nothing is counted twice.
- Checkout Sessions and Customers: the donor's name, email, phone and address, so each gift lands on the right person.
- Payment Intents: to link each payment to the checkout that took it.
- Balance: Stripe's fee on each gift.
Before you begin
- You'll need to sign in to Stripe as someone who can create API keys, usually the account owner or an administrator.
- Make sure you're in your live account, not a sandbox. If a bar across the top says You're testing in a sandbox, switch accounts first using the account name in the top left. A live key starts with
rk_live_. - It takes about five minutes. The screenshots below come from a test account.
Creating the key
Open your API keys page. Go to dashboard.stripe.com/apikeys, or on your Stripe Home page click Go to API keys in the API keys panel. Then click + Create secret key at the top right.

Choose Sharing with a third-party service. Under Choose how you'll use this key, pick Sharing with a third-party service. Enter Apteco Canada as the Vendor name and https://www.apteco.ca as the URL, then click Continue.

Choose Custom permissions. Under Assign permissions to your key, pick Custom permissions, not Standard, and click Continue. Standard gives far more access than we need.

Set five permissions to Read. Everything starts at None. Type each name below into the search box and click Read on that row:
- Balance
- Charges and Refunds
- Checkout Sessions
- Customers
- Payment Intents
Leave everything else, including Payment Disputes, at None. Never choose Write. Then click Continue.

Watch out: searching for one name can show other rows too (searching "balance" also shows Customers). Only change the five rows named above.
Name the key and check it. Under Name and review your key, enter the Name API key for Apteco Canada. In Note you could put "Read-only key for Apteco Canada to copy donations into Apteco System. Revoke here to stop access." The summary should say 5 permissions, all Read. Click Create key.

Copy the key. Stripe shows Your new secret key. The key is longer than the box, so don't try to select it by hand: click the copy icon at the end of the box, or Copy and close at the bottom right. Stripe won't show a live key again once you close this screen.

Check it says Limited. Back on the API keys page, the new key shows Limited under Permissions. If it says Full access, it isn't the right key: please don't send it.
Sending us your key
Send it with a one-time secret link, never by email: follow Sending us a key or password safely. Please don't keep a copy in a document once we've confirmed it works.
Things to know
- Stopping our access: on the API keys page, click the … menu on the API key for Apteco Canada row and choose Expire key. Please let us know first, so we can stop the daily copy cleanly.
- Last used: the API keys page shows when the key was last used, so you can see us reading each day.
- If we ask for another permission later, you can edit the same key and set one more row to Read. The key itself stays the same, so there's nothing new to send.
- Other apps that use your Stripe: if another giving tool (a donation form, ticketing or peer-to-peer platform) takes payments through your Stripe account and we already load that tool's gifts another way, tell us which one. We'll leave those payments out so nothing is counted twice.
- Refunds and disputes: refunded gifts aren't loaded. If a gift is disputed after we've loaded it, we'll let you know so it can be marked in your system.
- Stripe's own guide to these keys: Restricted API keys.
Need help?
If anything on your Stripe screens looks different from this guide, contact your Apteco Canada representative and we'll walk through it with you.
