/home/brandsfa/annurbd.com/vendor/stripe/stripe-php/lib/Service/CustomerSessionService.php
<?php

// File generated from our OpenAPI spec

namespace Stripe\Service;

class CustomerSessionService extends \Stripe\Service\AbstractService
{
    /**
     * Creates a customer session object that includes a single-use client secret that
     * you can use on your front-end to grant client-side API access for certain
     * customer resources.
     *
     * @param null|array $params
     * @param null|array|\Stripe\Util\RequestOptions $opts
     *
     * @throws \Stripe\Exception\ApiErrorException if the request fails
     *
     * @return \Stripe\CustomerSession
     */
    public function create($params = null, $opts = null)
    {
        return $this->request('post', '/v1/customer_sessions', $params, $opts);
    }
}