POST
Authentication/auth/employee/loginدخول موظف النشاط
يصادق موظف النشاط ضمن نطاق النشاط وبالبريد أو الهاتف وكلمة المرور.
مستوى الوصولpublicالحدpay_apiمنع التكرارnoneالمصادقةPublic
المصدر
LuxApi/Modules/LuxPayIdentity/Http/Controllers/Api/UserAuthController.php::employeeLoginLuxPayProjects @ 146e98baa44eالمعاملات
X-Request-IDheaderClient correlation identifier. LuxPay may generate one when omitted.
Example:req_01J...جسم الطلب
EmployeeLoginRequestإلزامي
business_idinteger | null
Example:
10101business_numberstring | null
Example:
FT-10101emailstring
Example:
employee@example.compasswordstring
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.
successboolean
Example:
truetokenstring
userBusinessUser
businessBusiness
{
"success": true,
"token": "string",
"user": {
"id": 1,
"full_name": "string",
"email": "string",
"is_owner": false
},
"business": {
"id": 1,
"legal_name": "string",
"business_number": "string"
}
}