Update webhook

Update a webhook endpoint.

Securitybearer or cookie
Request
path Parameters
webhookID
required
integer <int64>
Request Body schema: application/json
required
url
required
string

The URL to send the webhook to.

label
required
string (Label) ^[a-z0-9_-]+$

An alias to easily identify and reference the entity in subsequent requests.

subscriptions
required
Array of strings (WebhookEventsType)

The events to subscribe to.

Items Enum: "transaction.included" "event.emitted"
Responses
200

OK

4XX

Client error.

5XX

Server error.

put/webhooks/{webhookID}
Request samples
application/json
{
  • "url": "string",
  • "label": "string",
  • "subscriptions": [
    ]
}
Response samples
application/json
{
  • "status": 0,
  • "message": "string",
  • "result": {
    }
}
Copyright © Curvegrid 2022. All right reserved.