Add the cost of your sales and marketing and divide by the number of deals during that time to obtain CAC.
Then you can calculate both LTV/CAC and CAC payback.
Per channel attribution is of course far more difficult, depending on the channel.