Token payroll

Get All Employee Token Distributions

Returns token distribution elections for the given employees and token types.

POSThttps://api.toku.com/stablecoin-payroll/get-all-employee-token-distributions

Required scope: payroll:read. It also needs banking:read, compensation:read.

curl --request POST \
  --url 'https://api.toku.com/stablecoin-payroll/get-all-employee-token-distributions' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "roleInOrgIDs": [
    "string"
  ],
  "tokenTypeIDs": [
    "string"
  ]
}'
200 response
[]

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is an access token from a Toku sign-in. See Authentication in the API reference.

Body

application/json

roleInOrgIDsstring[]required

Allowed: 1 to 10000 items

tokenTypeIDsstring[]required

Allowed: 1 to 10000 items

Response

200Successful response
any[]any[]
400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
429Response 429
Was this page helpful? Suggest edits