forked from stripe-ruby-mock/stripe-ruby-mock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
customer.subscription.updated.json
49 lines (49 loc) · 1.2 KB
/
customer.subscription.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
{
"created": 1326853478,
"livemode": false,
"id": "evt_00000000000000",
"type": "customer.subscription.updated",
"object": "event",
"data": {
"object": {
"id": "su_00000000000000",
"plan": {
"interval": "month",
"name": "Member's Club",
"amount": 100,
"currency": "usd",
"id": "fkx0AFo_00000000000000",
"object": "plan",
"livemode": false,
"interval_count": 1,
"trial_period_days": null
},
"object": "subscription",
"start": 1381080561,
"status": "active",
"customer": "cus_00000000000000",
"cancel_at_period_end": false,
"current_period_start": 1381080561,
"current_period_end": 1383758961,
"ended_at": null,
"trial_start": null,
"trial_end": null,
"canceled_at": null,
"quantity": 1,
"application_fee_percent": null
},
"previous_attributes": {
"plan": {
"interval": "month",
"name": "Old plan",
"amount": 100,
"currency": "usd",
"id": "OLD_PLAN_ID",
"object": "plan",
"livemode": false,
"interval_count": 1,
"trial_period_days": null
}
}
}
}