stripe 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,966 +1,833 @@
1
1
  ---
2
- account:
3
- active_payment_methods: []
4
- bank_accounts: {}
5
- business_logo: ''
6
- business_name: ''
7
- business_primary_color: ''
8
- business_url: ''
9
- charges_enabled: false
10
- country: US
11
- debit_negative_balances: true
12
- decline_charge_on:
13
- avs_failure: false
14
- cvc_failure: false
15
- default_currency: usd
16
- details_submitted: false
17
- display_name: ''
18
- email: foo+os4pphkove@example.com
19
- external_accounts:
20
- data: []
21
- has_more: false
22
- object: list
23
- total_count: 0
24
- url: "/v1/accounts/acct_19y6HAAylotNGqt3/external_accounts"
25
- fake_account: false
26
- id: acct_19y6HAAylotNGqt3
27
- legal_entity:
28
- additional_owners:
29
- address:
30
- city:
31
- country: US
32
- line1:
33
- line2:
34
- postal_code:
35
- state:
36
- business_name:
37
- business_name_kana:
38
- business_name_kanji:
39
- business_tax_id_provided: false
40
- business_vat_id_provided: false
41
- dob:
42
- day:
43
- month:
44
- year:
45
- first_name:
46
- first_name_kana:
47
- first_name_kanji:
48
- gender:
49
- last_name:
50
- last_name_kana:
51
- last_name_kanji:
52
- maiden_name:
53
- personal_address:
54
- city:
55
- country: US
56
- line1:
57
- line2:
58
- postal_code:
59
- state:
60
- personal_id_number_provided: false
61
- phone_number:
62
- ssn_last_4_provided: false
63
- type:
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
- details:
66
- details_code:
67
- document:
68
- status: unverified
69
- light: false
70
- managed: true
71
- mcc: ''
72
- metadata: {}
73
- object: account
74
- orders: {}
75
- product_description: ''
76
- risk_details: {}
77
- statement_descriptor: ''
78
- support_address: {}
79
- support_email: ''
80
- support_phone: ''
81
- support_url: ''
82
- timezone: Etc/UTC
83
- tos_acceptance:
84
- date:
85
- ip:
86
- user_agent:
87
- transfer_schedule:
88
- delay_days: 7
89
- interval: daily
90
- transfer_statement_descriptor: ''
91
- transfers_enabled: false
92
- verification:
93
- disabled_reason: fields_needed
94
- due_by:
95
- fields_needed:
96
- - business_url
97
- - external_account
98
- - product_description
99
- - support_phone
100
- - tos_acceptance.date
101
- - tos_acceptance.ip
102
- account_with_keys:
103
- active_payment_methods: []
104
- bank_accounts: {}
105
- business_logo: ''
106
- business_name: ''
107
- business_primary_color: ''
108
- business_url: ''
109
- charges_enabled: false
110
- country: US
111
- debit_negative_balances: false
112
- decline_charge_on: {}
113
- default_currency: usd
114
- details_submitted: false
115
- display_name: ''
116
- email: foo+os4pphkove@example.com
117
- external_accounts: {}
118
- fake_account: false
119
- id: acct_19y6HAAylotNGqt3
120
- keys: {}
121
- legal_entity: {}
122
- light: false
123
- managed: false
124
- mcc: ''
125
- metadata: {}
126
- object: account
127
- orders: {}
128
- product_description: ''
129
- risk_details: {}
130
- statement_descriptor: ''
131
- support_address: {}
132
- support_email: ''
133
- support_phone: ''
134
- support_url: ''
135
- timezone: Etc/UTC
136
- tos_acceptance: {}
137
- transfer_schedule: {}
138
- transfer_statement_descriptor: ''
139
- transfers_enabled: false
140
- verification: {}
141
- alipay_account:
142
- created: 1234567890
143
- customer: ''
144
- fingerprint: eiRpjVAne6V7vzjH
145
- id: aliacc_19y6HIAylotNGqt3CWxIarua
146
- livemode: false
147
- metadata: {}
148
- object: alipay_account
149
- payment_amount: 1000
150
- payment_currency: usd
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
- source_types:
165
- card: 0
166
- connect_reserved: []
167
- livemode: false
168
- object: balance
169
- pending:
170
- - amount: 0
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
- source_types:
173
- card: 0
174
- balance_transaction:
175
- amount: 100
176
- automatic_transfer: {}
177
- available_on: 1234567890
178
- created: 1234567890
179
- currency: usd
180
- description: ''
181
- fee: 0
182
- fee_details: []
183
- id: txn_19y6HHAylotNGqt33AMqhSaS
184
- net: 100
185
- object: balance_transaction
186
- source: ch_19y6HHAylotNGqt3dguVG1mI
187
- sourced_transfers: {}
188
- status: pending
189
- type: charge
190
- bank_account:
191
- account: acct_19y6HAAylotNGqt3
192
- account_holder_name: Jane Austen
193
- account_holder_type: individual
194
- address_city: ''
195
- address_line1: ''
196
- address_line2: ''
197
- address_state: ''
198
- address_zip: ''
199
- allows_debits: false
200
- bank_name: STRIPE TEST BANK
201
- bank_phone_number: ''
202
- country: US
203
- currency: usd
204
- customer: ''
205
- customer_reference: ''
206
- default_for_currency: false
207
- fingerprint: G8AlCiZpIixKrovm
208
- id: ba_19y6HIAylotNGqt37Bbh2BEi
209
- last4: '6789'
210
- metadata: {}
211
- object: bank_account
212
- reusable: false
213
- routing_number: '110000000'
214
- status: new
215
- used: false
216
- bitcoin_receiver:
217
- active: false
218
- amount: 100
219
- amount_received: 0
220
- bitcoin_amount: 1757908
221
- bitcoin_amount_received: 0
222
- bitcoin_uri: bitcoin:test_7i9Fo4b5wXcUAuoVBFrc7nc9HDxD1?amount=0.01757908
223
- created: 1234567890
224
- currency: usd
225
- customer: ''
226
- description: Receiver for John Doe
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
- customer:
340
- cvc_check:
341
- dynamic_last4:
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
- id: card_19y6HHAylotNGqt3SvYv7I1c
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
- tokenization_method:
351
- source_transfer: ''
352
- statement_descriptor: ''
353
- status: succeeded
354
- transfer: ''
355
- transfer_group: ''
356
- trust: {}
357
- country_spec:
358
- default_currency: usd
359
- field_schemas: {}
360
- id: US
361
- object: country_spec
362
- supported_bank_account_currencies:
363
- usd:
364
- - US
365
- supported_payment_currencies:
366
- - "..."
367
- - aed
368
- - afn
369
- - usd
370
- supported_payment_methods:
371
- - alipay
372
- - card
373
- - stripe
374
- verification_fields:
375
- company:
376
- additional: []
377
- minimum: []
378
- individual:
379
- additional: []
380
- minimum: []
381
- coupon:
382
- amount_off: 0
383
- created: 1234567890
384
- currency: usd
385
- duration: repeating
386
- duration_in_months: 3
387
- id: 25OFF
388
- livemode: false
389
- max_redemptions: 0
390
- metadata: {}
391
- object: coupon
392
- percent_off: 25
393
- redeem_by: 1234567890
394
- times_redeemed: 0
395
- valid: true
396
- customer:
397
- account_balance: 0
398
- alipay_accounts: {}
399
- bank_accounts: {}
400
- business_vat_id: ''
401
- cards: {}
402
- created: 1234567890
403
- currency: usd
404
- default_bank_account: ''
405
- default_card: ''
406
- default_source: ''
407
- default_source_type: ''
408
- delinquent: false
409
- description: ''
410
- discount: {}
411
- email: ''
412
- id: cus_AIhgCDhEsqLqXq
413
- livemode: false
414
- metadata: {}
415
- object: customer
416
- shipping: {}
417
- sources:
418
- data: []
419
- has_more: false
420
- object: list
421
- total_count: 0
422
- url: "/v1/customers/cus_AIhgCDhEsqLqXq/sources"
423
- subscription: {}
424
- subscriptions: {}
425
- trust: {}
426
- customer_source:
427
- customer: ''
428
- id: ba_19y6HIAylotNGqt37Bbh2BEi
429
- metadata: {}
430
- object: bank_account
431
- discount:
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: 1489700220
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: cus_AIhgCDhEsqLqXq
448
- end: 1234567890
449
- object: discount
450
- start: 1234567890
451
- subscription: ''
452
- dispute:
453
- accepted_at: 1234567890
454
- amount: 1000
455
- balance_transaction: ''
456
- balance_transactions: []
457
- charge: ch_19y6HHAylotNGqt3dguVG1mI
458
- closed_at: 1234567890
459
- created: 1234567890
460
- currency: usd
461
- escalated_at: 1234567890
462
- evidence:
463
- access_activity_log:
464
- billing_address:
465
- cancellation_policy:
466
- cancellation_policy_disclosure:
467
- cancellation_rebuttal:
468
- customer_communication:
469
- customer_email_address:
470
- customer_name:
471
- customer_purchase_ip:
472
- customer_signature:
473
- duplicate_charge_documentation:
474
- duplicate_charge_explanation:
475
- duplicate_charge_id:
476
- product_description:
477
- receipt:
478
- refund_policy:
479
- refund_policy_disclosure:
480
- refund_refusal_explanation:
481
- service_date:
482
- service_documentation:
483
- shipping_address:
484
- shipping_carrier:
485
- shipping_date:
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
- id: gold
515
- interval: month
516
- interval_count: 1
458
+ duration: repeating
459
+ duration_in_months: 3
460
+ id: 25OFF
517
461
  livemode: false
