English · සිංහල · தமிழ்

Guides › Sales & money

Sales & money

Connect Stripe to take card payments

Connect your own Stripe account so customers can pay invoices by card. Money goes straight to you.

Where to find it: Settings → Payments → Card payments (Stripe) Owners and admins 6 min

Before you start

  • A Stripe account (free to open) at dashboard.stripe.com.

The steps at a glance

1Make a restrictedkey2Copy it3Settings →Payments4Paste and connect
Step 1 of 4
  1. In Stripe go to Developers → API keys → Create restricted key. Name it “CompanyFlowHQ” and set Checkout Sessions to Write.

    dashboard.stripe.com/apikeysCompanyFlowHQWebsiteAutomationsEmail Market…Team & HRIntegrationsSettingsGuidesStripeSearch ⌘KDevelopers → API keysCreate restricted keyStripeDevelopers → API keysCreate restricted key
  2. Create the key and copy it. It starts with rk_live_.

    dashboard.stripe.com/apikeysCompanyFlowHQWebsiteAutomationsEmail Market…Team & HRIntegrationsSettingsGuidesStripeSearch ⌘Krk_live_51Hx…CopyStriperk_live_51Hx…Copy
  3. Tap Settings in the menu, then tap Payments in the "Jump to a section" row (or scroll down to the Payments box).

    companyflowhq.com/settingsCompanyFlowHQWebsiteAutomationsEmail Market…Team & HRIntegrationsSettingsGuidesSettingsSearch ⌘KJump to a sectionPaymentsAI helpersReportsSettingsJump to a sectionPaymentsAI helpersReports
  4. Under Card payments (Stripe), paste into Stripe secret or restricted key and tap Test and connect.

    companyflowhq.com/settingsCompanyFlowHQWebsiteAutomationsEmail Market…Team & HRIntegrationsSettingsGuidesSettingsSearch ⌘KCard payments (Stripe)Stripe secret or restricted keyrk_live_51Hx…Test and connectSettingsCard payments (Stripe)Stripe secret or restricted keyrk_live_51Hx…Test and connect

What the code looks like

What it looks like Stripe restricted key
rk_live_51HxQ2eLkJ8…Always starts like this — rk = restricted key, live = real moneyKeep this private — copy the whole thing
Find it: dashboard.stripe.com → Developers → API keys → Create restricted keyPaste it: Settings → Payments → Stripe secret or restricted key

Not this: pk_live_… — that's the publishable key. It can't take payments from here.

✅ How do I know it worked?

  • The box shows Disconnect and the pay page offers card, Apple Pay and Google Pay.

⚠️ Common mistakes

ProblemYou pasted the pk_live_ key.FixUse a restricted key (rk_live_…) or secret key (sk_live_…).
ProblemYou want to try it without real money.FixUse a test key (rk_test_ or sk_test_) and Stripe's test card 4242 4242 4242 4242.

Related guides

Sign in to try it