Skip to content
gist.link ↗

sendDirectDeposit

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

Send a direct deposit through the pay app and track it as a paid PayItem. ROLE_ADMIN.

payroll:mutation:sendDirectDeposit

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 {
sendDirectDeposit(input: SendDirectDepositInput!): SubmitResult!
}
Argument Type Required Description
input SendDirectDepositInput! 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 SendDirectDeposit($input: SendDirectDepositInput!) { sendDirectDeposit(input: $input) { success message } }",
"variables": {
"input": {
"employee_uuid": "example",
"amount_minor": 10
}
}
}
JSON