Page cover

Welcome to dLocal Go API

With dLocal Go API, you can get up and running with keys and integration tools. Manage a powerful payment solution with a range of capabilities, including: payments, refunds and notifications.

Not sure where to start? See our guide on Getting started with dLocal Go.

You can explore a sample integration project by visiting the repository at https://bitbucket.org/directopago/integration-sample/arrow-up-right. Feel free to use and contribute to the project to enhance your understanding of the integration process.

Getting started

Every call to the dLocal Go API must include an API secret key. We offer two environments for developers to integrate our payment processing services: Sandbox and Live. Upon creating a dLocal Go account or a Testing account, we generate two distinct pairs of API keys—one for client-side use (publishable key) and one for server-side use (secret key). Each environment has its own unique set of keys. To process real transactions using live-mode keys, you need to have an activated live account.

Testing environment

The Testing environment is a sandbox designed for developers to test their integration with our payment processing services without using real money or impacting actual customer transactions. In this environment, developers can create test accounts, simulate transactions, and test their code in a safe, controlled setting.

Live environment

The Live environment is the production setting where real transactions are processed and actual money is involved. After developers have tested their integration in the Sandbox environment, they can switch to the Live environment to start processing real transactions.

circle-exclamation

Step 1. Create a testing account

Get started with dLocal Go by creating a free testing accountarrow-up-right. Your testing account gives you access to the testing environmentarrow-up-right.

circle-info

If you want to create a testing account, please go to this link: https://dashboard-sbx.dlocalgo.com/signuparrow-up-right

chevron-rightHow to access to your Testing keyshashtag
  1. Click on Integrations.

  2. Select API Integration.

  3. A dialog box labeled "Install dLocal Go on your site" will appear.

  4. In this box, you will find your private Testing keys:

    1. Sandbox API Key

    2. Sandbox Secret Key

    You can easily copy and paste these keys by clicking on the copy icon.

Step 2. Try the testing environment

To verify that your testing account is working correctly, let's create a payment as an example:

Testing card

To complete a payment, you can use a testing credit card.

Number: 4111 1111 1111 1111 Expiration date: Every date after the present date CVV: any CVV

Declined Payment Testing Card:

To test declined credit card payments, use the following Mastercard test card to simulate unsuccessful payment scenarios and validate your system's behavior:

Number: 5555 5555 5555 4444 Expiration date: Every date after the present date CVV: any CVV

Step 3. Create a live account

You can now create a live account on dLocal Go. Your live account grants you access to the live environmentarrow-up-right.

circle-info

To create a live account at dLocal Go, please visit the following link: https://dashboard.dlocalgo.com/signuparrow-up-right

chevron-rightHow to access to your Live Integration keyshashtag
  1. Click on Integrations.

  2. Select API Integration.

  3. A dialog box labeled "Install dLocal Go on your site" will appear

  4. In this box, you will find your private Integration keys:

    1. API Key

    2. Secret Key

    You can easily copy and paste these keys by clicking on the copy icon.

Step 4. Get ready to accept live payments

To begin accepting live payments with your live account, you need to first configure your account.

triangle-exclamation
circle-info

You must configure your accepted payment methods on your live account dashboard; otherwise, the configurations will remain at their default settings.

Is this documentation clear enough? If you don't find what you need, please provide feedback herearrow-up-right.

Last updated

Was this helpful?