Handle Xero Webhook

Changed on

Receive webhook events from Xero.

Xero sends an empty events list to validate the endpoint ("intent to receive"); a valid signature (checked in the route dependency) is enough for that handshake, so we simply acknowledge with 200. Real events are handed to a service that publishes a domain event per invoice for out-of-band processing.

post/_webhooks/xero

Request

  • Base URL
    https://api.isometric.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.isometric.com/_webhooks/xero
  • Auth
    HTTP bearer

Headers

x-client-secretstring nullable

A secret token identifying the client connecting to the API

Example:Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP

Request body

firstEventSequenceinteger required
lastEventSequenceinteger required

Response

Successful Response

unknown required

Changes