Перейти к содержимому

Update company profile

Запрос

Безопасность
apiKeyAuth
Телоapplication/jsonобязательный
webhookUrlstring, (uri)
Пример:"https://merchant.example.com/webhooks/lumo"
depositForwardAddressstring

TRON address where captured deposits are forwarded

Пример:"TQ2x4..."
curl -i -X PATCH \
  https://b2b-app.lumowallet.io/_mock/apis/auth/company/profile \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -d '{
    "webhookUrl": "https://merchant.example.com/webhooks/lumo",
    "depositForwardAddress": "TQ2x4..."
  }'

Ответы

Updated company profile

Телоapplication/json
idstring, (uuid)обязательный
namestringобязательный
emailstring, (email)обязательный
contactEmailstring or null, (email)
contactTelegramstring or null
isActivebooleanобязательный
webhookUrlstring or null
depositForwardAddressstring or null

TRON address where captured deposits are forwarded after fee is charged

Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "email": "[email protected]", "contactEmail": "[email protected]", "contactTelegram": "string", "isActive": true, "webhookUrl": "string", "depositForwardAddress": "string" }