This repository has been archived by the owner on Jan 22, 2021. It is now read-only.
forked from nijikokun/stripe-mock-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
invoice_updated.json
70 lines (70 loc) · 1.79 KB
/
invoice_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
[
{
"created": 1326853478,
"livemode": false,
"id": "evt_00000000000000",
"type": "invoice.updated",
"object": "event",
"data": {
"object": {
"date": 1381502959,
"id": "in_00000000000000",
"period_start": 1381502959,
"period_end": 1381502959,
"lines": {
"data": [
{
"id": "su_2jdlFxq6XpjkJ1",
"object": "line_item",
"type": "subscription",
"livemode": true,
"amount": 0,
"currency": "usd",
"proration": false,
"period": {
"start": 1381502959,
"end": 1384094959
},
"quantity": 1,
"plan": {
"interval": "month",
"name": "Gold",
"amount": 7900,
"currency": "usd",
"id": "gold-v1",
"object": "plan",
"livemode": false,
"interval_count": 1,
"trial_period_days": 30
},
"description": null
}
],
"count": 1,
"object": "list",
"url": "/v1/invoices/in_2jaOyRoBFb6TY6/lines"
},
"subtotal": 0,
"total": 0,
"customer": "cus_00000000000000",
"object": "invoice",
"attempted": true,
"closed": true,
"paid": true,
"livemode": false,
"attempt_count": 0,
"amount_due": 0,
"currency": "usd",
"starting_balance": 0,
"ending_balance": null,
"next_payment_attempt": null,
"charge": null,
"discount": null,
"application_fee": null
},
"previous_attributes": {
"lines": null
}
}
}
]