Verify OTP and return customer session
Authentication
Verify OTP and return customer session
Verify OTP code and return session token with customer data. Creates customer if new. Session token valid for 30 minutes. Authentication via X-API-Key header (partner API key).
POST
Verify OTP and return customer session
Authorizations
Per-company partner API key (zupy_pk_…). Validated by Zupy against the company integration key hash (Story 14.x); send it on every request as the X-API-Key header. Scoped read-write to the owning company's data.
Headers
Partner API key
Response
Customer ID (KSUID or user PK)
True if customer was just created
Session token (30min TTL) for subsequent OTP-protected requests
Customer full name
Current points balance
Loyalty tier