#Pavan-subscriptions
1 messages · Page 1 of 1 (latest)
Ok. Got it now.Thanks
Problem is the API, customer.retrieve("customer_id") is not fetching subscriptions. Looks like we need to add extra params.
what needs to be added ?
You'd want to list the Subscriptions with the customer id via https://stripe.com/docs/api/subscriptions/list#list_subscriptions-customer
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thanks. Is annual subscription related to subscription or price ?
Oh i see you messaged again in the main channel;
Let's continue here
Pavan — Today at 9:07 AM
Is term annual related to Subscription or Price ? I am creating customer and want to bill him annually instead of monthly. How to do that ?
synthrider — Today at 9:13 AM
the period for billing is set on the Price
and within a given subscription, all items must have the same billing period length
This part of the docs shows you different kinds of pricing:
https://stripe.com/docs/billing/subscriptions/examples#varying-pricing