// Waits for payment of 'amount' to arrive in 'account'
// or until 'timeout' milliseconds have elapsed.
Waits for payment of 'amount' to arrive in 'account'
or until 'timeout' milliseconds have elapsed.
// Waits for payment of ' amount ' to arrive in ' account ' // or until ' timeout ' milliseconds have elapsed .
func WaitPayment(account, amount string, timeout int) (string, error) {
	payload := map[string]interface{}{
		"account": account,
		"amount":  amount,
		"timeout": timeout,
	}
	return client.fetchString("payment_wait", payload, "status")
}
func WaitPayment ( account , amount string , timeout int ) ( string , error ) { payload := map [ string ] interface { } { " " : account , " " : amount , " " : timeout , } return client . fetchString ( " " , payload , " " ) }
Waits for payment of 'amount' to arrive in 'account'
or until 'timeout' milliseconds have elapsed.
Waits for payment of ' amount ' to arrive in ' account ' or until ' timeout ' milliseconds have elapsed .