Skip to Content
Connections · Acquirers

dLocal

Connect your dLocal account to Altruon to take cards, UPI in India and Pix Automático in Brazil, with the four credentials it needs.

Connect your dLocal account to take card payments, UPI in India and Pix Automático in Brazil through Altruon, on your own dLocal contract.

At a glance
dLocal
Payment methods
Cards (credit and debit), UPI (India), Pix Automático (Brazil)
What you need
XLogin, XTransKey, SecretKey and SmartfieldApiKey
Webhook
No webhook step in this setup.
Trials
Cards, Pix and UPI. See Trials.
Good to know
dLocal has separate sandbox and production credentials. Use the set that matches the Altruon environment.

Before you start

  • Altruon backoffice accessYou can sign in to the environment you are connecting. See Sandbox and environments.
  • A dLocal accountYour own account and contract, with access to Settings > Integration in the dLocal backoffice.
  • Raw card data allowed, if you use the Altruon VaultWith the Altruon Vault, Altruon sends the card number in the request to dLocal. The API credentials you connect must be allowed to send raw card data. This applies to card payments. If you are not sure, confirm with your point of contact at dLocal.
  • Sandbox or productiondLocal has one set of credentials for each. Decide which Altruon environment you are connecting.

Get your dLocal credentials

  1. In the dLocal backoffice, go to Settings > Integration.
  2. Open Sandbox credentials or Production credentials, depending on the environment you are connecting.
  3. Copy the four values.
In dLocalIn Altruon
x_loginXLogin
x_trans_keyXTransKey
Secret keySecretKey
Smartfields API KeySmartfieldApiKey
The Integration tab of the dLocal settings, with the Sandbox credentials card listing x_login, x_trans_key, a hidden Secret key and the Smartfields API Key
dLocal: Settings > Integration, sandbox credentials

Connect dLocal in Altruon

  1. Sign in to Altruon and go to Settings > Payment Gateways.
  2. Click + Add Integration and select dLocal.
  3. Enter XLogin, XTransKey, SecretKey and SmartfieldApiKey.
  4. Click Add Integration.

If the connection succeeds, you see a confirmation message.

The Add Integration dialog in Altruon with dlocal selected as the payment gateway and empty XLogin, XTransKey, SecretKey and SmartfieldApiKey fields
Altruon: Add Integration for dLocal

Add a routing entry

A routing entry sends one payment method in one currency to dLocal.

  1. Go to Settings > Payment Gateways and open the Routing tab.
  2. Click + Add entry.
  3. Select the Payment Method (card, UPI or Pix Automático), the Currency, and dLocal as the Payment Gateway.
  4. Click Add Entry.

Add one entry for each method and currency you process with dLocal.

The Routing tab of the Payment gateways page in Altruon, with two entries: BRL with the pix method on dlocal, and INR with the upi method on dlocal
Altruon: routing entries for Pix in BRL and UPI in INR

Test the connection

  1. Open Settings > Payment Gateways. dLocal is listed as Active.
  2. With a billing platform connected, take a payment in sandbox with a method you routed. See Testing.
  3. Check the result: the transaction is recorded in Altruon with the dLocal transaction ID, the subscription exists on your billing platform, and its invoice is marked paid.

Notes and limits

  • UPI. For India. Recurring UPI mandates are supported.
  • Pix Automático. For Brazil. The routing table lists it as pix, and UPI as upi.
  • Pre-debit notices. A pre-debit notice is sent before each Pix Automático and UPI debit.
  • Trials. A card trial saves the card with a zero-amount setup. A Pix or UPI trial collects the shopper's consent. Nothing is charged until the trial ends.
  • Webhook. This setup has no webhook step in the dLocal backoffice.

Next steps