fake_stripe 0.0.10.2 → 0.0.10.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04059425370d51a062b9ebe3745c0392a631fc77
4
- data.tar.gz: a38cb02d1fb8a3262fec7070cc72301086bcdf2c
3
+ metadata.gz: f223400cdc793e676cc389ff3b6db5a9b786fb5b
4
+ data.tar.gz: 745cbabd902e2811a02ae8ef9c5916b5c05c26df
5
5
  SHA512:
6
- metadata.gz: d4ee074b17a4517d46006b8e849e3db6aee85441ab195daa89f92080ddd9bb09adfd7ad7ce177147168f94809de8d2959ba83fbfd175401ab5b10ea55f674001
7
- data.tar.gz: 4dd66e0fba224106aec97e8f2572cf572c612a920cb5225d119304c222fbf85d66dee1b950ee9a018037999683dd413ce7750dfe287a521aea12cf2984396228
6
+ metadata.gz: a161ceffae7024459a2500e5994edfd4b08684854d3c503b81072d4094361818754261c29ebede8571dd90bbc6f3038a3761d345547b2f2f5f729ba300e2549f
7
+ data.tar.gz: 8a1d93b17a2001be2f1eeffce0937b4d3fd5f8f30600cab512ec84d313068a7f0ca144678065d142b15356b35e56347892f0933df0bca023b4efee7d2a01a76a
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "id": "acct_1032D82eZvKYlo2C",
3
+ "object": "account",
3
4
  "email": "site@stripe.com",
4
- "statement_descriptor": null,
5
5
  "display_name": null,
6
- "timezone": "Etc/UTC",
7
6
  "details_submitted": false,
7
+ "business_logo": null,
8
+ "business_name": null,
9
+ "business_url": null,
8
10
  "charge_enabled": false,
9
- "transfer_enabled": false,
11
+ "debit_negative_balances": false,
12
+ "decline_charge_on": {"avs_failure": false, "cvc_failure": false},
10
13
  "currencies_supported": [
11
14
  "usd",
12
15
  "aed",
@@ -35,5 +38,78 @@
35
38
  "default_for_currency":true,
36
39
  "metadata":{}
37
40
  }]
41
+ },
42
+ "external_accounts": {
43
+ "object": "list",
44
+ "data": [
45
+ {
46
+ "id":"ba_16ndClBdETbGCbQrGski5zps",
47
+ "object": "bank_account",
48
+ "account":"acct_28ndDlB5ETbGCaQr",
49
+ "bank_name": "STRIPE TEST BANK",
50
+ "country": "US",
51
+ "currency": "usd",
52
+ "default_for_currency": true,
53
+ "fingerprint":"axCsvGRahxD6fvu0",
54
+ "last4": "1234",
55
+ "metadata": {},
56
+ "routing_number": "110000000",
57
+ "status": "new"
58
+ }
59
+ ],
60
+ "has_more": false,
61
+ "total_count": 1,
62
+ "url": "/v1/accounts/acct_16vteKH0GjZwV0ke/external_accounts"
63
+ },
64
+ "legal_entity": {
65
+ "additional_owners": null,
66
+ "address": {
67
+ "city": "San Francisco",
68
+ "country": "US",
69
+ "line1": "1 Market St",
70
+ "line2": null,
71
+ "postal_code": "94105",
72
+ "state": "CA"
73
+ },
74
+ "business_name": null,
75
+ "dob": {"day": 1, "month": 1, "year": 1980},
76
+ "first_name": "John",
77
+ "last_name": "Doe",
78
+ "personal_address": {
79
+ "city": null,
80
+ "country": null,
81
+ "line1": null,
82
+ "line2": null,
83
+ "postal_code": null,
84
+ "state": null
85
+ },
86
+ "personal_id_number_provided": false,
87
+ "ssn_last_4_provided": true,
88
+ "type": "individual",
89
+ "verification": {
90
+ "details": null,
91
+ "details_code": null,
92
+ "document": null,
93
+ "status": "unverified"
94
+ }
95
+ },
96
+ "managed": true,
97
+ "metadata": {},
98
+ "product_description": null,
99
+ "statement_descriptor": null,
100
+ "support_phone": null,
101
+ "timezone": "Etc/UTC",
102
+ "tos_acceptance": {
103
+ "date": 1444846011,
104
+ "ip": "162.222.102.30",
105
+ "user_agent": null
106
+ },
107
+ "transfer_schedule": {"delay_days": 2, "interval": "daily"},
108
+ "transfers_enabled": true,
109
+ "verification": {
110
+ "disabled_reason": null,
111
+ "due_by": null,
112
+ "fields_needed": [],
113
+ "contacted": false
38
114
  }
39
115
  }
