Skip to content

Latest commit

 

History

History
65 lines (56 loc) · 1.54 KB

retrieve-wage-setting-response.md

File metadata and controls

65 lines (56 loc) · 1.54 KB

Retrieve Wage Setting Response

Represents a response from a retrieve request containing the specified WageSetting object or error messages.

Structure

Retrieve Wage Setting Response

Fields

Name Type Tags Description
wage_setting Wage Setting Hash Optional An object representing a team member's wage information.
errors Array<Error Hash> Optional The errors that occurred during the request.

Example (as JSON)

{
  "wage_setting": {
    "created_at": "2020-06-11T23:01:21+00:00",
    "is_overtime_exempt": false,
    "job_assignments": [
      {
        "annual_rate": {
          "amount": 4500000,
          "currency": "USD"
        },
        "hourly_rate": {
          "amount": 2164,
          "currency": "USD"
        },
        "job_title": "Manager",
        "pay_type": "SALARY",
        "weekly_hours": 40
      }
    ],
    "team_member_id": "1yJlHapkseYnNPETIU1B",
    "updated_at": "2020-06-11T23:01:21+00:00",
    "version": 1
  },
  "errors": [
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "INVALID_EXPIRATION",
      "detail": "detail6",
      "field": "field4"
    },
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "INVALID_EXPIRATION",
      "detail": "detail6",
      "field": "field4"
    },
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "INVALID_EXPIRATION",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}