Accounts

List User Accounts

Retreive a list of user accounts

GET https://api.vana.com/api/v0/accounts

Query Parameters

{
    "success": true,
    "accounts": [
        {
            "id": "bc6cbe52-168e-47d2-92bf-a3691be68939",
            "created": 1700030558389,
            "username": "Dimi5552",
            "isVerified": false,
            "isDisabled": false,
            "isSubscribed": false,
            "meta": {
                "dateOfBirth": "1996-07-05",
                "referredByAccountId": "402ff531-eb7c-4cbb-8605-f3448f2d9e58"
            },
            "tags": [],
            "characterId": "15f9edaa-5a2b-4414-9ab4-d75b8e0b4882",
            "profilePictureUrl": null,
        }
    ]
}

Get User Account

Retreive account details for a specific user

GET https://api.vana.com/api/v0/accounts/:account-id

Path Parameters

{
    "success": true,
    "account": {
        "id": "bc6cbe52-168e-47d2-92bf-a3691be68939",
        "created": 1700030558389,
        "username": "Dimi5552",
        "isVerified": false,
        "isDisabled": false,
        "isSubscribed": false,
        "meta": {
            "dateOfBirth": "1996-07-05",
            "referredByAccountId": "402ff531-eb7c-4cbb-8605-f3448f2d9e58"
        },
        "tags": [],
        "characterId": "15f9edaa-5a2b-4414-9ab4-d75b8e0b4882",
        "profilePictureUrl": null,
    }
}

Get a user's balance

Retreive a user's account balance

GET https://api.vana.com/api/v0/accounts/:account-id/balance

Path Parameters

{
    "success": true,
    "balance": 100
}

Last updated