BotNetwork

Isolate payment webhooks from chat webhooks

Isolate payment webhooks from chat webhooks

Published 1 min read

Takeaway

Isolate payment webhooks from chat webhooks

Why

Payment providers need different auth, idempotency and PCI-minded logging than chat events.

Do this

  1. Separate URL paths and handlers.
  2. Do not log full payment payloads.
  3. Idempotency keys on every charge event.

Tools