462
+ max_redemptions:
518
463
  metadata: {}
519
- name: Gold Special
520
- object: plan
521
- statement_descriptor:
522
- trial_period_days:
523
- id: evt_19y6HIAylotNGqt349zSXYCk
524
- livemode: false
525
- object: event
526
- pending_webhooks: 0
527
- recipient_best_description: ''
528
- request: ''
529
- type: plan.created
530
- external_account_source:
531
- account: acct_19y6HAAylotNGqt3
532
- address_city: ''
533
- address_line1: ''
534
- address_line2: ''
535
- address_state: ''
536
- address_zip: ''
537
- country: US
538
- currency: usd
539
- customer: ''
540
- default_for_currency: false
541
- fingerprint: G8AlCiZpIixKrovm
542
- id: ba_19y6HIAylotNGqt37Bbh2BEi
543
- last4: '6789'
544
- metadata: {}
545
- object: bank_account
546
- fee_refund:
547
- amount: 100
548
- balance_transaction: ''
549
- created: 1234567890
550
- currency: usd
551
- fee: fee_19y6HIAylotNGqt3iEVMbEmJ
552
- id: fr_AIhghI4mXRpLEw
553
- metadata: {}
554
- object: fee_refund
555
- invoice:
556
- amount_due: 0
557
- application_fee: 0
558
- attempt_count: 0
559
- attempted: false
560
- billing: ''
561
- charge: ''
562
- closed: false
563
- currency: usd
564
- customer: cus_AIhgCDhEsqLqXq
565
- date: 1234567890
566
- description: ''
567
- discount: {}
568
- due_date: 1234567890
569
- ending_balance: 0
570
- forgiven: false
571
- id: in_19y6HIAylotNGqt3Kq1NUy5r
572
- lines:
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
- - amount: 2000
575
- currency: usd
576
- description:
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
- id: gold
590
- interval: month
591
- interval_count: 1
536
+ default_source:
537
+ delinquent: false
538
+ description:
539
+ discount:
540
+ email:
541
+ id: cus_ADmuABetLS15eF
592
542
  livemode: false
