curl --request GET \
--url https://ucsyxzpdbnuyehizezvb.supabase.co/functions/v1/doglytdc-pay/v1/webhooks \
-u "$DPAY_CLIENT_ID:$DPAY_CLIENT_SECRET"
{
"data": [
{
"id": "c7d8e9f0-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
"name": "Minha loja",
"url": "https://minhaloja.com/webhooks/doglytdc",
"events": [
"purchase_approved"
],
"active": true,
"created_at": "2026-11-06T18:10:00Z"
}
]
}
{ "error": "unauthorized", "message": "Chave de API inválida." }
{ "error": "insufficient_scope", "message": "Esta chave precisa dos escopos: read, webhooks." }
API reference
List Webhooks
Lists account webhooks with URL, events, and whether they are active.
GET
/
functions
/
v1
/
doglytdc-pay
/
v1
/
webhooks
curl --request GET \
--url https://ucsyxzpdbnuyehizezvb.supabase.co/functions/v1/doglytdc-pay/v1/webhooks \
-u "$DPAY_CLIENT_ID:$DPAY_CLIENT_SECRET"
{
"data": [
{
"id": "c7d8e9f0-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
"name": "Minha loja",
"url": "https://minhaloja.com/webhooks/doglytdc",
"events": [
"purchase_approved"
],
"active": true,
"created_at": "2026-11-06T18:10:00Z"
}
]
}
{ "error": "unauthorized", "message": "Chave de API inválida." }
{ "error": "insufficient_scope", "message": "Esta chave precisa dos escopos: read, webhooks." }
Scope
read webhooks
What it does
Lists account webhooks with URL, events, and whether they are active.Use cases
- Audit integrations
- Avoid duplicate webhooks
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/webhooks \
-u "$DPAY_CLIENT_ID:$DPAY_CLIENT_SECRET"
{
"data": [
{
"id": "c7d8e9f0-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
"name": "Minha loja",
"url": "https://minhaloja.com/webhooks/doglytdc",
"events": [
"purchase_approved"
],
"active": true,
"created_at": "2026-11-06T18:10:00Z"
}
]
}
{ "error": "unauthorized", "message": "Chave de API inválida." }
{ "error": "insufficient_scope", "message": "Esta chave precisa dos escopos: read, webhooks." }

