forked from stripe-ruby-mock/stripe-ruby-mock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
subscription_schedule.updated.json
125 lines (119 loc) · 3.25 KB
/
subscription_schedule.updated.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
120
121
122
123
124
125
{
"id": "evt_000000000000000000000000",
"object": "event",
"api_version": "2020-08-27",
"created": 1648320111,
"data": {
"object": {
"id": "sub_sched_000000000000000000000000",
"object": "subscription_schedule",
"canceled_at": null,
"completed_at": null,
"created": 1648320110,
"current_phase": {
"end_date": 1650998510,
"start_date": 1648320110
},
"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": {
"days_until_due": null
},
"transfer_data": null
},
"end_behavior": "release",
"livemode": false,
"metadata": {
"foo": "bar"
},
"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": 1650998510,
"invoice_settings": null,
"items": [
{
"billing_thresholds": null,
"plan": "price_000000000000000000000000",
"price": "price_000000000000000000000000",
"quantity": 1,
"tax_rates": [
]
}
],
"proration_behavior": "create_prorations",
"start_date": 1648320110,
"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": 1653590510,
"invoice_settings": null,
"items": [
{
"billing_thresholds": null,
"plan": "price_000000000000000000000000",
"price": "price_000000000000000000000000",
"quantity": 2,
"tax_rates": [
]
}
],
"proration_behavior": "create_prorations",
"start_date": 1650998510,
"transfer_data": null,
"trial_end": null
}
],
"released_at": null,
"released_subscription": null,
"renewal_interval": null,
"status": "active",
"subscription": "sub_000000000000000000000000",
"test_clock": null
},
"previous_attributes": {
"default_settings": {
"invoice_settings": null
},
"metadata": {
"foo": null
}
}
},
"livemode": false,
"pending_webhooks": 2,
"request": {
"id": "req_00000000000000",
"idempotency_key": "209a08f0-224b-410a-b659-a0a39a7c59b6"
},
"type": "subscription_schedule.updated"
}