#iryna-valchak_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1257714829523812433
đ Have more to share? Add details, code, screenshots, videos, etc. below.
Hello
You can't pass a Customer ID to a Payment Link
Payment Links are meant for a one-to-many integration
The Customer object is created when your customer visits the Payment Link
Ok, should I output customer id from the payment link data?
Yep
You can look at the Customer associated with the Subscription
In terms of a trial, you set that via subscription_data.trial_period_days when you create your Payment Link: https://docs.stripe.com/api/payment_links/payment_links/create#create_payment_link-subscription_data-trial_period_days
thank you!