code: func CreatePayload(txh *TransactionHeader, channelHeader *common.ChannelHeader, data []byte) (*common.Payload, error) {
  	header, err := createHeader(txh, channelHeader)
  	if err != nil {
  		return nil, errors.Wrap(err, "header creation failed")
  	}
  
  	payload := common.Payload{
  		Header: header,
  		Data:   data,
  	}
  
  	return &payload, nil
  }
docs: // CreatePayload creates a slice of payload bytes from a ChannelHeader and a data slice.