Connecting Your Restricted Key
Save your Stripe Restricted Key once. Stripe imports and automatic donation recording both use it, and no reconciliation is needed.
On this page
Overview
This page stores your Stripe Restricted Key so you don't have to paste it in every time you import Stripe transactions. Connect it once here, and your next Stripe import offers to reuse it automatically. Automatic donation recording uses the same key, for the Stripe fee on each donation and to catch a new monthly donor's first gift.
Why This Matters
Without a saved key, every Stripe import asks you to paste your Restricted Key by hand — and only from inside an in-progress bank reconciliation, since that's the only place the key could be entered before. Connecting it here means you do that once, from one page you can find and manage on its own, the same way you'd manage a Wells Fargo or PayPal bank feed connection.
Saving the key does not turn on automatic donation recording. Automatic recording — donations appearing in your books within moments of the gift, with no import step at all — is available on the Standard plan and up, set up on a different page. See How Automatic Donation Recording Works. Once it is on, it uses the key you save here. Manual Stripe imports are available on every plan.
Before You Start
- A Stripe account with at least one processed charge, so there's something to import.
- Ability to create a Restricted Key in your Stripe Dashboard.
Steps
Connecting
- Go to Connections > Stripe.
- Open your Stripe API keys. In your Stripe Dashboard, go to Developers > API keys. Under Create a restricted key, select Providing this key to a third-party application and click Continue.
- Name the key (for example,
npledger-stripe-api-key) and enter NP Ledger's website URL:https://npledger.com. - Create it. Do not click Customize permissions. Click Create restricted key, and verify your identity if Stripe asks you to.
- Copy your key and keep it in a safe place. Stripe shows it only once.
- Set its permissions. When Stripe shows your new key on Developers > API keys, open the three dots next to it and select Edit key. On the Edit restricted API key page, set Charges: Read, Balance transactions: Read, Payouts: Read and Checkout Sessions: Read. Leave all other settings at their defaults. Scroll to the bottom of the page and click Apply changes.
- Paste the key into the Restricted Key box, under Imports from Stripe, and click Save. NP Ledger checks it with Stripe before saving.
The first two permissions let NP Ledger record the Stripe fee. Payouts lets it read what each Stripe payout was made of, so the deposit in your bank can be matched to the gifts it paid out. Checkout Sessions lets it tell whether a new monthly donor's first gift was already recorded when the donor paid through Stripe Checkout (Stripe's payment page), so it is never recorded twice; without it, that first gift is not recorded.
Once connected, the page shows a green "Connected" badge and the date you connected.
Replacing your key
If you rotate your Restricted Key, open Replace the key, paste the new key, and click Save. Your original connection date doesn't change — only a full disconnect and reconnect resets it.
Disconnecting
Click Disconnect key. The stored key is deleted immediately. Your next Stripe import will ask you to paste a key again.
What to Check
- A green "Connected" badge and a "Connected since" date appear after saving.
- If the key cannot read Checkout Sessions or Payouts, NP Ledger still saves it and shows a warning box at the top of the Stripe page that names the missing permission. The box stays until a save or Check connection finds the key fine. To fix it, add the missing permission to the key in Stripe. Back on the Stripe page, open Replace the key under Imports from Stripe, paste the key and click Save.
- Check connection asks Stripe about the key you saved earlier. If you deleted or replaced the key in Stripe, it says Stripe no longer accepts the saved key, and the same warning box stays on the page. Create a new key in Stripe, then open Replace the key under Imports from Stripe, paste it and click Save.
- Your next Stripe import offers "Use my saved key" instead of an empty paste field.
Common Mistakes
- Pasting a full-access Secret Key instead of a Restricted Key. NP Ledger never needs your Secret key or your Publishable key. A Restricted Key limited to Read on Charges, Balance transactions, Payouts and Checkout Sessions is safer — it cannot move money or change anything in your Stripe account.
- Expecting this to turn on automatic recording. It doesn't. Saving the key only stores it; see How Automatic Donation Recording Works for the setup (Standard plan and up), which then uses this key.
Ask AI About This Section
Open the AI Help panel and try:
- "How do I connect my Stripe key?"
- "How do I disconnect Stripe?"
- "Does this record my donations automatically?"
- "What Stripe permissions does NP Ledger need?"
Was this page helpful?
Ready to try NP Ledger?
Native fund accounting, Form 990 support, and smarter bookkeeping for nonprofits.