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": "<unknown>"
}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": "<unknown>"
}Store API token. Use the sk_ prefixed secret key as the Bearer token.
Store ID (shp_ prefix)
12 - 48Webhook ID (whk_ prefix)
12 - 48512^https://1PAYMENT_PENDING, PAYMENT_PROCESSING, PAYMENT_COMPLETED, PAYMENT_REFUNDED, PAYMENT_DISPUTED, PAYMENT_DISPUTE_WON, PAYMENT_DISPUTE_LOST, PAYMENT_FAILED 256