Skip to main content

Receive webhook

POST 

/api/webhooks/square

Public endpoint — no bearer required. Square posts here for every subscribed event.

Required header: X-Square-HmacSha256-Signature (Square signs notification_url + raw_body with the subscription's signature key; verified per-instance).

Handled event families: order.* (refetches the order and promotes), refund.* (recorded in v1; sales-credit reconciliation lands in a follow-up), inventory.* / catalog.* (marked ignored — served by the scheduled sync commands).

Request

Responses

OK

Response Headers
    Content-Type