Can any body tell how to filter out Subscription from a particular price id. Any kind of API is present then please share here. (preferred Node.js)
In node.js, you can list subscriptions that contain a specific price ID using the subscription.list()
method and passing the price
parameter, like this:
const subscriptions = await stripe.subscriptions.list({
price: "{{PRICE_ID}}",
});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.