Merchants
MERCHANT_STATUS_UPDATE
Triggered when a merchant is turned off or on. The event is specific to merchants on a given platform
, so it will trigger independently for each platform
. Additionally, this event is triggered when a brand new merchant is made available with status = UP
.
Important callouts
- As described in event verification, this event does not include a
session_id
in the body, so the HMAC signature included in the header is not the same as other events. - The
sdk
field can benull
.
Request example
{
"event": "MERCHANT_STATUS_UPDATE",
"merchant": {
"id": 11,
"name": "Amazon",
"logo": "https://storage.googleapis.com/knot-api/merchants/8pflGg1roAFAbdEl03zpl2dlYh54ZTmtq3yQ5NdO.png"
},
"data": {
"status": "UP", // UP, DOWN
"platform": "ios", // ios, android, web
"sdk": "1.0.0" // this value can be null
},
"timestamp": 1710864923198
}
Updated 25 days ago