Stripe::CustomerSessionsApi
Constants
Constructors
Instance methods
@return Crest::Request
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.
@required @param components [Stripe::Components?] @required @param customer [String?] The ID of an existing customer for which to create the Customer Session. @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return [Stripe::CustomerSession]<p>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.</p> @required @param components [Stripe::Components?] @required @param customer [String?] The ID of an existing customer for which to create the Customer Session. @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return nil
<p>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.</p> @required @param components [Stripe::Components?] @required @param customer [String?] The ID of an existing customer for which to create the Customer Session. @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::CustomerSession, Integer, Hash)] Stripe::CustomerSession, response status code and response headers