
POST
-Request an deine hinterlegte URL gesendet und enthalten strukturierte JSON-Daten zum jeweiligen Ereignis.
Webhooks lassen sich unter Einstellungen â Webhooks konfigurieren.
Sicherheit: X-Webhook-Signature
Jede Webhook-Anfrage enthält einen Header X-Webhook-Signature
, der wie folgt generiert wird:
$body
: Der ungeänderte JSON Body der Webhook-Anfrage (als String)$webhookSecret
: Dein geheimer SchlĂźssel fĂźr diesen Webhook
Wir empfehlen dringend, die Signatur zu validieren, um sicherzustellen, dass die Anfrage wirklich von Fynn stammt.
Beispiele
- PHP
- .NET (C#)
- Node.JS
UnterstĂźtzte Events
Produkt
product.created
product.updated
product.deleted
product.archived
Rabattcodes
coupon.created
coupon.updated
coupon.deleted
coupon.toggled
Kunden
customer.created
customer.updated
customer.archived
customer.unarchived
customer.deleted
payment_method.created
payment_method.updated
Rechnungen
invoice.created
invoice.finalized
invoice.credited
invoice.updated
invoice.refunded
invoice.canceled
invoice.paid
invoice.closed
invoice.unpaid
invoice.remindered
invoice.requires_approval
invoice.payment_method.updated
Preispläne
price_plan.archived
Abonnements
subscription.activated
subscription.billed
subscription.created
subscription.changed
subscription.invoice_address.updated
subscription.delivery_address.updated
subscription.payment_method.updated
subscription.item.instant_metered
subscription.item.metered
subscription.item.quantity_changed
subscription.products.ordered
subscription.trial_expired
subscription.trial_extended
subscription.updated
subscription.paused
subscription.resumed
subscription.canceled
subscription.cancellation_revoked
subscription.terminated
subscription_item.terminated
Mahnwesen
dunning_document.created
dunning_document.paid
dunning_document.canceled
Warenkorb
cart.completed
cart.paid
Features & Entitlements
feature.created
feature.activated
feature.archived
entitlement.state.updated