Advertisement
Guest User

Example stripe invoice.created body

a guest
Apr 7th, 2014
1,258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.97 KB | None | 0 0
  1. {
  2. "created": 1326853478,
  3. "livemode": false,
  4. "id": "evt_00000000000000",
  5. "type": "invoice.created",
  6. "object": "event",
  7. "request": null,
  8. "data": {
  9. "object": {
  10. "date": 1396453799,
  11. "id": "in_00000000000000",
  12. "period_start": 1396453799,
  13. "period_end": 1396453799,
  14. "lines": {
  15. "data": [
  16. {
  17. "id": "sub_3mPRa49Urkl94H",
  18. "object": "line_item",
  19. "type": "subscription",
  20. "livemode": true,
  21. "amount": 699,
  22. "currency": "gbp",
  23. "proration": false,
  24. "period": {
  25. "start": 1399045799,
  26. "end": 1401724199
  27. },
  28. "quantity": 1,
  29. "plan": {
  30. "interval": "month",
  31. "name": "1 Month",
  32. "created": 1395356388,
  33. "amount": 699,
  34. "currency": "gbp",
  35. "id": "1month",
  36. "object": "plan",
  37. "livemode": false,
  38. "interval_count": 1,
  39. "trial_period_days": null,
  40. "metadata": {
  41. },
  42. "statement_description": null
  43. },
  44. "description": null,
  45. "metadata": null
  46. }
  47. ],
  48. "count": 1,
  49. "object": "list",
  50. "url": "/v1/invoices/in_3mPRWOstb4MXEo/lines"
  51. },
  52. "subtotal": 699,
  53. "total": 699,
  54. "customer": "cus_00000000000000",
  55. "object": "invoice",
  56. "attempted": false,
  57. "closed": true,
  58. "paid": true,
  59. "livemode": false,
  60. "attempt_count": 0,
  61. "amount_due": 699,
  62. "currency": "gbp",
  63. "starting_balance": 0,
  64. "ending_balance": 0,
  65. "next_payment_attempt": null,
  66. "charge": "ch_00000000000000",
  67. "discount": null,
  68. "application_fee": null,
  69. "subscription": "sub_00000000000000",
  70. "metadata": {
  71. },
  72. "description": null
  73. }
  74. }
  75. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement