Token payroll

Compute Token Payroll Current Step

Derives each payroll's current step and contributor/settlement counts from its settlement orders.

POSThttps://api.toku.com/stablecoin-payroll/compute-token-payroll-current-step

Required scope: payroll:read

curl --request POST \
  --url 'https://api.toku.com/stablecoin-payroll/compute-token-payroll-current-step' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "tokenPayrollIDs": [
    "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

tokenPayrollIDsstring[]required

Allowed: 1 to 10000 items

Response

200Successful response
objectobject

Request regeneration does not infer response shapes.

400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
429Response 429
Was this page helpful? Suggest edits