Token payroll

Get Settlement Status For Wallet References

Returns per-wallet-reference settlement status and advances the payroll to APPROVED or COMPLETED when all are done.

POSThttps://api.toku.com/stablecoin-payroll/get-settlement-status-for-wallet-references

Not available to API keys yet. It will need payroll:write.

curl --request POST \
  --url 'https://api.toku.com/stablecoin-payroll/get-settlement-status-for-wallet-references' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "tokenPayrollID": "string",
  "walletReferenceIDs": [
    "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

tokenPayrollIDstringrequired

Allowed: 1 to 200 characters

walletReferenceIDsstring[]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