Webhooks - Async Updates

Many Feezback flows are asynchronous: a payment needs to clear with a bank, a consent needs to be confirmed by a user, an insights report needs to be computed. Rather than making you poll, Feezback pushes these state changes to your system as webhooks — HTTP POST calls to an endpoint you provide.

How it works

  1. You expose a REST endpoint that accepts POST requests.
  2. You give Feezback that endpoint's URL during integration setup (Integration Steps, step 5).
  3. When an async event happens (payment status change, consent status change, mandate update, insights ready), Feezback sends a JSON payload to your endpoint.
  4. Your endpoint must return HTTP 200 within 3 seconds.

If your processing takes more them 3 seconds please return us 200 status and process the update in your background


Payload envelope

{
  "timestamp": "2021-03-04T12:26:32.212913+00:00",
  "event": "EventName",
  "payload": { ... }
}

Do not validate against a strict schema / do not reject unknown fields. Banks may return additional fields inside payload that aren't listed below. Parse only the fields you need and ignore the rest.


Did this page help you?