593
543
  metadata: {}
594
- name: Gold Special
595
- object: plan
596
- statement_descriptor:
597
- trial_period_days:
598
- proration: false
599
- quantity: 1
600
- subscription:
601
- subscription_item: si_19y6HHBBq8Um5VVVeabmVesw
602
- type: subscription
603
- object: list
604
- total_count: 1
605
- url: "/v1/invoices/in_19y6HIAylotNGqt3Kq1NUy5r/lines"
606
- livemode: false
607
- metadata: {}
608
- next_payment_attempt: 1234567890
609
- number: ''
610
- object: invoice
611
- paid: false
612
- period_end: 1234567890
613
- period_start: 1234567890
614
- receipt_number: ''
615
- starting_balance: 0
616
- statement_descriptor: ''
617
- subscription: ''
618
- subscription_proration_date: 0
619
- subtotal: 0
620
- tax: 0
621
- tax_percent: 0.0
622
- total: 0
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
- description: T-shirt
717
- object: order_item
718
- parent: sk_19y6HJAylotNGqt3oddcLh9L
719
- quantity:
720
- type: sku
721
- livemode: false
722
- metadata: {}
723
- object: order
724
- returns:
725
- data: []
726
- has_more: false
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
- description: T-shirt
758
- object: order_item
759
- parent: sk_19y6HJAylotNGqt3oddcLh9L
760
- quantity:
761
- type: sku
762
- livemode: false
763
- object: order_return
764
- order: or_19y6HJAylotNGqt36m18HzRj
765
- refund: re_19y6HJAylotNGqt3rTe2A05C
766
- plan:
767
- amount: 2000
768
- created: 1234567890
769
- currency: usd
770
- id: gold
771
- interval: month
772
- interval_count: 1
773
- livemode: false
774
- metadata: {}
775
- name: Gold Special
776
- object: plan
777
- statement_descriptor: ''
778
- trial_period_days: 0
779
- platform_earning:
780
- account: acct_19y6HAAylotNGqt3
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
- id: gold
919
- interval: month
920
- interval_count: 1
921
- livemode: false
611
+ description:
612
+ discountable: true
613
+ id: sub_AKa4uss8vCMAZC
614
+ livemode: true
922
615
  metadata: {}
