Skip to main content

Price not displaying correctly in Dashboard - Products

I was testing the API and found some strange behavior with values in minor units.

According to the documentation, the amount field should be sent in cents:

amount number
Price amount in minor units (e.g., cents). Must be ≥ 0.

So I send the value in cents, for example 2120000 to represent $21,200. However, in the dashboard it is displayed as:

ARS 2,120,000.00

In addition, the API response confirms that the value is being saved correctly as minor units:

"prices": [
  {
    "id": "XXXXX",
    "currency": "ARS",
    "isDefault": true,
    "createdAt": "2025-11-27T19:42:44.329Z",
    "updatedAt": "2025-11-27T19:42:44.329Z",
    "amount": 2120000,
    "amountInCents": 2120000,
    "amountInUnits": 21200
  }
]

That is, amountInUnits = 21200, which is correct, but the dashboard interprets amount as if it were already in units, and therefore displays an amount 100 times greater.

Could it be that the dashboard is formatting the value in units instead of minor units?

Status: Rejected3 comments

Log in to comment and vote

Comments3

  • Nahuel Candia

    Team•

    Nov 27, 2025

    Ema, gracias por el reporte, lo revisamos cuanto antes!

    • Nahuel Candia

      Team•

      Nov 27, 2025

      No pudimos encontrar esta incidencia, podrias compartirnos un screenshot / URL de donde lo encontraste y el CURL del request que enviaste?

      • Emanuel Canova

        •

        Nov 28, 2025

        Nahuel como estas? Gracias por esta atento, voy a replicar todo y comentarlo mejor