Eligibility
Check eligibility for a single identifier
Changed onVerifies whether a given employee identifier is eligible within the authenticated company group. Returns availability status and, when eligible, details about the associated store and holder.
get/api/v1/eligibility/single
Request
- Base URLhttps://company-eligibles-api.totalpass.com
- URLhttps://company-eligibles-api.totalpass.com/api/v1/eligibility/single
- AuthHTTP bearer
Query parameters
document_numberstring required
Identifier value (document/email/employee_number) to check
document_kind'cpf' | 'email' | 'employee_number' required
Type of the identifier
Response
Eligibility result returned
Example response
{
"available": true,
"kind": "holder",
"store_document_kind": "cnpj",
"store_document_number": "12345678000195",
"holder_document_kind": "cpf",
"holder_document_number": "98765432100"
}Changes
- info
added the new enum value
emailto thequeryrequest parameterdocument_kind - info
added the new enum value
employee_numberto thequeryrequest parameterdocument_kind
- info