Skip to main content
PATCH
/
stores
/
{storeId}
/
webhooks
/
{webhookId}
cURL
curl --request PATCH \
  --url https://api.pandabase.io/v2/core/stores/{storeId}/webhooks/{webhookId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "eventTypes": [
    "PAYMENT_PENDING"
  ],
  "note": "<string>",
  "isEnabled": true
}
'
{
  "ok": true,
  "data": {
    "id": "whk_5h7n4tr3bcfp2v8q1mzj0kxw",
    "url": "https://example.com/webhooks/pandabase",
    "note": "Production endpoint",
    "isEnabled": true,
    "eventTypes": [
      "PAYMENT_COMPLETED",
      "PAYMENT_REFUNDED",
      "PAYMENT_DISPUTED"
    ],
    "createdAt": "2026-04-10T09:00:00.000Z",
    "updatedAt": "2026-05-01T13:42:00.000Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.pandabase.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token mode — passes the secret directly. Token starts with sk_.

Path Parameters

storeId
string
required
Required string length: 12 - 48
webhookId
string
required
Required string length: 12 - 48

Body

application/json
url
string<uri>
Maximum string length: 512
Pattern: ^https://
eventTypes
enum<string>[]
Minimum array length: 1
Available options:
PAYMENT_PENDING
note
string | null
Maximum string length: 256
isEnabled
boolean

Response

Default Response

ok
enum<boolean>
required
Available options:
true
data
any
required