curl --request GET \
--url https://ucsyxzpdbnuyehizezvb.supabase.co/functions/v1/doglytdc-pay/v1/products \
-u "$DPAY_CLIENT_ID:$DPAY_CLIENT_SECRET"
{
"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"
}
]
}
{ "error": "unauthorized", "message": "Chave de API inválida." }
{ "error": "insufficient_scope", "message": "Esta chave precisa dos escopos: read, products." }
API reference
List Products
Returns the products in your account (up to 200), from newest to oldest.
GET
/
functions
/
v1
/
doglytdc-pay
/
v1
/
products
curl --request GET \
--url https://ucsyxzpdbnuyehizezvb.supabase.co/functions/v1/doglytdc-pay/v1/products \
-u "$DPAY_CLIENT_ID:$DPAY_CLIENT_SECRET"
{
"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"
}
]
}
{ "error": "unauthorized", "message": "Chave de API inválida." }
{ "error": "insufficient_scope", "message": "Esta chave precisa dos escopos: read, products." }
Scope
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
idto create a payment link
Response
Errors
| Status | Description |
|---|---|
401 | Invalid or revoked key. |
403 | Missing scopes (insufficient_scope). |
429 | Rate limit exceeded (rate_limited). |
curl --request GET \
--url https://ucsyxzpdbnuyehizezvb.supabase.co/functions/v1/doglytdc-pay/v1/products \
-u "$DPAY_CLIENT_ID:$DPAY_CLIENT_SECRET"
{
"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"
}
]
}
{ "error": "unauthorized", "message": "Chave de API inválida." }
{ "error": "insufficient_scope", "message": "Esta chave precisa dos escopos: read, products." }

