> ## 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.

# List Products

> Returns the products in your account (up to 200), from newest to oldest.

#### Scope

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

## What it does

Returns the products in your account (up to 200), from newest to oldest.

## Use cases

* Build a storefront or catalog
* Sync prices with your system
* Find the `id` to create a payment link

## Response

**data** `object[]`

**fields**

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

Unique identifier.

**name** `string`

**description** `string`

**price\_cents** `integer`

Price in cents.

**currency** `string`

Currency: `BRL` or `USD`.

**billing\_type** `string`

**billing\_interval** `string`

**status** `string`

Current status.

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

When it was created.

## Errors

| Status | Description |
| - | - |
| `401` | Invalid or revoked key. |
| `403` | Missing scopes (`insufficient_scope`). |
| `429` | Rate limit exceeded (`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 exemplo",
      "description": "Acesso vitalício",
      "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.