Stripe Integration
In this article, we’ll integrate a Stripe data source with Y42.
This Stripe integration replicates data using the Stripe REST API. Refer to the pagination section for a list of objects available for replication.
Overview
Authentication
OAuth doesn’t share password data but instead uses authorization tokens to prove an identity between you and the service provider. OAuth is an authentication protocol that allows you to approve one application interacting with another on your behalf without giving away your password. For instance, when you tell Facebook that it’s OK for another application or website to access your profile. To sum up, you only need to have an existing account to authorize the access.
Import Settings
By default the historical date will be set to one year ago. Refer to your own datasource to decide from which exact date you would want to retrieve data.
Schema
Refer to the Stripe's API documentation for a list of objects available for replication.
Updating your data
You have the option of scheduling Full imports or Incremental Imports by the month, weeks, days, and even by the hour. With the incremental import you will only add the new rows to that table, while a full import will actually re-import the entire table completely.
Incremental imports significantly increase the import speed, we import your table incrementally based on the last imported state e.g. id - If the table does not have a state, a full import will be triggered - This is done automatically.
We recommend therefore to schedule an incremental import regularly, but also schedule a full import with a certain frequency -- this is because only the full import will guarantee that old rows that have been updated on the data source will also get updated on your Y42 integration destination.
Stripe Setup Guide:
Note: To link Stripe and Y42, you’ll need Access to an active Stripe account, with Administrator or Developer privileges.
- On Integrate, click on "Add..." to search for Stripe and select it.
- Name your integration.
- Sign in with your Stripe credentials in the new window that opens.
Info on Stripe Restricted API Key - Fill in all the required fields.
- Give authorization to the chosen account,
- or enter the Restricted API Key.
- After authentication, you are good to go and start importing your tables.
- Choose from which point onwards in time to import your data.
- Select the tables you need and click import. You can start accessing the tables once the status is “Ready”.
Note: You can always import and reimport other tables as well, or delete them.