Panelr

Customer Login

POST ?action=verify_customer_login

Sign a customer in by email and password. Returns the account, every line it holds (linked to the login, or still carrying the address from before it existed), its credit standing and open ticket count — everything a member area needs. A wrong address and a wrong password answer identically (401), and so does a suspended login. Failed attempts are throttled per account and per visitor — too many in a row answer 429 "Too many attempts". Line credentials are never included; call get_lines for those.

Request Parameters

FieldTypeRequiredDescription
customer_emailstringRequiredTheir sign-in address
passwordstringRequiredTheir password
customer_ipstringOptionalThe visitor's own address, so the throttle counts them rather than your server

Response Fields

FieldTypeDescription
customer_idintegerThe customer — keep it (or the email) in your session and pass it on every later call
emailstringTheir address
customer_namestring|nullTheir name
verifiedbooleanAddress confirmed
contact_preferencestringWhere the store reaches them: email, telegram or discord
suspendedbooleanAlways false here — a suspended login cannot sign in
last_login_atstringUTC
lines[]arrayEach: activation_id, username, label (their own name for it), status, expiration_date (UTC), expired, days_left, is_trial, product_id, product_name, connections, duration_months, connection_type, plugin_id, service_name
referralobject|nullenabled, balance (credits), code (their invite code), referred_by — null when the program is off
supportobjectenabled, open_tickets