Appearance
# Get Company account
Overview
The Employee Account information can be retrieved using the following endpoint.
A GET request can be made to https://sandbox.tendopay.ph/api/payroll/v1/user/{tp_company_id}/{tp_user_id} where {tp_company_id} is the TendoPay company ID and {tp_user_id} is the TendoPay employee ID.
Alternatively, a GET request can also be made to https://sandbox.tendopay.ph/api/payroll/jp/user/ref/{ref_company_id}/{ref_user_id} where {ref_company_id} is your company's reference ID and the {ref_user_id} is the reference employee number.
TIP
For details on failed response codes, please visit Response Status
Example
Example Request:
bash
curl --location --request GET 'https://sandbox.tendopay.ph/api/payroll/v1/user/123456/789043'
Example Response:200
json
{
"tp_user_id": 635180,
"tp_company_id": 10110,
"ref_user_id": "test-user-0003",
"ref_company_id": "DEMO-123460",
"first_name": "Jeffrey",
"middle_name": "Mise",
"last_name": "Mallari",
"email": "user635180@fake.com",
"phone": "+63 (000) 548 8111",
"user_status": "VERIFIED",
"message": "",
"registered_at": "2021-11-17T08:43:08+08:00",
"updated_at": "2022-03-02T16:12:03+08:00",
"credit_limit": 12750,
"available_credit_limit": 94,
"repayment_days": "15,30",
"billing_account_id": "FP599883"
}