---
title: Braintree
slug: payments/braintree
description: Learn how to configure and create Braintree custom fields and pull their information into Salesforce with this detailed document. Discover how to add custom fields in Salesforce and name them as the "API Name" in Braintree. Explore the process of adding c
docTags: 
createdAt: 2022-06-10T11:21:22.000Z
---

You can configure and create Braintree custom fields by following this article: [https://developer.paypal.com/braintree/articles/control-panel/custom-fields](https://developer.paypal.com/braintree/articles/control-panel/custom-fields)

In order for us to pull in this custom fields information, you will need to add custom fields in Salesforce for our corresponding object. The field must be named as the "API Name" in Braintree + prefixed with 'cf\_'. Depending on your Salesforce configuration, you may also need to add these new custom fields to a permission set so we can read and update the values in Salesforce.

We currently support custom fields for customers and payments. The example below will demonstrate how to set this up for a customer record, but the payment object is the same.

Here is a screenshot of a custom field creation in Braintree.

::Image[]{src="https://api.archbee.com/api/optimize/amOMwpmEgToJSqhaSTxXr/MQSqrzUKHeWLxJtI6A84B_create-custom-field-in-braintree.png" size="50" width="578" height="767" position="flex-start" showCaption="false"}

Here is a screenshot of a customer in Braintree

::Image[]{src="https://api.archbee.com/api/optimize/amOMwpmEgToJSqhaSTxXr/tpmDwQqMZXpgILf7KZZ6y_braintree-customer-with-one-custom-field.png" size="50" width="507" height="526" position="flex-start" showCaption="false"}

To pull this information into Salesforce, you will need to add a custom field to the BWP\_Customer object. The Field Names for these will need to be named "cf\_other\_email".  When creating the fields, the DataType should be 'Text' with a length of 255 characters.

### Limitations

API name must be less than or equal to 255 characters and can't contain any spaces or capital letters.
