mirror of https://github.com/zulip/zulip.git
103 lines
2.8 KiB
JSON
103 lines
2.8 KiB
JSON
{
|
|
"id": "evt_1DeFYZDEQaroqDjsX811NXeq",
|
|
"object": "event",
|
|
"api_version": "2018-11-08",
|
|
"created": 1544074671,
|
|
"data": {
|
|
"object": {
|
|
"id": "sub_E6STM5w5EX3K28",
|
|
"object": "subscription",
|
|
"application_fee_percent": null,
|
|
"billing": "send_invoice",
|
|
"billing_cycle_anchor": 1544074670,
|
|
"cancel_at_period_end": false,
|
|
"canceled_at": null,
|
|
"created": 1544074670,
|
|
"current_period_end": 1575610670,
|
|
"current_period_start": 1544074670,
|
|
"customer": "cus_00000000000000",
|
|
"days_until_due": 7,
|
|
"default_source": null,
|
|
"discount": null,
|
|
"ended_at": null,
|
|
"items": {
|
|
"object": "list",
|
|
"data": [
|
|
{
|
|
"id": "si_E6STR3cU0bwWFG",
|
|
"object": "subscription_item",
|
|
"created": 1544074671,
|
|
"metadata": {
|
|
},
|
|
"plan": {
|
|
"id": "plan_E6SQ6RAtmLVtzg",
|
|
"object": "plan",
|
|
"active": true,
|
|
"aggregate_usage": null,
|
|
"amount": 100,
|
|
"billing_scheme": "per_unit",
|
|
"created": 1544074513,
|
|
"currency": "usd",
|
|
"interval": "year",
|
|
"interval_count": 1,
|
|
"livemode": true,
|
|
"metadata": {
|
|
},
|
|
"nickname": "flatrate",
|
|
"product": "prod_E6SPZ5RKfKClNL",
|
|
"tiers": null,
|
|
"tiers_mode": null,
|
|
"transform_usage": null,
|
|
"trial_period_days": null,
|
|
"usage_type": "licensed"
|
|
},
|
|
"quantity": 800,
|
|
"subscription": "sub_E6STM5w5EX3K28"
|
|
}
|
|
],
|
|
"has_more": false,
|
|
"total_count": 1,
|
|
"url": "/v1/subscription_items?subscription=sub_E6STM5w5EX3K28"
|
|
},
|
|
"livemode": true,
|
|
"metadata": {
|
|
},
|
|
"plan": {
|
|
"id": "plan_E6SQ6RAtmLVtzg",
|
|
"object": "plan",
|
|
"active": true,
|
|
"aggregate_usage": null,
|
|
"amount": 100,
|
|
"billing_scheme": "per_unit",
|
|
"created": 1544074513,
|
|
"currency": "usd",
|
|
"interval": "year",
|
|
"interval_count": 1,
|
|
"livemode": true,
|
|
"metadata": {
|
|
},
|
|
"nickname": "flatrate",
|
|
"product": "prod_E6SPZ5RKfKClNL",
|
|
"tiers": null,
|
|
"tiers_mode": null,
|
|
"transform_usage": null,
|
|
"trial_period_days": null,
|
|
"usage_type": "licensed"
|
|
},
|
|
"quantity": 800,
|
|
"start": 1544074670,
|
|
"status": "active",
|
|
"tax_percent": null,
|
|
"trial_end": null,
|
|
"trial_start": null
|
|
}
|
|
},
|
|
"livemode": true,
|
|
"pending_webhooks": 1,
|
|
"request": {
|
|
"id": "req_J85F0AkACDDTBU",
|
|
"idempotency_key": null
|
|
},
|
|
"type": "customer.subscription.created"
|
|
}
|