Case studies

How to fix currency rejections when you process payments with dLocal in Colombia and South America

LATAM · Colombia · · 14 min read

Many online businesses let customers choose their currency. When those businesses process payments locally in Latin America with dLocal, this can fail completely. In the case behind this article, dLocal rejected every currency that the checkout offered to customers in Colombia. This case study explains why it happens, what dLocal's documentation says, and what online businesses can do about it.

Region
LATAM · Colombia · South America
Topics
dLocal, Multi-currency, Local acquiring, FX
My role
Payment investigation
Status
Open: investigation ongoing

New to dLocal? Start with my step-by-step guide to a dLocal integration, which explains every API call in this article from zero.

Summary

  • dLocal processes payments in the local currency of each country. For Colombia, its documentation lists one currency: the Colombian peso (COP).
  • If your checkout sends dLocal the currency that the customer selected, for example EUR or GBP, dLocal can refuse the request before any bank sees it. The error is 5004: "Currency not allowed for this country."
  • This is not a bank decline. It is a configuration problem, so it can be fixed for all payments at once.
  • The fix starts by separating three currencies: the currency you show, the currency you charge and the currency you receive.
  • Two related checks: send COP amounts as whole numbers, and always send the customer's document number, which is required in Colombia.

The example: a language school with a currency selector

In this example, an online language school sells course packages to students in many countries. The website has a currency selector: students can see prices in USD, EUR, GBP, MXN or BRL. For students in Latin America, the school uses dLocal to accept local cards and local payment methods.

A student in Bogotá selects EUR and pays with a Colombian card. The website sends the payment to dLocal with the country CO and the currency EUR, and dLocal refuses it. Whatever currency the student selects, the result is the same. In the real case behind this article, this happened with every currency that the checkout offered.

To understand why, it is useful to look at how dLocal works, and how it differs from a global payment provider.

Why dLocal works with local currencies

dLocal is a payment provider for emerging markets. Its model is local processing: the customer pays in the local currency with local payment methods, dLocal collects the money in that country, converts it, and pays the business in the currency that the business chooses, for example USD, EUR or GBP.

Local processing has a clear advantage in Latin America. Many local cards are not enabled for international payments, and payments processed across borders are declined more often. Rapyd, another payment provider, reports that approval rates for local cards can rise from 20–45% with offshore processing to 80% or more with local processing. The exact numbers depend on the market and the business, but the direction is consistent across the industry.

The consequence is simple: local processing means paying in the local currency. In Colombia, local cards, PSE bank transfers, the Nequi wallet and Efecty cash payments all work in Colombian pesos.

This is the core of the problem. A checkout that lets the customer choose the currency is built on a different model.

Three currencies that are often mixed up

Every international payment involves three currencies. In many checkouts they are the same, so the system stores only one. With local processing, they must be separate.

One payment, three currencies (example)
  1. 1 · Display currency EUR What the customer sees. The customer chooses it.
  2. 2 · Processing currency COP What is sent to dLocal and charged. The country decides it.
  3. 3 · Settlement currency USD What the business receives. The contract decides it.

The display currency (also called the presentment currency) can be anything you want to show. The processing currency must follow the rules of the country: COP for Colombia, or USD only if dLocal has made it available. The settlement currency is agreed in your contract with dLocal.

If the system has only one currency field, it sends the display currency to dLocal. This is what happened in the example. The next section shows the rules that dLocal documents.

What dLocal's documentation says

The following points come from dLocal's official API documentation. Together, they explain the rejections.

dLocal: currency rules for Colombia
The currency field
A three-letter ISO 4217 code in capital letters, for example COP
Currency for Colombia
COP, with 0 decimals in the amount
Customer document in Colombia
Required: CC (cédula de ciudadanía) or NIT, 6 to 11 digits
Charging the customer in USD
Possible with the field currency_to_charge = USD, but only where dLocal makes it available. Example: debit cards in Argentina
Error when the currency is not accepted
HTTP 400, code 5004: "Currency not allowed for this country."
Exchange rates from dLocal
An endpoint that returns rates only from USD to a local currency

With these rules in mind, it is possible to diagnose the problem step by step.

How to diagnose the problem: five checks

When payments to a market fail, I use the same five checks, in this order. The first check decides who must fix the problem. The other four find the exact cause.

Check 1 Is it a refused request or a declined payment?

This is the first thing I check, because the two need different fixes. dLocal returns two kinds of failure. An API error, with an HTTP 400 status and a code in the 5000 range, means that dLocal refused the request before it reached a bank. A payment with the status REJECTED and a code in the 300 range means that the request was valid, but the bank, the card network or a risk check declined it.

Error 5004, "Currency not allowed for this country", is in the first group. It is a configuration problem, not a customer problem. That is useful: when you fix the configuration, you fix it for every payment at once.

