मुख्य सामग्री पर जाएं
GET
/
api
/
v1
/
account
/
profile
प्रोफ़ाइल प्राप्त करें
curl --request GET \
  --url https://api.example.com/api/v1/account/profile
{
  "id": 123,
  "email": "<string>",
  "tron_address": "<string>",
  "balance_trx": "<string>",
  "totp_enabled": true,
  "created_at": "<string>"
}

प्रोफ़ाइल प्राप्त करें

आपकी अकाउंट प्रोफ़ाइल जानकारी लौटाता है।

रिस्पॉन्स

id
number
उपयोगकर्ता ID
email
string
ईमेल एड्रेस (यदि सेट है)
tron_address
string
लिंक किया गया TRON एड्रेस (यदि सेट है)
balance_trx
string
TRX में अकाउंट बैलेंस
totp_enabled
boolean
2FA सक्षम है या नहीं
created_at
string
अकाउंट निर्माण टाइमस्टैम्प

उदाहरण

curl https://api.tronrental.com/v1/account/profile \
  -H "X-API-Key: your_api_key"
Response
{
  "id": 1,
  "email": "user@example.com",
  "tron_address": "TYourAddress...",
  "balance_trx": "150.50",
  "totp_enabled": false,
  "created_at": "2026-01-15T10:00:00Z"
}