Created
October 17, 2014 15:59
-
-
Save chrisarusso/c75ce89616499a10585e to your computer and use it in GitHub Desktop.
Test POST from Stripe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"created": 1326853478, | |
"livemode": false, | |
"id": "evt_00000000000000", | |
"type": "invoice.payment_failed", | |
"object": "event", | |
"request": null, | |
"data": { | |
"object": { | |
"date": 1413483530, | |
"id": "in_00000000000000", | |
"period_start": 1410891416, | |
"period_end": 1413483416, | |
"lines": { | |
"data": [ | |
{ | |
"id": "sub_4yZk2dVU62bP4X", | |
"object": "line_item", | |
"type": "subscription", | |
"livemode": true, | |
"amount": 100, | |
"currency": "usd", | |
"proration": false, | |
"period": { | |
"start": 1416237899, | |
"end": 1418829899 | |
}, | |
"subscription": null, | |
"quantity": 1, | |
"plan": { | |
"interval": "month", | |
"name": "Residential Pick-up Service", | |
"created": 1386300775, | |
"amount": 100, | |
"currency": "usd", | |
"id": "1", | |
"object": "plan", | |
"livemode": false, | |
"interval_count": 1, | |
"trial_period_days": null, | |
"metadata": {}, | |
"statement_description": null | |
}, | |
"description": null, | |
"metadata": {} | |
} | |
], | |
"count": 1, | |
"object": "list", | |
"url": "/v1/invoices/in_14oIpq2BjI2SyZkLxSjKfZgp/lines" | |
}, | |
"subtotal": 2200, | |
"total": 2200, | |
"customer": "cus_00000000000000", | |
"object": "invoice", | |
"attempted": true, | |
"closed": false, | |
"forgiven": false, | |
"paid": false, | |
"livemode": false, | |
"attempt_count": 1, | |
"amount_due": 2200, | |
"currency": "usd", | |
"starting_balance": 0, | |
"ending_balance": 0, | |
"next_payment_attempt": null, | |
"webhooks_delivered_at": 1413483530, | |
"charge": "ch_00000000000000", | |
"discount": null, | |
"application_fee": null, | |
"subscription": "sub_00000000000000", | |
"metadata": {}, | |
"statement_description": null, | |
"description": null, | |
"receipt_number": null | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment