Set up an Ecommerce API token

North America—United States and Canada

You can create public and private keys or Ecommerce API tokens in either the production or sandbox environment. API tokens secure the communication between an app integration and your merchant account. You can use an API token to integrate online payments with your ecommerce website. You can create only one Ecommerce API token per merchant account, but you can use the same token for multiple solutions.

To create public and private keys (API tokens), you first need to set up two-factor authentication on your Merchant Dashboard and allow the Global Developer Dashboard to use your location information as a fraud prevention method.

Step 1: Complete the initial setup on the test Merchant Dashboard

  1. Log in to your Global Developer Dashboard.
  2. Click the Sandbox toggle icon to go to either the sandbox or the production environment.
  3. From the left navigation menu, click Test Merchants. The Test Merchants page lists the default test merchant account.
  4. Click the Launch Dashboard icon. The Test Merchant Dashboard appears.
  5. From the top-right menu, click Settings. The Settings side panel appears.
  6. Click View all settings. The Settings page appears.
  7. In the Ecommerce section, click Ecommerce API Tokens.
2164

Merchant Dashboard > Setup > Ecommerce > Ecommerce API Tokens

The Two Factor Authentication Required pop-up appears.

  1. Complete the steps to enable two-factor authentication.
  2. From the top-right menu, click Settings > View all settings. The Settings page appears.
  3. In the Ecommerce section, click Ecommerce API Tokens. A Welcome to Clover API Tokens pop-up appears.
Welcome to Clover API Tokens pop-up

Welcome to Clover API Tokens pop-up

  1. Review the information and click Get Started. The URL wants to Know your Location pop-up appears.
  2. Click Allow to allow the dashboard to access your location. The Ecommerce API Tokens page appears. You can now generate Ecommerce API tokens for different integration types.

Step 2: Generate Ecommerce API tokens for integration types

If you have previously generated an API token for an integration type, the Ecommerce API Tokens page displays any existing API tokens. To create a new token, you have to delete the existing token. If you have not created any API tokens, the Tokens section on the page is blank.

  1. Complete the initial setup steps on the test Merchant Dashboard.
  2. On the Ecommerce API Tokens page, click Create New Token.
1294

Ecommerce API Tokens > Create new token

The Create new token pop-up appears.

812

Create new token pop-up

  1. From the Integration type drop-down list, select one of the following:
  1. Click Create Token. The API tokens page displays the public and private keys (tokens) you need to use when entering the Clover Payment configuration.
2512

Sample: Ecommerce API public and private token for iframe integration

Sample: Ecommerce API private token and merchant ID for hosted checkout integration

Sample: Ecommerce API private token and merchant ID for hosted checkout integration

Sample: Ecommerce API public and private token for API integration

Sample: Ecommerce API public and private token for API integration


  1. Copy the public and private tokens and paste them into the Adobe Commerce Configuration page. See Configure the Clover Payment Extension.