Skip to content

Instantly share code, notes, and snippets.

@antonfefilov
Created January 10, 2014 15:04
Show Gist options
  • Save antonfefilov/8355894 to your computer and use it in GitHub Desktop.
Save antonfefilov/8355894 to your computer and use it in GitHub Desktop.
Stripe subscription object
#<Stripe::StripeObject id=sub_3Hg6e9n909QzDb 0x00000a> JSON: {
"id": "sub_3Hg6e9n909QzDb",
"plan": {
"interval": "week",
"name": "Team up",
"amount": 100,
"currency": "usd",
"id": "team_up",
"object": "plan",
"livemode": false,
"interval_count": 1,
"trial_period_days": null,
"metadata": {
}
},
"object": "subscription",
"start": 1389365921,
"status": "active",
"customer": "cus_2r3cPpbF09rP7S",
"cancel_at_period_end": false,
"current_period_start": 1389365921,
"current_period_end": 1389970721,
"ended_at": null,
"trial_start": null,
"trial_end": null,
"canceled_at": null,
"quantity": 1,
"application_fee_percent": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment