Rapid Rewards points associated with flying, 6 points per dollar spent on a Wanna Get Away fare, are awarded to the individual flyer(s) actually doing the flying despite who pays for the ticket. Points earned from Southwest credit card spending are earned by the primary holder of the credit card.
Did this or any other comment in the thread answer your question? Please take a moment and click the "Accept as Solution" button on the comments you found most helpful, this will be a big help to any future Community Members who have a similar question!
You will only get the points for your ticket. If you bought all the tickets with a Southwest credit card you would get the points for the money spent but for the flight credit each person flying would get there own credit.
If the others have rapid rewards accounts be sure to attach there number do they can get the points.