Skip to main content
Fintoc sends a webhook event whenever a resource in your account changes. Event names follow the pattern resource.event, and the event’s data field carries the affected resource. For the envelope that wraps every event, see the Event object. To build an endpoint that receives events, follow the webhooks guide, which covers signature verification and the retry schedule.
You cannot subscribe to the link.created event with a webhook endpoint. To receive the event, pass your backend URL when you configure the widget.
Fintoc sends the following event types today and adds new ones over time, so ignore any type your integration does not recognize:

Invoice payment events

An invoice reaches paid in two ways, and the events differ. When Fintoc collects the invoice, you receive invoice.payment_succeeded and then invoice.paid. When you mark the invoice as paid because your customer paid you outside Fintoc, you receive invoice.paid alone. Read external_payment in the payload to tell the two apart. The value is false when the money went through Fintoc and true when it did not.

Upcoming invoice previews

Fintoc sends invoice.upcoming ahead of each billing cycle so you can notify your customer before you charge them. Contact Fintoc to set how many days of notice you receive. The payload previews an invoice that does not exist yet, so two fields behave differently from every other invoice.* event:
  • The invoice carries no id, because Fintoc has not created it.
  • The event’s resource_id holds the subscription, not the invoice.

Entity onboarding payload

The entity.onboarding.approved and entity.onboarding.rejected events carry a trimmed view of the onboarding, not the full Onboarding object. The payload identifies the object with object_name instead of object:
To read the reviewed step data, the documents, or the declared representatives and shareholders, get the onboarding with the id from the payload.