Set webhook endpoint
Sets the delivery endpoint for this key's environment — a test key writes the sandbox endpoint, a live key the live one, and neither can touch the other. Send an empty string to unset it. Useful for pointing a sandbox integration at an ephemeral tunnel from CI.
Authorization
apiKey Your merchant API key, shown once at creation in the dashboard (Settings → API key).
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/webhooks/endpoint" \ -H "Content-Type: application/json" \ -d '{ "url": "https://example.com/webhooks/tidepay" }'{ "environment": "live", "url": "string", "effectiveUrl": "string"}