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