Skip to content

createTemporaryPassword

Sahri Riza Umami edited this page Jun 6, 2018 · 4 revisions

Creates a new temporary password for processing payments.

createTemporaryPassword(password, valid_for)
Field Type Description
password string Persistent user password
valid_for int32 Time during which the temporary password will be valid, in seconds; should be between 60 and 86400

Example

  • Creates new temporary "This is a secret password" password for payments processing that valid for 600 seconds.

    createTemporaryPassword('This is a secret password', 600)

    Response:

    {
      ["@type"] = "temporaryPasswordState",
      has_password = true,
      valid_for = 600
    }

Frequently Asked Questions
The Functions

Clone this wiki locally