Overview
To authenticate with Mercury, you need:- Environment — the Mercury API host your token belongs to (production or sandbox).
- API Token — a Mercury API token.
Prerequisites
- A Mercury account. To test, you can sign up for a sandbox account, which comes with dummy data.
Step 1: Choose your environment
Pick the environment where you create your API token:
Production and sandbox tokens are not interchangeable: a token created in production won’t work in the sandbox. See Using the Mercury Sandbox for Testing.
Step 2: Create an API token
- Sign in to Mercury (production or sandbox), click your organization name at the top left, then click All Settings.
- In the left navigation, under API, click Tokens, then click Create an API token.

- Enter a nickname and choose the permissions your integration needs (Read Only, Read and Write or Custom Scopes). Leave IP whitelist empty, then click Create token.

- Copy the token. It starts with
secret-token:and is only shown once.

Step 3: Enter your credentials in the Connect UI
- Open the form where you need to authenticate with Mercury.
- Select your Environment and enter your API Token, including the
secret-token:prefix. - Submit the form, and you should be successfully authenticated.
