Skip to content

Instantly share code, notes, and snippets.

@jasonwiener
Created December 20, 2013 18:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasonwiener/8058806 to your computer and use it in GitHub Desktop.
Save jasonwiener/8058806 to your computer and use it in GitHub Desktop.
{
"status": "success",
"now": 1377860542,
"data": {
"customer": "cus_1f0MLmnMDLhyok",
"object": "invoice",
"next_payment_attempt": null,
"attempted": true,
"livemode": false,
"lines": {
"subscriptions": [
{
"object": "line_item",
"description": null,
"proration": false,
"livemode": false,
"period": {
"start": 1376886775,
"end": 1379565175
},
"currency": "usd",
"amount": 0,
"plan": {
"interval": "month",
"name": "Monthly Plan",
"livemode": false,
"interval_count": 1,
"object": "plan",
"currency": "usd",
"amount": 0,
"id": "test"
},
"type": "subscription",
"id": "su_1frw4Qs2cgHXZh",
"quantity": 1
}
]
},
"paid": true,
"currency": "usd",
"attempt_count": 0,
"closed": true,
"period_end": 1376886775,
"date": 1376886808,
"amount_due": 0,
"period_start": 1374208375,
"total": 0,
"subtotal": 0,
"id": "in_2PZVoCfYjhZbhb",
"ending_balance": null,
"starting_balance": -749
},
"took": "152.06ms"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment