Use Stripe as a data source

Resources

Data Source Type: REST/URL
Authentication: Basic HTTP Authentication
Sample Query: For Stripe Charges:
https://api.stripe.com/v1/charges?limit=100
API Documentation: API Key

Step-by-Step

Create a new data source using Stripe

To create a data source using Stripe, you need to accomplish the following tasks:

  • Start the data source creation process using Stripe
  • Find your Stripe Live Secret Key
  • Craft your query and enter it into Klipfolio
  • Authenticate and complete the data source creation process

Note: This guide assumes that you already have an active Stripe account.

Step 1: Start the data source creation process using Stripe

To create a data source using Stripe, go to the New Data Source page in Klipfolio and select the REST/URL connector option.

Step 2: Craft your query and enter it into Klipfolio

Stripe offers a wide variety of queries. Refer to the API Docs for more options.

Here is a sample query to get you started:

For Stripe charges:

This example limits the number of responses to 100.

https://api.stripe.com/v1/charges?limit=100

Step 3: Complete the data source creation process

Now that you have crafted your query:

  1. At Data Format, select JSON from the drop-down list.
  2. At Method, select GET.
  3. At Type, select Basic HTTP Authentication from the drop down menu.
  4. At Username, enter your Stripe Live Secret Key.
  5. Leave Password blank.
  6. Select Get Resource.
  7. If you are satisfied with the data returned, select Continue.

 

Find your Stripe Live Secret Key

    1. To find your Stripe Secret Key, login to your Stripe account.
    2. In Stripe, select Your Account.
    3. Select Account Settings from the drop down menu.
    4. Select API Keys.

      Note: If you do not see your API Keys, this means that you have either Read & Write or Read Only access, and are not an administrator for the account. You will need to get in touch with the administrator of your account for the API Keys, or request that they make you an administrator in the account's team settings.

 

    1. In Stripe, copy your Live Secret Key and paste it into Klipfolio.

      Note: If your Stripe account is in test mode, then use your Test Secret Key instead.

 

  1. Continue the steps above.

Related links