> ## Documentation Index
> Fetch the complete documentation index at: https://docs.doglytdc.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Listar productos

> Retorna los productos de tu cuenta (hasta 200), del más nuevo al más antiguo.

#### Alcance

```bash theme={null}
read products
```

## Qué hace

Retorna los productos de tu cuenta (hasta 200), del más nuevo al más antiguo.

## Casos de uso

* Armar una vitrina o catálogo
* Sincronizar precios con tu sistema
* Encontrar el `id` para crear un enlace de pago

## Respuesta

**data** `object[]`

**campos**

**id** `string\<uuid\>`

Identificador único.

**name** `string`

**description** `string`

**price\_cents** `integer`

Precio en centavos.

**currency** `string`

Moneda: `BRL` o `USD`.

**billing\_type** `string`

**billing\_interval** `string`

**status** `string`

Estado actual.

**created\_at** `string\<date-time\>`

Cuándo fue creado.

## Errores

| Estado | Descripción |
| - | - |
| `401` | Clave inválida o revocada. |
| `403` | Faltan alcances (`insufficient_scope`). |
| `429` | Límite de solicitudes (`rate_limited`). |

```bash cURL theme={null}
curl --request GET \
  --url https://ucsyxzpdbnuyehizezvb.supabase.co/functions/v1/doglytdc-pay/v1/products \
  -u "$DPAY_CLIENT_ID:$DPAY_CLIENT_SECRET"
```

```json 200 theme={null}
{
  "data": [
    {
      "id": "8f0c2a8e-1b7d-4a55-9a3e-1c2d3e4f5a6b",
      "name": "Curso de ejemplo",
      "description": "Acceso vitalicio",
      "price_cents": 1990,
      "currency": "BRL",
      "billing_type": "one_time",
      "billing_interval": null,
      "status": "active",
      "created_at": "2026-11-06T18:00:00Z"
    }
  ]
}
```

```json 401 theme={null}
{ "error": "unauthorized", "message": "Chave de API inválida." }
```

```json 403 theme={null}
{ "error": "insufficient_scope", "message": "Esta chave precisa dos escopos: read, products." }
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.