Get temporary payment password
Method schema is available as of layer 84. Switch ยป
Parameters
Name |
Type |
Description |
password |
InputCheckPasswordSRP |
SRP password parameters |
period |
int |
Time during which the temporary password will be valid, in seconds; should be between 60 and 86400 |
Result
account.TmpPassword
Possible errors
Code |
Type |
Description |
400 |
PASSWORD_HASH_INVALID |
The provided password hash is invalid. |
400 |
SRP_A_INVALID |
The specified inputCheckPasswordSRP.A value is invalid. |
400 |
TMP_PASSWORD_DISABLED |
The temporary password is disabled. |