#.xsanti_
1 messages · Page 1 of 1 (latest)
What are all the data points you're trying to get back, specifically?
i need the price, name, description, image and the payment link
i find how get one at the time, but i would like just do one request
Yeah you can't do that all in one request
oh... thanks
ok
So expand allows you to expand other objects in an api response. Recommend reading: https://stripe.com/docs/expand. If you retrieve your payment link via https://stripe.com/docs/api/payment_links/payment_links/retrieve, then you should be able to also expand your product to get the data you need in that 1 request: https://stripe.com/docs/api/payment_links/payment_links/object#payment_link_object-line_items-data-price-product
okey i try that