stripe 1.30.3 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitattributes +4 -0
- data/.github/ISSUE_TEMPLATE.md +5 -0
- data/.travis.yml +3 -14
- data/Gemfile +28 -4
- data/History.txt +180 -0
- data/README.md +147 -0
- data/Rakefile +10 -0
- data/VERSION +1 -1
- data/bin/stripe-console +12 -5
- data/lib/data/ca-certificates.crt +3868 -5114
- data/lib/stripe/account.rb +43 -23
- data/lib/stripe/alipay_account.rb +20 -0
- data/lib/stripe/api_operations/create.rb +2 -2
- data/lib/stripe/api_operations/delete.rb +2 -2
- data/lib/stripe/api_operations/list.rb +2 -3
- data/lib/stripe/api_operations/request.rb +9 -3
- data/lib/stripe/api_operations/save.rb +85 -0
- data/lib/stripe/api_resource.rb +38 -5
- data/lib/stripe/apple_pay_domain.rb +12 -0
- data/lib/stripe/application_fee.rb +8 -8
- data/lib/stripe/application_fee_refund.rb +7 -3
- data/lib/stripe/balance_transaction.rb +1 -1
- data/lib/stripe/bank_account.rb +13 -4
- data/lib/stripe/bitcoin_receiver.rb +6 -6
- data/lib/stripe/bitcoin_transaction.rb +1 -1
- data/lib/stripe/card.rb +9 -5
- data/lib/stripe/charge.rb +38 -20
- data/lib/stripe/country_spec.rb +9 -0
- data/lib/stripe/coupon.rb +1 -1
- data/lib/stripe/customer.rb +12 -10
- data/lib/stripe/dispute.rb +4 -5
- data/lib/stripe/errors.rb +92 -0
- data/lib/stripe/file_upload.rb +1 -1
- data/lib/stripe/invoice.rb +7 -7
- data/lib/stripe/invoice_item.rb +1 -1
- data/lib/stripe/list_object.rb +8 -7
- data/lib/stripe/order.rb +12 -4
- data/lib/stripe/order_return.rb +9 -0
- data/lib/stripe/plan.rb +1 -1
- data/lib/stripe/product.rb +2 -10
- data/lib/stripe/recipient.rb +1 -1
- data/lib/stripe/refund.rb +1 -1
- data/lib/stripe/reversal.rb +7 -3
- data/lib/stripe/singleton_api_resource.rb +3 -3
- data/lib/stripe/sku.rb +2 -2
- data/lib/stripe/source.rb +11 -0
- data/lib/stripe/stripe_client.rb +396 -0
- data/lib/stripe/stripe_object.rb +167 -91
- data/lib/stripe/stripe_response.rb +48 -0
- data/lib/stripe/subscription.rb +15 -9
- data/lib/stripe/subscription_item.rb +12 -0
- data/lib/stripe/three_d_secure.rb +9 -0
- data/lib/stripe/transfer.rb +4 -5
- data/lib/stripe/util.rb +105 -33
- data/lib/stripe/version.rb +1 -1
- data/lib/stripe.rb +69 -266
- data/spec/fixtures.json +1409 -0
- data/spec/fixtures.yaml +1153 -0
- data/spec/spec.json +19949 -0
- data/spec/spec.yaml +15504 -0
- data/stripe.gemspec +5 -18
- data/test/api_fixtures.rb +29 -0
- data/test/api_stub_helpers.rb +125 -0
- data/test/stripe/account_test.rb +163 -211
- data/test/stripe/alipay_account_test.rb +19 -0
- data/test/stripe/api_operations_test.rb +31 -0
- data/test/stripe/api_resource_test.rb +174 -340
- data/test/stripe/apple_pay_domain_test.rb +33 -0
- data/test/stripe/application_fee_refund_test.rb +22 -31
- data/test/stripe/application_fee_test.rb +6 -14
- data/test/stripe/balance_test.rb +3 -3
- data/test/stripe/bank_account_test.rb +41 -0
- data/test/stripe/bitcoin_receiver_test.rb +51 -42
- data/test/stripe/bitcoin_transaction_test.rb +11 -19
- data/test/stripe/charge_test.rb +39 -98
- data/test/stripe/country_spec_test.rb +20 -0
- data/test/stripe/coupon_test.rb +35 -11
- data/test/stripe/customer_card_test.rb +25 -46
- data/test/stripe/customer_test.rb +89 -61
- data/test/stripe/dispute_test.rb +28 -31
- data/test/stripe/errors_test.rb +18 -0
- data/test/stripe/file_upload_test.rb +32 -24
- data/test/stripe/invoice_item_test.rb +55 -0
- data/test/stripe/invoice_test.rb +50 -24
- data/test/stripe/list_object_test.rb +57 -45
- data/test/stripe/order_return_test.rb +21 -0
- data/test/stripe/order_test.rb +41 -34
- data/test/stripe/plan_test.rb +52 -0
- data/test/stripe/product_test.rb +31 -25
- data/test/stripe/recipient_card_test.rb +23 -40
- data/test/stripe/recipient_test.rb +50 -0
- data/test/stripe/refund_test.rb +20 -36
- data/test/stripe/reversal_test.rb +27 -31
- data/test/stripe/sku_test.rb +39 -13
- data/test/stripe/source_test.rb +43 -0
- data/test/stripe/stripe_client_test.rb +428 -0
- data/test/stripe/stripe_object_test.rb +186 -13
- data/test/stripe/stripe_response_test.rb +46 -0
- data/test/stripe/subscription_item_test.rb +54 -0
- data/test/stripe/subscription_test.rb +40 -52
- data/test/stripe/three_d_secure_test.rb +23 -0
- data/test/stripe/transfer_test.rb +38 -13
- data/test/stripe/util_test.rb +48 -16
- data/test/stripe_test.rb +25 -0
- data/test/test_data.rb +5 -621
- data/test/test_helper.rb +24 -24
- metadata +60 -139
- data/README.rdoc +0 -68
- data/gemfiles/default-with-activesupport.gemfile +0 -10
- data/gemfiles/json.gemfile +0 -12
- data/gemfiles/yajl.gemfile +0 -12
- data/lib/stripe/api_operations/update.rb +0 -58
- data/lib/stripe/errors/api_connection_error.rb +0 -4
- data/lib/stripe/errors/api_error.rb +0 -4
- data/lib/stripe/errors/authentication_error.rb +0 -4
- data/lib/stripe/errors/card_error.rb +0 -12
- data/lib/stripe/errors/invalid_request_error.rb +0 -11
- data/lib/stripe/errors/rate_limit_error.rb +0 -4
- data/lib/stripe/errors/stripe_error.rb +0 -26
- data/test/stripe/charge_refund_test.rb +0 -55
- data/test/stripe/metadata_test.rb +0 -129
data/spec/fixtures.yaml
ADDED
@@ -0,0 +1,1153 @@
|
|
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+bnklon35vv@example.com
|
19
|
+
external_accounts:
|
20
|
+
data: []
|
21
|
+
has_more: false
|
22
|
+
object: list
|
23
|
+
total_count: 0
|
24
|
+
url: "/v1/accounts/acct_19mq3gAXZ0PAB0qu/external_accounts"
|
25
|
+
fake_account: false
|
26
|
+
id: acct_19mq3gAXZ0PAB0qu
|
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:
|
64
|
+
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+bnklon35vv@example.com
|
117
|
+
external_accounts: {}
|
118
|
+
fake_account: false
|
119
|
+
id: acct_19mq3gAXZ0PAB0qu
|
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: b6kmmo2KDWmL6NnE
|
145
|
+
id: aliacc_19mq3pAXZ0PAB0qutSJIFvG1
|
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_19mq3lAXZ0PAB0qutk0Bbilz
|
158
|
+
livemode: true
|
159
|
+
object: apple_pay_domain
|
160
|
+
balance:
|
161
|
+
available:
|
162
|
+
- amount: 0
|
163
|
+
currency: usd
|
164
|
+
source_types:
|
165
|
+
card: 0
|
166
|
+
connect_reserved: []
|
167
|
+
livemode: false
|
168
|
+
object: balance
|
169
|
+
pending:
|
170
|
+
- amount: 0
|
171
|
+
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_19mq3mAXZ0PAB0quuB601NdX
|
184
|
+
net: 100
|
185
|
+
object: balance_transaction
|
186
|
+
source: ch_19mq3mAXZ0PAB0quafODEaTb
|
187
|
+
sourced_transfers: {}
|
188
|
+
status: pending
|
189
|
+
type: charge
|
190
|
+
bitcoin_receiver:
|
191
|
+
active: false
|
192
|
+
amount: 100
|
193
|
+
amount_received: 0
|
194
|
+
bitcoin_amount: 1757908
|
195
|
+
bitcoin_amount_received: 0
|
196
|
+
bitcoin_uri: bitcoin:test_7i9Fo4b5wXcUAuoVBFrc7nc9HDxD1?amount=0.01757908
|
197
|
+
created: 1234567890
|
198
|
+
currency: usd
|
199
|
+
customer: ''
|
200
|
+
description: Receiver for John Doe
|
201
|
+
email: test@example.com
|
202
|
+
filled: false
|
203
|
+
id: btcrcv_19mq3pAXZ0PAB0quysC4SOJn
|
204
|
+
inbound_address: test_7i9Fo4b5wXcUAuoVBFrc7nc9HDxD1
|
205
|
+
livemode: false
|
206
|
+
metadata: {}
|
207
|
+
object: bitcoin_receiver
|
208
|
+
payment: ''
|
209
|
+
refund_address: ''
|
210
|
+
transactions: {}
|
211
|
+
uncaptured_funds: false
|
212
|
+
used_for_payment: false
|
213
|
+
bitcoin_transaction:
|
214
|
+
amount: 100
|
215
|
+
bitcoin_amount: 1757908
|
216
|
+
created: 1234567890
|
217
|
+
currency: usd
|
218
|
+
id: btctxn_19mq3pAXZ0PAB0quo4NMSQ1P
|
219
|
+
object: bitcoin_transaction
|
220
|
+
receiver: btcrcv_19mq3pBFZK1NInhS7HqQ8daC
|
221
|
+
charge:
|
222
|
+
alternate_statement_descriptors: {}
|
223
|
+
amount: 100
|
224
|
+
amount_authorized: 0
|
225
|
+
amount_captured: 0
|
226
|
+
amount_refunded: 0
|
227
|
+
application: ''
|
228
|
+
application_fee: ''
|
229
|
+
application_fees_refunded: 0
|
230
|
+
authorization_code: ''
|
231
|
+
balance_transaction: txn_19mq3mAXZ0PAB0quuB601NdX
|
232
|
+
captured: true
|
233
|
+
card: {}
|
234
|
+
created: 1234567890
|
235
|
+
currency: usd
|
236
|
+
customer: ''
|
237
|
+
description: My First Test Charge (created for API docs)
|
238
|
+
destination: ''
|
239
|
+
dispute: ''
|
240
|
+
failure_code: ''
|
241
|
+
failure_message: ''
|
242
|
+
fee_balance_transactions: {}
|
243
|
+
fraud_details: {}
|
244
|
+
id: ch_19mq3mAXZ0PAB0quafODEaTb
|
245
|
+
invoice: ''
|
246
|
+
level3: {}
|
247
|
+
livemode: false
|
248
|
+
metadata: {}
|
249
|
+
object: charge
|
250
|
+
on_behalf_of: ''
|
251
|
+
order: ''
|
252
|
+
outcome: {}
|
253
|
+
paid: true
|
254
|
+
receipt_email: ''
|
255
|
+
receipt_number: ''
|
256
|
+
refunded: false
|
257
|
+
refunds:
|
258
|
+
data: []
|
259
|
+
has_more: false
|
260
|
+
object: list
|
261
|
+
total_count: 0
|
262
|
+
url: "/v1/charges/ch_19mq3mAXZ0PAB0quafODEaTb/refunds"
|
263
|
+
review: ''
|
264
|
+
shipping: {}
|
265
|
+
source:
|
266
|
+
address_city:
|
267
|
+
address_country:
|
268
|
+
address_line1:
|
269
|
+
address_line1_check:
|
270
|
+
address_line2:
|
271
|
+
address_state:
|
272
|
+
address_zip:
|
273
|
+
address_zip_check:
|
274
|
+
brand: Visa
|
275
|
+
country:
|
276
|
+
customer:
|
277
|
+
cvc_check:
|
278
|
+
dynamic_last4:
|
279
|
+
exp_month: 8
|
280
|
+
exp_year: 2018
|
281
|
+
funding: unknown
|
282
|
+
id: card_19mq3lAXZ0PAB0quo1Fi4kuG
|
283
|
+
last4: '4242'
|
284
|
+
metadata: {}
|
285
|
+
name:
|
286
|
+
object: card
|
287
|
+
tokenization_method:
|
288
|
+
source_transfer: ''
|
289
|
+
statement_descriptor: ''
|
290
|
+
status: succeeded
|
291
|
+
transfer: ''
|
292
|
+
transfer_group: ''
|
293
|
+
trust: {}
|
294
|
+
country_spec:
|
295
|
+
default_currency: usd
|
296
|
+
field_schemas: {}
|
297
|
+
id: US
|
298
|
+
object: country_spec
|
299
|
+
supported_bank_account_currencies:
|
300
|
+
usd:
|
301
|
+
- US
|
302
|
+
supported_payment_currencies:
|
303
|
+
- "..."
|
304
|
+
- aed
|
305
|
+
- afn
|
306
|
+
- usd
|
307
|
+
supported_payment_methods:
|
308
|
+
- alipay
|
309
|
+
- card
|
310
|
+
- stripe
|
311
|
+
verification_fields:
|
312
|
+
company:
|
313
|
+
additional: []
|
314
|
+
minimum: []
|
315
|
+
individual:
|
316
|
+
additional: []
|
317
|
+
minimum: []
|
318
|
+
coupon:
|
319
|
+
amount_off: 0
|
320
|
+
created: 1234567890
|
321
|
+
currency: usd
|
322
|
+
duration: repeating
|
323
|
+
duration_in_months: 3
|
324
|
+
id: 25OFF
|
325
|
+
livemode: false
|
326
|
+
max_redemptions: 0
|
327
|
+
metadata: {}
|
328
|
+
object: coupon
|
329
|
+
percent_off: 25
|
330
|
+
redeem_by: 1234567890
|
331
|
+
times_redeemed: 0
|
332
|
+
valid: true
|
333
|
+
customer:
|
334
|
+
account_balance: 0
|
335
|
+
alipay_accounts: {}
|
336
|
+
bank_accounts: {}
|
337
|
+
business_vat_id: ''
|
338
|
+
cards: {}
|
339
|
+
created: 1234567890
|
340
|
+
currency: usd
|
341
|
+
default_bank_account: ''
|
342
|
+
default_card: ''
|
343
|
+
default_source: ''
|
344
|
+
default_source_type: ''
|
345
|
+
delinquent: false
|
346
|
+
description: ''
|
347
|
+
discount: {}
|
348
|
+
email: ''
|
349
|
+
id: cus_A74CGlAc6Xc9o8
|
350
|
+
livemode: false
|
351
|
+
metadata: {}
|
352
|
+
object: customer
|
353
|
+
shipping: {}
|
354
|
+
sources:
|
355
|
+
data: []
|
356
|
+
has_more: false
|
357
|
+
object: list
|
358
|
+
total_count: 0
|
359
|
+
url: "/v1/customers/cus_A74CGlAc6Xc9o8/sources"
|
360
|
+
subscription: {}
|
361
|
+
subscriptions:
|
362
|
+
data: []
|
363
|
+
has_more: false
|
364
|
+
object: list
|
365
|
+
total_count: 0
|
366
|
+
url: "/v1/customers/cus_A74CGlAc6Xc9o8/subscriptions"
|
367
|
+
trust: {}
|
368
|
+
customer_source:
|
369
|
+
id: ba_19mq3pAXZ0PAB0que2xYqubF
|
370
|
+
metadata: {}
|
371
|
+
object: bank_account
|
372
|
+
discount:
|
373
|
+
coupon:
|
374
|
+
amount_off:
|
375
|
+
created: 1487016273
|
376
|
+
currency: usd
|
377
|
+
duration: repeating
|
378
|
+
duration_in_months: 3
|
379
|
+
id: 25OFF
|
380
|
+
livemode: false
|
381
|
+
max_redemptions:
|
382
|
+
metadata: {}
|
383
|
+
object: coupon
|
384
|
+
percent_off: 25
|
385
|
+
redeem_by:
|
386
|
+
times_redeemed: 0
|
387
|
+
valid: true
|
388
|
+
customer: cus_A74CGlAc6Xc9o8
|
389
|
+
end: 1234567890
|
390
|
+
object: discount
|
391
|
+
start: 1234567890
|
392
|
+
subscription: ''
|
393
|
+
dispute:
|
394
|
+
accepted_at: 1234567890
|
395
|
+
amount: 1000
|
396
|
+
balance_transaction: ''
|
397
|
+
balance_transactions: []
|
398
|
+
charge: ch_19mq3mAXZ0PAB0quafODEaTb
|
399
|
+
closed_at: 1234567890
|
400
|
+
created: 1234567890
|
401
|
+
currency: usd
|
402
|
+
escalated_at: 1234567890
|
403
|
+
evidence:
|
404
|
+
access_activity_log:
|
405
|
+
billing_address:
|
406
|
+
cancellation_policy:
|
407
|
+
cancellation_policy_disclosure:
|
408
|
+
cancellation_rebuttal:
|
409
|
+
customer_communication:
|
410
|
+
customer_email_address:
|
411
|
+
customer_name:
|
412
|
+
customer_purchase_ip:
|
413
|
+
customer_signature:
|
414
|
+
duplicate_charge_documentation:
|
415
|
+
duplicate_charge_explanation:
|
416
|
+
duplicate_charge_id:
|
417
|
+
product_description:
|
418
|
+
receipt:
|
419
|
+
refund_policy:
|
420
|
+
refund_policy_disclosure:
|
421
|
+
refund_refusal_explanation:
|
422
|
+
service_date:
|
423
|
+
service_documentation:
|
424
|
+
shipping_address:
|
425
|
+
shipping_carrier:
|
426
|
+
shipping_date:
|
427
|
+
shipping_documentation:
|
428
|
+
shipping_tracking_number:
|
429
|
+
uncategorized_file:
|
430
|
+
uncategorized_text:
|
431
|
+
evidence_details:
|
432
|
+
due_by: 1488671999
|
433
|
+
has_evidence: false
|
434
|
+
past_due: false
|
435
|
+
submission_count: 0
|
436
|
+
evidence_submitted_at: []
|
437
|
+
id: dp_19mq3nAXZ0PAB0quWfu875gB
|
438
|
+
is_charge_refundable: false
|
439
|
+
is_protected: false
|
440
|
+
livemode: false
|
441
|
+
metadata: {}
|
442
|
+
network_reason_code: ''
|
443
|
+
object: dispute
|
444
|
+
reason: general
|
445
|
+
status: needs_response
|
446
|
+
event:
|
447
|
+
api_version: ''
|
448
|
+
created: 1234567890
|
449
|
+
customer_email: ''
|
450
|
+
data:
|
451
|
+
object:
|
452
|
+
amount: 2000
|
453
|
+
created: 1487016273
|
454
|
+
currency: usd
|
455
|
+
id: gold
|
456
|
+
interval: month
|
457
|
+
interval_count: 1
|
458
|
+
livemode: false
|
459
|
+
metadata: {}
|
460
|
+
name: Gold Special
|
461
|
+
object: plan
|
462
|
+
statement_descriptor:
|
463
|
+
trial_period_days:
|
464
|
+
id: evt_19mq3pAXZ0PAB0qutMlKV6c3
|
465
|
+
livemode: false
|
466
|
+
object: event
|
467
|
+
pending_webhooks: 0
|
468
|
+
recipient_best_description: ''
|
469
|
+
request: ''
|
470
|
+
type: plan.created
|
471
|
+
external_account_source:
|
472
|
+
account: acct_19mq3gAXZ0PAB0qu
|
473
|
+
address_city: ''
|
474
|
+
address_line1: ''
|
475
|
+
address_line2: ''
|
476
|
+
address_state: ''
|
477
|
+
address_zip: ''
|
478
|
+
country: US
|
479
|
+
currency: usd
|
480
|
+
default_for_currency: false
|
481
|
+
fingerprint: d23J1TFOicgP64nb
|
482
|
+
id: ba_19mq3pAXZ0PAB0que2xYqubF
|
483
|
+
last4: '6789'
|
484
|
+
metadata: {}
|
485
|
+
object: bank_account
|
486
|
+
fee_refund:
|
487
|
+
amount: 100
|
488
|
+
balance_transaction: ''
|
489
|
+
created: 1234567890
|
490
|
+
currency: usd
|
491
|
+
fee: fee_19mq3pAXZ0PAB0quKLPknTXJ
|
492
|
+
id: fr_A74Ce1Bh7Kr6UC
|
493
|
+
metadata: {}
|
494
|
+
object: fee_refund
|
495
|
+
invoice:
|
496
|
+
amount_due: 0
|
497
|
+
application_fee: 0
|
498
|
+
attempt_count: 0
|
499
|
+
attempted: false
|
500
|
+
billing: ''
|
501
|
+
charge: ''
|
502
|
+
closed: false
|
503
|
+
currency: usd
|
504
|
+
customer: cus_A74CGlAc6Xc9o8
|
505
|
+
date: 1234567890
|
506
|
+
description: ''
|
507
|
+
discount: {}
|
508
|
+
due_date: 1234567890
|
509
|
+
ending_balance: 0
|
510
|
+
forgiven: false
|
511
|
+
id: in_19mq3pAXZ0PAB0qupydNkllt
|
512
|
+
lines:
|
513
|
+
data:
|
514
|
+
- amount: 2000
|
515
|
+
currency: usd
|
516
|
+
description:
|
517
|
+
discountable: true
|
518
|
+
id: sub_A74CDfuKRtyn06
|
519
|
+
livemode: true
|
520
|
+
metadata: {}
|
521
|
+
object: line_item
|
522
|
+
period:
|
523
|
+
end: 1492113872
|
524
|
+
start: 1489435472
|
525
|
+
plan:
|
526
|
+
amount: 2000
|
527
|
+
created: 1487016273
|
528
|
+
currency: usd
|
529
|
+
id: gold
|
530
|
+
interval: month
|
531
|
+
interval_count: 1
|
532
|
+
livemode: false
|
533
|
+
metadata: {}
|
534
|
+
name: Gold Special
|
535
|
+
object: plan
|
536
|
+
statement_descriptor:
|
537
|
+
trial_period_days:
|
538
|
+
proration: false
|
539
|
+
quantity: 1
|
540
|
+
subscription:
|
541
|
+
subscription_item: si_19mq3oBFZK1NInhSuSpw3kRl
|
542
|
+
type: subscription
|
543
|
+
object: list
|
544
|
+
total_count: 1
|
545
|
+
url: "/v1/invoices/in_19mq3pAXZ0PAB0qupydNkllt/lines"
|
546
|
+
livemode: false
|
547
|
+
metadata: {}
|
548
|
+
next_payment_attempt: 1234567890
|
549
|
+
number: ''
|
550
|
+
object: invoice
|
551
|
+
paid: false
|
552
|
+
period_end: 1234567890
|
553
|
+
period_start: 1234567890
|
554
|
+
receipt_number: ''
|
555
|
+
starting_balance: 0
|
556
|
+
statement_descriptor: ''
|
557
|
+
subscription: ''
|
558
|
+
subscription_proration_date: 0
|
559
|
+
subtotal: 0
|
560
|
+
tax: 0
|
561
|
+
tax_percent: 0.0
|
562
|
+
total: 0
|
563
|
+
webhooks_delivered_at: 1234567890
|
564
|
+
invoice_item:
|
565
|
+
amount: 1000
|
566
|
+
currency: usd
|
567
|
+
customer: cus_A74CGlAc6Xc9o8
|
568
|
+
date: 1234567890
|
569
|
+
description: My First Invoice Item (created for API docs)
|
570
|
+
discountable: true
|
571
|
+
id: ii_19mq3pAXZ0PAB0quXd6LJkwP
|
572
|
+
invoice: ''
|
573
|
+
livemode: false
|
574
|
+
metadata: {}
|
575
|
+
object: invoiceitem
|
576
|
+
period:
|
577
|
+
end: 1487016273
|
578
|
+
start: 1487016273
|
579
|
+
plan: {}
|
580
|
+
proration: false
|
581
|
+
quantity: 0
|
582
|
+
subscription: ''
|
583
|
+
subscription_item: ''
|
584
|
+
invoice_line_item:
|
585
|
+
amount: 1000
|
586
|
+
currency: usd
|
587
|
+
description: My First Invoice Item (created for API docs)
|
588
|
+
discountable: true
|
589
|
+
id: ii_19mq3pAXZ0PAB0quXd6LJkwP
|
590
|
+
livemode: false
|
591
|
+
metadata: {}
|
592
|
+
object: line_item
|
593
|
+
period:
|
594
|
+
end: 1487016273
|
595
|
+
start: 1487016273
|
596
|
+
plan: {}
|
597
|
+
proration: false
|
598
|
+
quantity: 0
|
599
|
+
subscription: ''
|
600
|
+
subscription_item: ''
|
601
|
+
type: invoiceitem
|
602
|
+
legacy_transfer:
|
603
|
+
amount: 1100
|
604
|
+
amount_reversed: 0
|
605
|
+
application_fee: ''
|
606
|
+
auto: false
|
607
|
+
balance_transaction: ''
|
608
|
+
bank_account: {}
|
609
|
+
card: {}
|
610
|
+
created: 1234567890
|
611
|
+
currency: usd
|
612
|
+
date: 1234567890
|
613
|
+
delay_reason: ''
|
614
|
+
description: Transfer to test@example.com
|
615
|
+
destination: ba_19mq3pAXZ0PAB0qurDV9Avlb
|
616
|
+
destination_payment: ''
|
617
|
+
failure_code: ''
|
618
|
+
failure_message: ''
|
619
|
+
id: tr_19mq3pAXZ0PAB0qubIKTrixZ
|
620
|
+
legacy_date: 1234567890
|
621
|
+
livemode: false
|
622
|
+
metadata: {}
|
623
|
+
method: standard
|
624
|
+
object: transfer
|
625
|
+
recipient: rp_19mq3pAXZ0PAB0quySWBNl2v
|
626
|
+
reversals:
|
627
|
+
data: []
|
628
|
+
has_more: false
|
629
|
+
object: list
|
630
|
+
total_count: 0
|
631
|
+
url: "/v1/transfers/tr_19mq3pAXZ0PAB0qubIKTrixZ/reversals"
|
632
|
+
reversed: false
|
633
|
+
source_transaction: ''
|
634
|
+
source_type: card
|
635
|
+
statement_descriptor: ''
|
636
|
+
status: in_transit
|
637
|
+
transfer_group: ''
|
638
|
+
type: bank_account
|
639
|
+
user_visible_date: 1234567890
|
640
|
+
order:
|
641
|
+
amount: 1500
|
642
|
+
amount_returned: 0
|
643
|
+
application: ''
|
644
|
+
application_fee: 0
|
645
|
+
charge: ''
|
646
|
+
created: 1234567890
|
647
|
+
currency: usd
|
648
|
+
customer: ''
|
649
|
+
email: ''
|
650
|
+
external_coupon_code: ''
|
651
|
+
external_sku_ids: []
|
652
|
+
id: or_19mq3qAXZ0PAB0qua7xjbAdc
|
653
|
+
items:
|
654
|
+
- amount: 1500
|
655
|
+
currency: usd
|
656
|
+
description: T-shirt
|
657
|
+
object: order_item
|
658
|
+
parent: sk_19mq3qAXZ0PAB0quLkoPCkNK
|
659
|
+
quantity:
|
660
|
+
type: sku
|
661
|
+
livemode: false
|
662
|
+
metadata: {}
|
663
|
+
object: order
|
664
|
+
returns:
|
665
|
+
data: []
|
666
|
+
has_more: false
|
667
|
+
object: list
|
668
|
+
total_count: 0
|
669
|
+
url: "/v1/order_returns?order=or_19mq3qAXZ0PAB0qua7xjbAdc"
|
670
|
+
selected_shipping_method: ''
|
671
|
+
shipping:
|
672
|
+
address:
|
673
|
+
city: Anytown
|
674
|
+
country: US
|
675
|
+
line1: 1234 Main street
|
676
|
+
line2:
|
677
|
+
postal_code: '123456'
|
678
|
+
state:
|
679
|
+
carrier:
|
680
|
+
name: Jenny Rosen
|
681
|
+
phone:
|
682
|
+
tracking_number:
|
683
|
+
shipping_methods: {}
|
684
|
+
signature: ''
|
685
|
+
status: created
|
686
|
+
status_transitions: {}
|
687
|
+
updated: 1234567890
|
688
|
+
upstream_id: ''
|
689
|
+
order_return:
|
690
|
+
amount: 1500
|
691
|
+
created: 1234567890
|
692
|
+
currency: usd
|
693
|
+
id: orret_19mq3qAXZ0PAB0qu32DCGDSQ
|
694
|
+
items:
|
695
|
+
- amount: 1500
|
696
|
+
currency: usd
|
697
|
+
description: T-shirt
|
698
|
+
object: order_item
|
699
|
+
parent: sk_19mq3qAXZ0PAB0quLkoPCkNK
|
700
|
+
quantity:
|
701
|
+
type: sku
|
702
|
+
livemode: false
|
703
|
+
object: order_return
|
704
|
+
order: or_19mq3qAXZ0PAB0qu1Sr0vNrE
|
705
|
+
refund: re_19mq3qAXZ0PAB0qu9txUplQ2
|
706
|
+
payment_bank_account:
|
707
|
+
account_holder_name: Jane Austen
|
708
|
+
account_holder_type: individual
|
709
|
+
address_city: ''
|
710
|
+
address_line1: ''
|
711
|
+
address_line2: ''
|
712
|
+
address_state: ''
|
713
|
+
address_zip: ''
|
714
|
+
bank_name: STRIPE TEST BANK
|
715
|
+
bank_phone_number: ''
|
716
|
+
country: US
|
717
|
+
currency: usd
|
718
|
+
customer: ''
|
719
|
+
customer_reference: ''
|
720
|
+
fingerprint: d23J1TFOicgP64nb
|
721
|
+
id: ba_19mq3pAXZ0PAB0que2xYqubF
|
722
|
+
last4: '6789'
|
723
|
+
metadata: {}
|
724
|
+
object: bank_account
|
725
|
+
reusable: false
|
726
|
+
routing_number: '110000000'
|
727
|
+
status: new
|
728
|
+
used: false
|
729
|
+
payment_card:
|
730
|
+
3d_secure: {}
|
731
|
+
address_city: ''
|
732
|
+
address_country: ''
|
733
|
+
address_line1: ''
|
734
|
+
address_line1_check: ''
|
735
|
+
address_line2: ''
|
736
|
+
address_state: ''
|
737
|
+
address_zip: ''
|
738
|
+
address_zip_check: ''
|
739
|
+
brand: ''
|
740
|
+
country: ''
|
741
|
+
customer: ''
|
742
|
+
cvc_check: ''
|
743
|
+
description: ''
|
744
|
+
dynamic_last4: ''
|
745
|
+
emv_auth_data: ''
|
746
|
+
exp_month: 0
|
747
|
+
exp_year: 0
|
748
|
+
fingerprint: ''
|
749
|
+
funding: ''
|
750
|
+
google_reference: ''
|
751
|
+
id: tok_19mq3pAXZ0PAB0qucG7ckr0s
|
752
|
+
iin: ''
|
753
|
+
issuer: ''
|
754
|
+
last4: ''
|
755
|
+
metadata: {}
|
756
|
+
name: ''
|
757
|
+
object: token
|
758
|
+
three_d_secure: {}
|
759
|
+
tokenization_method: ''
|
760
|
+
plan:
|
761
|
+
amount: 2000
|
762
|
+
created: 1234567890
|
763
|
+
currency: usd
|
764
|
+
id: gold
|
765
|
+
interval: month
|
766
|
+
interval_count: 1
|
767
|
+
livemode: false
|
768
|
+
metadata: {}
|
769
|
+
name: Gold Special
|
770
|
+
object: plan
|
771
|
+
statement_descriptor: ''
|
772
|
+
trial_period_days: 0
|
773
|
+
platform_earning:
|
774
|
+
account: acct_19mq3gAXZ0PAB0qu
|
775
|
+
amount: 100
|
776
|
+
amount_refunded: 0
|
777
|
+
application: ca_A74Cy7ZahkUTCBUvdzDMqtBz3n9zWjJw
|
778
|
+
balance_transaction: txn_19mq3mAXZ0PAB0quuB601NdX
|
779
|
+
charge: ch_19mq3mAXZ0PAB0quafODEaTb
|
780
|
+
created: 1234567890
|
781
|
+
currency: usd
|
782
|
+
id: fee_19mq3pAXZ0PAB0quKLPknTXJ
|
783
|
+
livemode: false
|
784
|
+
object: application_fee
|
785
|
+
originating_transaction: ''
|
786
|
+
refunded: false
|
787
|
+
refunds:
|
788
|
+
data: []
|
789
|
+
has_more: false
|
790
|
+
object: list
|
791
|
+
total_count: 0
|
792
|
+
url: "/v1/application_fees/fee_19mq3pAXZ0PAB0quKLPknTXJ/refunds"
|
793
|
+
product:
|
794
|
+
active: true
|
795
|
+
attributes:
|
796
|
+
- gender
|
797
|
+
- size
|
798
|
+
caption: ''
|
799
|
+
created: 1234567890
|
800
|
+
deactivate_on: []
|
801
|
+
description: Comfortable gray cotton t-shirts
|
802
|
+
donation: false
|
803
|
+
id: prod_A74CjbvJG198EF
|
804
|
+
images: []
|
805
|
+
livemode: false
|
806
|
+
metadata: {}
|
807
|
+
name: T-shirt
|
808
|
+
object: product
|
809
|
+
package_dimensions: {}
|
810
|
+
reason_product_not_tweetable: ''
|
811
|
+
shippable: true
|
812
|
+
skus:
|
813
|
+
data: []
|
814
|
+
has_more: false
|
815
|
+
object: list
|
816
|
+
total_count: 0
|
817
|
+
url: "/v1/skus?product=prod_A74CjbvJG198EF&active=true"
|
818
|
+
tweetable_url: ''
|
819
|
+
updated: 1234567890
|
820
|
+
url: ''
|
821
|
+
recipient_payout_card:
|
822
|
+
address_city: ''
|
823
|
+
address_country: ''
|
824
|
+
address_line1: ''
|
825
|
+
address_line1_check: ''
|
826
|
+
address_line2: ''
|
827
|
+
address_state: ''
|
828
|
+
address_zip: ''
|
829
|
+
address_zip_check: ''
|
830
|
+
brand: ''
|
831
|
+
country: ''
|
832
|
+
cvc_check: ''
|
833
|
+
description: ''
|
834
|
+
dynamic_last4: ''
|
835
|
+
estimated_availability: ''
|
836
|
+
exp_month: 0
|
837
|
+
exp_year: 0
|
838
|
+
fingerprint: ''
|
839
|
+
funding: ''
|
840
|
+
google_reference: ''
|
841
|
+
id: tok_19mq3pAXZ0PAB0qucG7ckr0s
|
842
|
+
iin: ''
|
843
|
+
issuer: ''
|
844
|
+
last4: ''
|
845
|
+
metadata: {}
|
846
|
+
name: ''
|
847
|
+
object: token
|
848
|
+
recipient: ''
|
849
|
+
three_d_secure: {}
|
850
|
+
tokenization_method: ''
|
851
|
+
refund:
|
852
|
+
amount: 100
|
853
|
+
balance_transaction: ''
|
854
|
+
charge: ch_19mq3mAXZ0PAB0quafODEaTb
|
855
|
+
created: 1234567890
|
856
|
+
currency: usd
|
857
|
+
description: ''
|
858
|
+
fee_balance_transactions: {}
|
859
|
+
id: re_19mq3nAXZ0PAB0quqH5KQOit
|
860
|
+
metadata: {}
|
861
|
+
object: refund
|
862
|
+
reason: ''
|
863
|
+
receipt_number: ''
|
864
|
+
status: succeeded
|
865
|
+
type: ''
|
866
|
+
sku:
|
867
|
+
active: true
|
868
|
+
attributes:
|
869
|
+
gender: Unisex
|
870
|
+
size: Medium
|
871
|
+
created: 1234567890
|
872
|
+
currency: usd
|
873
|
+
id: sku_A74CaPnn1qmjb1
|
874
|
+
image: ''
|
875
|
+
inventory:
|
876
|
+
quantity: 50
|
877
|
+
type: finite
|
878
|
+
value:
|
879
|
+
livemode: false
|
880
|
+
metadata: {}
|
881
|
+
object: sku
|
882
|
+
package_dimensions: {}
|
883
|
+
price: 1500
|
884
|
+
product: prod_A74CjbvJG198EF
|
885
|
+
updated: 1234567890
|
886
|
+
source:
|
887
|
+
amount: 0
|
888
|
+
client_secret: ''
|
889
|
+
code_verification: {}
|
890
|
+
created: 1234567890
|
891
|
+
currency: ''
|
892
|
+
customer: ''
|
893
|
+
flow: ''
|
894
|
+
id: card_19mq3pAXZ0PAB0quryDGMYFl
|
895
|
+
livemode: false
|
896
|
+
metadata: {}
|
897
|
+
object: card
|
898
|
+
order: ''
|
899
|
+
owner: {}
|
900
|
+
receiver: {}
|
901
|
+
redirect: {}
|
902
|
+
status: ''
|
903
|
+
type: ''
|
904
|
+
usage: ''
|
905
|
+
subscription:
|
906
|
+
account_balance: 0
|
907
|
+
application_fee_percent: 0.0
|
908
|
+
billing: ''
|
909
|
+
cancel_at_period_end: false
|
910
|
+
canceled_at: 1234567890
|
911
|
+
created: 1234567890
|
912
|
+
current_period_end: 1234567890
|
913
|
+
current_period_start: 1234567890
|
914
|
+
customer: cus_A74CD39bY4X367
|
915
|
+
days_until_due: 0
|
916
|
+
discount: {}
|
917
|
+
ended_at: 1234567890
|
918
|
+
id: sub_A74CDfuKRtyn06
|
919
|
+
items:
|
920
|
+
data:
|
921
|
+
- created: 1487016273
|
922
|
+
id: si_19mq3oBFZK1NInhSuSpw3kRl
|
923
|
+
object: subscription_item
|
924
|
+
plan:
|
925
|
+
amount: 2000
|
926
|
+
created: 1487016272
|
927
|
+
currency: usd
|
928
|
+
id: gold
|
929
|
+
interval: month
|
930
|
+
interval_count: 1
|
931
|
+
livemode: false
|
932
|
+
metadata: {}
|
933
|
+
name: Gold Special
|
934
|
+
object: plan
|
935
|
+
statement_descriptor:
|
936
|
+
trial_period_days:
|
937
|
+
quantity: 1
|
938
|
+
has_more: false
|
939
|
+
object: list
|
940
|
+
total_count: 1
|
941
|
+
url: "/v1/subscription_items?subscription=sub_A74CDfuKRtyn06"
|
942
|
+
livemode: false
|
943
|
+
max_occurrences: 0
|
944
|
+
metadata: {}
|
945
|
+
object: subscription
|
946
|
+
plan:
|
947
|
+
amount: 2000
|
948
|
+
created: 1487016272
|
949
|
+
currency: usd
|
950
|
+
id: gold
|
951
|
+
interval: month
|
952
|
+
interval_count: 1
|
953
|
+
livemode: false
|
954
|
+
metadata: {}
|
955
|
+
name: Gold Special
|
956
|
+
object: plan
|
957
|
+
statement_descriptor:
|
958
|
+
trial_period_days:
|
959
|
+
quantity: 1
|
960
|
+
retains_own_balance: false
|
961
|
+
start: 1234567890
|
962
|
+
status: active
|
963
|
+
tax_percent: 0.0
|
964
|
+
trial_end: 1234567890
|
965
|
+
trial_start: 1234567890
|
966
|
+
subscription_item:
|
967
|
+
created: 1487016273
|
968
|
+
id: si_19mq3oBFZK1NInhS3ZhhdFF8
|
969
|
+
object: subscription_item
|
970
|
+
plan:
|
971
|
+
amount: 2000
|
972
|
+
created: 1487016272
|
973
|
+
currency: usd
|
974
|
+
id: gold
|
975
|
+
interval: month
|
976
|
+
interval_count: 1
|
977
|
+
livemode: false
|
978
|
+
metadata: {}
|
979
|
+
name: Gold Special
|
980
|
+
object: plan
|
981
|
+
statement_descriptor:
|
982
|
+
trial_period_days:
|
983
|
+
quantity: 1
|
984
|
+
three_d_secure:
|
985
|
+
amount: 1500
|
986
|
+
authenticated: false
|
987
|
+
card:
|
988
|
+
address_city:
|
989
|
+
address_country:
|
990
|
+
address_line1:
|
991
|
+
address_line1_check:
|
992
|
+
address_line2:
|
993
|
+
address_state:
|
994
|
+
address_zip:
|
995
|
+
address_zip_check:
|
996
|
+
brand: Visa
|
997
|
+
country:
|
998
|
+
customer:
|
999
|
+
cvc_check:
|
1000
|
+
dynamic_last4:
|
1001
|
+
exp_month: 8
|
1002
|
+
exp_year: 2018
|
1003
|
+
funding: unknown
|
1004
|
+
id: card_19mq3pAXZ0PAB0quryDGMYFl
|
1005
|
+
last4: '4242'
|
1006
|
+
metadata: {}
|
1007
|
+
name:
|
1008
|
+
object: card
|
1009
|
+
tokenization_method:
|
1010
|
+
created: 1234567890
|
1011
|
+
currency: usd
|
1012
|
+
id: tdsrc_A74Cn8dTJLosfe
|
1013
|
+
livemode: false
|
1014
|
+
object: three_d_secure
|
1015
|
+
redirect_url: http://127.0.0.1:6080/3d_secure/authenticate/tdsrc_A74Cn8dTJLosfe
|
1016
|
+
status: redirect_pending
|
1017
|
+
token:
|
1018
|
+
account_details: {}
|
1019
|
+
alipay_account: {}
|
1020
|
+
bank_account: {}
|
1021
|
+
card:
|
1022
|
+
address_city:
|
1023
|
+
address_country:
|
1024
|
+
address_line1:
|
1025
|
+
address_line1_check:
|
1026
|
+
address_line2:
|
1027
|
+
address_state:
|
1028
|
+
address_zip:
|
1029
|
+
address_zip_check:
|
1030
|
+
brand: Visa
|
1031
|
+
country:
|
1032
|
+
cvc_check:
|
1033
|
+
dynamic_last4:
|
1034
|
+
exp_month: 8
|
1035
|
+
exp_year: 2018
|
1036
|
+
funding: unknown
|
1037
|
+
id: card_19mq3pAXZ0PAB0quryDGMYFl
|
1038
|
+
last4: '4242'
|
1039
|
+
metadata: {}
|
1040
|
+
name:
|
1041
|
+
object: card
|
1042
|
+
tokenization_method:
|
1043
|
+
client_ip: ''
|
1044
|
+
created: 1234567890
|
1045
|
+
description: ''
|
1046
|
+
email: ''
|
1047
|
+
id: tok_19mq3pAXZ0PAB0qucG7ckr0s
|
1048
|
+
livemode: false
|
1049
|
+
object: token
|
1050
|
+
type: card
|
1051
|
+
usage: ''
|
1052
|
+
used: false
|
1053
|
+
transfer:
|
1054
|
+
amount: 1100
|
1055
|
+
amount_reversed: 0
|
1056
|
+
balance_transaction: txn_19mq3mAXZ0PAB0quuB601NdX
|
1057
|
+
created: 1234567890
|
1058
|
+
currency: usd
|
1059
|
+
destination: ba_19mq3pAXZ0PAB0qurDV9Avlb
|
1060
|
+
destination_payment: ''
|
1061
|
+
id: tr_19mq3pAXZ0PAB0qubIKTrixZ
|
1062
|
+
livemode: false
|
1063
|
+
metadata: {}
|
1064
|
+
object: transfer
|
1065
|
+
reversals:
|
1066
|
+
data: []
|
1067
|
+
has_more: false
|
1068
|
+
object: list
|
1069
|
+
total_count: 0
|
1070
|
+
url: "/v1/transfers/tr_19mq3pAXZ0PAB0qubIKTrixZ/reversals"
|
1071
|
+
reversed: false
|
1072
|
+
transfer_group: ''
|
1073
|
+
transfer_recipient:
|
1074
|
+
active_account: {}
|
1075
|
+
address_city: ''
|
1076
|
+
address_country: ''
|
1077
|
+
address_line1: ''
|
1078
|
+
address_line2: ''
|
1079
|
+
address_state: ''
|
1080
|
+
address_zip: ''
|
1081
|
+
cards:
|
1082
|
+
data: []
|
1083
|
+
has_more: false
|
1084
|
+
object: list
|
1085
|
+
total_count: 0
|
1086
|
+
url: "/v1/recipients/rp_19mq3pAXZ0PAB0quySWBNl2v/cards"
|
1087
|
+
country: ''
|
1088
|
+
created: 1234567890
|
1089
|
+
default_card: ''
|
1090
|
+
description: Recipient for John Doe
|
1091
|
+
dob_day: ''
|
1092
|
+
dob_month: ''
|
1093
|
+
dob_year: ''
|
1094
|
+
email: test@example.com
|
1095
|
+
id: rp_19mq3pAXZ0PAB0quySWBNl2v
|
1096
|
+
livemode: false
|
1097
|
+
metadata: {}
|
1098
|
+
migrated_to: ''
|
1099
|
+
name: John Doe
|
1100
|
+
object: recipient
|
1101
|
+
tin: ''
|
1102
|
+
tin_verification_pending: false
|
1103
|
+
type: individual
|
1104
|
+
verified: false
|
1105
|
+
transfer_reversal:
|
1106
|
+
amount: 1100
|
1107
|
+
balance_transaction: ''
|
1108
|
+
created: 1234567890
|
1109
|
+
currency: usd
|
1110
|
+
id: trr_19mq3pAXZ0PAB0quDwZdcrSt
|
1111
|
+
metadata: {}
|
1112
|
+
object: transfer_reversal
|
1113
|
+
transfer: tr_19mq3pAXZ0PAB0qubIKTrixZ
|
1114
|
+
upcoming_invoice:
|
1115
|
+
amount_due: 0
|
1116
|
+
application_fee: 0
|
1117
|
+
attempt_count: 0
|
1118
|
+
attempted: false
|
1119
|
+
billing: ''
|
1120
|
+
charge: ''
|
1121
|
+
closed: false
|
1122
|
+
currency: usd
|
1123
|
+
customer: cus_A74CGlAc6Xc9o8
|
1124
|
+
date: 1234567890
|
1125
|
+
description: ''
|
1126
|
+
discount: {}
|
1127
|
+
due_date: 1234567890
|
1128
|
+
ending_balance: 0
|
1129
|
+
forgiven: false
|
1130
|
+
lines:
|
1131
|
+
data: []
|
1132
|
+
has_more: false
|
1133
|
+
object: list
|
1134
|
+
total_count: 0
|
1135
|
+
url: "/v1/invoices/in_19mq3pAXZ0PAB0qupydNkllt/lines"
|
1136
|
+
livemode: false
|
1137
|
+
metadata: {}
|
1138
|
+
next_payment_attempt: 1234567890
|
1139
|
+
number: ''
|
1140
|
+
object: invoice
|
1141
|
+
paid: false
|
1142
|
+
period_end: 1234567890
|
1143
|
+
period_start: 1234567890
|
1144
|
+
receipt_number: ''
|
1145
|
+
starting_balance: 0
|
1146
|
+
statement_descriptor: ''
|
1147
|
+
subscription: ''
|
1148
|
+
subscription_proration_date: 0
|
1149
|
+
subtotal: 0
|
1150
|
+
tax: 0
|
1151
|
+
tax_percent: 0.0
|
1152
|
+
total: 0
|
1153
|
+
webhooks_delivered_at: 1234567890
|