Update webhook subscription
Update an existing webhook subscription’s properties. You can modify the subscription URL, authentication details, or toggle the active status. Only the fields you include in your request will be updated, and all other properties will remain unchanged.
This endpoint requires theDocumentation Index
Fetch the complete documentation index at: https://docs.anglpay.com/llms.txt
Use this file to discover all available pages before exploring further.
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 use for this request.
"default"
Path Parameters
The ID of the webhook subscription
"ef9496d8-53a5-4aad-8ca2-00eb68334389"
Body
Flag to determine whether this subscription should be sent webhook payloads.
true
URL to send webhook payloads.
"https://www.gr4vy.com/webhooks"
Optional authentication configuration for webhook requests.
- BasicAuthenticationCreate
- CredentialsOAuthAuthenticationCreate
- PasswordOAuthAuthenticationCreate
{
"kind": "basic",
"password": "super-strong-password",
"username": "gr4vy"
}Response
Successful Response
The ID of the webhook subscription
"ef9496d8-53a5-4aad-8ca2-00eb68334389"
Flag to determine whether this subscription should be sent webhook payloads.
true
false
URL to send webhook payloads.
"https://www.gr4vy.com/webhooks"
Flag to determine whether the subscription has a secret rotation in progress or not.
false
true
Type of resource for webhook subscriptions.
"webhook-subscription""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.
- BasicAuthentication
- CredentialsOAuthAuthentication
- PasswordOAuthAuthentication
{
"kind": "basic",
"password": "********",
"username": "gr4vy"
}The active secret value.
"234567890abcdef1234567890abcdef"
The user that created this resource
{
"email_address": "jhon.doe@gr4vy.com",
"id": "07e70d14-a0c0-4ff5-bd4a-509959af0e4d",
"name": "Jhon Doe"
}