Cards, prop trading & accounting

Get Credential Masked

Returns one org credential's safe metadata with decrypted values masked; flags decryption failure.

GEThttps://api.toku.com/stablecoin-payroll/get-credential-masked

Not available to API keys.

curl --request GET \
  --url 'https://api.toku.com/stablecoin-payroll/get-credential-masked?credentialsID=%3CcredentialsID%3E' \
  --header 'Authorization: Bearer <token>'
200 response
{
  "credential": {
    "credentialsID": "string",
    "name": "string",
    "type": "string",
    "orgID": "string",
    "isEmployeeIntegration": true,
    "isPayrollIntegration": true,
    "autoSyncEnabled": true,
    "isExpired": true,
    "refreshing": true,
    "nextRefreshAt": "string",
    "createdAt": "string",
    "updatedAt": "string",
    "details": {},
    "maskedData": {},
    "decryptionError": true
  }
}

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.

Query parameters

credentialsIDstringrequired

Response

200Successful response
credentialobjectrequired
Show child attributes
credentialsIDstringrequired
namestring | nullrequired
typestringrequired
orgIDstringrequired
isEmployeeIntegrationboolean | nullrequired
isPayrollIntegrationboolean | nullrequired
autoSyncEnabledboolean | nullrequired
isExpiredboolean | nullrequired
refreshingboolean | nullrequired
nextRefreshAtstring | nullrequired
createdAtstringrequired
updatedAtstringrequired
detailsobject | nullrequired
maskedDataobjectrequired
decryptionErrorboolean
400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
429Response 429
Was this page helpful? Suggest edits