forked from stripe-ruby-mock/stripe-ruby-mock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup_intent.setup_failed.json
100 lines (100 loc) · 2.75 KB
/
setup_intent.setup_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
{
"id": "evt_000000000000000000000000",
"object": "event",
"api_version": "2020-08-27",
"created": 1648320091,
"data": {
"object": {
"id": "seti_000000000000000000000000",
"object": "setup_intent",
"application": null,
"cancellation_reason": null,
"client_secret": "seti_000000000000000000000000_secret_0000000000000000000000000000000",
"created": 1648320090,
"customer": null,
"description": "(created by Stripe CLI)",
"last_setup_error": {
"code": "card_declined",
"decline_code": "generic_decline",
"doc_url": "https://stripe.com/docs/error-codes/card-declined",
"message": "Your card was declined.",
"payment_method": {
"id": "pm_000000000000000000000000",
"object": "payment_method",
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": null,
"phone": null
},
"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",
"generated_from": null,
"last4": "0002",
"networks": {
"available": [
"visa"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"created": 1648320090,
"customer": null,
"livemode": false,
"metadata": {
},
"type": "card"
},
"type": "card_error"
},
"latest_attempt": "setatt_000000000000000000000000",
"livemode": false,
"mandate": null,
"metadata": {
},
"next_action": null,
"on_behalf_of": null,
"payment_method": null,
"payment_method_options": {
"card": {
"mandate_options": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"single_use_mandate": null,
"status": "requires_payment_method",
"usage": "off_session"
}
},
"livemode": false,
"pending_webhooks": 2,
"request": {
"id": "req_00000000000000",
"idempotency_key": "bc94842b-7374-410e-8aa2-935b8cc1250c"
},
"type": "setup_intent.setup_failed"
}