Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.74 KB | None | 0 0
  1. {
  2. "object": "invoice",
  3. "amount_due": 4998,
  4. "application_fee": null,
  5. "attempt_count": 0,
  6. "attempted": false,
  7. "charge": null,
  8. "closed": false,
  9. "currency": "usd",
  10. "customer": "cus_9RCN0N4DRmTcSx",
  11. "date": 1480043392,
  12. "description": null,
  13. "discount": null,
  14. "ending_balance": null,
  15. "forgiven": false,
  16. "lines": {
  17. "object": "list",
  18. "data": [
  19. {
  20. "id": "ii_198LViA8Nw4NrejOYGcS2BL2",
  21. "object": "line_item",
  22. "amount": -999,
  23. "currency": "usd",
  24. "description": "Unused time on ws-plan-plus-test after 25 Oct 2016",
  25. "discountable": false,
  26. "livemode": false,
  27. "metadata": {},
  28. "period": {
  29. "start": 1477365718,
  30. "end": 1480043392
  31. },
  32. "plan": {
  33. "id": "ws-plan-plus-test",
  34. "object": "plan",
  35. "amount": 999,
  36. "created": 1475953944,
  37. "currency": "usd",
  38. "interval": "month",
  39. "interval_count": 1,
  40. "livemode": false,
  41. "metadata": {},
  42. "name": "ws-plan-plus-test",
  43. "statement_descriptor": null,
  44. "trial_period_days": null
  45. },
  46. "proration": true,
  47. "quantity": 1,
  48. "subscription": "sub_9RDlpNAWcbtWSi",
  49. "type": "invoiceitem"
  50. },
  51. {
  52. "id": "ii_198LViA8Nw4NrejOTKn3enSX",
  53. "object": "line_item",
  54. "amount": 2998,
  55. "currency": "usd",
  56. "description": "Remaining time on ws-plan-premium-test after 25 Oct 2016",
  57. "discountable": false,
  58. "livemode": false,
  59. "metadata": {},
  60. "period": {
  61. "start": 1477365718,
  62. "end": 1480043392
  63. },
  64. "plan": {
  65. "id": "ws-plan-premium-test",
  66. "object": "plan",
  67. "amount": 2999,
  68. "created": 1475953971,
  69. "currency": "usd",
  70. "interval": "month",
  71. "interval_count": 1,
  72. "livemode": false,
  73. "metadata": {},
  74. "name": "ws-plan-premium-test",
  75. "statement_descriptor": null,
  76. "trial_period_days": null
  77. },
  78. "proration": true,
  79. "quantity": 1,
  80. "subscription": "sub_9RDlpNAWcbtWSi",
  81. "type": "invoiceitem"
  82. },
  83. {
  84. "id": "sub_9RDlpNAWcbtWSi",
  85. "object": "line_item",
  86. "amount": 2999,
  87. "currency": "usd",
  88. "description": null,
  89. "discountable": true,
  90. "livemode": false,
  91. "metadata": {},
  92. "period": {
  93. "start": 1480043392,
  94. "end": 1482635392
  95. },
  96. "plan": {
  97. "id": "ws-plan-premium-test",
  98. "object": "plan",
  99. "amount": 2999,
  100. "created": 1475953971,
  101. "currency": "usd",
  102. "interval": "month",
  103. "interval_count": 1,
  104. "livemode": false,
  105. "metadata": {},
  106. "name": "ws-plan-premium-test",
  107. "statement_descriptor": null,
  108. "trial_period_days": null
  109. },
  110. "proration": false,
  111. "quantity": 1,
  112. "subscription": null,
  113. "type": "subscription"
  114. }
  115. ],
  116. "has_more": false,
  117. "total_count": 3,
  118. "url": "/v1/invoices/upcoming/lines?customer=cus_9RCN0N4DRmTcSx&subscription=sub_9RDlpNAWcbtWSi&subscription_proration_date=1477536749"
  119. },
  120. "livemode": false,
  121. "metadata": {},
  122. "next_payment_attempt": 1480046992,
  123. "paid": false,
  124. "period_end": 1480043392,
  125. "period_start": 1477364992,
  126. "receipt_number": null,
  127. "starting_balance": 0,
  128. "statement_descriptor": null,
  129. "subscription": "sub_9RDlpNAWcbtWSi",
  130. "subtotal": 4998,
  131. "tax": null,
  132. "tax_percent": null,
  133. "total": 4998,
  134. "webhooks_delivered_at": null
  135. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement