forked from stripe-ruby-mock/stripe-ruby-mock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
subscription_schedule.canceled.json
119 lines (113 loc) · 3.16 KB
/
subscription_schedule.canceled.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"id": "evt_000000000000000000000000",
"object": "event",
"api_version": "2020-08-27",
"created": 1648320097,
"data": {
"object": {
"id": "sub_sched_000000000000000000000000",
"object": "subscription_schedule",
"canceled_at": 1648320097,
"completed_at": null,
"created": 1648320096,
"current_phase": null,
"customer": "cus_00000000000000",
"default_settings": {
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
},
"billing_cycle_anchor": "automatic",
"billing_thresholds": null,
"collection_method": "charge_automatically",
"default_payment_method": null,
"default_source": null,
"invoice_settings": null,
"transfer_data": null
},
"end_behavior": "release",
"livemode": false,
"metadata": {
},
"phases": [
{
"add_invoice_items": [
],
"application_fee_percent": null,
"billing_cycle_anchor": null,
"billing_thresholds": null,
"collection_method": null,
"coupon": null,
"default_payment_method": null,
"default_tax_rates": [
],
"end_date": 1650998496,
"invoice_settings": null,
"items": [
{
"billing_thresholds": null,
"plan": "price_000000000000000000000000",
"price": "price_000000000000000000000000",
"quantity": 1,
"tax_rates": [
]
}
],
"proration_behavior": "create_prorations",
"start_date": 1648320096,
"transfer_data": null,
"trial_end": null
},
{
"add_invoice_items": [
],
"application_fee_percent": null,
"billing_cycle_anchor": null,
"billing_thresholds": null,
"collection_method": null,
"coupon": null,
"default_payment_method": null,
"default_tax_rates": [
],
"end_date": 1653590496,
"invoice_settings": null,
"items": [
{
"billing_thresholds": null,
"plan": "price_000000000000000000000000",
"price": "price_000000000000000000000000",
"quantity": 2,
"tax_rates": [
]
}
],
"proration_behavior": "create_prorations",
"start_date": 1650998496,
"transfer_data": null,
"trial_end": null
}
],
"released_at": null,
"released_subscription": null,
"renewal_interval": null,
"status": "canceled",
"subscription": "sub_000000000000000000000000",
"test_clock": null
},
"previous_attributes": {
"canceled_at": null,
"current_phase": {
"end_date": 1650998496,
"start_date": 1648320096
},
"status": "active"
}
},
"livemode": false,
"pending_webhooks": 2,
"request": {
"id": "req_00000000000000",
"idempotency_key": "27f56452-b979-42fb-8bc1-219db1e65979"
},
"type": "subscription_schedule.canceled"
}