Skip to main content

Braintree

How to connect Braintree to your Baremetrics account

Written by Baremetrics

Create a Baremetrics API access point

  1. Log in as admin to your Braintree account
    ​

  2. Go to Settings > Users and Roles > Manage Roles > New
    ​

  3. Name the role Baremetrics
    ​

    We need the following permissions.

    • Download Transactions with Masked Payment Data

    • Download Vault Records with Masked Payment Data

    • Download Subscription Records

    • Manage Subscriptions (Add/Edit/Delete)

    • Manage Webhooks (Add/Edit/Delete)

    • Manage Customers and Payment Methods (Add/Edit/Delete)

  4. Click "Create Role"
    ​

  5. Go to Settings > Users and roles > New user
    ​

  6. Give the user API Access, assign the new “Baremetrics” role, and also access to the merchant accounts which you want to be included in Baremetrics (most likely all of them).
    ​

  7. Now log out of Braintree and log back in as this new Baremetrics user.
    ​

  8. Go to Account > My User > API Keys, Tokenization Keys, Encryption Keys
    ​
    You will need three things to setup Baremetrics with Braintree:

    • Public Key

    • Private Key

    • Merchant ID

Setup Webhooks

  1. Head to Settings > Webhooks
    ​

  2. Click on Create new Webhook.
    ​

  3. Set up webhooks as follows with the custom URL you see during setup in Baremetrics as the destination.
    ​
    The URL will look something like https://ABC:123@webhooks.baremetrics.com/braintree


    ​

Did this answer your question?