Operation get_accounts

The operation of obtaining the list of your accounts (wallets).

Query parameters

ParameterValue
operationis_verified_account
login<Username>
token<TOKEN>. Obtained after invoking get_token.
encrypted_passwordEncrypted password. It is obtained after user password RSA encryption with the use of a public exponent and the modulus obtained in invoking the get_token operation.

Response in the CSV format

Format

Line No.Data format
10;<total_count>;<rur_count>;<rur_total_amount>;<usd_count>;<usd_total_amount>;<eur_count>;<eur_total_amount>
2 ... n<acc_name>;<acc_num>;<acc_cur>;<acc_balance>;<acc_blocked>

Values

ValueDescription
<total_count>The total number of accounts.
<rur_count>
<usd_count>
<eur_count>
The number of accounts in the respective currency.
<rur_total_amount>
<usd_total_amount>
<eur_total_amount>
The total amount of funds in the respective currency in all accounts.
<acc_name>Account name.
<acc_num>Account number.
<acc_cur>Account currency.
<acc_balance>Account balance (including blocked funds).
<acc_blocked>The amount of the blocked funds.

Response examples

JSON (recommended format, please set x-response-format=json header)

{
  "code": 0,
  "message": "",
  "data": {
    "summary": {
      "RUR": "21069.99",
      "USD": "99998883588.94",
      "EUR": "2749.05",
      "BTC": "2.00"
    },
    "accounts": [
      {
        "name": "Для рефера",
        "number": "U0100652",
        "currency": "USD",
        "balance": "0.90",
        "blockedAmount": "0.00"
      },
      {
        "name": "Test API account",
        "number": "R0100415",
        "currency": "RUR",
        "balance": "0.00",
        "blockedAmount": "0.00"
      },
      {
        "name": "Абв",
        "number": "R0100671",
        "currency": "RUR",
        "balance": "6607.74",
        "blockedAmount": "0.00"
      },
      {
        "name": "Для мерчанта RUR1",
        "number": "R0100050",
        "currency": "RUR",
        "balance": "115.00",
        "blockedAmount": "0.00"
      },
      {
        "name": "Test",
        "number": "E0100965",
        "currency": "EUR",
        "balance": "2763.05",
        "blockedAmount": "14.00"
      },
      {
        "name": "123",
        "number": "U0100837",
        "currency": "USD",
        "balance": "1000.00",
        "blockedAmount": "0.00"
      },
      {
        "name": "Биржа труда",
        "number": "R0100271",
        "currency": "RUR",
        "balance": "0.00",
        "blockedAmount": "0.00"
      },
      {
        "name": "Биржа USD",
        "number": "U0100692",
        "currency": "USD",
        "balance": "337.92",
        "blockedAmount": "0.00"
      },
      {
        "name": "Для мерчанта EUR",
        "number": "E0100853",
        "currency": "EUR",
        "balance": "0.00",
        "blockedAmount": "0.00"
      },
      {
        "name": "Test5000",
        "number": "R0100400",
        "currency": "RUR",
        "balance": "0.00",
        "blockedAmount": "0.00"
      },
      {
        "name": "Очень большое название и длинное",
        "number": "R0100813",
        "currency": "RUR",
        "balance": "14347.25",
        "blockedAmount": "0.00"
      },
      {
        "name": "Bitcoin 23",
        "number": "B0100245",
        "currency": "BTC",
        "balance": "2.00",
        "blockedAmount": "0.00"
      },
      {
        "name": "Для мерчанта USD",
        "number": "U0100788",
        "currency": "USD",
        "balance": "31.25",
        "blockedAmount": "0.00"
      },
      {
        "name": "$$$",
        "number": "U0100020",
        "currency": "USD",
        "balance": "99998882988.87",
        "blockedAmount": "770.00"
      },
      {
        "name": "Test API account",
        "number": "R0100560",
        "currency": "RUR",
        "balance": "0.00",
        "blockedAmount": "0.00"
      }
    ]
  }
}

CSV

0;15;7;21069.99;5;99998883588.94;2;2749.05;1;2.00
"Для рефера";U0100652;USD;0.90;0.00
"Test API account";R0100415;RUR;0.00;0.00
Абв;R0100671;RUR;6607.74;0.00
"Для мерчанта RUR1";R0100050;RUR;115.00;0.00
Test;E0100965;EUR;2763.05;14.00
123;U0100837;USD;1000.00;0.00
"Биржа труда";R0100271;RUR;0.00;0.00
"Биржа USD";U0100692;USD;337.92;0.00
"Для мерчанта EUR";E0100853;EUR;0.00;0.00
Test5000;R0100400;RUR;0.00;0.00
"Очень большое название и длинное";R0100813;RUR;14347.25;0.00
"Bitcoin 23";B0100245;BTC;2.00;0.00
"Для мерчанта USD";U0100788;USD;31.25;0.00
$$$;U0100020;USD;99998882988.87;770.00
"Test API account";R0100560;RUR;0.00;0.00