stripe 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +4 -0
- data/README.md +5 -1
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/lib/stripe.rb +2 -0
- data/lib/stripe/payout.rb +16 -0
- data/lib/stripe/recipient_transfer.rb +4 -0
- data/lib/stripe/util.rb +2 -0
- data/lib/stripe/version.rb +1 -1
- data/openapi/fixtures.json +1363 -1292
- data/openapi/fixtures.yaml +1160 -1096
- data/openapi/{spec.json → spec2.json} +1037 -608
- data/openapi/{spec.yaml → spec2.yaml} +1266 -648
- data/test/api_fixtures.rb +1 -1
- data/test/api_stub_helpers.rb +1 -1
- data/test/stripe/payout_test.rb +50 -0
- metadata +8 -4
data/openapi/fixtures.yaml
CHANGED
@@ -1,966 +1,833 @@
|
|
1
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
|
-
|
2
|
+
resources:
|
3
|
+
account:
|
4
|
+
active_payment_methods: []
|
5
|
+
bank_accounts: {}
|
6
|
+
business_logo: ''
|
7
|
+
business_name: ''
|
8
|
+
business_primary_color: ''
|
9
|
+
business_url: ''
|
10
|
+
charges_enabled: false
|
11
|
+
country: US
|
12
|
+
debit_negative_balances: true
|
13
|
+
decline_charge_on:
|
14
|
+
avs_failure: true
|
15
|
+
cvc_failure: true
|
16
|
+
default_currency: usd
|
17
|
+
details_submitted: false
|
18
|
+
display_name: ''
|
19
|
+
email: site@stripe.com
|
20
|
+
external_accounts:
|
21
|
+
data: []
|
22
|
+
has_more: false
|
23
|
+
object: list
|
24
|
+
total_count: 0
|
25
|
+
url: "/v1/accounts/acct_19tLK7DSlTMT26Mk/external_accounts"
|
26
|
+
fake_account: false
|
27
|
+
id: acct_19tLK7DSlTMT26Mk
|
28
|
+
legal_entity:
|
29
|
+
address:
|
30
|
+
city:
|
31
|
+
country: US
|
32
|
+
line1:
|
33
|
+
line2:
|
34
|
+
postal_code:
|
35
|
+
state:
|
36
|
+
business_name:
|
37
|
+
business_tax_id_provided: false
|
38
|
+
dob:
|
39
|
+
day:
|
40
|
+
month:
|
41
|
+
year:
|
42
|
+
first_name:
|
43
|
+
last_name:
|
44
|
+
personal_address:
|
45
|
+
city:
|
46
|
+
country: US
|
47
|
+
line1:
|
48
|
+
line2:
|
49
|
+
postal_code:
|
50
|
+
state:
|
51
|
+
ssn_last_4_provided: false
|
52
|
+
type:
|
53
|
+
verification:
|
54
|
+
details:
|
55
|
+
details_code:
|
56
|
+
document:
|
57
|
+
status: unverified
|
58
|
+
light: false
|
59
|
+
managed: true
|
60
|
+
mcc: ''
|
61
|
+
metadata: {}
|
62
|
+
object: account
|
63
|
+
orders: {}
|
64
|
+
payout_schedule:
|
65
|
+
delay_days: 2
|
66
|
+
interval: daily
|
67
|
+
payout_statement_descriptor: ''
|
68
|
+
payouts_enabled: false
|
69
|
+
product_description: ''
|
70
|
+
risk_details: {}
|
71
|
+
statement_descriptor: ''
|
72
|
+
support_address: {}
|
73
|
+
support_email: ''
|
74
|
+
support_phone: ''
|
75
|
+
support_url: ''
|
76
|
+
timezone: Etc/UTC
|
77
|
+
tos_acceptance:
|
78
|
+
date:
|
79
|
+
ip:
|
80
|
+
user_agent:
|
64
81
|
verification:
|
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
|
-
reusable: false
|
152
|
-
used: false
|
153
|
-
username: test@example.com
|
154
|
-
apple_pay_domain:
|
155
|
-
created: 1234567890
|
156
|
-
domain_name: example.com
|
157
|
-
id: apwc_19y6HHAylotNGqt3514QiFTd
|
158
|
-
livemode: true
|
159
|
-
object: apple_pay_domain
|
160
|
-
balance:
|
161
|
-
available:
|
162
|
-
- amount: 0
|
82
|
+
disabled_reason: fields_needed
|
83
|
+
due_by:
|
84
|
+
fields_needed:
|
85
|
+
- business_url
|
86
|
+
- external_account
|
87
|
+
- product_description
|
88
|
+
- support_phone
|
89
|
+
- tos_acceptance.date
|
90
|
+
- tos_acceptance.ip
|
91
|
+
account_with_keys:
|
92
|
+
active_payment_methods: []
|
93
|
+
bank_accounts: {}
|
94
|
+
business_logo: ''
|
95
|
+
business_name: ''
|
96
|
+
business_primary_color: ''
|
97
|
+
business_url: ''
|
98
|
+
charges_enabled: false
|
99
|
+
country: US
|
100
|
+
debit_negative_balances: false
|
101
|
+
decline_charge_on: {}
|
102
|
+
default_currency: usd
|
103
|
+
details_submitted: false
|
104
|
+
display_name: ''
|
105
|
+
email: site@stripe.com
|
106
|
+
external_accounts: {}
|
107
|
+
fake_account: false
|
108
|
+
id: acct_19tLK7DSlTMT26Mk
|
109
|
+
keys: {}
|
110
|
+
legal_entity: {}
|
111
|
+
light: false
|
112
|
+
managed: false
|
113
|
+
mcc: ''
|
114
|
+
metadata: {}
|
115
|
+
object: account
|
116
|
+
orders: {}
|
117
|
+
payout_schedule: {}
|
118
|
+
payout_statement_descriptor: ''
|
119
|
+
payouts_enabled: false
|
120
|
+
product_description: ''
|
121
|
+
risk_details: {}
|
122
|
+
statement_descriptor: ''
|
123
|
+
support_address: {}
|
124
|
+
support_email: ''
|
125
|
+
support_phone: ''
|
126
|
+
support_url: ''
|
127
|
+
timezone: Etc/UTC
|
128
|
+
tos_acceptance: {}
|
129
|
+
verification: {}
|
130
|
+
alipay_account:
|
131
|
+
created: 1234567890
|
132
|
+
customer: ''
|
133
|
+
fingerprint: NYUNwalrZGyUB5WV
|
134
|
+
id: aliacc_19zuujDSlTMT26MkefiECdjT
|
135
|
+
livemode: false
|
136
|
+
metadata: {}
|
137
|
+
object: alipay_account
|
138
|
+
payment_amount: 1000
|
139
|
+
payment_currency: usd
|
140
|
+
reusable: false
|
141
|
+
used: false
|
142
|
+
username: test@example.com
|
143
|
+
apple_pay_domain:
|
144
|
+
created: 1234567890
|
145
|
+
domain_name: example.com
|
146
|
+
id: apwc_19zuugDSlTMT26MkaEqesPjq
|
147
|
+
livemode: true
|
148
|
+
object: apple_pay_domain
|
149
|
+
balance:
|
150
|
+
available:
|
151
|
+
- amount: 0
|
152
|
+
currency: usd
|
153
|
+
source_types:
|
154
|
+
card: 0
|
155
|
+
connect_reserved: []
|
156
|
+
livemode: false
|
157
|
+
object: balance
|
158
|
+
pending:
|
159
|
+
- amount: 0
|
160
|
+
currency: usd
|
161
|
+
source_types:
|
162
|
+
card: 0
|
163
|
+
balance_transaction:
|
164
|
+
amount: 100
|
165
|
+
automatic_transfer: {}
|
166
|
+
available_on: 1234567890
|
167
|
+
created: 1234567890
|
163
168
|
currency: usd
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
169
|
+
description: ''
|
170
|
+
fee: 0
|
171
|
+
fee_details: []
|
172
|
+
id: txn_19zuuhDSlTMT26Mk2gJnG0ti
|
173
|
+
net: 100
|
174
|
+
object: balance_transaction
|
175
|
+
source: ch_19zuuhDSlTMT26MkKLSiekJ9
|
176
|
+
sourced_transfers: {}
|
177
|
+
status: pending
|
178
|
+
type: charge
|
179
|
+
bank_account:
|
180
|
+
account: acct_19tLK7DSlTMT26Mk
|
181
|
+
account_holder_name: Jane Austen
|
182
|
+
account_holder_type: individual
|
183
|
+
address_city: ''
|
184
|
+
address_line1: ''
|
185
|
+
address_line2: ''
|
186
|
+
address_state: ''
|
187
|
+
address_zip: ''
|
188
|
+
allows_debits: false
|
189
|
+
bank_name: STRIPE TEST BANK
|
190
|
+
bank_phone_number: ''
|
191
|
+
country: US
|
171
192
|
currency: usd
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
email: test@example.com
|
228
|
-
filled: false
|
229
|
-
id: btcrcv_19y6HIAylotNGqt3PPrzs2zr
|
230
|
-
inbound_address: test_7i9Fo4b5wXcUAuoVBFrc7nc9HDxD1
|
231
|
-
livemode: false
|
232
|
-
metadata: {}
|
233
|
-
object: bitcoin_receiver
|
234
|
-
payment: ''
|
235
|
-
refund_address: ''
|
236
|
-
transactions: {}
|
237
|
-
uncaptured_funds: false
|
238
|
-
used_for_payment: false
|
239
|
-
bitcoin_transaction:
|
240
|
-
amount: 100
|
241
|
-
bitcoin_amount: 1757908
|
242
|
-
created: 1234567890
|
243
|
-
currency: usd
|
244
|
-
id: btctxn_19y6HIAylotNGqt3ufx7IrFQ
|
245
|
-
object: bitcoin_transaction
|
246
|
-
receiver: btcrcv_19y6HIBBq8Um5VVVjcO0R7nU
|
247
|
-
card:
|
248
|
-
3d_secure: {}
|
249
|
-
account: ''
|
250
|
-
address_city: ''
|
251
|
-
address_country: ''
|
252
|
-
address_line1: ''
|
253
|
-
address_line1_check: ''
|
254
|
-
address_line2: ''
|
255
|
-
address_state: ''
|
256
|
-
address_zip: ''
|
257
|
-
address_zip_check: ''
|
258
|
-
available_payout_methods: []
|
259
|
-
brand: Visa
|
260
|
-
country: ''
|
261
|
-
currency: ''
|
262
|
-
customer: ''
|
263
|
-
cvc_check: ''
|
264
|
-
default_for_currency: false
|
265
|
-
description: ''
|
266
|
-
dynamic_last4: ''
|
267
|
-
emv_auth_data: ''
|
268
|
-
estimated_availability: ''
|
269
|
-
exp_month: 8
|
270
|
-
exp_year: 2018
|
271
|
-
fingerprint: ''
|
272
|
-
funding: unknown
|
273
|
-
google_reference: ''
|
274
|
-
id: card_19y6HHAylotNGqt3SvYv7I1c
|
275
|
-
iin: ''
|
276
|
-
issuer: ''
|
277
|
-
last4: '4242'
|
278
|
-
metadata: {}
|
279
|
-
name: ''
|
280
|
-
object: card
|
281
|
-
recipient: ''
|
282
|
-
three_d_secure: {}
|
283
|
-
tokenization_method: ''
|
284
|
-
charge:
|
285
|
-
alternate_statement_descriptors: {}
|
286
|
-
amount: 100
|
287
|
-
amount_authorized: 0
|
288
|
-
amount_captured: 0
|
289
|
-
amount_refunded: 0
|
290
|
-
application: ''
|
291
|
-
application_fee: ''
|
292
|
-
application_fees_refunded: 0
|
293
|
-
authorization_code: ''
|
294
|
-
balance_transaction: txn_19y6HHAylotNGqt33AMqhSaS
|
295
|
-
captured: true
|
296
|
-
card: {}
|
297
|
-
created: 1234567890
|
298
|
-
currency: usd
|
299
|
-
customer: ''
|
300
|
-
description: My First Test Charge (created for API docs)
|
301
|
-
destination: ''
|
302
|
-
dispute: ''
|
303
|
-
failure_code: ''
|
304
|
-
failure_message: ''
|
305
|
-
fee_balance_transactions: {}
|
306
|
-
fraud_details: {}
|
307
|
-
id: ch_19y6HHAylotNGqt3dguVG1mI
|
308
|
-
invoice: ''
|
309
|
-
level3: {}
|
310
|
-
livemode: false
|
311
|
-
metadata: {}
|
312
|
-
object: charge
|
313
|
-
on_behalf_of: ''
|
314
|
-
order: ''
|
315
|
-
outcome: {}
|
316
|
-
paid: true
|
317
|
-
receipt_email: ''
|
318
|
-
receipt_number: ''
|
319
|
-
refunded: false
|
320
|
-
refunds:
|
321
|
-
data: []
|
322
|
-
has_more: false
|
323
|
-
object: list
|
324
|
-
total_count: 0
|
325
|
-
url: "/v1/charges/ch_19y6HHAylotNGqt3dguVG1mI/refunds"
|
326
|
-
review: ''
|
327
|
-
shipping: {}
|
328
|
-
source:
|
329
|
-
address_city:
|
330
|
-
address_country:
|
331
|
-
address_line1:
|
332
|
-
address_line1_check:
|
333
|
-
address_line2:
|
334
|
-
address_state:
|
335
|
-
address_zip:
|
336
|
-
address_zip_check:
|
193
|
+
customer: ''
|
194
|
+
customer_reference: ''
|
195
|
+
default_for_currency: false
|
196
|
+
fingerprint: ryfzKJTPWAUfw2iL
|
197
|
+
id: ba_19zuuiDSlTMT26Mk8HQCpGLE
|
198
|
+
last4: '6789'
|
199
|
+
metadata: {}
|
200
|
+
object: bank_account
|
201
|
+
reusable: false
|
202
|
+
routing_number: '110000000'
|
203
|
+
status: new
|
204
|
+
used: false
|
205
|
+
bitcoin_receiver:
|
206
|
+
active: false
|
207
|
+
amount: 100
|
208
|
+
amount_received: 0
|
209
|
+
bitcoin_amount: 1757908
|
210
|
+
bitcoin_amount_received: 0
|
211
|
+
bitcoin_uri: bitcoin:test_7i9Fo4b5wXcUAuoVBFrc7nc9HDxD1?amount=0.01757908
|
212
|
+
created: 1234567890
|
213
|
+
currency: usd
|
214
|
+
customer: ''
|
215
|
+
description: Receiver for John Doe
|
216
|
+
email: test@example.com
|
217
|
+
filled: false
|
218
|
+
id: btcrcv_19zYqFDSlTMT26Mk31J1pMex
|
219
|
+
inbound_address: test_7i9Fo4b5wXcUAuoVBFrc7nc9HDxD1
|
220
|
+
livemode: false
|
221
|
+
metadata: {}
|
222
|
+
object: bitcoin_receiver
|
223
|
+
payment: ''
|
224
|
+
refund_address: ''
|
225
|
+
transactions: {}
|
226
|
+
uncaptured_funds: false
|
227
|
+
used_for_payment: false
|
228
|
+
bitcoin_transaction:
|
229
|
+
amount: 100
|
230
|
+
bitcoin_amount: 1757908
|
231
|
+
created: 1234567890
|
232
|
+
currency: usd
|
233
|
+
id: btctxn_19zuujDSlTMT26MkHOZALNf7
|
234
|
+
object: bitcoin_transaction
|
235
|
+
receiver: btcrcv_19zYqFDSlTMT26Mk31J1pMex
|
236
|
+
card:
|
237
|
+
3d_secure: {}
|
238
|
+
account: ''
|
239
|
+
address_city: ''
|
240
|
+
address_country: ''
|
241
|
+
address_line1: ''
|
242
|
+
address_line1_check: ''
|
243
|
+
address_line2: ''
|
244
|
+
address_state: ''
|
245
|
+
address_zip: ''
|
246
|
+
address_zip_check: ''
|
247
|
+
available_payout_methods: []
|
337
248
|
brand: Visa
|
338
|
-
country:
|
339
|
-
|
340
|
-
|
341
|
-
|
249
|
+
country: ''
|
250
|
+
currency: ''
|
251
|
+
customer: ''
|
252
|
+
cvc_check: ''
|
253
|
+
default_for_currency: false
|
254
|
+
description: ''
|
255
|
+
dynamic_last4: ''
|
256
|
+
emv_auth_data: ''
|
257
|
+
estimated_availability: ''
|
342
258
|
exp_month: 8
|
343
259
|
exp_year: 2018
|
260
|
+
fingerprint: ''
|
344
261
|
funding: unknown
|
345
|
-
|
262
|
+
google_reference: ''
|
263
|
+
id: card_19tLKYDSlTMT26Mkl7bixGYc
|
264
|
+
iin: ''
|
265
|
+
issuer: ''
|
346
266
|
last4: '4242'
|
347
267
|
metadata: {}
|
348
|
-
name:
|
268
|
+
name: ''
|
349
269
|
object: card
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
270
|
+
recipient: ''
|
271
|
+
three_d_secure: {}
|
272
|
+
tokenization_method: ''
|
273
|
+
charge:
|
274
|
+
alternate_statement_descriptors: {}
|
275
|
+
amount: 100
|
276
|
+
amount_authorized: 0
|
277
|
+
amount_captured: 0
|
278
|
+
amount_refunded: 0
|
279
|
+
application: ''
|
280
|
+
application_fee: ''
|
281
|
+
application_fees_refunded: 0
|
282
|
+
authorization_code: ''
|
283
|
+
balance_transaction: txn_19zuuhDSlTMT26Mk2gJnG0ti
|
284
|
+
captured: true
|
285
|
+
captured_at: 1234567890
|
286
|
+
card: {}
|
287
|
+
created: 1234567890
|
288
|
+
currency: usd
|
289
|
+
customer: ''
|
290
|
+
description: My First Test Charge (created for API docs)
|
291
|
+
destination: ''
|
292
|
+
dispute: ''
|
293
|
+
failure_code: ''
|
294
|
+
failure_message: ''
|
295
|
+
fee_balance_transactions: {}
|
296
|
+
fraud_details: {}
|
297
|
+
id: ch_19zuuhDSlTMT26MkKLSiekJ9
|
298
|
+
invoice: ''
|
299
|
+
level3: {}
|
300
|
+
livemode: false
|
301
|
+
metadata: {}
|
302
|
+
object: charge
|
303
|
+
on_behalf_of: ''
|
304
|
+
order: ''
|
305
|
+
outcome: {}
|
306
|
+
paid: true
|
307
|
+
receipt_email: ''
|
308
|
+
receipt_number: ''
|
309
|
+
refunded: false
|
310
|
+
refunds:
|
311
|
+
data: []
|
312
|
+
has_more: false
|
313
|
+
object: list
|
314
|
+
total_count: 0
|
315
|
+
url: "/v1/charges/ch_19zuuhDSlTMT26MkKLSiekJ9/refunds"
|
316
|
+
review: ''
|
317
|
+
shipping: {}
|
318
|
+
source:
|
319
|
+
address_city:
|
320
|
+
address_country:
|
321
|
+
address_line1:
|
322
|
+
address_line1_check:
|
323
|
+
address_line2:
|
324
|
+
address_state:
|
325
|
+
address_zip:
|
326
|
+
address_zip_check:
|
327
|
+
brand: Visa
|
328
|
+
country:
|
329
|
+
customer:
|
330
|
+
cvc_check:
|
331
|
+
dynamic_last4:
|
332
|
+
exp_month: 8
|
333
|
+
exp_year: 2018
|
334
|
+
funding: unknown
|
335
|
+
id: card_19tLKYDSlTMT26Mkl7bixGYc
|
336
|
+
last4: '4242'
|
337
|
+
metadata: {}
|
338
|
+
name:
|
339
|
+
object: card
|
340
|
+
tokenization_method:
|
341
|
+
source_transfer: ''
|
342
|
+
statement_descriptor: ''
|
343
|
+
status: succeeded
|
344
|
+
transfer: ''
|
345
|
+
transfer_group: ''
|
346
|
+
trust: {}
|
347
|
+
country_spec:
|
348
|
+
default_currency: usd
|
349
|
+
field_schemas: {}
|
350
|
+
id: US
|
351
|
+
object: country_spec
|
352
|
+
supported_bank_account_currencies:
|
353
|
+
usd:
|
354
|
+
- US
|
355
|
+
supported_payment_currencies:
|
356
|
+
- "..."
|
357
|
+
- aed
|
358
|
+
- afn
|
359
|
+
- usd
|
360
|
+
supported_payment_methods:
|
361
|
+
- alipay
|
362
|
+
- card
|
363
|
+
- stripe
|
364
|
+
verification_fields:
|
365
|
+
company:
|
366
|
+
additional:
|
367
|
+
- legal_entity.verification.document
|
368
|
+
minimum:
|
369
|
+
- external_account
|
370
|
+
- legal_entity.address.city
|
371
|
+
- legal_entity.address.line1
|
372
|
+
- legal_entity.address.postal_code
|
373
|
+
- legal_entity.address.state
|
374
|
+
- legal_entity.business_name
|
375
|
+
- legal_entity.business_tax_id
|
376
|
+
- legal_entity.dob.day
|
377
|
+
- legal_entity.dob.month
|
378
|
+
- legal_entity.dob.year
|
379
|
+
- legal_entity.first_name
|
380
|
+
- legal_entity.last_name
|
381
|
+
- legal_entity.ssn_last_4
|
382
|
+
- legal_entity.type
|
383
|
+
- tos_acceptance.date
|
384
|
+
- tos_acceptance.ip
|
385
|
+
individual:
|
386
|
+
additional:
|
387
|
+
- legal_entity.verification.document
|
388
|
+
minimum:
|
389
|
+
- external_account
|
390
|
+
- legal_entity.address.city
|
391
|
+
- legal_entity.address.line1
|
392
|
+
- legal_entity.address.postal_code
|
393
|
+
- legal_entity.address.state
|
394
|
+
- legal_entity.dob.day
|
395
|
+
- legal_entity.dob.month
|
396
|
+
- legal_entity.dob.year
|
397
|
+
- legal_entity.first_name
|
398
|
+
- legal_entity.last_name
|
399
|
+
- legal_entity.ssn_last_4
|
400
|
+
- legal_entity.type
|
401
|
+
- tos_acceptance.date
|
402
|
+
- tos_acceptance.ip
|
432
403
|
coupon:
|
433
|
-
amount_off:
|
434
|
-
created:
|
404
|
+
amount_off: 0
|
405
|
+
created: 1234567890
|
435
406
|
currency: usd
|
436
407
|
duration: repeating
|
437
408
|
duration_in_months: 3
|
438
409
|
id: 25OFF
|
439
410
|
livemode: false
|
440
|
-
max_redemptions:
|
411
|
+
max_redemptions: 0
|
441
412
|
metadata: {}
|
442
413
|
object: coupon
|
443
414
|
percent_off: 25
|
444
|
-
redeem_by:
|
415
|
+
redeem_by: 1234567890
|
445
416
|
times_redeemed: 0
|
446
417
|
valid: true
|
447
|
-
customer:
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
shipping_documentation:
|
487
|
-
shipping_tracking_number:
|
488
|
-
uncategorized_file:
|
489
|
-
uncategorized_text:
|
490
|
-
evidence_details:
|
491
|
-
due_by: 1491350399
|
492
|
-
has_evidence: false
|
493
|
-
past_due: false
|
494
|
-
submission_count: 0
|
495
|
-
evidence_submitted_at: []
|
496
|
-
id: dp_19y6HHAylotNGqt3bvR7ZOnH
|
497
|
-
is_charge_refundable: false
|
498
|
-
is_protected: false
|
499
|
-
livemode: false
|
500
|
-
metadata: {}
|
501
|
-
network_reason_code: ''
|
502
|
-
object: dispute
|
503
|
-
reason: general
|
504
|
-
status: needs_response
|
505
|
-
event:
|
506
|
-
api_version: ''
|
507
|
-
created: 1234567890
|
508
|
-
customer_email: ''
|
509
|
-
data:
|
510
|
-
object:
|
511
|
-
amount: 2000
|
512
|
-
created: 1489700220
|
418
|
+
customer:
|
419
|
+
account_balance: 0
|
420
|
+
alipay_accounts: {}
|
421
|
+
bank_accounts: {}
|
422
|
+
business_vat_id: ''
|
423
|
+
cards: {}
|
424
|
+
created: 1234567890
|
425
|
+
currency: usd
|
426
|
+
default_bank_account: ''
|
427
|
+
default_card: ''
|
428
|
+
default_source: ''
|
429
|
+
default_source_type: ''
|
430
|
+
delinquent: false
|
431
|
+
description: ''
|
432
|
+
discount: {}
|
433
|
+
email: ''
|
434
|
+
id: cus_ADmuABetLS15eF
|
435
|
+
livemode: false
|
436
|
+
metadata: {}
|
437
|
+
object: customer
|
438
|
+
shipping: {}
|
439
|
+
sources:
|
440
|
+
data: []
|
441
|
+
has_more: false
|
442
|
+
object: list
|
443
|
+
total_count: 0
|
444
|
+
url: "/v1/customers/cus_ADmuABetLS15eF/sources"
|
445
|
+
subscription: {}
|
446
|
+
subscriptions: {}
|
447
|
+
trust: {}
|
448
|
+
customer_source:
|
449
|
+
customer: ''
|
450
|
+
id: ba_19zuuiDSlTMT26Mk8HQCpGLE
|
451
|
+
metadata: {}
|
452
|
+
object: bank_account
|
453
|
+
discount:
|
454
|
+
coupon:
|
455
|
+
amount_off:
|
456
|
+
created: 1490133192
|
513
457
|
currency: usd
|
514
|
-
|
515
|
-
|
516
|
-
|
458
|
+
duration: repeating
|
459
|
+
duration_in_months: 3
|
460
|
+
id: 25OFF
|
517
461
|
livemode: false
|
462
|
+
max_redemptions:
|
518
463
|
metadata: {}
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
464
|
+
object: coupon
|
465
|
+
percent_off: 25
|
466
|
+
redeem_by:
|
467
|
+
times_redeemed: 0
|
468
|
+
valid: true
|
469
|
+
customer: cus_ADmuABetLS15eF
|
470
|
+
end: 1234567890
|
471
|
+
object: discount
|
472
|
+
start: 1234567890
|
473
|
+
subscription: ''
|
474
|
+
dispute:
|
475
|
+
accepted_at: 1234567890
|
476
|
+
amount: 1000
|
477
|
+
balance_transaction: ''
|
478
|
+
balance_transactions: []
|
479
|
+
charge: ch_19zuuhDSlTMT26MkKLSiekJ9
|
480
|
+
closed_at: 1234567890
|
481
|
+
created: 1234567890
|
482
|
+
currency: usd
|
483
|
+
escalated_at: 1234567890
|
484
|
+
evidence:
|
485
|
+
access_activity_log:
|
486
|
+
billing_address:
|
487
|
+
cancellation_policy:
|
488
|
+
cancellation_policy_disclosure:
|
489
|
+
cancellation_rebuttal:
|
490
|
+
customer_communication:
|
491
|
+
customer_email_address:
|
492
|
+
customer_name:
|
493
|
+
customer_purchase_ip:
|
494
|
+
customer_signature:
|
495
|
+
duplicate_charge_documentation:
|
496
|
+
duplicate_charge_explanation:
|
497
|
+
duplicate_charge_id:
|
498
|
+
product_description:
|
499
|
+
receipt:
|
500
|
+
refund_policy:
|
501
|
+
refund_policy_disclosure:
|
502
|
+
refund_refusal_explanation:
|
503
|
+
service_date:
|
504
|
+
service_documentation:
|
505
|
+
shipping_address:
|
506
|
+
shipping_carrier:
|
507
|
+
shipping_date:
|
508
|
+
shipping_documentation:
|
509
|
+
shipping_tracking_number:
|
510
|
+
uncategorized_file:
|
511
|
+
uncategorized_text:
|
512
|
+
evidence_details:
|
513
|
+
due_by: 1491782399
|
514
|
+
has_evidence: false
|
515
|
+
past_due: false
|
516
|
+
submission_count: 0
|
517
|
+
evidence_submitted_at: []
|
518
|
+
id: dp_19zuuhDSlTMT26Mkp7PHaa4O
|
519
|
+
is_charge_refundable: false
|
520
|
+
is_protected: false
|
521
|
+
livemode: false
|
522
|
+
metadata: {}
|
523
|
+
network_reason_code: ''
|
524
|
+
object: dispute
|
525
|
+
reason: general
|
526
|
+
status: needs_response
|
527
|
+
event:
|
528
|
+
api_version: '2017-02-14'
|
529
|
+
created: 1234567890
|
530
|
+
customer_email: ''
|
573
531
|
data:
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
discountable: true
|
578
|
-
id: sub_AIhgP3KgCUJMuh
|
579
|
-
livemode: true
|
580
|
-
metadata: {}
|
581
|
-
object: line_item
|
582
|
-
period:
|
583
|
-
end: 1494970619
|
584
|
-
start: 1492378619
|
585
|
-
plan:
|
586
|
-
amount: 2000
|
587
|
-
created: 1489700220
|
532
|
+
object:
|
533
|
+
account_balance: 0
|
534
|
+
created: 1488566449
|
588
535
|
currency: usd
|
589
|
-
|
590
|
-
|
591
|
-
|
536
|
+
default_source:
|
537
|
+
delinquent: false
|
538
|
+
description:
|
539
|
+
discount:
|
540
|
+
email:
|
541
|
+
id: cus_ADmuABetLS15eF
|
592
542
|
livemode: false
|
593
543
|
metadata: {}
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
webhooks_delivered_at: 1234567890
|
624
|
-
invoice_item:
|
625
|
-
amount: 1000
|
626
|
-
currency: usd
|
627
|
-
customer: cus_AIhgCDhEsqLqXq
|
628
|
-
date: 1234567890
|
629
|
-
description: My First Invoice Item (created for API docs)
|
630
|
-
discountable: true
|
631
|
-
id: ii_19y6HIAylotNGqt36BYYgGHq
|
632
|
-
invoice: ''
|
633
|
-
livemode: false
|
634
|
-
metadata: {}
|
635
|
-
object: invoiceitem
|
636
|
-
period:
|
637
|
-
end: 1489700220
|
638
|
-
start: 1489700220
|
639
|
-
plan: {}
|
640
|
-
proration: false
|
641
|
-
quantity: 0
|
642
|
-
subscription: ''
|
643
|
-
subscription_item: ''
|
644
|
-
invoice_line_item:
|
645
|
-
amount: 1000
|
646
|
-
currency: usd
|
647
|
-
description: My First Invoice Item (created for API docs)
|
648
|
-
discountable: true
|
649
|
-
id: ii_19y6HIAylotNGqt36BYYgGHq
|
650
|
-
livemode: false
|
651
|
-
metadata: {}
|
652
|
-
object: line_item
|
653
|
-
period:
|
654
|
-
end: 1489700220
|
655
|
-
start: 1489700220
|
656
|
-
plan: {}
|
657
|
-
proration: false
|
658
|
-
quantity: 0
|
659
|
-
subscription: ''
|
660
|
-
subscription_item: ''
|
661
|
-
type: invoiceitem
|
662
|
-
legacy_transfer:
|
663
|
-
amount: 1100
|
664
|
-
amount_reversed: 0
|
665
|
-
application_fee: ''
|
666
|
-
auto: false
|
667
|
-
balance_transaction: ''
|
668
|
-
bank_account: {}
|
669
|
-
card: {}
|
670
|
-
created: 1234567890
|
671
|
-
currency: usd
|
672
|
-
date: 1234567890
|
673
|
-
delay_reason: ''
|
674
|
-
description: Transfer to test@example.com
|
675
|
-
destination: ba_19y6HIAylotNGqt3Tk6btLgn
|
676
|
-
destination_payment: ''
|
677
|
-
failure_code: ''
|
678
|
-
failure_message: ''
|
679
|
-
id: tr_19y6HIAylotNGqt3ph4EjS38
|
680
|
-
legacy_date: 1234567890
|
681
|
-
livemode: false
|
682
|
-
metadata: {}
|
683
|
-
method: standard
|
684
|
-
object: transfer
|
685
|
-
recipient: ''
|
686
|
-
reversals:
|
687
|
-
data: []
|
688
|
-
has_more: false
|
689
|
-
object: list
|
690
|
-
total_count: 0
|
691
|
-
url: "/v1/transfers/tr_19y6HIAylotNGqt3ph4EjS38/reversals"
|
692
|
-
reversed: false
|
693
|
-
source_transaction: ''
|
694
|
-
source_type: card
|
695
|
-
statement_descriptor: ''
|
696
|
-
status: in_transit
|
697
|
-
transfer_group: ''
|
698
|
-
type: bank_account
|
699
|
-
user_visible_date: 1234567890
|
700
|
-
order:
|
701
|
-
amount: 1500
|
702
|
-
amount_returned: 0
|
703
|
-
application: ''
|
704
|
-
application_fee: 0
|
705
|
-
charge: ''
|
706
|
-
created: 1234567890
|
707
|
-
currency: usd
|
708
|
-
customer: ''
|
709
|
-
email: ''
|
710
|
-
external_coupon_code: ''
|
711
|
-
external_sku_ids: []
|
712
|
-
id: or_19y6HJAylotNGqt3bov4Z4DC
|
713
|
-
items:
|
714
|
-
- amount: 1500
|
544
|
+
object: customer
|
545
|
+
shipping:
|
546
|
+
sources:
|
547
|
+
data: []
|
548
|
+
has_more: false
|
549
|
+
object: list
|
550
|
+
total_count: 0
|
551
|
+
url: "/v1/customers/cus_ADmuABetLS15eF/sources"
|
552
|
+
subscriptions:
|
553
|
+
data: []
|
554
|
+
has_more: false
|
555
|
+
object: list
|
556
|
+
total_count: 0
|
557
|
+
url: "/v1/customers/cus_ADmuABetLS15eF/subscriptions"
|
558
|
+
id: evt_19tLKfDSlTMT26MkKD3pohqX
|
559
|
+
livemode: false
|
560
|
+
object: event
|
561
|
+
pending_webhooks: 0
|
562
|
+
recipient_best_description: ''
|
563
|
+
request: ''
|
564
|
+
type: customer.created
|
565
|
+
external_account_source:
|
566
|
+
account: acct_19tLK7DSlTMT26Mk
|
567
|
+
address_city: ''
|
568
|
+
address_line1: ''
|
569
|
+
address_line2: ''
|
570
|
+
address_state: ''
|
571
|
+
address_zip: ''
|
572
|
+
country: US
|
715
573
|
currency: usd
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
object: list
|
728
|
-
total_count: 0
|
729
|
-
url: "/v1/order_returns?order=or_19y6HJAylotNGqt3bov4Z4DC"
|
730
|
-
selected_shipping_method: ''
|
731
|
-
shipping:
|
732
|
-
address:
|
733
|
-
city: Anytown
|
734
|
-
country: US
|
735
|
-
line1: 1234 Main street
|
736
|
-
line2:
|
737
|
-
postal_code: '123456'
|
738
|
-
state:
|
739
|
-
carrier:
|
740
|
-
name: Jenny Rosen
|
741
|
-
phone:
|
742
|
-
tracking_number:
|
743
|
-
shipping_methods: {}
|
744
|
-
signature: ''
|
745
|
-
status: created
|
746
|
-
status_transitions: {}
|
747
|
-
updated: 1234567890
|
748
|
-
upstream_id: ''
|
749
|
-
order_return:
|
750
|
-
amount: 1500
|
751
|
-
created: 1234567890
|
752
|
-
currency: usd
|
753
|
-
id: orret_19y6HJAylotNGqt3bd5YsAXz
|
754
|
-
items:
|
755
|
-
- amount: 1500
|
574
|
+
customer: ''
|
575
|
+
default_for_currency: false
|
576
|
+
fingerprint: ryfzKJTPWAUfw2iL
|
577
|
+
id: ba_19zuuiDSlTMT26Mk8HQCpGLE
|
578
|
+
last4: '6789'
|
579
|
+
metadata: {}
|
580
|
+
object: bank_account
|
581
|
+
fee_refund:
|
582
|
+
amount: 100
|
583
|
+
balance_transaction: ''
|
584
|
+
created: 1234567890
|
756
585
|
currency: usd
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
amount: 100
|
782
|
-
amount_refunded: 0
|
783
|
-
application: ca_AIhgFq8kWIDlYSeaCcuycCoERZL0J0ls
|
784
|
-
balance_transaction: txn_19y6HHAylotNGqt33AMqhSaS
|
785
|
-
charge: ch_19y6HHAylotNGqt3dguVG1mI
|
786
|
-
created: 1234567890
|
787
|
-
currency: usd
|
788
|
-
id: fee_19y6HIAylotNGqt3iEVMbEmJ
|
789
|
-
livemode: false
|
790
|
-
object: application_fee
|
791
|
-
originating_transaction: ''
|
792
|
-
refunded: false
|
793
|
-
refunds:
|
794
|
-
data: []
|
795
|
-
has_more: false
|
796
|
-
object: list
|
797
|
-
total_count: 0
|
798
|
-
url: "/v1/application_fees/fee_19y6HIAylotNGqt3iEVMbEmJ/refunds"
|
799
|
-
product:
|
800
|
-
active: true
|
801
|
-
attributes:
|
802
|
-
- gender
|
803
|
-
- size
|
804
|
-
caption: ''
|
805
|
-
created: 1234567890
|
806
|
-
deactivate_on: []
|
807
|
-
description: Comfortable gray cotton t-shirts
|
808
|
-
donation: false
|
809
|
-
id: prod_AIhgWPx5D86mh1
|
810
|
-
images: []
|
811
|
-
livemode: false
|
812
|
-
metadata: {}
|
813
|
-
name: T-shirt
|
814
|
-
object: product
|
815
|
-
package_dimensions: {}
|
816
|
-
reason_product_not_tweetable: ''
|
817
|
-
shippable: true
|
818
|
-
skus:
|
819
|
-
data: []
|
820
|
-
has_more: false
|
821
|
-
object: list
|
822
|
-
total_count: 0
|
823
|
-
url: "/v1/skus?product=prod_AIhgWPx5D86mh1&active=true"
|
824
|
-
tweetable_url: ''
|
825
|
-
updated: 1234567890
|
826
|
-
url: ''
|
827
|
-
refund:
|
828
|
-
amount: 100
|
829
|
-
balance_transaction: ''
|
830
|
-
charge: ch_19y6HHAylotNGqt3dguVG1mI
|
831
|
-
created: 1234567890
|
832
|
-
currency: usd
|
833
|
-
description: ''
|
834
|
-
fee_balance_transactions: {}
|
835
|
-
id: re_19y6HHAylotNGqt3o9CUC2fJ
|
836
|
-
metadata: {}
|
837
|
-
object: refund
|
838
|
-
reason: ''
|
839
|
-
receipt_number: ''
|
840
|
-
status: succeeded
|
841
|
-
type: ''
|
842
|
-
sku:
|
843
|
-
active: true
|
844
|
-
attributes:
|
845
|
-
gender: Unisex
|
846
|
-
size: Medium
|
847
|
-
created: 1234567890
|
848
|
-
currency: usd
|
849
|
-
id: sku_AIhgANg1XshOPI
|
850
|
-
image: ''
|
851
|
-
inventory:
|
852
|
-
quantity: 50
|
853
|
-
type: finite
|
854
|
-
value:
|
855
|
-
livemode: false
|
856
|
-
metadata: {}
|
857
|
-
object: sku
|
858
|
-
package_dimensions: {}
|
859
|
-
price: 1500
|
860
|
-
product: prod_AIhgWPx5D86mh1
|
861
|
-
updated: 1234567890
|
862
|
-
source:
|
863
|
-
amount: 1000
|
864
|
-
client_secret: src_client_secret_UxYHcfjreLYKMVWptfFyAsxp
|
865
|
-
code_verification: {}
|
866
|
-
created: 1234567890
|
867
|
-
currency: usd
|
868
|
-
customer: ''
|
869
|
-
flow: receiver
|
870
|
-
id: src_19y6HJAylotNGqt3wfuVnNWw
|
871
|
-
livemode: false
|
872
|
-
metadata: {}
|
873
|
-
object: source
|
874
|
-
order: ''
|
875
|
-
owner:
|
876
|
-
address:
|
877
|
-
email: jenny.rosen@example.com
|
878
|
-
name:
|
879
|
-
phone:
|
880
|
-
verified_address:
|
881
|
-
verified_email:
|
882
|
-
verified_name:
|
883
|
-
verified_phone:
|
884
|
-
receiver:
|
885
|
-
address: test_1MBhWS3uv4ynCfQXF3xQjJkzFPukr4K56N
|
886
|
-
amount_charged: 0
|
887
|
-
amount_received: 0
|
888
|
-
amount_returned: 0
|
889
|
-
refund_attributes_method: email
|
890
|
-
refund_attributes_status: missing
|
891
|
-
redirect: {}
|
892
|
-
status: pending
|
893
|
-
type: bitcoin
|
894
|
-
usage: single_use
|
895
|
-
subscription:
|
896
|
-
account_balance: 0
|
897
|
-
application_fee_percent: 0.0
|
898
|
-
billing: ''
|
899
|
-
cancel_at_period_end: false
|
900
|
-
canceled_at: 1234567890
|
901
|
-
created: 1234567890
|
902
|
-
current_period_end: 1234567890
|
903
|
-
current_period_start: 1234567890
|
904
|
-
customer: cus_AIhg2AZ0oZn9hq
|
905
|
-
days_until_due: 0
|
906
|
-
discount: {}
|
907
|
-
ended_at: 1234567890
|
908
|
-
id: sub_AIhgP3KgCUJMuh
|
909
|
-
items:
|
910
|
-
data:
|
911
|
-
- created: 1489700220
|
912
|
-
id: si_19y6HHBBq8Um5VVVeabmVesw
|
913
|
-
object: subscription_item
|
914
|
-
plan:
|
915
|
-
amount: 2000
|
916
|
-
created: 1489700219
|
586
|
+
fee: fee_19zuujDSlTMT26MkEMvXUsIx
|
587
|
+
id: fr_AKa4dv904Dvl5q
|
588
|
+
metadata: {}
|
589
|
+
object: fee_refund
|
590
|
+
invoice:
|
591
|
+
amount_due: 0
|
592
|
+
application_fee: 0
|
593
|
+
attempt_count: 0
|
594
|
+
attempted: false
|
595
|
+
billing: ''
|
596
|
+
charge: ''
|
597
|
+
closed: false
|
598
|
+
currency: usd
|
599
|
+
customer: cus_ADmuABetLS15eF
|
600
|
+
date: 1234567890
|
601
|
+
description: ''
|
602
|
+
discount: {}
|
603
|
+
due_date: 1234567890
|
604
|
+
ending_balance: 0
|
605
|
+
forgiven: false
|
606
|
+
id: in_19zuuiDSlTMT26Mk1XitxqCb
|
607
|
+
lines:
|
608
|
+
data:
|
609
|
+
- amount: 2000
|
917
610
|
currency: usd
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
livemode:
|
611
|
+
description:
|
612
|
+
discountable: true
|
613
|
+
id: sub_AKa4uss8vCMAZC
|
614
|
+
livemode: true
|
922
615
|
metadata: {}
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
616
|
+
object: line_item
|
617
|
+
period:
|
618
|
+
end: 1495403592
|
619
|
+
start: 1492811592
|
620
|
+
plan:
|
621
|
+
amount: 2000
|
622
|
+
created: 1488566449
|
623
|
+
currency: usd
|
624
|
+
id: gold
|
625
|
+
interval: month
|
626
|
+
interval_count: 1
|
627
|
+
livemode: false
|
628
|
+
metadata: {}
|
629
|
+
name: Gold Special
|
630
|
+
object: plan
|
631
|
+
statement_descriptor:
|
632
|
+
trial_period_days:
|
633
|
+
proration: false
|
634
|
+
quantity: 1
|
635
|
+
subscription:
|
636
|
+
subscription_item: si_19zuuiDSlTMT26Mk9HayBPe9
|
637
|
+
type: subscription
|
638
|
+
object: list
|
639
|
+
total_count: 1
|
640
|
+
url: "/v1/invoices/in_19zuuiDSlTMT26Mk1XitxqCb/lines"
|
641
|
+
livemode: false
|
642
|
+
metadata: {}
|
643
|
+
next_payment_attempt: 1234567890
|
644
|
+
number: ''
|
645
|
+
object: invoice
|
646
|
+
paid: false
|
647
|
+
period_end: 1234567890
|
648
|
+
period_start: 1234567890
|
649
|
+
receipt_number: ''
|
650
|
+
send_next_at: 1234567890
|
651
|
+
starting_balance: 0
|
652
|
+
statement_descriptor: ''
|
653
|
+
subscription: ''
|
654
|
+
subscription_proration_date: 0
|
655
|
+
subtotal: 0
|
656
|
+
tax: 0
|
657
|
+
tax_percent: 0.0
|
658
|
+
total: 0
|
659
|
+
webhooks_delivered_at: 1234567890
|
660
|
+
invoice_item:
|
661
|
+
amount: 1000
|
940
662
|
currency: usd
|
941
|
-
|
942
|
-
|
943
|
-
|
663
|
+
customer: cus_ADmuABetLS15eF
|
664
|
+
date: 1234567890
|
665
|
+
description: My First Invoice Item (created for API docs)
|
666
|
+
discountable: true
|
667
|
+
id: ii_19zuuiDSlTMT26MkvsaAgAi7
|
668
|
+
invoice: ''
|
944
669
|
livemode: false
|
945
670
|
metadata: {}
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
671
|
+
object: invoiceitem
|
672
|
+
period:
|
673
|
+
end: 1490133192
|
674
|
+
start: 1490133192
|
675
|
+
plan: {}
|
676
|
+
proration: false
|
677
|
+
quantity: 0
|
678
|
+
subscription: ''
|
679
|
+
subscription_item: ''
|
680
|
+
invoice_line_item:
|
681
|
+
amount: 1000
|
682
|
+
currency: usd
|
683
|
+
description: My First Invoice Item (created for API docs)
|
684
|
+
discountable: true
|
685
|
+
id: ii_19zuuiDSlTMT26MkvsaAgAi7
|
686
|
+
livemode: false
|
687
|
+
metadata: {}
|
688
|
+
object: line_item
|
689
|
+
period:
|
690
|
+
end: 1490133192
|
691
|
+
start: 1490133192
|
692
|
+
plan: {}
|
693
|
+
proration: false
|
694
|
+
quantity: 0
|
695
|
+
subscription: ''
|
696
|
+
subscription_item: ''
|
697
|
+
type: invoiceitem
|
698
|
+
legacy_transfer:
|
699
|
+
amount: 1100
|
700
|
+
amount_reversed: 0
|
701
|
+
application_fee: ''
|
702
|
+
auto: false
|
703
|
+
balance_transaction: ''
|
704
|
+
bank_account: {}
|
705
|
+
card: {}
|
706
|
+
created: 1234567890
|
707
|
+
currency: usd
|
708
|
+
date: 1234567890
|
709
|
+
delay_reason: ''
|
710
|
+
description: Transfer to test@example.com
|
711
|
+
destination: ba_19zuujDSlTMT26MkRkpqv9Ud
|
712
|
+
destination_payment: ''
|
713
|
+
failure_code: ''
|
714
|
+
failure_message: ''
|
715
|
+
id: tr_19zuujDSlTMT26Mk81npuLjT
|
716
|
+
legacy_date: 1234567890
|
717
|
+
livemode: false
|
718
|
+
metadata: {}
|
719
|
+
method: standard
|
720
|
+
object: transfer
|
721
|
+
recipient: ''
|
722
|
+
reversals:
|
723
|
+
data: []
|
724
|
+
has_more: false
|
725
|
+
object: list
|
726
|
+
total_count: 0
|
727
|
+
url: "/v1/transfers/tr_19zuujDSlTMT26Mk81npuLjT/reversals"
|
728
|
+
reversed: false
|
729
|
+
source_transaction: ''
|
730
|
+
source_type: card
|
731
|
+
statement_descriptor: ''
|
732
|
+
status: in_transit
|
733
|
+
transfer_group: ''
|
734
|
+
type: bank_account
|
735
|
+
user_visible_date: 1234567890
|
736
|
+
order:
|
737
|
+
amount: 1500
|
738
|
+
amount_returned: 0
|
739
|
+
application: ''
|
740
|
+
application_fee: 0
|
741
|
+
charge: ''
|
742
|
+
created: 1234567890
|
743
|
+
currency: usd
|
744
|
+
customer: ''
|
745
|
+
email: ''
|
746
|
+
external_coupon_code: ''
|
747
|
+
external_sku_ids: []
|
748
|
+
id: or_19zuukDSlTMT26MktR8hwCzJ
|
749
|
+
items:
|
750
|
+
- amount: 1500
|
751
|
+
currency: usd
|
752
|
+
description: T-shirt
|
753
|
+
object: order_item
|
754
|
+
parent: sk_19tLKeDSlTMT26MkWafeCAS4
|
755
|
+
quantity:
|
756
|
+
type: sku
|
757
|
+
livemode: false
|
758
|
+
metadata: {}
|
759
|
+
object: order
|
760
|
+
returns:
|
761
|
+
data: []
|
762
|
+
has_more: false
|
763
|
+
object: list
|
764
|
+
total_count: 0
|
765
|
+
url: "/v1/order_returns?order=or_19zuukDSlTMT26MktR8hwCzJ"
|
766
|
+
selected_shipping_method: ''
|
767
|
+
shipping:
|
768
|
+
address:
|
769
|
+
city: Anytown
|
770
|
+
country: US
|
771
|
+
line1: 1234 Main street
|
772
|
+
line2:
|
773
|
+
postal_code: '123456'
|
774
|
+
state:
|
775
|
+
carrier:
|
776
|
+
name: Jenny Rosen
|
777
|
+
phone:
|
778
|
+
tracking_number:
|
779
|
+
shipping_methods: {}
|
780
|
+
signature: ''
|
781
|
+
status: created
|
782
|
+
status_transitions:
|
783
|
+
canceled:
|
784
|
+
fulfiled:
|
785
|
+
paid:
|
786
|
+
returned:
|
787
|
+
updated: 1234567890
|
788
|
+
upstream_id: ''
|
789
|
+
order_return:
|
790
|
+
amount: 1500
|
791
|
+
created: 1234567890
|
792
|
+
currency: usd
|
793
|
+
id: orret_19zuukDSlTMT26Mkxjz1bcqv
|
794
|
+
items:
|
795
|
+
- amount: 1500
|
796
|
+
currency: usd
|
797
|
+
description: T-shirt
|
798
|
+
object: order_item
|
799
|
+
parent: sk_19zuukDSlTMT26MkepWkJtmm
|
800
|
+
quantity:
|
801
|
+
type: sku
|
802
|
+
livemode: false
|
803
|
+
object: order_return
|
804
|
+
order: or_19zuukDSlTMT26MkL38GRWYx
|
805
|
+
refund: re_19zuukDSlTMT26MkKx6aokup
|
806
|
+
payout:
|
807
|
+
amount: 1100
|
808
|
+
arrival_date: 1234567890
|
809
|
+
auto: false
|
810
|
+
balance_transaction: txn_1A5hBeDSlTMT26MkXlw0Jzki
|
811
|
+
bank_account: {}
|
812
|
+
card: {}
|
813
|
+
created: 1234567890
|
814
|
+
currency: usd
|
815
|
+
destination: acct_19tLK7DSlTMT26Mk
|
816
|
+
failure_balance_transaction: ''
|
817
|
+
failure_code: ''
|
818
|
+
failure_message: ''
|
819
|
+
id: tr_1A5hBfDSlTMT26MkB9QceCEw
|
820
|
+
livemode: false
|
821
|
+
metadata: {}
|
822
|
+
method: standard
|
823
|
+
object: payout
|
824
|
+
source_type: card
|
825
|
+
statement_descriptor: ''
|
826
|
+
status: in_transit
|
827
|
+
type: stripe_account
|
961
828
|
plan:
|
962
829
|
amount: 2000
|
963
|
-
created:
|
830
|
+
created: 1234567890
|
964
831
|
currency: usd
|
965
832
|
id: gold
|
966
833
|
interval: month
|
@@ -969,176 +836,373 @@ subscription_item:
|
|
969
836
|
metadata: {}
|
970
837
|
name: Gold Special
|
971
838
|
object: plan
|
972
|
-
statement_descriptor:
|
973
|
-
trial_period_days:
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
839
|
+
statement_descriptor: ''
|
840
|
+
trial_period_days: 0
|
841
|
+
platform_earning:
|
842
|
+
account: acct_19tLK7DSlTMT26Mk
|
843
|
+
amount: 100
|
844
|
+
amount_refunded: 0
|
845
|
+
application: ca_AKa4xbTjCsfO9n8mgC6PyMNf6FCnXMyM
|
846
|
+
balance_transaction: txn_19zuuhDSlTMT26Mk2gJnG0ti
|
847
|
+
charge: ch_19zuuhDSlTMT26MkKLSiekJ9
|
848
|
+
created: 1234567890
|
849
|
+
currency: usd
|
850
|
+
id: fee_19zuujDSlTMT26MkEMvXUsIx
|
851
|
+
livemode: false
|
852
|
+
object: application_fee
|
853
|
+
originating_transaction: ''
|
854
|
+
refunded: false
|
855
|
+
refunds:
|
856
|
+
data: []
|
857
|
+
has_more: false
|
858
|
+
object: list
|
859
|
+
total_count: 0
|
860
|
+
url: "/v1/application_fees/fee_19zuujDSlTMT26MkEMvXUsIx/refunds"
|
861
|
+
product:
|
862
|
+
active: true
|
863
|
+
attributes:
|
864
|
+
- gender
|
865
|
+
- size
|
866
|
+
caption: ''
|
867
|
+
created: 1234567890
|
868
|
+
deactivate_on: []
|
869
|
+
description: Comfortable gray cotton t-shirts
|
870
|
+
donation: false
|
871
|
+
id: prod_AKa4nDYkPszdDl
|
872
|
+
images: []
|
873
|
+
livemode: false
|
997
874
|
metadata: {}
|
998
|
-
name:
|
999
|
-
object:
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
brand: Visa
|
1022
|
-
country:
|
1023
|
-
cvc_check:
|
1024
|
-
dynamic_last4:
|
1025
|
-
exp_month: 8
|
1026
|
-
exp_year: 2018
|
1027
|
-
funding: unknown
|
1028
|
-
id: card_19y6HIAylotNGqt3tSobdlid
|
1029
|
-
last4: '4242'
|
875
|
+
name: T-shirt
|
876
|
+
object: product
|
877
|
+
package_dimensions: {}
|
878
|
+
reason_product_not_tweetable: ''
|
879
|
+
shippable: true
|
880
|
+
skus:
|
881
|
+
data: []
|
882
|
+
has_more: false
|
883
|
+
object: list
|
884
|
+
total_count: 0
|
885
|
+
url: "/v1/skus?product=prod_AKa4nDYkPszdDl&active=true"
|
886
|
+
tweetable_url: ''
|
887
|
+
updated: 1234567890
|
888
|
+
url: ''
|
889
|
+
refund:
|
890
|
+
amount: 100
|
891
|
+
balance_transaction: ''
|
892
|
+
charge: ch_19zuuhDSlTMT26MkKLSiekJ9
|
893
|
+
created: 1234567890
|
894
|
+
currency: usd
|
895
|
+
description: ''
|
896
|
+
fee_balance_transactions: {}
|
897
|
+
id: re_19zuuhDSlTMT26MkpLosorvD
|
1030
898
|
metadata: {}
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
899
|
+
object: refund
|
900
|
+
reason: ''
|
901
|
+
receipt_number: ''
|
902
|
+
status: succeeded
|
903
|
+
type: ''
|
904
|
+
sku:
|
905
|
+
active: true
|
906
|
+
attributes:
|
907
|
+
gender: Unisex
|
908
|
+
size: Medium
|
909
|
+
created: 1234567890
|
910
|
+
currency: usd
|
911
|
+
id: sku_AKa48dqsB87bsK
|
912
|
+
image: ''
|
913
|
+
inventory:
|
914
|
+
quantity: 50
|
915
|
+
type: finite
|
916
|
+
value:
|
917
|
+
livemode: false
|
918
|
+
metadata: {}
|
919
|
+
object: sku
|
920
|
+
package_dimensions: {}
|
921
|
+
price: 1500
|
922
|
+
product: prod_AKa4nDYkPszdDl
|
923
|
+
updated: 1234567890
|
924
|
+
source:
|
925
|
+
amount: 1000
|
926
|
+
client_secret: src_client_secret_G7TlNFAGB2mThKeaF9jOBdWt
|
927
|
+
code_verification: {}
|
928
|
+
created: 1234567890
|
929
|
+
currency: usd
|
930
|
+
customer: ''
|
931
|
+
flow: receiver
|
932
|
+
id: src_19zuukDSlTMT26MkL5AZBjwf
|
933
|
+
livemode: false
|
934
|
+
metadata: {}
|
935
|
+
object: source
|
936
|
+
order: ''
|
937
|
+
owner:
|
938
|
+
address:
|
939
|
+
email: jenny.rosen@example.com
|
940
|
+
name:
|
941
|
+
phone:
|
942
|
+
verified_address:
|
943
|
+
verified_email:
|
944
|
+
verified_name:
|
945
|
+
verified_phone:
|
946
|
+
receiver:
|
947
|
+
address: test_1MBhWS3uv4ynCfQXF3xQjJkzFPukr4K56N
|
948
|
+
amount_charged: 0
|
949
|
+
amount_received: 0
|
950
|
+
amount_returned: 0
|
951
|
+
refund_attributes_method: email
|
952
|
+
refund_attributes_status: missing
|
953
|
+
redirect: {}
|
954
|
+
status: pending
|
955
|
+
type: bitcoin
|
956
|
+
usage: single_use
|
957
|
+
subscription:
|
958
|
+
account_balance: 0
|
959
|
+
application_fee_percent: 0.0
|
960
|
+
billing: ''
|
961
|
+
cancel_at_period_end: false
|
962
|
+
canceled_at: 1234567890
|
963
|
+
created: 1234567890
|
964
|
+
current_period_end: 1234567890
|
965
|
+
current_period_start: 1234567890
|
966
|
+
customer: cus_ADmuABetLS15eF
|
967
|
+
days_until_due: 0
|
968
|
+
discount: {}
|
969
|
+
ended_at: 1234567890
|
970
|
+
id: sub_AKa4uss8vCMAZC
|
971
|
+
items:
|
972
|
+
data:
|
973
|
+
- created: 1490133192
|
974
|
+
id: si_19zuuiDSlTMT26Mk9HayBPe9
|
975
|
+
object: subscription_item
|
976
|
+
plan:
|
977
|
+
amount: 2000
|
978
|
+
created: 1488566449
|
979
|
+
currency: usd
|
980
|
+
id: gold
|
981
|
+
interval: month
|
982
|
+
interval_count: 1
|
983
|
+
livemode: false
|
984
|
+
metadata: {}
|
985
|
+
name: Gold Special
|
986
|
+
object: plan
|
987
|
+
statement_descriptor:
|
988
|
+
trial_period_days:
|
989
|
+
quantity: 1
|
990
|
+
has_more: false
|
991
|
+
object: list
|
992
|
+
total_count: 1
|
993
|
+
url: "/v1/subscription_items?subscription=sub_AKa4uss8vCMAZC"
|
994
|
+
livemode: false
|
995
|
+
max_occurrences: 0
|
996
|
+
metadata: {}
|
997
|
+
object: subscription
|
998
|
+
on_behalf_of: ''
|
999
|
+
plan:
|
1000
|
+
amount: 2000
|
1001
|
+
created: 1488566449
|
1002
|
+
currency: usd
|
1003
|
+
id: gold
|
1004
|
+
interval: month
|
1005
|
+
interval_count: 1
|
1006
|
+
livemode: false
|
1007
|
+
metadata: {}
|
1008
|
+
name: Gold Special
|
1009
|
+
object: plan
|
1010
|
+
statement_descriptor:
|
1011
|
+
trial_period_days:
|
1012
|
+
quantity: 1
|
1013
|
+
retains_own_balance: false
|
1014
|
+
start: 1234567890
|
1015
|
+
status: active
|
1016
|
+
tax_percent: 0.0
|
1017
|
+
trial_end: 1234567890
|
1018
|
+
trial_start: 1234567890
|
1019
|
+
subscription_item:
|
1020
|
+
created: 1490133192
|
1021
|
+
id: si_19zuuiDSlTMT26MkkbqEeSG7
|
1022
|
+
object: subscription_item
|
1023
|
+
plan:
|
1024
|
+
amount: 2000
|
1025
|
+
created: 1488566449
|
1026
|
+
currency: usd
|
1027
|
+
id: gold
|
1028
|
+
interval: month
|
1029
|
+
interval_count: 1
|
1030
|
+
livemode: false
|
1031
|
+
metadata: {}
|
1032
|
+
name: Gold Special
|
1033
|
+
object: plan
|
1034
|
+
statement_descriptor:
|
1035
|
+
trial_period_days:
|
1036
|
+
quantity: 1
|
1037
|
+
three_d_secure:
|
1038
|
+
amount: 1500
|
1039
|
+
authenticated: false
|
1040
|
+
card:
|
1041
|
+
address_city:
|
1042
|
+
address_country:
|
1043
|
+
address_line1:
|
1044
|
+
address_line1_check:
|
1045
|
+
address_line2:
|
1046
|
+
address_state:
|
1047
|
+
address_zip:
|
1048
|
+
address_zip_check:
|
1049
|
+
brand: Visa
|
1050
|
+
country:
|
1051
|
+
customer:
|
1052
|
+
cvc_check:
|
1053
|
+
dynamic_last4:
|
1054
|
+
exp_month: 8
|
1055
|
+
exp_year: 2018
|
1056
|
+
funding: unknown
|
1057
|
+
id: card_19tLKYDSlTMT26Mkl7bixGYc
|
1058
|
+
last4: '4242'
|
1059
|
+
metadata: {}
|
1060
|
+
name:
|
1061
|
+
object: card
|
1062
|
+
tokenization_method:
|
1063
|
+
created: 1234567890
|
1064
|
+
currency: usd
|
1065
|
+
id: tdsrc_AKa4JYO98pZnbv
|
1066
|
+
livemode: false
|
1067
|
+
object: three_d_secure
|
1068
|
+
redirect_url: http://127.0.0.1:6080/3d_secure/authenticate/tdsrc_AKa4JYO98pZnbv
|
1069
|
+
status: redirect_pending
|
1070
|
+
token:
|
1071
|
+
account_details: {}
|
1072
|
+
alipay_account: {}
|
1073
|
+
bank_account: {}
|
1074
|
+
card:
|
1075
|
+
address_city:
|
1076
|
+
address_country:
|
1077
|
+
address_line1:
|
1078
|
+
address_line1_check:
|
1079
|
+
address_line2:
|
1080
|
+
address_state:
|
1081
|
+
address_zip:
|
1082
|
+
address_zip_check:
|
1083
|
+
brand: Visa
|
1084
|
+
country:
|
1085
|
+
cvc_check:
|
1086
|
+
dynamic_last4:
|
1087
|
+
exp_month: 8
|
1088
|
+
exp_year: 2018
|
1089
|
+
funding: unknown
|
1090
|
+
id: card_19tLKYDSlTMT26MkxAeJBsQn
|
1091
|
+
last4: '4242'
|
1092
|
+
metadata: {}
|
1093
|
+
name:
|
1094
|
+
object: card
|
1095
|
+
tokenization_method:
|
1096
|
+
client_ip: ''
|
1097
|
+
created: 1234567890
|
1098
|
+
description: ''
|
1099
|
+
email: ''
|
1100
|
+
id: tok_19tLKYDSlTMT26MkK7YyXpCy
|
1101
|
+
livemode: false
|
1102
|
+
object: token
|
1103
|
+
type: card
|
1104
|
+
usage: ''
|
1105
|
+
used: false
|
1106
|
+
transfer:
|
1107
|
+
amount: 1100
|
1108
|
+
amount_reversed: 0
|
1109
|
+
balance_transaction: txn_19zuuhDSlTMT26Mk2gJnG0ti
|
1110
|
+
created: 1234567890
|
1111
|
+
currency: usd
|
1112
|
+
destination: ba_19zuujDSlTMT26MkRkpqv9Ud
|
1113
|
+
destination_payment: ''
|
1114
|
+
id: tr_19zuujDSlTMT26Mk81npuLjT
|
1115
|
+
livemode: false
|
1116
|
+
metadata: {}
|
1117
|
+
object: transfer
|
1118
|
+
reversals:
|
1119
|
+
data: []
|
1120
|
+
has_more: false
|
1121
|
+
object: list
|
1122
|
+
total_count: 0
|
1123
|
+
url: "/v1/transfers/tr_19zuujDSlTMT26Mk81npuLjT/reversals"
|
1124
|
+
reversed: false
|
1125
|
+
source_type: card
|
1126
|
+
transfer_group: ''
|
1127
|
+
transfer_recipient:
|
1128
|
+
active_account: {}
|
1129
|
+
address_city: ''
|
1130
|
+
address_country: ''
|
1131
|
+
address_line1: ''
|
1132
|
+
address_line2: ''
|
1133
|
+
address_state: ''
|
1134
|
+
address_zip: ''
|
1135
|
+
cards:
|
1136
|
+
data: []
|
1137
|
+
has_more: false
|
1138
|
+
object: list
|
1139
|
+
total_count: 0
|
1140
|
+
url: "/v1/recipients/rp_19zuujDSlTMT26MkZ3ZnkXL2/cards"
|
1141
|
+
country: ''
|
1142
|
+
created: 1234567890
|
1143
|
+
default_card: ''
|
1144
|
+
description: Recipient for John Doe
|
1145
|
+
dob_day: ''
|
1146
|
+
dob_month: ''
|
1147
|
+
dob_year: ''
|
1148
|
+
email: test@example.com
|
1149
|
+
id: rp_19zuujDSlTMT26MkZ3ZnkXL2
|
1150
|
+
livemode: false
|
1151
|
+
metadata: {}
|
1152
|
+
migrated_to: ''
|
1153
|
+
name: John Doe
|
1154
|
+
object: recipient
|
1155
|
+
tin: ''
|
1156
|
+
tin_verification_pending: false
|
1157
|
+
type: individual
|
1158
|
+
verified: false
|
1159
|
+
transfer_reversal:
|
1160
|
+
amount: 1100
|
1161
|
+
balance_transaction: ''
|
1162
|
+
created: 1234567890
|
1163
|
+
currency: usd
|
1164
|
+
id: trr_19zuujDSlTMT26Mkg0q2NfQu
|
1165
|
+
metadata: {}
|
1166
|
+
object: transfer_reversal
|
1167
|
+
transfer: tr_19zuujDSlTMT26Mk81npuLjT
|
1168
|
+
upcoming_invoice:
|
1169
|
+
amount_due: 0
|
1170
|
+
application_fee: 0
|
1171
|
+
attempt_count: 0
|
1172
|
+
attempted: false
|
1173
|
+
billing: ''
|
1174
|
+
charge: ''
|
1175
|
+
closed: false
|
1176
|
+
currency: usd
|
1177
|
+
customer: cus_ADmuABetLS15eF
|
1178
|
+
date: 1234567890
|
1179
|
+
description: ''
|
1180
|
+
discount: {}
|
1181
|
+
due_date: 1234567890
|
1182
|
+
ending_balance: 0
|
1183
|
+
forgiven: false
|
1184
|
+
lines:
|
1185
|
+
data: []
|
1186
|
+
has_more: false
|
1187
|
+
object: list
|
1188
|
+
total_count: 0
|
1189
|
+
url: "/v1/invoices/in_19zuuiDSlTMT26Mk1XitxqCb/lines"
|
1190
|
+
livemode: false
|
1191
|
+
metadata: {}
|
1192
|
+
next_payment_attempt: 1234567890
|
1193
|
+
number: ''
|
1194
|
+
object: invoice
|
1195
|
+
paid: false
|
1196
|
+
period_end: 1234567890
|
1197
|
+
period_start: 1234567890
|
1198
|
+
receipt_number: ''
|
1199
|
+
send_next_at: 1234567890
|
1200
|
+
starting_balance: 0
|
1201
|
+
statement_descriptor: ''
|
1202
|
+
subscription: ''
|
1203
|
+
subscription_proration_date: 0
|
1204
|
+
subtotal: 0
|
1205
|
+
tax: 0
|
1206
|
+
tax_percent: 0.0
|
1207
|
+
total: 0
|
1208
|
+
webhooks_delivered_at: 1234567890
|