class

Polar::Api::CustomerPortal::CustomerSession

Inherits Reference < Object

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

Source

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:

  • ResourceNotFoundError on 404
  • NotPermittedError on 403
  • HTTPValidationError on 422
  • PolarError on other errors
Source