validated('id'); $service->handleWebhook($tenantCodigo, $cashinId); return response()->json(['status' => 'success']); } catch (\Exception $e) { return response()->json([ 'status' => 'error', 'code' => 'integration.webhook_failed', 'message' => __('api.integration.webhook_failed'), ], 500); } } }