Machine-readable version of this page: /method/account.getTmpPassword.md.
Get temporary payment password
Method schema is available as of layer 84. Switch ยป
| 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 |
| 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. |