For users other than Poloniex, no payload code needed - simply input your public key inside the transaction payload (public or encrypted)
Remaining funds are not sent instantly, but waited for 2 block confirmations