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
| Field | Type | Required | Description |
|---|
customer_email | string | Required | Their sign-in address |
password | string | Required | Their password |
customer_ip | string | Optional | The visitor's own address, so the throttle counts them rather than your server |
Response Fields
| Field | Type | Description |
|---|
customer_id | integer | The customer — keep it (or the email) in your session and pass it on every later call |
email | string | Their address |
customer_name | string|null | Their name |
verified | boolean | Address confirmed |
contact_preference | string | Where the store reaches them: email, telegram or discord |
suspended | boolean | Always false here — a suspended login cannot sign in |
last_login_at | string | UTC |
lines[] | array | Each: 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, mac_address (the MAC address of the line, written like 00:1A:79:37:FD:CD, or null when it has none), plugin_id, service_name |
referral | object|null | enabled, balance (credits), code (their invite code), referred_by — null when the program is off |
support | object | enabled, open_tickets |