# Subscription object
# subscription.canceled_at
Returns the datetime of the cancelation of the subscription in Y-m-d H:i:s
format.
# subscription.cancel_url
Returns the url to cancel the subscription.
# subscription.created_at
Returns the datetime of the subscription creation in Y-m-d H:i:s
format.
# subscription.customer
Returns the customer of the subscription.
# subscription.id
Returns the unique id of the subscription.
# subscription.is_canceled
Returns true
if the subscription is canceled. Returns false
if not.
# subscription.plan
Returns the plan of the subscription.
# subscription.status
Returns the status of the subscription.
# subscription.total_price
Returns the price of the subscription.
Possible statuses:
- upcoming
- trialing
- active
- paused
- past_due
- unpaid
- canceled
- ended
# subscription.next_renewal_at
Returns the datetime of next renewal of the subscription in Y-m-d H:i:s
format.