Webhooks
Update a subscription
Updates your subscription details. You can change the URL or the list of events.
patch/webhooks/{subscriptionId}
Request
- Base URLhttps://api.dojo.tech
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
subscriptionIdstring required
The unique identifier for the subscription.
Headers
versionstring date required
The API version with format yyyy-mm-dd. The current version is 2026-02-27.
Request body
Example request
{
"events": [
"payment_intent.created",
"order.created"
]
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.