Polar::Api::CustomerPortal::CustomerSession
API client for customer_session operations in customer_portal context
Constants
Log = ::Log.for(self)
Constructors
new(client : Client)
Creates a new CustomerSession instance
@param client [Client] The Polar API client instance
Instance methods
introspect
Introspect Customer Session
Introspect the current session and return its information.
Scopes: customer_portal:read customer_portal:write
Endpoint: GET /v1/customer-portal/customer-session/introspect
Returns: Polar::Models::CustomerCustomerSession
Raises:
ResourceNotFoundErroron 404NotPermittedErroron 403HTTPValidationErroron 422PolarErroron other errors