forked from stripe-ruby-mock/stripe-ruby-mock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
customer.subscription.deleted.json
65 lines (65 loc) · 1.78 KB
/
customer.subscription.deleted.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
{
"created": 1326853478,
"livemode": false,
"id": "evt_00000000000000",
"type": "customer.subscription.deleted",
"object": "event",
"data": {
"object": {
"id": "su_00000000000000",
"items": {
"object": "list",
"data": [{
"id": "si_00000000000000",
"object": "subscription_item",
"created": 1497881783,
"plan": {
"interval": "month",
"product": "pr_00000000000000",
"amount": 100,
"currency": "usd",
"id": "fkx0AFo_00000000000000",
"object": "plan",
"livemode": false,
"interval_count": 1,
"trial_period_days": null,
"metadata": {}
},
"quantity": 1
},
{
"id": "si_00000000000001",
"object": "subscription_item",
"created": 1497881788,
"plan": {
"interval": "month",
"product": "pr_00000000000001",
"amount": 200,
"currency": "eur",
"id": "fkx0AFo_00000000000001",
"object": "plan",
"livemode": false,
"interval_count": 1,
"trial_period_days": null,
"metadata": {}
},
"quantity": 5
}
]
},
"object": "subscription",
"start": 1381080564,
"status": "canceled",
"customer": "cus_00000000000000",
"cancel_at_period_end": false,
"current_period_start": 1381080564,
"current_period_end": 1383758964,
"ended_at": 1381021514,
"trial_start": null,
"trial_end": null,
"canceled_at": null,
"quantity": 1,
"application_fee_percent": null
}
}
}