Organization

Get Organization Wallet Info

Returns wallet settings for your organization. Any seat role can call it.

GEThttps://app.toku.com/api/tokuApi/v1/getOrgWalletInfo

This is the v1 (legacy) API. The current API is in the API reference.

curl --request GET \
  --url 'https://app.toku.com/api/tokuApi/v1/getOrgWalletInfo' \
  --header 'Authorization: Bearer <token>' \
  --header 'x-role-type: CLIENT_ORG_ADMIN'
200 response
{
  "data": {
    "isMfaEnabled": false,
    "orgID": "aa0e8400-e29b-41d4-a716-446655440005",
    "orgName": "Acme Labs",
    "isSCPMultiWalletSupportEnabled": false,
    "automatedTestTransactionsEnabled": true,
    "isTestTxAmountVerificationEnabled": false,
    "tokenId": null
  },
  "error": null
}

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your API token.

Headers

x-role-typestringrequired

Seat role the token acts as. The token's creator must hold this role in the token's org; TOKU_ADMIN and unknown values are refused with 401. Any seat role is accepted.

Available options: CLIENT_ORG_ADMIN, CLIENT_ORG_APPROVER, FINANCE_ADMIN, USER, INVESTOR

Response

200Organization wallet info
dataobjectrequired
Show child attributes
isMfaEnabledboolean
orgIDstring<uuid>
orgNamestring
isSCPMultiWalletSupportEnabledboolean
automatedTestTransactionsEnabledboolean
isTestTxAmountVerificationEnabledboolean
tokenIdstring | null

Org token contract address

errorobject | nullrequired

Always null on success

401The token is missing, invalid or expired
errorstringrequired

What went wrong

403The token's seat doesn't have the permission this operation needs
errorobjectrequired
Show child attributes
messagestringrequired
429Too many requests from this address or token. Wait for the number of seconds in the Retry-After header, then retry.
errorstringrequired

What went wrong

500The operation failed. This includes input that doesn't match what the operation accepts; error.message says what was wrong.
errorobjectrequired
Show child attributes
messagestringrequired
Was this page helpful? Suggest edits