Braintree
This guide will help you to obtain your Braintree API credentials to ingest settlement and payment data from Braintree into your Payrails account.
Prerequisites
- A Braintree account and admin access.
Step-by-step instructions
We recommend that you create a limited access set of API keys for Payrails reporting.
Step 1: Log into Braintree production environment as an admin
Step 2: Create a new role
- Follow the instructions in the Braintree documentation to create a new role.
- Assign the following permissions to this new role under “Rights Granted“:
- Transactions
- Download Transactions with Masked Payment Data
- Reporting
- Create, Run, and Download Reports
- View Dashboard Graphs
- Read-only Access
- View Merchant Accounts
- View Payment Methods
- View Transactions
- View Verifications
- Download Files
- Statements
- View statements
- Search
- Search Transactions
- Search Verifications
Step 3: Create a new user, and generate api keys
- Follow the Braintree documentation to create a new user, with the following configuration:
- Enable API Access.
- Assign the role created in Step 2.
- Select all merchant accounts for which you would like to send data for.
- Log-in with this new user and store the following credentials:
- Public key
- Private key
Step 2: Share credentials with Payrails
- Share your API credentials in a secured way with Payrails. You can use your preferred secrets manager or vault tool like 1Password Shared Vaults, AWS Secrets Manager or GCP Secrets Manager.
- If a shared vault is not possible, you can also share credentials over PGP-encrypted file.
Updated about 20 hours ago