Skip to main content
Unlisted page
This page is unlisted. Search engines will not index it, and only users having a direct link can access it.

Braintree

This documentation for the Braintree integration describes the technical capabilities of this integration, including authorization, scopes/permissions, and utilized endpoints. For more information on how to integrate Braintree, visit our connection instructions.

Version​

Base URL​

The base URL used for all Braintree API endpoints contains the the unique identifier for your entire gateway account.:
https://api.braintreegateway.com/merchants/merchant_id/

Authentication & Authorization​

The DataGrail Braintree integration connects using basic authentication which requires a Public Key and Private Key.

Sensitive Credentials
Publicly exposing your API credentials can allow unauthorized access to Braintree API endpoints by a third party. DataGrail stores your API credentials encrypted and protected.

Limits​

Limits in Braintree are calculated using the leaky bucket algorithm. All requests that are made after rate limits have been exceeded are throttled and an HTTP 429 Too Many Requests error is returned. Requests succeed again after enough requests have emptied out of the bucket.

  • DataGrail supports requests throttling to stay within 70-80% of specified service rate limits.
  • DataGrail processes API responses with HTTP 429 status to interrupt requests, waiting and retrying (using an exponential backoff strategy).

Capabilities​

Access​

DataGrail's Braintree integration provides Synchronous Access capabilities for the following supported identifier categories: Email and Service ID.

Data Interactions​

For Access requests, DataGrail will take the following actions:

  1. Search for a Customers by the Data Subject identifiers.
  2. If a match is found, save the extracted customer data, and then extract the following objects related to the customer:
Match Found
  • Addresses
  • Credit Cards
  • Disputes
  • Transaction Subscriptions
  • Transaction Line Items
  1. Save all extracted objects in separate collections.

Endpoints Utilized​

MethodEndpointPurposeDocs
GET/customers/customer_idFind a Customer by ID
POST/customers/advanced_searchSearch for Customers by email
POST/disputes/advanced_searchSearch for Disputes by the Customer's ID
POST/transactions/advanced_searchSearch for Transactions by the Customer's ID

Deletion​

DataGrail's Braintree integration provides Synchronous Deletion capabilities for the following supported identifier categories: Email and Service ID.

Data Interactions​

For Deletion requests, DataGrail will take the following actions:

  1. Identify Data Subject PII by executing the steps outlined in Access.
  2. Delete selected records.

Endpoints Utilized​


 

Need help?
If you have any questions, please reach out to your dedicated Account Manager or contact us at support@datagrail.io.

Disclaimer: The information contained in this message does not constitute as legal advice. We would advise seeking professional counsel before acting on or interpreting any material.