Polar::Api::CustomerSessions
API client for customer_sessions operations
Constants
Log = ::Log.for(self)
Constructors
new(client : Client)
Creates a new CustomerSessions instance
@param client [Client] The Polar API client instance
Instance methods
Create Customer Session
Create a customer session.
Scopes: customer_sessions:write
Endpoint: POST /v1/customer-sessions/
Parameters:
body(required): Request body as Polar::Models::CustomerSessionCustomerIDCreate
Returns: Polar::Models::CustomerSession
Raises:
ResourceNotFoundErroron 404NotPermittedErroron 403HTTPValidationErroron 422PolarErroron other errors