Настройки компании, а также роль и права участника, от чьего имени сделан запрос. Отдельное право не нужно.
Безопасность
apiKeyAuth
- Мок-серверhttps://b2b-app.lumowallet.io/_mock/apis/auth/company/profile
- https://b2b.lumowallet.iohttps://b2b.lumowallet.io/auth/company/profile
- https://b2b-staging.lumowallet.iohttps://b2b-staging.lumowallet.io/auth/company/profile
curl -i -X GET \
https://b2b-app.lumowallet.io/_mock/apis/auth/company/profile \
-H 'X-API-Key: YOUR_API_KEY_HERE'Профиль компании
One of:
У owner есть все права независимо от списка; у admin и member — только права из их списка.
string(MemberRole)
Enum:"owner""admin""member"
Права участника, от чьего имени сделан запрос; ["*"] — все права
Пример:
[ "*" ]
Ответ
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "email": "string", "loginEmail": "string", "contactEmail": "[email protected]", "contactTelegram": "string", "isActive": true, "webhookUrl": "string", "hasWebhookSecret": true, "depositForwardAddress": "string", "balance": 0, "frozenBalance": 0, "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "role": "owner", "permissions": [ "*" ], "isOwner": true, "cards": { "enabled": true, "openingFeeUsdt": 5, "commissionBps": 80, "minInitialDepositUsdt": 10, "minRechargeUsdt": 0, "testMode": true }, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }