Connecting Braintree to ChartMogul

You must be an Admin both in Braintree and ChartMogul to complete the following steps.

Adding a data source

  1. Click the data platform icon on the left menu to navigate to the Data platform tab. Alternatively, you can click the link mentioned below to directly move to the data platform tab -
  2. Add a data source by clicking Add a data source button in the Data Sources sectionScreenshot_2021-06-16_at_11.26.26.png
  3. In the popup, select Braintree.
  4. Once you select your data source type, enter a name for your data source and click Next.Screenshot_2021-06-16_at_11.36.26.png

Connecting Braintree 

For added security, we recommend following these steps to create a read-only API key in your Braintree account.
  1. Go to your Braintree Control Panel and from Account in the top menu, select API Keys.
  2. Select your Environment in ChartMogul (either Sandbox or Production), enter your Public and Private API keys and your Merchant ID into the relevant fields in your ChartMogul account.
  3. Click on Save. 


Add a webhook to enable real-time reporting

It is not possible to create a new webhook in a read-only Braintree account. You will need to sign in to your full access Braintree account to create the webhook.
  1. Go to your Braintree Control Panel and from Settings in the top menu, select Webhooks.
  2. Click New Webhook, then paste your ChartMogul webhook URL in the input field.
  3. Select the following options and then click Save.


Import your historical data

Click Import Data. This will start your data import and connect the Braintree webhook to your ChartMogul account.

The import can take some time if you have many customers. You'll receive an email when it's complete. Once complete, you’ll see your Braintree data in the ChartMogul dashboard. ChartMogul will update automatically with any new activity from your Braintree account using the webhook after the import is complete. All webhooks received while the import is in progress will be queued up and processed after the import has been completed. 

Was this article helpful?