List employee wages
Deprecated
Returns a paginated list of EmployeeWage
instances for a business.
Permissions
EMPLOYEES_READ
Deprecation date
2020-08-26
Retirement date
2021-08-26
Replaced by
ListTeamMemberWages
Migration guide
Name | Description |
---|---|
employee_
|
Filter wages returned to only those that are associated with the specified employee. |
limit
|
Maximum number of Employee Wages to return per page. Can range between 1 and 200. The default is the maximum at 200. |
cursor
|
Pointer to the next page of Employee Wage results to fetch. |
Response Fields
Name | Description |
---|---|
employee_
|
A page of Employee Wage results. |
cursor
|
Value supplied in the subsequent request to fetch the next next page of Employee Wage results. |
errors
|
Any errors that occurred during the request. |
Examples
GET
/v2/labor/employee-wages
cURL
- cURL
- Ruby
- Python
- C#
- Java
- PHP
- Node.js
curl https://connect.squareup.com/v2/labor/employee-wages?employee_id=33fJchumvVdJwxV0H6L9&limit=4&cursor=s4R0Z6ecFTzTC4jz8sUDBQTudX3KE313OT9fCt3VUgsXM4sMgED \
-H 'Square-Version: 2020-12-16' \
-H 'Authorization: Bearer ACCESS_TOKEN' \
-H 'Content-Type: application/json'
Response JSON
{
"employee_wages": [
{
"id": "pXS3qCv7BERPnEGedM4S8mhm",
"employee_id": "33fJchumvVdJwxV0H6L9",
"title": "Manager",
"hourly_rate": {
"amount": 3250,
"currency": "USD"
}
},
{
"id": "rZduCkzYDUVL3ovh1sQgbue6",
"employee_id": "33fJchumvVdJwxV0H6L9",
"title": "Cook",
"hourly_rate": {
"amount": 2600,
"currency": "USD"
}
},
{
"id": "FxLbs5KpPUHa8wyt5ctjubDX",
"employee_id": "33fJchumvVdJwxV0H6L9",
"title": "Barista",
"hourly_rate": {
"amount": 1600,
"currency": "USD"
}
},
{
"id": "vD1wCgijMDR3cX5TPnu7VXto",
"employee_id": "33fJchumvVdJwxV0H6L9",
"title": "Cashier",
"hourly_rate": {
"amount": 1700,
"currency": "USD"
}
}
],
"cursor": "2fofTniCgT0yIPAq26kmk0YyFQJZfbWkh73OOnlTHmTAx13NgED"
}