923
- name: Gold Special
924
- object: plan
925
- statement_descriptor:
926
- trial_period_days:
927
- quantity: 1
928
- has_more: false
929
- object: list
930
- total_count: 1
931
- url: "/v1/subscription_items?subscription=sub_AIhgP3KgCUJMuh"
932
- livemode: false
933
- max_occurrences: 0
934
- metadata: {}
935
- object: subscription
936
- on_behalf_of: ''
937
- plan:
938
- amount: 2000
939
- created: 1489700219
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
- id: gold
942
- interval: month
943
- interval_count: 1
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
- name: Gold Special
947
- object: plan
948
- statement_descriptor:
949
- trial_period_days:
950
- quantity: 1
951
- retains_own_balance: false
952
- start: 1234567890
953
- status: active
954
- tax_percent: 0.0
955
- trial_end: 1234567890
956
- trial_start: 1234567890
957
- subscription_item:
958
- created: 1489700220
959
- id: si_19y6HHBBq8Um5VVVWtAse22Z
960
- object: subscription_item
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: 1489700219
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
- quantity: 1
975
- three_d_secure:
976
- amount: 1500
977
- authenticated: false
978
- card:
979
- address_city:
980
- address_country:
981
- address_line1:
982
- address_line1_check:
983
- address_line2:
984
- address_state:
985
- address_zip:
986
- address_zip_check:
987
- brand: Visa
988
- country:
989
- customer:
990
- cvc_check:
991
- dynamic_last4:
992
- exp_month: 8
993
- exp_year: 2018
994
- funding: unknown
995
- id: card_19y6HIAylotNGqt3tSobdlid
996
- last4: '4242'
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: card
1000
- tokenization_method:
1001
- created: 1234567890
1002
- currency: usd
1003
- id: tdsrc_AIhge8Euw6YKbc
1004
- livemode: false
1005
- object: three_d_secure
1006
- redirect_url: http://127.0.0.1:6080/3d_secure/authenticate/tdsrc_AIhge8Euw6YKbc
1007
- status: redirect_pending
1008
- token:
1009
- account_details: {}
1010
- alipay_account: {}
1011
- bank_account: {}
1012
- card:
1013
- address_city:
1014
- address_country:
1015
- address_line1:
1016
- address_line1_check:
1017
- address_line2:
1018
- address_state:
1019
- address_zip:
1020
- address_zip_check:
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
- name:
1032
- object: card
1033
- tokenization_method:
1034
- client_ip: ''
1035
- created: 1234567890
1036
- description: ''
1037
- email: ''
1038
- id: tok_19y6HIAylotNGqt3RgAWCZVp
1039
- livemode: false
1040
- object: token
1041
- type: card
1042
- usage: ''
1043
- used: false
1044
- transfer:
1045
- amount: 1100
1046
- amount_reversed: 0
1047
- balance_transaction: txn_19y6HHAylotNGqt33AMqhSaS
1048
- created: 1234567890
1049
- currency: usd
1050
- destination: ba_19y6HIAylotNGqt3Tk6btLgn
1051
- destination_payment: ''
1052
- id: tr_19y6HIAylotNGqt3ph4EjS38
1053
- livemode: false
1054
- metadata: {}
1055
- object: transfer
1056
- reversals:
1057
- data: []
1058
- has_more: false
1059
- object: list
1060
- total_count: 0
1061
- url: "/v1/transfers/tr_19y6HIAylotNGqt3ph4EjS38/reversals"
1062
- reversed: false
1063
- transfer_group: ''
1064
- transfer_recipient:
1065
- active_account: {}
1066
- address_city: ''
1067
- address_country: ''
1068
- address_line1: ''
1069
- address_line2: ''
1070
- address_state: ''
1071
- address_zip: ''
1072
- cards:
1073
- data: []
1074
- has_more: false
1075
- object: list
1076
- total_count: 0
1077
- url: "/v1/recipients/rp_19y6HIAylotNGqt3CTykthsz/cards"
1078
- country: ''
1079
- created: 1234567890
1080
- default_card: ''
1081
- description: Recipient for John Doe
1082
- dob_day: ''
1083
- dob_month: ''
1084
- dob_year: ''
1085
- email: test@example.com
1086
- id: rp_19y6HIAylotNGqt3CTykthsz
1087
- livemode: false
1088
- metadata: {}
1089
- migrated_to: ''
1090
- name: John Doe
1091
- object: recipient
1092
- tin: ''
1093
- tin_verification_pending: false
1094
- type: individual
1095
- verified: false
1096
- transfer_reversal:
1097
- amount: 1100
1098
- balance_transaction: ''
1099
- created: 1234567890
1100
- currency: usd
1101
- id: trr_19y6HIAylotNGqt3nITPrdUW
1102
- metadata: {}
1103
- object: transfer_reversal
1104
- transfer: tr_19y6HIAylotNGqt3ph4EjS38
1105
- upcoming_invoice:
1106
- amount_due: 0
1107
- application_fee: 0
1108
- attempt_count: 0
1109
- attempted: false
1110
- billing: ''
1111
- charge: ''
1112
- closed: false
1113
- currency: usd
1114
- customer: cus_AIhgCDhEsqLqXq
1115
- date: 1234567890
1116
- description: ''
1117
- discount: {}
1118
- due_date: 1234567890
1119
- ending_balance: 0
1120
- forgiven: false
1121
- lines:
1122
- data: []
1123
- has_more: false
1124
- object: list
1125
- total_count: 0
1126
- url: "/v1/invoices/in_19y6HIAylotNGqt3Kq1NUy5r/lines"
1127
- livemode: false
1128
- metadata: {}
1129
- next_payment_attempt: 1234567890
1130
- number: ''
1131
- object: invoice
1132
- paid: false
1133
- period_end: 1234567890
1134
- period_start: 1234567890
1135
- receipt_number: ''
1136
- starting_balance: 0
1137
- statement_descriptor: ''
1138
- subscription: ''
1139
- subscription_proration_date: 0
1140
- subtotal: 0
1141
- tax: 0
1142
- tax_percent: 0.0
1143
- total: 0
1144
- webhooks_delivered_at: 1234567890
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