العودة للمرجع
POST/auth/employee/login
Authentication

دخول موظف النشاط

يصادق موظف النشاط ضمن نطاق النشاط وبالبريد أو الهاتف وكلمة المرور.

مستوى الوصولpublicالحدpay_apiمنع التكرارnoneالمصادقةPublic
المصدرLuxApi/Modules/LuxPayIdentity/Http/Controllers/Api/UserAuthController.php::employeeLoginLuxPayProjects @ 146e98baa44e

المعاملات

X-Request-IDheader
stringاختياري

Client correlation identifier. LuxPay may generate one when omitted.

Example: req_01J...

جسم الطلب

EmployeeLoginRequestإلزامي
business_id
integer | null
Example: 10101
business_number
string | null
Example: FT-10101
email
string
Example: employee@example.com
password
string

JSON example

"string"

أمثلة الكود

العنوان المعروض Sandbox Placeholder حتى يتم تزويد النطاق الرسمي. لا تلصق رمز Production في متصفح عام.
curl --request POST \
  --url 'https://sandbox-api.luxpay.example/v1/auth/employee/login' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '"string"'

الاستجابات

200Successful response.
success
boolean
Example: true
token
string
user
BusinessUser
business
Business
{
  "success": true,
  "token": "string",
  "user": {
    "id": 1,
    "full_name": "string",
    "email": "string",
    "is_owner": false
  },
  "business": {
    "id": 1,
    "legal_name": "string",
    "business_number": "string"
  }
}
400
401
403
404
409
422
429
500
OpenAPI JSONOpenAPI YAMLPostman collection