Skip to content
gist.link ↗

updateMyPayrollDetails

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

Employee self-service: update your own direct deposit + tax details with explicit consent. Same sealed-at-rest treatment as the invite flow.

payroll:mutation:updateMyPayrollDetails

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

type Mutation {
updateMyPayrollDetails(input: SubmitPayrollInviteInput!): SubmitResult!
}
Argument Type Required Description
input SubmitPayrollInviteInput! Yes —

SubmitResult! — 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": "mutation UpdateMyPayrollDetails($input: SubmitPayrollInviteInput!) { updateMyPayrollDetails(input: $input) { success message } }",
"variables": {
"input": {
"consent": true,
"direct_deposit": {
"account_holder": "example"
}
}
}
}
JSON