How to use payload

How to use payload in nvtxMark or nvtxRange ? What is the effect of using payload? Is there any example?