I am using Braintree payment gateway in my Rails application. I am wondering if I can retrieve the customer's subscriptions details from it. According to the documentation, one of the way of doing this is subscription = Braintree::Subscription.find(id)
When creating a subscription, basic objects such as plan_id
and amount
was saved into the database. So, how do I retrieve subscription's information such as next_billing_date
that is associated to the customer?