{ "object": "list", "url": "/v1/invoices", "count": 3, "data": [ { "date": 1394731307, "id": "in_103ewP2eZvKYlo2CFLLwIX7a", "period_start": 1394731307, "period_end": 1394731307, "lines": { "data": [ { "id": "sub_3ewdhCIki3FxWt", "object": "line_item", "type": "subscription", "livemode": true, "amount": 2000, "currency": "usd", "proration": false, "period": { "start": 1397410552, "end": 1400002552 }, "quantity": 1, "plan": { "interval": "month", "name": "New plan name123", "created": 1386247539, "amount": 2000, "currency": "usd", "id": "gold21323", "object": "plan", "livemode": false, "interval_count": 1, "trial_period_days": null, "metadata": { } }, "description": null, "metadata": null } ], "count": 1, "object": "list", "url": "/v1/invoices/in_103ewP2eZvKYlo2CFLLwIX7a/lines" }, "subtotal": 0, "total": 0, "customer": "abcdefghijklmnop", "object": "invoice", "attempted": true, "closed": true, "paid": true, "livemode": false, "attempt_count": 0, "amount_due": 0, "currency": "usd", "starting_balance": 0, "ending_balance": null, "next_payment_attempt": null, "charge": null, "discount": null, "application_fee": null, "subscription": "sub_3ewPpEGKafMelq", "metadata": { }, "description": null }, { "date": 1394731308, "id": "in_103ewP2eZvKYlo2CFLLwIX7b", "period_start": 1394731308, "period_end": 1394731308, "lines": { "data": [ { "id": "sub_3ewdhCIki3FxWu", "object": "line_item", "type": "subscription", "livemode": true, "amount": 2000, "currency": "usd", "proration": false, "period": { "start": 1397410553, "end": 1400002553 }, "quantity": 1, "plan": { "interval": "month", "name": "New plan name124", "created": 1386247540, "amount": 2000, "currency": "usd", "id": "gold21324", "object": "plan", "livemode": false, "interval_count": 1, "trial_period_days": null, "metadata": { } }, "description": null, "metadata": null } ], "count": 1, "object": "list", "url": "/v1/invoices/in_103ewP2eZvKYlo2CFLLwIX7b/lines" }, "subtotal": 0, "total": 0, "customer": "cus_3ewUPsNuSVb5hF", "object": "invoice", "attempted": true, "closed": true, "paid": true, "livemode": false, "attempt_count": 0, "amount_due": 0, "currency": "usd", "starting_balance": 0, "ending_balance": null, "next_payment_attempt": null, "charge": null, "discount": null, "application_fee": null, "subscription": "sub_3ewPpEGKafMelq", "metadata": { }, "description": null }, { "date": 1394731309, "id": "in_103ewP2eZvKYlo2CFLLwIX7c", "period_start": 1394731309, "period_end": 1394731309, "lines": { "data": [ { "id": "sub_3ewdhCIki3FxWv", "object": "line_item", "type": "subscription", "livemode": true, "amount": 2000, "currency": "usd", "proration": false, "period": { "start": 1397410554, "end": 1400002554 }, "quantity": 1, "plan": { "interval": "month", "name": "New plan name125", "created": 1386247541, "amount": 2000, "currency": "usd", "id": "gold21325", "object": "plan", "livemode": false, "interval_count": 1, "trial_period_days": null, "metadata": { } }, "description": null, "metadata": null } ], "count": 1, "object": "list", "url": "/v1/invoices/in_103ewP2eZvKYlo2CFLLwIX7c/lines" }, "subtotal": 0, "total": 0, "customer": "cus_3ewUPsNuSVb5hG", "object": "invoice", "attempted": true, "closed": true, "paid": true, "livemode": false, "attempt_count": 0, "amount_due": 0, "currency": "usd", "starting_balance": 0, "ending_balance": null, "next_payment_attempt": null, "charge": null, "discount": null, "application_fee": null, "subscription": "sub_3ewPpEGKafMels", "metadata": { }, "description": null } ] }