Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.26 KB

get-team-member-wage-response.md

File metadata and controls

44 lines (35 loc) · 1.26 KB

Get Team Member Wage Response

A response to a request to get a TeamMemberWage. The response contains the requested TeamMemberWage objects and might contain a set of Error objects if the request resulted in errors.

Structure

GetTeamMemberWageResponse

Fields

Name Type Tags Description Getter
TeamMemberWage TeamMemberWage Optional The hourly wage rate that a team member earns on a Shift for doing the job
specified by the title property of this object.
TeamMemberWage getTeamMemberWage()
Errors List<Error> Optional Any errors that occurred during the request. List getErrors()

Example (as JSON)

{
  "team_member_wage": {
    "hourly_rate": {
      "amount": 2000,
      "currency": "USD"
    },
    "id": "pXS3qCv7BERPnEGedM4S8mhm",
    "job_id": "jxJNN6eCJsLrhg5UFJrDWDGE",
    "team_member_id": "33fJchumvVdJwxV0H6L9",
    "tip_eligible": false,
    "title": "Manager"
  },
  "errors": [
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "INVALID_EXPIRATION",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}