API GuideAPI ReferenceChangelog
API GuideAPI ReferenceChangelog
  • API Reference
  • Webhook Reference
    • POSTReferral Created Event
    • POSTCustomer Status Updated Event
    • POSTVirtual Account Status Updated Event
    • POSTPayment Status Updated Event
    • POSTThird Party Customer Status Updated Event
LogoLogo
API ReferenceCustomersAPI IntegrationWebhooks

DELETE
/v1/webhooks
DELETE
/v1/webhooks
1curl -X DELETE "https://api.redpincompany.com/v1/webhooks?event_type=CUSTOMER%20STATUS" \
2 -H "Authorization: Bearer <token>"
Try it
1{
2 "id": 1
3}
Was this page helpful?
Previous

Create a payment session

Next
Built with
Unsubscribe from status updates for a specific event type. This will stop receiving webhook notifications for the specified event type. If you're not currently subscribed to the event type, the request will succeed with no effect. **Authentication:** [Bearer token required](/api-guide/getting-started/authentication#oauth-20-authentication)
Unsubscribe from status updates

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

event_typeenumRequired
The type of event to unsubscribe from
Allowed values:

Response

Webhook deleted successfully
idinteger
ID of the webhook subscription that was successfully removed.

Errors

Unsubscribe from status updates for a specific event type. This will stop receiving webhook notifications for the specified event type. If you’re not currently subscribed to the event type, the request will succeed with no effect.

Authentication: Bearer token required