> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fluz.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Braintree

> Use your own Braintree merchant account to collect payments from your customers through your Fluz app.

Use your own Braintree merchant account to collect payments from your customers through your Fluz app. You keep your existing Braintree account. We add your MID to Fluz and assign it as the payment gateway on your app.

Adding a merchant account is not self-service. Send us the details below and the Fluz Platform team does the setup.

## How it works

**1. Send us your details**

Fill out the request form. Until the form is available, email [platforms@fluz.app](mailto:platforms@fluz.app?subject=Braintree%20MID%20request) with everything listed under [What to include](#what-to-include).

**2. We board your MID**

We reply with a secure way to share your API keys. Then we set up your Braintree account as a payment gateway merchant account in Fluz.

**3. We assign it to your app**

We assign the MID as the payment gateway on your application and email you when it is ready. This takes 2–5 business days.

## What to include

### Your app

| Detail | Notes |
| :- | :- |
| **Application name or application ID** | From the Developers section of your Fluz dashboard |
| **Environment** | Staging, production, or both. For both, send sandbox credentials for staging and live credentials for production |

### Your Braintree account

| Detail | Notes |
| :- | :- |
| **Legal business name** | The business name on your Braintree account |
| **Merchant ID** | Your Braintree merchant ID, shown with your API keys in the Braintree Control Panel |
| **Merchant account ID** | The merchant account you want to process through |
| **MID** | The merchant ID assigned to your account by your processor |
| **MCC** | The four-digit merchant category code on your account |
| **Descriptor** | The text that appears on your customers' card statements |

### Optional

| Detail | Notes |
| :- | :- |
| **Customer service phone number** | The number on your merchant account |
| **Customer service email** | The email on your merchant account |
| **Business address** | The address on your merchant account |

## API credentials

We also need your API keys to connect your MID. Have them ready, but don't include them in the form or your email.

| Credential | Notes |
| :- | :- |
| **API keys** | Your public key and private key from the Braintree Control Panel |

> [!WARNING]
>
> **Never email your API keys.** We reply to your request with a secure way to share them.

> [!WARNING]
>
> **Fill in Marketed URLs before you send the request.** List every website or app where you offer Fluz services in the **Marketed URLs** section of your app's settings, on both your staging and production apps. We can't set up a MID for an app that leaves it blank. See [Collect payments from your customers](https://docs.fluz.app/build-a-platform.md#collect-payments-from-your-customers).

> [card] [Email platforms@fluz.app](mailto:platforms@fluz.app?subject=Braintree%20MID%20request)
>
> Use the subject line "Braintree MID request" and include the details above. Leave out your API keys.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.