forked from stripe-ruby-mock/stripe-ruby-mock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
payment_intent.processing.json
162 lines (162 loc) · 4.99 KB
/
payment_intent.processing.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"id": "evt_00000000000000",
"object": "event",
"api_version": "2018-02-28",
"created": 1578499109,
"data": {
"object": {
"id": "pi_00000000000000",
"object": "payment_intent",
"allowed_source_types": ["card", "sepa_debit"],
"amount": 900,
"amount_capturable": 0,
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic",
"charges": {
"object": "list",
"data": [
{
"id": "ch_00000000000000",
"object": "charge",
"amount": 900,
"amount_refunded": 0,
"application": null,
"application_fee": null,
"application_fee_amount": null,
"balance_transaction": "txn_00000000000000",
"billing_details": {
"address": {
"city": null,
"country": "DE",
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": null,
"phone": null
},
"captured": true,
"created": 1578499109,
"currency": "eur",
"customer": "cus_00000000000000",
"description": null,
"destination": "acct_00000000000000",
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {},
"invoice": null,
"livemode": false,
"metadata": {},
"on_behalf_of": null,
"order": null,
"outcome": {
"network_status": "approved_by_network",
"reason": null,
"risk_level": "normal",
"risk_score": 40,
"seller_message": "Payment complete.",
"type": "authorized"
},
"paid": false,
"payment_intent": "pi_00000000000000",
"payment_method": "pm_00000000000000",
"payment_method_details": {
"card": {
"brand": "visa",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": null
},
"country": "US",
"exp_month": 4,
"exp_year": 2024,
"fingerprint": "00000000000000",
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
"type": "card"
},
"receipt_email": null,
"receipt_number": null,
"receipt_url": "https://pay.stripe.com/receipts/acct_00000000000000/ch_00000000000000/rcpt_00000000000000",
"refunded": false,
"refunds": {
"object": "list",
"data": [],
"has_more": false,
"total_count": 0,
"url": "/v1/charges/ch_00000000000000/refunds"
},
"review": null,
"shipping": null,
"source": null,
"source_transfer": null,
"statement_descriptor": "ACME Corp",
"statement_descriptor_suffix": null,
"status": "succeeded",
"transfer": "tr_00000000000000",
"transfer_data": {
"amount": null,
"destination": "acct_00000000000000"
},
"transfer_group": "group_pi_00000000000000"
}
],
"has_more": false,
"total_count": 1,
"url": "/v1/charges?payment_intent=pi_00000000000000"
},
"client_secret": "pi_00000000000000",
"confirmation_method": "automatic",
"created": 1578499108,
"currency": "eur",
"customer": "cus_00000000000000",
"description": null,
"invoice": null,
"last_payment_error": null,
"livemode": false,
"metadata": {},
"next_action": null,
"next_source_action": null,
"on_behalf_of": null,
"payment_method": "pm_00000000000000",
"payment_method_options": {
"card": {
"installments": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": ["card", "sepa_debit"],
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": "ACME Corp",
"statement_descriptor_suffix": null,
"status": "processing",
"transfer_data": null,
"transfer_group": null
}
},
"livemode": false,
"pending_webhooks": 2,
"request": {
"id": "req_00000000000000",
"idempotency_key": null
},
"type": "payment_intent.processing"
}