👋
Welcome to Stokn.io
  • 👋Welcome to Stokn.io
  • Overview
    • 💡What we do?
    • 🚀Our Features
      • Wallet as a Service
      • Trading as a Service
      • Staking as a Service
      • Portfolio ESG Scoring
      • KYC, KYB, KYT
    • 📱White Label Mobile App
  • USE CASES
    • đŸĻFor NeoBanks, Fintechs, Asset Managers
    • 👨‍đŸ’ŧFor Independant wealth managers
    • 💰For Crypto-Payments
  • HOW TO USE OUR API
  • đŸŽ¯Overview
  • 📝Step 1 - User Account Creation
  • 🔍Step 2 - User KYC
  • â„šī¸Step 3 - User Account Information
  • đŸ’ĩStep 4 - User Deposit & Withdrawal
  • 🔄Step 5 - Crypto conversion
  • 🔐Step 6 - User Get Wallet Information
  • 💸Step 7 - Dollar Cost Average
  • đŸŒŋStep 8 - Scoring ESG
Powered by GitBook
On this page

Step 6 - User Get Wallet Information

PreviousStep 5 - Crypto conversionNextStep 7 - Dollar Cost Average

Last updated 1 year ago

Using these endpoints, will allow you to collect all the information (accountId, portfolioId,...).

You will also be able to reflect the user portfolio balances.

OAuth: user_auth

OAuth: user_auth

🔐
get
Authorizations
Responses
200
OK
*/*
get
GET /v1/user/me HTTP/1.1
Host: 
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
200

OK

{
  "success": true,
  "data": {
    "userId": "text",
    "phoneNumber": "text",
    "name": "text",
    "surname": "text",
    "accounts": [
      {
        "accountId": "text",
        "email": "text",
        "subAccountId": "text",
        "subAccountEmail": "text",
        "encryptionKey": "text",
        "creationTs": "2025-06-01T09:33:21.169Z",
        "portfolios": [
          {
            "portfolioId": "text",
            "name": "text",
            "accountId": "text",
            "creationTs": "2025-06-01T09:33:21.169Z",
            "publicStrategy": true,
            "portfolioAccountType": "TRADING"
          }
        ],
        "additionalInfo": {
          "ANY_ADDITIONAL_PROPERTY": "text"
        },
        "active": true,
        "tradingPortfolioId": "text"
      }
    ],
    "kycIds": [
      "text"
    ],
    "documentIds": [
      "text"
    ],
    "address": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "info": {
      "ANY_ADDITIONAL_PROPERTY": "text"
    },
    "email": "text",
    "userAccountStatus": "text"
  },
  "errorCode": 1,
  "errorMessage": "text"
}
get
Authorizations
Responses
200
OK
*/*
get
GET /v1/user/portfolio-balance HTTP/1.1
Host: 
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
200

OK

{
  "success": true,
  "data": [
    {
      "accountId": "text",
      "portfolioId": "text",
      "portfolioAccountType": "TRADING",
      "ts": "2025-06-01T09:33:21.169Z",
      "historicalBalancePrices": {
        "ANY_ADDITIONAL_PROPERTY": 1
      },
      "assetBalances": [
        {
          "portfolioId": "text",
          "ts": "2025-06-01T09:33:21.169Z",
          "asset": {
            "slug": "text",
            "name": "text",
            "logoUrl": "text",
            "availableNetworks": [
              "text"
            ]
          },
          "quantity": 1,
          "eurValue": 1,
          "usdValue": 1
        }
      ]
    }
  ],
  "errorCode": 1,
  "errorMessage": "text"
}
  • GET/v1/user/me
  • GET/v1/user/portfolio-balance