Skip to content
Status

Creating a Braintree sandbox account

This guide walks through creating a Braintree sandbox account so you can set up and verify your connection before going live.

  1. Go to braintreepayments.com/sandbox and sign up for a sandbox account.

    Braintree sandbox sign-up form

  2. Log in to the sandbox Control Panel at sandbox.braintreegateway.com/login. Your Merchant ID, Public Key and Private Key are on the home page, under Sandbox Keys & Configuration.

    Braintree sandbox home page with the Merchant ID, Public Key and Private Key under Sandbox Keys & Configuration

  3. To manage your keys, select the gear icon in the top-right corner, then select API.

    Braintree gear menu open with API, Business and other settings

  4. If no key is listed under API Keys, select Generate New API Key. To see a key’s Private Key, select View in the Private Key column.

    Braintree Sandbox API Keys page with a public key, its View link, and the Generate New API Key button

  5. To find your Merchant ID again later, select the gear icon, then select Business. It is shown at the top of the page.

    Braintree Business page showing the Merchant ID and the merchant accounts list

    See Braintree’s Important gateway credentials guide for more on where these values are. Your sandbox has its own Merchant ID and keys, separate from your live account.

  6. Enter your Merchant ID, Public Key and Private Key into the Braintree connection screen, as described in Connecting Braintree.

These steps follow Braintree’s own pages and screens as of 23 November 2026. If they no longer match, Braintree’s linked pages are the reference.

Was this page helpful?