Check 2 Is the country and currency combination allowed?

Log the country and currency of every request, and compare them with dLocal's country reference. For Colombia, the documented currency is COP. If you want to use USD, ask your dLocal account manager whether USD is enabled for Colombia on your account. Do not assume that a currency that works in one country works in another.

Check 3 Is the amount in the right format?

dLocal's country reference lists 0 decimals for COP. A price converted from EUR 49.99 can produce an amount such as 228,431.57 COP. Round converted amounts to whole pesos before you send them, and apply the same rule to Chile (CLP) and Paraguay (PYG), which also use 0 decimals.

Check 4 Does the customer have a valid document number?

In Colombia, dLocal requires the customer's document: a CC or a NIT with 6 to 11 digits. A missing document can produce error 5001 ("Missing parameter"), and an invalid one can produce status code 342 ("Invalid document"). This is not a currency problem, but it often appears at the same time, so check it in the same review. Customers who are foreign residents often have a cédula de extranjería (CE). Other providers in Colombia accept this document, so ask dLocal how to handle it.

Check 5 Does the payment method support the currency?

Local payment methods in Colombia work in COP only. dLocal's examples for PSE (bank transfer), Nequi (wallet) and Efecty (cash) all use COP. If a payment method is not available for a combination, dLocal can return error 5010 ("Method not available").

When these checks show a currency problem, there are five ways to solve it. Most businesses combine two or three of them.

How to solve it: five options

Option 1 Convert to the local currency at checkout

This is the most common solution. Keep the currency selector for browsing. When the customer pays with a Colombian card or a local payment method, convert the price to COP, show the final amount clearly ("You will pay COP 228,432"), and send COP to dLocal.

Two details matter. First, the exchange rate: dLocal's exchange rate endpoint only converts from USD to a local currency, so a price in EUR needs another rate source, or a base price in USD. Second, keep a record of the original price, the rate and the COP amount for each order. You will need them for refunds and accounting.

If you sell a lot in one market, you can go one step further.

Option 2 Set prices in the local currency

For important markets, create a price list in COP, with local price points such as COP 189,900 instead of an exact conversion. Customers see a familiar price and no conversion surprise. The trade-off is the exchange rate risk. dLocal Go explains it simply: when a price is set in USD, the customer carries the conversion cost; when it is set in the local currency, the business does.

Some businesses prefer to keep prices in USD. That is possible in some cases.

Option 3 Charge in USD where it is allowed

dLocal has a field, currency_to_charge, that charges the customer in USD. The documentation says to check availability by country, and the documented example is debit cards in Argentina. dLocal's Colombia page lists only COP, so confirm with your account manager before you design around this option. Also remember that the customer's bank converts the amount and may add its own fees.

Some customers really need to pay in a foreign currency. For them, routing is the answer.

Option 4 Route by currency and card origin

Build a simple capability table: for each provider, country, payment method and currency, is the combination allowed? Before sending a payment, check the table. A Colombian card goes to local processing in COP. A customer who wants to pay in EUR with a European card goes to a global provider that supports EUR. The first six to eight digits of a card number (the BIN) tell you the country where the card was issued.

Whatever option you choose, the last one is always needed.

Option 5 Validate before you send, and monitor

Do not use the payment provider as your validator. Check the country, currency, amount format and document before you send the request. Track error 5004 as its own number, and create an alert when it rises. Test every combination of country, currency and payment method in dLocal's sandbox before you launch a market.

