Braintree Integration
In this article, we’ll integrate a Braintree data source with Y42.
Overview
Authentication
API keys is a way to authenticate an application accessing the API, without referencing an actual user. The app adds the key to each API request, and the API can use the key to identify the application and authorize the request. Follow the instructions within the Integration steps on Y42.
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
You can find the full list of API endoints for the Braintree API and the description for each item on the Braintree API documentation.
Updating your data
You have the option of scheduling 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.
Braintree Setup Guide:
Note: In order to connect Braintree with Y42, you will need to have a Braintree Account.
- On Integrate, click on "Add..." to search for Braintree and select it.
- Name your integration.
- In the Authorize window, begin by selecting from which point onwards in time you wish to import your data.
- Follow the link here, to generate your Private & Public Keys, as well as your Merchant ID.
- Click on Connect.
- 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.