Affiliate ABO

const session = await stripe.checkout.sessions.create({ success_url: 'https://example.com/success', cancel_url: 'https://example.com/cancel', metadata: { tolt_referral: req.body.referral, }, line_items: [ {price: 'price_H52gTvtDq1fbrJ', quantity: 1}, ], mode: 'subscription', });