API 参考Employees
Get a single employee with full profile
Requires employees:read scope.
Authorization
apiKey AuthorizationBearer <token>
API key: Authorization: Bearer mpk_live_<key>
In: header
Path Parameters
employee_id*string
Employee/user identifier
Response Body
application/json
curl -X GET "https://motivation-money.vercel.app/api/v1/employees/usr_emp456"Empty
{
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "No payroll run found with ID 'run_invalid'.",
"details": {
"resource_type": "payroll_run",
"resource_id": "run_invalid"
},
"recovery_hint": "Verify the resource ID. Use the list endpoint to find valid IDs."
}
}