#Yor
1 messages · Page 1 of 1 (latest)
You'd need to send a list/array of line_items for the payment link:
https://stripe.com/docs/api/payment_links/payment_links/create#create_payment_link-line_items
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Could you give me an extended example of the singular product one?
Thanks for your help
For example how do you deal with different number of quantities for each product?
This is set within each line_item:
line_items: [
{
price: 'price_123',
quantity: 1, // set quantity here
},
],
Ah like that, ok thanks