Skip to main content

Authentication Keys

To integrate the Third-Party Payments API, you must always keep in mind that there are authentication keys. These keys are how Wompi identifies you as a merchant when processing payments and, in general, interacting with our services. Below you will find a detailed explanation of the types of keys that exist.

Keep in mind

You must have previously completed the Third-Party Payments activation process

Locate the API keys

We have two types of keys which are used to provide security when making requests: API Key and Principal User ID.

  1. Log in to your main account in our merchant dashboard.
  2. Find and select the Development option in the main menu.
  3. Within Development, choose the Developers option.
  4. In the upper left, select Third-Party Payments.
  5. In this view, you will find the API Keys for the technical integration of 'Third-Party Payments'. These keys are unique to your business and are essential for making requests to our API.
Keep in mind

Until you have the Third-Party Payments product active, the option to view the keys will not be shown in the Developers section

API Keys Pagos a Terceros

Get the API Key

  1. Two-Factor Authentication: If you haven't yet configured two-factor authentication (2FA), you will be redirected to a setup process. Follow the instructions shown on the screen: API 2fa

  2. Reveal the key: Click on the icon next to the API Key to reveal the value, you will be asked for the second authentication factor. API Keys  Label

  3. Use the keys: The API Key and Principal User ID must be sent in the headers of all requests made to our API endpoints.

Example of headers:

user-principal-id: {ID_Usuario_Principal}
x-api-key: {API_Key}

Regenerate the API Key

You can also regenerate the API Key whenever you wish. In the Private Key Rotation section, click on the Regenerate merchant keys button.

Caution

Once the API Key is regenerated, you must wait two to three minutes before using it.

Regeneración API Key