The operation of creating an account.
Query parameters
Parameter |
Value |
operation |
create_account |
login |
<User name> |
token |
<TOKEN>. Obtained after invoking get_token. |
encrypted_password |
Encrypted 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.
|
account_name | Account name. |
account_currency | Account currency (RUR, USD, EUR). |
See also
Response in the CSV format
Format
Line No. |
Data format |
1 | 0;<account_number>;<account_currency> |
Values
Value |
Description |
<account_number> | The number of the created account. |
<account_currency> | Account currency. |
Response examples
JSON (recommended format, please set x-response-format=json header)
{
"code": 0,
"message": "",
"data": {
"number": "R0100328",
"currency": "RUR",
"name": "Test API account"
}
}
CSV
0;R0100419;RUR;"Test API account"