@doc_metadata(categories=['<STR_LIT>'])<EOL><INDENT>def payment_wait(self, account, amount, timeout):<DEDENT>
account = self._process_value(account, '<STR_LIT>')<EOL>amount = self._process_value(amount, '<STR_LIT:int>')<EOL>timeout = self._process_value(timeout, '<STR_LIT:int>')<EOL>payload = {"<STR_LIT>": account, "<STR_LIT>": amount, "<STR_LIT>": timeout}<EOL>resp = self.call('<STR_LIT>', payload)<EOL>return resp['<STR_LIT:status>'] == '<STR_LIT:success>'<EOL>
Wait for payment of **amount** to arrive in **account** or until **timeout**
milliseconds have elapsed.

:param account: Account to wait for payment
:type account: str

:param amount: Amount in raw of funds to wait for payment to arrive
:type amount: int

:param timeout: Timeout in milliseconds to wait for
:type timeout: int

:raises: :py:exc:`nano.rpc.RPCException`

>>> rpc.payment_wait(
...     account="xrb_3e3j5tkog48pnny9dmfzj1r16pg8t1e76dz5tmac6iq689wyjfpi00000000",
...     amount=1,
...     timeout=1000
... )
True