AsyncAPI 2.6 description of the Square webhook event surface. Square delivers HTTPS POST notifications to a subscriber-provided `notification_url` whenever an event occurs on a seller's account. Each notification body is a JSON object with `merchant_id`, `location_id` (when applicable), `type`, `event_id`, `created_at`, and a `data` envelope containing the affected object. Each request is signed using HMAC-SHA-256. The signing payload is the concatenation of the notification URL and the raw request body. The base64-encoded digest is delivered via the `x-square-hmacsha256-signature` HTTP header. Subscribers should compare signatures using a constant-time comparison function. Event types in this document are taken verbatim from the Square "Webhook Events Reference" (developer.squareup.com).
View SpecView on GitHubRestaurantBookingsCatalogCheckoutCustomersDisputesE-CommerceFinancial TechnologyGift CardsInventoryInvoicingLaborLocationsLoyaltyMerchantsOrderPaymentsPoint-of-SaleRefundsRetailSubscriptionTeamTerminalWebhookAsyncAPIEventsWebhooks
Channels
/
publishreceiveSquareEvent
Receive a Square webhook event notification.
Single inbound channel that receives every Square webhook event type subscribed to by the application. The concrete event is discriminated by the `type` field on the message payload.
Messages
✉
BankAccountDisabled
bank_account.disabled
A bank account was disabled.
✉
BankAccountVerified
bank_account.verified
A bank account was verified.
✉
BankAccountCreated
bank_account.created
A bank account was linked to the seller.
✉
BookingCreated
booking.created
A booking was created.
✉
BookingUpdated
booking.updated
A booking was updated.
✉
BookingCustomAttributeDefinitionOwnedCreated
booking.custom_attribute_definition.owned.created
An owned booking custom attribute definition was created.
✉
BookingCustomAttributeDefinitionOwnedUpdated
booking.custom_attribute_definition.owned.updated
An owned booking custom attribute definition was updated.
✉
BookingCustomAttributeDefinitionOwnedDeleted
booking.custom_attribute_definition.owned.deleted
An owned booking custom attribute definition was deleted.
✉
BookingCustomAttributeOwnedUpdated
booking.custom_attribute.owned.updated
An owned booking custom attribute value was updated.
✉
BookingCustomAttributeOwnedDeleted
booking.custom_attribute.owned.deleted
An owned booking custom attribute value was deleted.
A visible merchant custom attribute definition was deleted.
✉
MerchantCustomAttributeVisibleUpdated
merchant.custom_attribute.visible.updated
A visible merchant custom attribute value was updated.
✉
MerchantCustomAttributeVisibleDeleted
merchant.custom_attribute.visible.deleted
A visible merchant custom attribute value was deleted.
✉
OAuthAuthorizationRevoked
oauth.authorization.revoked
An OAuth authorization was revoked.
✉
OrderCreated
order.created
An order was created.
✉
OrderFulfillmentUpdated
order.fulfillment.updated
An order fulfillment was updated.
✉
OrderUpdated
order.updated
An order was updated.
✉
OrderCustomAttributeDefinitionOwnedCreated
order.custom_attribute_definition.owned.created
An owned order custom attribute definition was created.
✉
OrderCustomAttributeDefinitionOwnedUpdated
order.custom_attribute_definition.owned.updated
An owned order custom attribute definition was updated.
✉
OrderCustomAttributeDefinitionOwnedDeleted
order.custom_attribute_definition.owned.deleted
An owned order custom attribute definition was deleted.
✉
OrderCustomAttributeOwnedUpdated
order.custom_attribute.owned.updated
An owned order custom attribute value was updated.
✉
OrderCustomAttributeOwnedDeleted
order.custom_attribute.owned.deleted
An owned order custom attribute value was deleted.
✉
OrderCustomAttributeDefinitionVisibleCreated
order.custom_attribute_definition.visible.created
A visible order custom attribute definition was created.
✉
OrderCustomAttributeDefinitionVisibleUpdated
order.custom_attribute_definition.visible.updated
A visible order custom attribute definition was updated.
✉
OrderCustomAttributeDefinitionVisibleDeleted
order.custom_attribute_definition.visible.deleted
A visible order custom attribute definition was deleted.
✉
OrderCustomAttributeVisibleUpdated
order.custom_attribute.visible.updated
A visible order custom attribute value was updated.
✉
OrderCustomAttributeVisibleDeleted
order.custom_attribute.visible.deleted
A visible order custom attribute value was deleted.
✉
PaymentCreated
payment.created
A payment was created.
✉
PaymentUpdated
payment.updated
A payment was updated.
✉
PayoutFailed
payout.failed
A payout failed.
✉
PayoutPaid
payout.paid
A payout was paid.
✉
PayoutSent
payout.sent
A payout was sent.
✉
RefundCreated
refund.created
A refund was created.
✉
RefundUpdated
refund.updated
A refund was updated.
✉
SubscriptionCreated
subscription.created
A subscription was created.
✉
SubscriptionUpdated
subscription.updated
A subscription was updated.
✉
TeamMemberCreated
team_member.created
A team member was created.
✉
TeamMemberUpdated
team_member.updated
A team member was updated.
✉
TeamMemberWageSettingUpdated
team_member.wage_setting.updated
A team member wage setting was updated.
✉
JobCreated
job.created
A job was created.
✉
JobUpdated
job.updated
A job was updated.
✉
TerminalCheckoutCreated
terminal.checkout.created
A Terminal checkout was created.
✉
TerminalCheckoutUpdated
terminal.checkout.updated
A Terminal checkout was updated.
✉
TerminalRefundCreated
terminal.refund.created
A Terminal refund was created.
✉
TerminalRefundUpdated
terminal.refund.updated
A Terminal refund was updated.
✉
TerminalActionCreated
terminal.action.created
A Terminal action was created.
✉
TerminalActionUpdated
terminal.action.updated
A Terminal action was updated.
✉
TransferOrderCreated
transfer_order.created
A transfer order was created.
✉
TransferOrderUpdated
transfer_order.updated
A transfer order was updated.
✉
TransferOrderDeleted
transfer_order.deleted
A transfer order was deleted.
✉
VendorCreated
vendor.created
A vendor was created.
✉
VendorUpdated
vendor.updated
A vendor was updated.
Servers
https
subscriber{notification_url}
Subscriber-hosted HTTPS endpoint that receives Square webhook POST requests. The URL is registered with Square via the Webhook Subscriptions API or the Developer Dashboard.
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.