#darkon
1 messages · Page 1 of 1 (latest)
hello! you can list all Prices by it's Product : https://stripe.com/docs/api/prices/list#list_prices-product
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
no, it's more like $stripe->prices->all([product=>'prod_NHAhMUlIqdu53I')];
ok great. So if i want show all products and his prices i have to call first products->all and then inside the for i have to call prices->all passing the id of the first api. Correct?
depend what you're trying to do, you can call prices->all and pass expand=>["data.product"] to get the Product object returned in each Price
ok thank you. Last question if i want to retrive payment link too, what should i do?
what do you mean exactly?
i created a payment link for each price. Can i get it from api?
I don't see any way to make that link between the API objects unfortunately
i don't want to make just show
this for example
I don't understand what you're asking
each price has a payment link associated. I can create easily from dashboard. I want to get that payment link from price api.