def create_payload(self):
doc = etree.fromstring(self.message)<EOL>self.payload = etree.tostring(doc, encoding="<STR_LIT:utf-8>")<EOL>self.payload = urlsafe_b64encode(self.payload).decode("<STR_LIT:ascii>")<EOL>return self.payload<EOL>
Create the payload doc.

        Returns:
            str