When Optimizer is enabled for your account, an additional parameter gateway_provider is included in the payment fetch response and webhook events. This parameter specifies the payment gateway through which the payment was made. Know more about Payment API and Webhook events .