API ReferenceWebhook configuration
Update a webhook configuration
Updates an existing webhook configuration.
Authorization
ApiKey X-Api-Key<token>
Merchant API key for authentication
In: header
Path Parameters
id*string
Resource ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/webhooks/config/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "url": "string", "events": [ "string" ], "enabled": true, "environment": "live", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}