Skip to content
gist.link ↗

payrollSettings

Query Payroll API — POST https://payroll.api.gist.link/graphql

Org payroll schedule settings (auto-created with defaults on first read).

payroll:query:payrollSettings

The calling IAM key must hold this permission (or a wildcard that covers it: payroll:query:* or payroll:*) and the access token must have been minted with audience=payroll. See Permissions.

type Query {
payrollSettings: PayrollSettings!
}

This query takes no arguments.

PayrollSettings! — see the Payroll types reference.

Terminal window
curl https://payroll.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query PayrollSettings { payrollSettings { uuid pay_frequency anchor_pay_date overtime_weekly_threshold_hours next_pay_date updated_at } }",
"variables": {}
}
JSON