Skip to content
gist.link ↗

payrollCompliance

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

Tax compliance readiness: which registrations (legal name, CRA payroll account, US EIN, EU tax id) still need to be configured in the settings app before payroll can remit and file, based on where employees are.

payroll:query:payrollCompliance

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 {
payrollCompliance: PayrollCompliance!
}

This query takes no arguments.

PayrollCompliance! — 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 PayrollCompliance { payrollCompliance { ready } }",
"variables": {}
}
JSON