-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathinvoice_payment_failed.json
85 lines (85 loc) · 2.34 KB
/
invoice_payment_failed.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[
{
"created": 1326853478,
"livemode": false,
"id": "evt_00000000000000",
"type": "invoice.payment_failed",
"object": "event",
"request": null,
"pending_webhooks": 1,
"api_version": "2015-04-07",
"data": {
"object": {
"date": 1419171865,
"id": "in_00000000000000",
"period_start": 1419171865,
"period_end": 1419171865,
"lines": {
"data": [
{
"id": "sub_6Gmdh2ufGvIWXb",
"object": "line_item",
"type": "subscription",
"livemode": true,
"amount": 2000,
"currency": "usd",
"proration": false,
"period": {
"start": 1434737037,
"end": 1437329037
},
"subscription": null,
"quantity": 1,
"plan": {
"interval": "month",
"name": "ddd",
"created": 1419171857,
"amount": 212,
"currency": "usd",
"id": "1233",
"object": "plan",
"livemode": false,
"interval_count": 1,
"trial_period_days": null,
"metadata": {},
"statement_descriptor": null
},
"description": null,
"discountable": true,
"metadata": {}
}
],
"total_count": 1,
"object": "list",
"url": "/v1/invoices/in_5MuSBtaLR6r61c/lines"
},
"subtotal": 212,
"total": 212,
"customer": "cus_00000000000000",
"object": "invoice",
"attempted": true,
"closed": false,
"forgiven": false,
"paid": false,
"livemode": false,
"attempt_count": 1,
"amount_due": 212,
"currency": "usd",
"starting_balance": 0,
"ending_balance": 0,
"next_payment_attempt": null,
"webhooks_delivered_at": 1419171872,
"charge": "ch_00000000000000",
"discount": null,
"application_fee": null,
"subscription": "sub_00000000000000",
"tax_percent": null,
"tax": null,
"metadata": {},
"statement_descriptor": null,
"description": null,
"receipt_number": null
}
}
}
]