How do you handle idempotent requests?

How do you handle idempotent requests?

To handle idempotent requests, especially for webhook events, implement a mechanism to log and track processed events. Since Maya may retry webhook deliveries, your system might receive the same event multiple times. To avoid duplicate processing, store the unique event identifier (e.g., the event ID or payment ID) and check against your log before processing. Only process the event if it has not been handled before. This ensures your system remains consistent and avoids unintended side effects from duplicate events.

For Sandbox concerns and other technical implementation inquiries, please get in touch with us via:

  • Sandbox Health Page: Check real-time service status updates.
  • Maya Developer Hub Service Desk: File
    a ticket in Sandbox.

To Know More:

We value your input and would love to hear your insights. Please submit you feedback here.