forked from stripe-ruby-mock/stripe-ruby-mock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
customer.subscription.created.json
66 lines (66 loc) · 1.79 KB
/
customer.subscription.created.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
{
"created": 1326853478,
"livemode": false,
"id": "evt_00000000000000",
"type": "customer.subscription.created",
"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": 1381080557,
"status": "active",
"customer": "cus_00000000000000",
"cancel_at_period_end": false,
"current_period_start": 1381080557,
"current_period_end": 1383758957,
"ended_at": null,
"trial_start": null,
"trial_end": null,
"canceled_at": null,
"quantity": 1,
"application_fee_percent": null
}
}
}