@@ -1,161 +1,31 @@
1
1
  {
2
2
  "id": "tr_103ehW2eZvKYlo2CvqXdcIQL",
3
3
  "object": "transfer",
4
- "date": 1394841600,
5
- "livemode": false,
6
4
  "amount": 336081,
7
- "currency": "usd",
8
- "status": "pending",
5
+ "amount_reversed": 0,
6
+ "application_fee": null,
9
7
  "balance_transaction": "txn_103cQg2eZvKYlo2CYKVlR2nh",
10
- "summary": {
11
- "charge_gross": 365872,
12
- "charge_fees": 29694,
13
- "charge_fee_details": [
14
- {
15
- "amount": 29661,
16
- "currency": "usd",
17
- "type": "stripe_fee",
18
- "description": null,
19
- "application": null
20
- }
21
- ],
22
- "refund_gross": -100,
23
- "refund_fees": -3,
24
- "refund_fee_details": [
25
- {
26
- "amount": -3,
27
- "currency": "usd",
28
- "type": "stripe_fee",
29
- "description": null,
30
- "application": null
31
- }
32
- ],
33
- "adjustment_gross": 0,
34
- "adjustment_fees": 0,
35
- "adjustment_fee_details": [
36
-
37
- ],
38
- "validation_fees": 0,
39
- "validation_count": 0,
40
- "charge_count": 625,
41
- "refund_count": 1,
42
- "adjustment_count": 0,
43
- "net": 336081,
44
- "currency": "usd",
45
- "collected_fee_gross": 0,
46
- "collected_fee_count": 0,
47
- "collected_fee_refund_gross": 0,
48
- "collected_fee_refund_count": 0
49
- },
50
- "transactions": {
51
- "object": "list",
52
- "count": 626,
53
- "url": "/v1/transfers/tr_103ehW2eZvKYlo2CvqXdcIQL/transactions",
54
- "data": [
55
- {
56
- "id": "ch_103d7S2eZvKYlo2ClgiFvMVj",
57
- "type": "charge",
58
- "amount": 500,
59
- "currency": "usd",
60
- "net": 455,
61
- "created": 1394311101,
62
- "description": null,
63
- "fee": 45,
64
- "fee_details": [
65
- {
66
- "amount": 45,
67
- "currency": "usd",
68
- "type": "stripe_fee",
69
- "description": "Stripe processing fees",
70
- "application": null
71
- }
72
- ]
73
- },
74
- {
75
- "id": "ch_103d4l2eZvKYlo2CYxMUKdVS",
76
- "type": "charge",
77
- "amount": 500,
78
- "currency": "usd",
79
- "net": 455,
80
- "created": 1394301116,
81
- "description": null,
82
- "fee": 45,
83
- "fee_details": [
84
- {
85
- "amount": 45,
86
- "currency": "usd",
87
- "type": "stripe_fee",
88
- "description": "Stripe processing fees",
89
- "application": null
90
- }
91
- ]
92
- },
93
- {
94
- "id": "ch_103cv62eZvKYlo2CC16QiOJh",
95
- "type": "charge",
96
- "amount": 2000,
97
- "currency": "usd",
98
- "net": 1912,
99
- "created": 1394265182,
100
- "description": "payinguser@example.com",
101
- "fee": 88,
102
- "fee_details": [
103
- {
104
- "amount": 88,
105
- "currency": "usd",
106
- "type": "stripe_fee",
107
- "description": "Stripe processing fees",
108
- "application": null
109
- }
110
- ]
111
- },
112
- {
113
- "id": "ch_103cnV2eZvKYlo2CRoDM3aSW",
114
- "type": "charge",
115
- "amount": 500,
116
- "currency": "usd",
117
- "net": 455,
118
- "created": 1394236904,
119
- "description": null,
120
- "fee": 45,
121
- "fee_details": [
122
- {
123
- "amount": 45,
124
- "currency": "usd",
125
- "type": "stripe_fee",
126
- "description": "Stripe processing fees",
127
- "application": null
128
- }
129
- ]
130
- },
131
- {
132
- "id": "ch_103cnX2eZvKYlo2CrtXEpq5u",
133
- "type": "charge",
134
- "amount": 500,
135
- "currency": "usd",
136
- "net": 455,
137
- "created": 1394237040,
138
- "description": null,
139
- "fee": 45,
140
- "fee_details": [
141
- {
142
- "amount": 45,
143
- "currency": "usd",
144
- "type": "stripe_fee",
145
- "description": "Stripe processing fees",
146
- "application": null
147
- }
148
- ]
149
- }
150
- ]
151
- },
152
- "other_transfers": [
153
- "tr_103ehW2eZvKYlo2CvqXdcIQL"
154
- ],
155
- "account": null,
8
+ "created": 1394841600,
9
+ "currency": "usd",
10
+ "date": 1394841600,
156
11
  "description": "STRIPE TRANSFER",
157
- "metadata": {
12
+ "destination": "acct_28ndDlB5ETbGCaQr",
13
+ "destination_payment": "py_175CevIWkACJe2IDLAxrRJFo",
14
+ "failure_code": null,
15
+ "failure_message": null,
16
+ "livemode": false,
17
+ "metadata": {},
18
+ "recipient": null,
19
+ "reversals": {
20
+ "object": "list",
21
+ "data": [],
22
+ "has_more": false,
23
+ "total_count": 0,
24
+ "url": "/v1/transfers/tr_175Cev2eZvKYlo2CESBArzc9/reversals"
158
25
  },
26
+ "reversed": false,
27
+ "source_transaction": null,
159
28
  "statement_descriptor": null,
160
- "recipient": null
29
+ "status": "paid",
30
+ "type": "stripe_account"
161
31
  }
@@ -1,3 +1,3 @@
1
1
  module FakeStripe
2
- VERSION = '0.0.10.2'
2
+ VERSION = '0.0.10.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fake_stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10.2
4
+ version: 0.0.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harlow Ward
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-23 00:00:00.000000000 Z
11
+ date: 2015-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara