forked from stripe-ruby-mock/stripe-ruby-mock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
charge.failed.json
113 lines (112 loc) · 2.99 KB
/
charge.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"id": "evt_000000000000000000000000",
"object": "event",
"api_version": "2020-08-27",
"created": 1648320028,
"data": {
"object": {
"id": "ch_000000000000000000000000",
"object": "charge",
"amount": 2000,
"amount_captured": 0,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": null,
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": null,
"phone": null
},
"calculated_statement_descriptor": "EXAMPLECOMPANY",
"captured": false,
"created": 1648320028,
"currency": "usd",
"customer": null,
"description": "(created by Stripe CLI)",
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": "card_declined",
"failure_message": "Your card was declined.",
"fraud_details": {
},
"invoice": null,
"livemode": false,
"metadata": {
},
"on_behalf_of": null,
"order": null,
"outcome": {
"network_status": "declined_by_network",
"reason": "generic_decline",
"risk_level": "normal",
"risk_score": 1,
"seller_message": "The bank did not return any further details with this decline.",
"type": "issuer_declined"
},
"paid": false,
"payment_intent": "pi_000000000000000000000000",
"payment_method": "pm_000000000000000000000000",
"payment_method_details": {
"card": {
"brand": "visa",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": null
},
"country": "US",
"exp_month": 3,
"exp_year": 2023,
"fingerprint": "kMzSwhaalD1uR96R",
"funding": "credit",
"installments": null,
"last4": "0002",
"mandate": null,
"network": "visa",
"three_d_secure": null,
"wallet": null
},
"type": "card"
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": null,
"refunded": false,
"refunds": {
"object": "list",
"data": [
],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_000000000000000000000000/refunds"
},
"review": null,
"shipping": null,
"source": null,
"source_transfer": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "failed",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 2,
"request": {
"id": "req_00000000000000",
"idempotency_key": "57ddc22f-1d42-446f-8f91-85cf0d32084a"
},
"type": "charge.failed"
}