-
Notifications
You must be signed in to change notification settings - Fork 0
/
invoice.created.json
71 lines (71 loc) · 1.82 KB
/
invoice.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
67
68
69
70
71
{
"created": 1326853478,
"livemode": false,
"id": "evt_00000000000000",
"type": "invoice.created",
"status": "paid",
"object": "event",
"data": {
"object": {
"created": 1380674206,
"id": "in_00000000000000",
"period_start": 1378082075,
"period_end": 1380674075,
"lines": {
"count": 1,
"object": "list",
"url": "/v1/invoices/in_00000000000000/lines",
"data": [
{
"id": "su_2hksGtIPylSBg2",
"object": "line_item",
"type": "subscription",
"livemode": true,
"amount": 100,
"currency": "usd",
"proration": false,
"period": {
"start": 1383759042,
"end": 1386351042
},
"quantity": 1,
"plan": {
"interval": "month",
"amount": 100,
"currency": "usd",
"id": "fkx0AFo",
"object": "plan",
"livemode": false,
"interval_count": 1,
"trial_period_days": null,
"product": "pr_00000000000000",
"metadata": {}
},
"description": null,
"metadata": null
}
]
},
"subtotal": 1000,
"total": 1000,
"customer": "cus_00000000000000",
"object": "invoice",
"attempted": false,
"closed": true,
"paid": true,
"livemode": false,
"attempt_count": 1,
"amount_due": 1000,
"currency": "usd",
"starting_balance": 0,
"ending_balance": 0,
"next_payment_attempt": null,
"charge": "ch_00000000000000",
"discount": null,
"application_fee": null,
"subscription": "sub_00000000000000",
"metadata": {},
"description": null
}
}
}