/
Update webhook configurat...
Update the webhook configuration for this sponsor.
Only the fields provided in the request body will be updated. The webhook secret cannot be changed via this endpoint.
Security
APIKeyHeader
- Dev serverhttps://pdp.seqino.dev/api/webhooks
- Production serverhttps://pa.seqino.com/api/webhooks
curl -i -X PATCH \
https://pdp.seqino.dev/api/webhooks \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"url": "https://api.example.com/webhooks/pdp",
"events": [
"invoice.created"
]
}'Webhook updated successfully
Response
- string (date-time)
- null
{ "webhook_id": "string", "url": "string", "events": [ "string" ], "is_active": true, "created_at": "2019-08-24T14:15:22Z", "last_triggered_at": "2019-08-24T14:15:22Z" }