Create a new webhook subscription to receive event notifications. Subscriptions allow you to specify a URL where webhook events will be delivered and configure authentication credentials to secure the webhook communication.
webhook-subscriptions.write scope.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the merchant account to use for this request.
"default"
URL to send webhook payloads.
Flag to determine whether this subscription should be sent webhook payloads.
Optional authentication configuration for webhook requests.
{
"kind": "basic",
"password": "super-strong-password",
"username": "gr4vy"
}Successful Response
The ID of the webhook subscription
Flag to determine whether this subscription should be sent webhook payloads.
URL to send webhook payloads.
Flag to determine whether the subscription has a secret rotation in progress or not.
Type of resource for webhook subscriptions.
"webhook-subscription"The merchant account to which this subscription is associated. When null this represents an instance level webhook.
"default"
Optional authentication configuration for webhook requests.
{
"kind": "basic",
"password": "********",
"username": "gr4vy"
}The active secret value.
"234567890abcdef1234567890abcdef"
The user that created this resource
{
"email_address": "[email protected]",
"id": "07e70d14-a0c0-4ff5-bd4a-509959af0e4d",
"name": "Jhon Doe"
}