Skip to content

Braintree

Description

Braintree is a full-stack payment platform by PayPal that supports credit cards, digital wallets, recurring billing, and more.

The Braintree activity enables secure integration with the Braintree Payment Gateway for performing various payment operations. It supports both transaction-related tasks (like creating payments, querying transactions) and data retrieval based on a time range or filters.

Use case:
In a financial reporting workflow, this activity can retrieve all successful transactions for the last 30 days. The results can then be summarized using Group By and uploaded to a finance dashboard or exported to Excel.

Input

Not Applicable

Output

Output TypeFormatDescription
DataJSONAPI response from Braintree with payment data

Configuration Fields

Field NameDescription
ConnectionAuthentication settings for Braintree API. Typically includes API key, client ID, or OAuth credentials.
Base URLBraintree API base endpoint. Example: https://api.sandbox.braintreegateway.com or https://api.braintreegateway.com.
OperationThe type of operation to perform. Example: CreateTransaction, SearchTransactions, GetCustomer.
QueryOptional parameters to refine the API request, such as status=settled, amount>100, etc.
VariablesKey-value inputs required for the operation (e.g., customerId, paymentMethodNonce, etc.).
Get Data forTime range for fetching transaction data (e.g., Today, Yesterday Days, Custom Range).
Start DateStart date for the custom date range, used when Get Data for is set to Custom Range. Example: 2025-01-01.
End DateEnd date for the custom date range. Example: 2025-01-31.

Sample Input

Not applicable

Sample Configuration

FieldValue
connection.idbraintree-auth
baseUrlhttps://api.sandbox.braintreegateway.com
operationSearchTransactions
querystatus=settled&amount>100
variables{ "merchantAccountId": "infoveave-main" }
getDataForToday

Sample Output

Transaction IDCustomer IDAmountStatusDate
txn_abc123cust_001150.00Settled2025-06-10
txn_xyz789cust_002220.00Settled2025-06-11

Output fields depend on the selected operation and the Braintree API’s response schema. Use ExtractFields or TransformFields downstream to shape the data.