mirror of https://github.com/zulip/zulip.git
111 lines
3.1 KiB
JSON
111 lines
3.1 KiB
JSON
{
|
||
"created": 1326853478,
|
||
"livemode": false,
|
||
"id": "invoice.updated_00000000000000",
|
||
"type": "invoice.updated",
|
||
"object": "event",
|
||
"request": null,
|
||
"pending_webhooks": 1,
|
||
"api_version": "2018-11-08",
|
||
"data": {
|
||
"object": {
|
||
"id": "in_00000000000000",
|
||
"object": "invoice",
|
||
"amount_due": 1000,
|
||
"amount_paid": 0,
|
||
"amount_remaining": 1000,
|
||
"application_fee": null,
|
||
"attempt_count": 0,
|
||
"attempted": false,
|
||
"auto_advance": true,
|
||
"billing": "send_invoice",
|
||
"billing_reason": "manual",
|
||
"charge": null,
|
||
"currency": "usd",
|
||
"custom_fields": null,
|
||
"customer": "cus_00000000000000",
|
||
"date": 1546862399,
|
||
"default_source": null,
|
||
"description": null,
|
||
"discount": null,
|
||
"due_date": 1549454425,
|
||
"ending_balance": 0,
|
||
"finalized_at": 1546862425,
|
||
"footer": null,
|
||
"hosted_invoice_url": "https://pay.stripe.com/invoice/invst_IH3jVDl7ovgEn6FgamLGRz0uiA",
|
||
"invoice_pdf": "https://pay.stripe.com/invoice/invst_IH3jVDl7ovgEn6FgamLGRz0uiA/pdf",
|
||
"lines": {
|
||
"data": [
|
||
{
|
||
"id": "sli_00000000000000",
|
||
"object": "line_item",
|
||
"amount": 999,
|
||
"currency": "usd",
|
||
"description": "1 × Titanium Corporate (at $9.99 / month)",
|
||
"discountable": true,
|
||
"livemode": false,
|
||
"metadata": {
|
||
},
|
||
"period": {
|
||
"end": 1551114237,
|
||
"start": 1548435837
|
||
},
|
||
"plan": {
|
||
"id": "plan_00000000000000",
|
||
"object": "plan",
|
||
"active": true,
|
||
"aggregate_usage": null,
|
||
"amount": 999,
|
||
"billing_scheme": "per_unit",
|
||
"created": 1548434720,
|
||
"currency": "usd",
|
||
"interval": "month",
|
||
"interval_count": 1,
|
||
"livemode": false,
|
||
"metadata": {
|
||
},
|
||
"nickname": null,
|
||
"product": "prod_00000000000000",
|
||
"tiers": null,
|
||
"tiers_mode": null,
|
||
"transform_usage": null,
|
||
"trial_period_days": null,
|
||
"usage_type": "licensed"
|
||
},
|
||
"proration": false,
|
||
"quantity": 1,
|
||
"subscription": "sub_00000000000000",
|
||
"subscription_item": "si_00000000000000",
|
||
"type": "subscription"
|
||
}
|
||
],
|
||
"has_more": false,
|
||
"object": "list",
|
||
"url": "/v1/invoices/in_1DpwlvHOC2HiLzOV3LVuwMuC/lines"
|
||
},
|
||
"livemode": false,
|
||
"metadata": {
|
||
},
|
||
"next_payment_attempt": null,
|
||
"number": "7DBE74C-0001",
|
||
"paid": false,
|
||
"period_end": 1546862399,
|
||
"period_start": 1546862399,
|
||
"receipt_number": null,
|
||
"starting_balance": 0,
|
||
"statement_descriptor": null,
|
||
"status": "open",
|
||
"subscription": null,
|
||
"subtotal": 1000,
|
||
"tax": 0,
|
||
"tax_percent": null,
|
||
"total": 1000,
|
||
"webhooks_delivered_at": null
|
||
},
|
||
"previous_attributes": {
|
||
"lines": [
|
||
]
|
||
}
|
||
}
|
||
}
|