cURL
curl --request PATCH \ --url https://api.paysway.dev/webhooks/subscriptions/{subscriptionId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "title": "<string>", "enabled": true, "url": "<string>", "events": [ "<string>" ] }'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "enabled": true, "title": "<string>", "url": "<string>", "events": [ "<string>" ], "secret": "<string>" }
Updates a webhook subscription by the subscription ID
The access token received from the authorization server in the OAuth 2.0 flow.
Webhook subscription updated successfully
The response is of type object.
object