Syncing your Stripe data with Seline

Why not see your revenue data at the same place where you see your website analytics? Connect your Stripe account with Seline to:

  • Get a Revenue chart at your dashboard.
  • See which referrers and UTMs bring you the most revenue.
Revenue data at Seline dashboard
Revenue data at Seline dashboard.
  • If you use profiles, visitors with email property will get their subscriptions and payments pulled and displayed.
Visitor profile with Stripe data
Visitor profile with Stripe data.

How to connect Stripe

Step 1: Create a read-only Stripe API key

  1. Go to your Stripe dashboard.
  2. Set all the permissions to Read and create the key. You can set Read to just the All core resources and All Billing resources, because that's what we currently use, but setting Read to everything will ensure we have permissions for our future features.
Creating new Stripe API key
Creating new Stripe API key.

Step 2: Add the API key to Seline

  1. Go to your Seline integrations page.
  2. Paste your Stripe API key into the input field
  3. Select a single currency you want all charges converted to. This setting is mainly for multi-currency accounts. If you use a single currency in Stripe, we recommend selecting it.
Adding Stripe API key to Seline
Adding Stripe API key to Seline.

That's it. Wait a coupe minutes, and you'll see your revenue data synced with Seline.

Developers

Only having an API key, we can't listen to webhooks. Instead, we attempt to pull the data from Stripe every minute.

  1. We pull all Charges since the last successful pull and save them as events.
  2. When opening a visitor profile that has an email, we try to send a request to Stripe API to find a Customer with that email and pull their last 3 subscriptions and last 3 payments. This is later displayed on the right side at their profile. We don't save this data, but pull it every time you open a profile.