# Braintree

{% hint style="info" %}
The content of this documentation is under revision and may change. We appreciate your understanding as we work to improve it.
{% endhint %}

**Braintree** processes payments using Braintree Payments.

## **Parameters**

Take a look at the configuration options for the component. Parameters supported by [Double Braces expressions](https://docs.digibee.com/documentation/connectors-and-triggers/double-braces/overview) are marked with `(DB)`.

### **General tab**

<table data-full-width="true"><thead><tr><th>Parameter</th><th>Description</th><th>Default value</th><th>Data type</th></tr></thead><tbody><tr><td><strong>Dynamic Account</strong></td><td>When active, the connector will use the account dynamically. Otherwise, it will use the account statically.</td><td>False</td><td>Boolean</td></tr><tr><td><strong>Account Name</strong> <code>(DB)</code></td><td>The name of the dynamic account used by the connector. This account must have been previously configured in a <a href="../tools/store-account"><strong>Store Account</strong></a> connector in the pipeline for this process to take effect. It is only available if the <strong>Dynamic Account</strong> parameter is active.</td><td>N/A</td><td>String</td></tr><tr><td><strong>Account</strong></td><td>The account used by the connector. It is only available if the <strong>Dynamic Account</strong> parameter is inactive.</td><td>N/A</td><td>Account</td></tr><tr><td><strong>API Name</strong></td><td>The operation to perform.</td><td>N/A</td><td>String</td></tr><tr><td><strong>Method Name</strong></td><td>The sub-operation to be used for the selected operation.</td><td>N/A</td><td>String</td></tr><tr><td><strong>Fail On Error</strong></td><td>If the option is activated, the pipeline's execution with an error will be interrupted. Otherwise, the pipeline execution proceeds, but the result will show a false value for the <code>"success"</code> property.</td><td>False</td><td>Boolean</td></tr></tbody></table>

### **Optional tab**

<table data-full-width="true"><thead><tr><th>Parameter</th><th>Description</th><th>Default value</th><th>Data type</th></tr></thead><tbody><tr><td><strong>Environment</strong> <code>(DB)</code></td><td>The environment. Either SANDBOX or PRODUCTION.</td><td>N/A</td><td>String</td></tr><tr><td><strong>In Body</strong> <code>(DB)</code></td><td>The name of a parameter to be passed in the <strong>In Body</strong> exchange.</td><td>N/A</td><td>String</td></tr><tr><td><strong>Merchant Id <code>DB</code></strong></td><td>The merchant ID provided by Braintree.</td><td>N/A</td><td>String</td></tr><tr><td><strong>Http Read Timeout</strong></td><td>The read timeout for HTTP calls.</td><td>0</td><td>Integer</td></tr><tr><td><strong>Http Log Level</strong></td><td>The <a href="https://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html">logging level</a> for HTTP calls.</td><td>N/A</td><td>String</td></tr><tr><td><strong>Http Log Name</strong> <code>(DB)</code></td><td>The log category used to log HTTP calls.</td><td>Braintree</td><td>String</td></tr><tr><td><strong>Log Handler Enabled</strong></td><td>Determines whether the BraintreeLogHandler should be activated. It may be desirable to set this option to ‘false’ if there is an existing JUL - SLF4J logger bridge in the classpath. This option can also be configured globally for the BraintreeComponent.</td><td>True</td><td>Boolean</td></tr></tbody></table>

### **Documentation tab**

<table data-full-width="true"><thead><tr><th>Parameter</th><th>Description</th><th>Default value</th><th>Data type</th></tr></thead><tbody><tr><td><strong>Documentation</strong></td><td>Section for documenting any necessary information about the connector configuration and business rules.</td><td>N/A</td><td>String</td></tr></tbody></table>
