Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "object": "invoice",
- "amount_due": 4998,
- "application_fee": null,
- "attempt_count": 0,
- "attempted": false,
- "charge": null,
- "closed": false,
- "currency": "usd",
- "customer": "cus_9RCN0N4DRmTcSx",
- "date": 1480043392,
- "description": null,
- "discount": null,
- "ending_balance": null,
- "forgiven": false,
- "lines": {
- "object": "list",
- "data": [
- {
- "id": "ii_198LViA8Nw4NrejOYGcS2BL2",
- "object": "line_item",
- "amount": -999,
- "currency": "usd",
- "description": "Unused time on ws-plan-plus-test after 25 Oct 2016",
- "discountable": false,
- "livemode": false,
- "metadata": {},
- "period": {
- "start": 1477365718,
- "end": 1480043392
- },
- "plan": {
- "id": "ws-plan-plus-test",
- "object": "plan",
- "amount": 999,
- "created": 1475953944,
- "currency": "usd",
- "interval": "month",
- "interval_count": 1,
- "livemode": false,
- "metadata": {},
- "name": "ws-plan-plus-test",
- "statement_descriptor": null,
- "trial_period_days": null
- },
- "proration": true,
- "quantity": 1,
- "subscription": "sub_9RDlpNAWcbtWSi",
- "type": "invoiceitem"
- },
- {
- "id": "ii_198LViA8Nw4NrejOTKn3enSX",
- "object": "line_item",
- "amount": 2998,
- "currency": "usd",
- "description": "Remaining time on ws-plan-premium-test after 25 Oct 2016",
- "discountable": false,
- "livemode": false,
- "metadata": {},
- "period": {
- "start": 1477365718,
- "end": 1480043392
- },
- "plan": {
- "id": "ws-plan-premium-test",
- "object": "plan",
- "amount": 2999,
- "created": 1475953971,
- "currency": "usd",
- "interval": "month",
- "interval_count": 1,
- "livemode": false,
- "metadata": {},
- "name": "ws-plan-premium-test",
- "statement_descriptor": null,
- "trial_period_days": null
- },
- "proration": true,
- "quantity": 1,
- "subscription": "sub_9RDlpNAWcbtWSi",
- "type": "invoiceitem"
- },
- {
- "id": "sub_9RDlpNAWcbtWSi",
- "object": "line_item",
- "amount": 2999,
- "currency": "usd",
- "description": null,
- "discountable": true,
- "livemode": false,
- "metadata": {},
- "period": {
- "start": 1480043392,
- "end": 1482635392
- },
- "plan": {
- "id": "ws-plan-premium-test",
- "object": "plan",
- "amount": 2999,
- "created": 1475953971,
- "currency": "usd",
- "interval": "month",
- "interval_count": 1,
- "livemode": false,
- "metadata": {},
- "name": "ws-plan-premium-test",
- "statement_descriptor": null,
- "trial_period_days": null
- },
- "proration": false,
- "quantity": 1,
- "subscription": null,
- "type": "subscription"
- }
- ],
- "has_more": false,
- "total_count": 3,
- "url": "/v1/invoices/upcoming/lines?customer=cus_9RCN0N4DRmTcSx&subscription=sub_9RDlpNAWcbtWSi&subscription_proration_date=1477536749"
- },
- "livemode": false,
- "metadata": {},
- "next_payment_attempt": 1480046992,
- "paid": false,
- "period_end": 1480043392,
- "period_start": 1477364992,
- "receipt_number": null,
- "starting_balance": 0,
- "statement_descriptor": null,
- "subscription": "sub_9RDlpNAWcbtWSi",
- "subtotal": 4998,
- "tax": null,
- "tax_percent": null,
- "total": 4998,
- "webhooks_delivered_at": null
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement