Skip to main content
Fynn Webhooks Settings
With webhooks, you can have external systems notified in real-time about events in Fynn. Webhooks are sent as POST requests to your registered URL and contain structured JSON data about the respective event. Webhooks can be configured under Settings > Webhooks.

Security: X-Webhook-Signature

Each webhook request contains an X-Webhook-Signature header, which is generated as follows:
  • $body: The unchanged JSON body of the webhook request (as a string)
  • $webhookSecret: Your secret key for this webhook
You can find the secret under: Settings > Webhooks > Details
We strongly recommend validating the signature to ensure the request actually comes from Fynn.

Examples

Supported Events

Product

  • product.created
  • product.updated
  • product.deleted
  • product.archived

Discount Codes

  • coupon.created
  • coupon.updated
  • coupon.deleted
  • coupon.toggled

Customers

  • customer.created
  • customer.updated
  • customer.archived
  • customer.unarchived
  • customer.deleted
  • customer.merged: Triggered when multiple customers have been merged into one.
  • customer.parent.assigned: Triggered when a parent customer was assigned in the organization hierarchy.
  • customer.parent.removed: Triggered when a parent customer was removed from the organization hierarchy.
  • payment_method.created
  • payment_method.updated

Invoices

  • invoice.created
  • invoice.finalized: Triggered after the invoice is finalized and payment processing has been initialized. The invoice will have status STATUS_UNPAID at this point.
  • invoice.credited
  • invoice.updated
  • invoice.refunded
  • invoice.canceled
  • invoice.paid
  • invoice.closed
  • invoice.unpaid
  • invoice.remindered
  • invoice.requires_approval
  • invoice.payment_method.updated
  • invoice.pdf.generation_requested

Price Plans

  • price_plan.archived

Subscriptions

  • 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.voided
  • subscription.resumed
  • subscription.canceled
  • subscription.cancellation_revoked
  • subscription.terminated
  • subscription.phase.created
  • subscription.phase.completed
  • subscription.transferred
  • subscription_item.terminated

Dunning

  • dunning_document.created
  • dunning_document.paid
  • dunning_document.canceled

Cart

  • cart.completed
  • cart.paid

Bank Accounts

  • bank_account.synced

Wallet Payout

  • wallet.payout.executed: Triggered when a wallet payout was executed by the bank and confirmed via the account statement.
  • wallet.payout.failed: Triggered when submitting a wallet payout failed. The wallet balance was automatically restored.

Features & Entitlements

  • feature.created
  • feature.activated
  • feature.archived
  • entitlement.state.updated

Notes

Fynn treats any 2xx response as a successful delivery. If your endpoint does not answer or returns an error, Fynn retries the delivery up to nine times with growing intervals: after 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours, 12 hours, 24 hours and 30 hours, each slightly jittered. After that the delivery stays marked as failed in the webhook log. Every attempt carries the same event.id, so store it to skip duplicates, load the current object through the API after receiving an event, and reconcile open items once a day.