Quantcast
Channel: Square Developer Forums - Latest topics
Viewing all articles
Browse latest Browse all 1334

we are facing some issues when we are calling create team-members API in with prod details same API is working fine in sandbox ENV

$
0
0

Prod API link - https://connect.squareup.com/v2/team-members/<candidate_id>/wage-setting
Header - Square-Version:2024-01-18
Authorization:Bearer <Access_token>
Content-Type:application/json

sandbox API link - https://connect.squareupsandbox.com/v2/team-members/<candidate_id>/wage-setting
Header - Square-Version:2024-01-18
Authorization:Bearer <Access_token>
Content-Type:application/json

API body - {
“wage_setting”: {
“is_overtime_exempt”: true,
“team_member_id”: “<candidate_id>”,
“job_assignments”: [
{
“job_title”: “Manager”,
“pay_type”: “SALARY”,
“annual_rate”: {
“amount”: 2500000,
“currency”: “USD”
},
“weekly_hours”: 40
},
{
“job_title”: “Cashier”,
“pay_type”: “HOURLY”,
“hourly_rate”: {
“amount”: 1200,
“currency”: “USD”
}
}
]
}
}

4 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 1334

Trending Articles