The five options compared
Option What the customer sees Who carries the exchange rate risk Effort
Convert to the local currency at checkout The final amount in COP before paying The business, from the moment of conversion Medium
Set prices in local currency A local price, for example COP 189,900 The business Medium (one price list per market)
Charge in USD where it is allowed A price in USD; the bank converts it The customer (and their bank's fees) Low, but depends on availability
Route by currency and card origin No change Depends on the route High (a second provider)
Validate before sending, and monitor No failed payments No change Low

These options all work with dLocal. To see whether the problem is specific to dLocal, it is useful to compare other providers.

How other providers handle currency in Colombia

The short answer: every provider checked for this article processes local payments in Colombia in COP. Some also accept USD.

Currencies for Colombia, as documented
Provider Currencies for Colombia
dLocal COP (USD charging only where dLocal makes it available)
EBANX COP
PayU Latam (through PaymentsOS) COP and USD; instalments only in COP
Wompi (Bancolombia) COP and USD
PPRO (local acquiring) COP

Global providers are also moving to local processing in Colombia. Nuvei, for example, started direct local acquiring in the country in 2024. The lesson is clear: changing provider does not remove the rule. It is a property of local processing in Colombia, not a limitation of one provider. The solution is in how your checkout handles currencies.

The same rule applies in the rest of South America, with a few differences.

The same rule in other South American markets

dLocal's country reference shows one processing currency per country, and a document requirement in all of them.

South America in dLocal's country reference
Country Currency Decimals Customer document Note
Argentina ARS 2 DNI, CUIT or CUIL USD possible for debit cards (currency_to_charge)
Bolivia BOB 2 CI or NIT
Brazil BRL 2 CPF or CNPJ Full CPF validation
Chile CLP 0 CI or RUT Whole numbers only
Colombia COP 0 CC or NIT Whole numbers only
Ecuador USD 2 CI USD is the official currency
Paraguay PYG 0 CI Whole numbers only
Peru PEN 2 DNI or RUC
Uruguay UYU 2 CI or RUT

Three patterns stand out:

  • Each country has one processing currency. Ecuador is the exception that proves the rule: its official currency is the US dollar.
  • Chile, Colombia and Paraguay use 0 decimals. A converter that always produces two decimals needs a rule per country.
  • Every country requires a customer document, each with its own format.

Looking ahead, a change in Colombia makes local currency even more important.

Looking ahead: Bre-B, Colombia's instant payment system

Colombia's central bank started the mass operation of Bre-B, its instant payment system, on 6 October 2025. In its first year, Bre-B reached 36.1 million clients and 1,796 million transactions. dLocal already lists Bre-B among its payment methods in Colombia.

Like Pix in Brazil, Bre-B confirms payments in seconds, and it works in COP. For a business that already processes in COP, adding Bre-B later is a small step. For a business whose checkout cannot handle COP, it is out of reach.

This brings the article back to its main point.

Conclusion and next steps

Your checkout can show many currencies. A payment request for a local market can use only the currencies that the market allows. Separate the currency you show from the currency you charge, and check every combination of country, currency and payment method before you send it.

For the real case, the next steps that I recommend are:

  1. Confirm with dLocal which currencies are enabled for the account in each country, including USD.
  2. Add a processing currency to the order model, separate from the display currency.
  3. Choose between option 1 (convert at checkout) and option 2 (local price lists) for the largest markets.
  4. Add validation and monitoring for error 5004 before the next market launch.

Frequently asked questions

What does dLocal error 5004 mean?

Error 5004 (HTTP 400) means "Currency not allowed for this country". dLocal refused the request because the currency you sent is not allowed for the country of the payment. The request did not reach a bank. Send the local currency of the country (COP for Colombia), or USD only if dLocal has made it available for that country and your account.

Which currency should I send to dLocal for payments in Colombia?

Send COP. dLocal's country reference lists COP as the currency for Colombia, with 0 decimals, so send the amount as a whole number of pesos.

Can I charge customers in Colombia in USD with dLocal?

dLocal has a field, currency_to_charge, that charges the customer in USD, but only where dLocal makes it available. The documented example is debit cards in Argentina. dLocal's Colombia page lists only COP, so confirm with your dLocal account manager before you build on it.

Is the customer's ID number required for payments in Colombia?

Yes. dLocal requires a document for Colombia: a CC (cédula de ciudadanía) or a NIT, with 6 to 11 digits. A missing document can cause error 5001, and an invalid one can cause status code 342.

Will a different payment provider solve the currency problem?

Usually not. Every provider checked for this article processes local payments in Colombia in COP; some also accept USD. The rule comes from local processing itself, so the solution is in how your checkout handles currencies.

Topics

  • dLocal
  • dLocal error 5004
  • Colombia
  • COP
  • South America
  • Presentment currency
  • Settlement currency
  • Local acquiring
  • PSE
  • Nequi
  • Bre-B

Do you process payments in Latin America with dLocal or another local provider, and do you see refused requests or low approval rates? I can help you find the cause.

Sources

  1. dLocal Docs — Create payment (currency and currency_to_charge)
  2. dLocal Docs — Payments HTTP errors (5001, 5004, 5010)
  3. dLocal Docs — Payment status codes (300 range, 342)
  4. dLocal Docs — Country reference
  5. dLocal Docs — Colombia (COP, PSE, Nequi, Efecty, Bre-B)
  6. dLocal Docs — Argentina (USD for debit cards)
  7. dLocal Docs — Get an exchange rate
  8. dLocal — Payins (local currency and settlement)
  9. dLocal Go Help Center — Exchange rates and who pays them
  10. EBANX Docs — Colombia country overview
  11. Nexio Docs — PayU Colombia/LATAM through PaymentsOS
  12. Yuno Docs — Wompi
  13. PPRO Developer Hub — Colombia local acquiring
  14. Finextra — Nuvei begins direct local acquiring in Colombia
  15. Rapyd — Why localising payments matters
  16. Rapyd — LATAM payments playbook (2026)
  17. Vanguardia — Bre-B after one year (October 2026)
  18. El Heraldo — Bre-B mass operation from 6 October 2025
← All case studies and guides