Webhook subscriptions
New webhook subscription
Adds a new endpoint to send webhooks to.
POST
This endpoint requires the webhook-subscriptions.write
scope.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The ID of the merchant account to act upon. When not or provided, this value
will default to the first merchant account a user has access to. This value
can be set to *
on some APIs to fetch resources from all merchant accounts.
Maximum length:
255
Example:
"default"
Body
application/json
Response
200
application/json
Returns the new webhook subscription.
The response is of type object
.