action squareup_retrieve_wage_setting { label: "RetrieveWageSetting" description: "Retrieves a `WageSetting` object for a team member specified\nby `TeamMember.id`.\nLearn about [Troubleshooting the Team API](https://developer.squareup.com/docs/team/troubleshooting#retrievewagesetting)." provider: squareup method: GET path: "/v2/team-members/{team_member_id}/wage-setting" encoding: json input: { type: "object" properties: { team_member_id: { type: "string" } } required: ["team_member_id"] additionalProperties: false } output: { type: "object" description: "Represents a response from a retrieve request containing the specified `WageSetting` object or error messages." properties: { errors: { type: "array" description: "The errors that occurred during the request." items: { type: "object" description: "Represents an error encountered during a request to the Connect API.\n\nSee [Handling errors](https://developer.squareup.com/docs/build-basics/handling-errors) for more information." required: ["category", "code"] properties: { category: { type: "string" description: "The high-level category for the error." } code: { type: "string" description: "The specific code of the error." } detail: { type: "string" description: "A human-readable description of the error for debugging purposes." } field: { type: "string" description: "The name of the field provided in the original request (if any) that\nthe error pertains to." } } } } wage_setting: { type: "object" description: "An object representing a team member's wage information." properties: { created_at: { type: "string" description: "The timestamp, in RFC 3339 format, describing when the wage setting object was created.\nFor example, \"2018-10-04T04:00:00-07:00\" or \"2019-02-05T12:00:00Z\"." } is_overtime_exempt: { type: "boolean" description: "Whether the team member is exempt from the overtime rules of the seller's country." } job_assignments: { type: "array" description: "Required. The ordered list of jobs that the team member is assigned to.\nThe first job assignment is considered the team member's primary job.\n\nThe minimum length is 1 and the maximum length is 12." items: { type: "object" description: "An object describing a job that a team member is assigned to." required: ["job_title", "pay_type"] properties: { annual_rate: { type: "object" description: "Represents an amount of money. `Money` fields can be signed or unsigned.\nFields that do not explicitly define whether they are signed or unsigned are\nconsidered unsigned and can only hold positive amounts. For signed fields, the\nsign of the value indicates the purpose of the money transfer. See\n[Working with Monetary Amounts](https://developer.squareup.com/docs/build-basics/working-with-monetary-amounts)\nfor more information." properties: { amount: { type: "integer" format: "int64" description: "The amount of money, in the smallest denomination of the currency\nindicated by `currency`. For example, when `currency` is `USD`, `amount` is\nin cents. Monetary amounts can be positive or negative. See the specific\nfield description to determine the meaning of the sign in a particular case." } currency: { type: "string" description: "The type of currency, in __ISO 4217 format__. For example, the currency\ncode for US dollars is `USD`.\n\nSee [Currency](https://developer.squareup.com/reference/square_2021-08-18/enums/Currency) for possible values." } } } hourly_rate: { type: "object" description: "Represents an amount of money. `Money` fields can be signed or unsigned.\nFields that do not explicitly define whether they are signed or unsigned are\nconsidered unsigned and can only hold positive amounts. For signed fields, the\nsign of the value indicates the purpose of the money transfer. See\n[Working with Monetary Amounts](https://developer.squareup.com/docs/build-basics/working-with-monetary-amounts)\nfor more information." properties: { amount: { type: "integer" format: "int64" description: "The amount of money, in the smallest denomination of the currency\nindicated by `currency`. For example, when `currency` is `USD`, `amount` is\nin cents. Monetary amounts can be positive or negative. See the specific\nfield description to determine the meaning of the sign in a particular case." } currency: { type: "string" description: "The type of currency, in __ISO 4217 format__. For example, the currency\ncode for US dollars is `USD`.\n\nSee [Currency](https://developer.squareup.com/reference/square_2021-08-18/enums/Currency) for possible values." } } } job_title: { type: "string" description: "The title of the job." } pay_type: { type: "string" description: "The current pay type for the job assignment used to\ncalculate the pay amount in a pay period." } weekly_hours: { type: "integer" description: "The planned hours per week for the job. Set if the job `PayType` is `SALARY`." } } } } team_member_id: { type: "string" description: "The unique ID of the `TeamMember` whom this wage setting describes." } updated_at: { type: "string" description: "The timestamp, in RFC 3339 format, describing when the wage setting object was last updated.\nFor example, \"2018-10-04T04:00:00-07:00\" or \"2019-02-05T12:00:00Z\"." } version: { type: "integer" description: "Used for resolving concurrency issues. The request fails if the version\nprovided does not match the server version at the time of the request. If not provided,\nSquare executes a blind write, potentially overwriting data from another write. For more information,\nsee [optimistic concurrency](https://developer.squareup.com/docs/working-with-apis/optimistic-concurrency)." } } } } } }