Skip to main content

Welcome to our Dev Docs!

Debit Auth Cancelled

This webhook is triggered when the authorization to debit money has been revoked either by customer or PSP. The next payment will fail and you probably want to take appropriate action.

Typical Scenario

A customer cancelled the payment authorization in PayPal, the webhook is triggered and you can show a notification to the customer, that there's no valid payment method stored.

HTTP/1.1
POST /billwerk-hook
Host: example.com
Content-Type: application/json

{
    "Event" : "DebitAuthCancelled",
    "ContractId" : "51d970c8eb596a1168df119a",
    "CustomerId" : "51d140d8fc787ac88a4afc4a",
    "YourCustomerId" : "23213",
    "PaymentProvider" : "PayPal",
}