Retrieve an employee
const url = 'https://api.usepayloom.com/api/v1/employees/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.usepayloom.com/api/v1/employees/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”OK
Statutory inputs (tax profile, household composition, birthdate) and PII (tax identifier, phone, bank details) are deliberately not exposed.
object
Your own identifier for this person.
Derived from first_name, middle_name, last_name and suffix. The name printed on payslips and carried in bank payment files; the honorific is not included.
Honorific (Mr
Null only on a legacy one-word name.
Jr., III, PhD … Part of the legal name.
Whether the account on file was confirmed to belong to this employee, asked of the payment partner before payday. close is a name a person would recognise as the same person and is paid; mismatch is not paid from a funded balance until someone with funding.manage acknowledges it; unavailable means the rail answers no name enquiry. Null when it has never been asked. The name the BANK holds is deliberately not exposed.
Example
{ "object": "employee", "classification": "employee", "jurisdiction": "GH", "bank_name_check": "matched"}Missing, invalid, revoked or expired key.
object
object
object
Example
{ "error": { "code": "missing_token" }}The key is valid but lacks the required scope.
object
object
object
Example
{ "error": { "code": "missing_token" }}No such resource in this organization.
object
object
object
Example
{ "error": { "code": "missing_token" }}