POST
Authentication/auth/employee/loginBusiness employee login
Authenticates a business employee using business scope plus email/phone and password.
Access tierpublicRate limitpay_apiIdempotencynoneAuthenticationPublic
Source
LuxApi/Modules/LuxPayIdentity/Http/Controllers/Api/UserAuthController.php::employeeLoginLuxPayProjects @ 146e98baa44eParameters
X-Request-IDheaderClient correlation identifier. LuxPay may generate one when omitted.
Example:req_01J...Request body
EmployeeLoginRequestRequired
business_idinteger | null
Example:
10101business_numberstring | null
Example:
FT-10101emailstring
Example:
employee@example.compasswordstring
JSON example
"string"Code examples
The displayed sandbox host is a placeholder until an official host is provisioned. Never paste a production token into a public browser.
curl --request POST \
--url 'https://sandbox-api.luxpay.example/v1/auth/employee/login' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '"string"'Responses
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"
}
}