Webhooks
ComingA webhook is a POST that Diamra sends your server when something happens in your store, such as a customer accepting a price. Webhooks are coming: once they open, you add endpoints in your console under Webhooks. Each endpoint has its own URL, the events it listens for and its own signing secret; a store can have up to ten.
In this part
- Signing keysComing with webhooks: check that one came from Diamra, with the Standard Webhooks headers, a Node sample, the HMAC by hand and rolling a secret.
- Event typesComing with webhooks: every event type and its fields, such as estimate.generated, which embedded message each one matches, and the shared envelope.