This endpoint allows processing synchronous and asynchronous transactions for most of the operators. The endpoint determines the correct flow (sync or async) based on the request payload. Users can specify whether to process a synchronous or asynchronous transaction by using the parameters useWebhook and webhookUrl.
Automatic Mode Selection: Determines whether the transaction will follow a synchronous or asynchronous flow based on the optional parameters useWebhook and webhookUrl in the request payload. If these parameters are omitted, the transaction defaults to synchronous mode.
Error Handling: Provides clear error messages if the operator or transaction type is unsupported.
Scalable Design: Built to accommodate the addition of new operators without affecting existing functionality.