Skip to main content
PATCH
/
v2
/
webhook
cURL
curl --request PATCH \
  --url https://api.sandbox.finsei.com/v2/webhook \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "https://api.site.com/webhook",
  "enable": true,
  "rateLimit": 300,
  "events": [
    "v1.payment.create"
  ]
}
'
{
  "name": "Bad Request",
  "message": "<string>",
  "status": 400
}

Body

application/json
url
string
required
Example:

"https://api.site.com/webhook"

enable
boolean
default:true
rateLimit
integer | null

Request per second

Required range: x >= 1
Example:

300

events
string[]

List event.id from /v2/webhook/event

Response

OK