/** * Display a listing of the resource. * * @return Response */ public function index() { Stripe::setApiKey(\Config::get('stripe.key')); $account = StripeAccount::all(['limit' => 10]); /*echo '<pre>'; print_r($account->data); echo '</pre>';*/ return view('accounts.index', ['accounts' => $account->data]); }