curl --request PATCH \
--url https://api.sandbox.finsei.com/v2/webhook \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "https://api.site.com/webhook",
"enable": true,
"rateLimit": 300,
"events": [
"v1.payment.create"
]
}
'