<?php

namespace App\Http\Controllers\User;

use App\Http\Controllers\Controller;
use Illuminate\View\View;
use Illuminate\Http\JsonResponse;
use App\Helpers\PaymentHelper;
use App\Helpers\PlanHelper;
use Illuminate\Support\Facades\Auth;
use App\Helpers\UserHelper;

class ApiController extends Controller
{
    public function api(): View
    {
        return view('user.api.index', [
            'functions' => 'user.api.function',
            'sidebar' => 'api',
            'pageName' => pageName(['API']),
        ]);
    }

}
