Guidelines
Handling delays
As both REST API calls and Webhook messages pass multiple processing endpoints, delays are inevitable and may fluctuate from 100ms to a few seconds.
The scenarios covered by the third-party software application must allow this behavior.
Optimize API communication
As rate limiting and API credits apply, consider the following best practices:
Avoid polling for state. Always use event-based communication.
Carefully design and optimize the communication flow between the application and the GW Cloud API. Avoid unnecessary communication.
Handling unordered messages
Webhook messages are not guaranteed to be delivered in order. Use the appropriate timestamps or sequence numbers to detect delivery-order issues.