Webhooks
Receive signed business events from zmle: set up endpoints, read the payloads, verify signatures in Node and handle retries and the delivery log.
পাঠসমূহ
ডেভেলপার পাঠগুলো ইংরেজিতে লেখা: কোড, API-র নাম আর ফাইলের নাম সব জায়গায় ইংরেজিতেই থাকে।
- Webhook endpoints and subscriptionsAn endpoint is a URL, a list of events and a signing secret. Create it in the admin or, on the hosted platform, through the API.প্রায় 6 মিনিট
- Events and payloadsThe request zmle sends, the envelope, the headers and the event catalogue — the same names plugins use as hooks.প্রায় 7 মিনিট
- Verify the signatureRecompute the HMAC over the timestamp and the raw body, compare in constant time and reject old timestamps.প্রায় 9 মিনিট
- Retries, idempotency and the delivery logWhat counts as a success, the retry schedule, auto-disable after 25 failures, and how to stay idempotent with at-least-once delivery.প্রায় 7 মিনিট