middleware('guest'); } public function __invoke(PaymentWebhookRequest $request, string $company_gateway_id, string $company_key) { $payment = $request->getPayment(); return $request->getCompanyGateway() ->driver($payment->client) ->processWebhookRequest($request, $payment); } }