recurly 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of recurly might be problematic. Click here for more details.
- data/lib/recurly/charge.rb +5 -6
- data/lib/recurly/version.rb +1 -1
- data/spec/integration/charge_spec.rb +1 -0
- data/spec/vcr/account/close/1287167046.yml +15 -15
- data/spec/vcr/account/create-blank/1287167046.yml +3 -3
- data/spec/vcr/account/create-duplicate/1287167046.yml +9 -9
- data/spec/vcr/account/create-min/1287167046.yml +6 -6
- data/spec/vcr/account/create/1287167046.yml +6 -6
- data/spec/vcr/account/find/1287167046.yml +14 -14
- data/spec/vcr/account/list/1287167046.yml +100 -100
- data/spec/vcr/account/update/1287167046.yml +26 -26
- data/spec/vcr/billing/create/1286682213.yml +16 -16
- data/spec/vcr/billing/destroy/1286682213.yml +24 -24
- data/spec/vcr/billing/find/1286682213.yml +20 -20
- data/spec/vcr/billing/update/1286682213.yml +21 -21
- data/spec/vcr/charge/create/{1286681273.yml → 1287465632.yml} +35 -35
- data/spec/vcr/charge/delete-uninvoiced/{1287460783.yml → 1287465632.yml} +102 -56
- data/spec/vcr/charge/list-all/{1286681273.yml → 1287465632.yml} +51 -51
- data/spec/vcr/charge/list-invoiced/{1286681273.yml → 1287465632.yml} +80 -80
- data/spec/vcr/charge/list-pending/{1286681273.yml → 1287465632.yml} +51 -51
- data/spec/vcr/charge/lookup/{1286681273.yml → 1287465632.yml} +27 -27
- data/spec/vcr/credit/create/{1287461340.yml → 1287461400.yml} +25 -25
- data/spec/vcr/credit/{delete-uninvoiced/1287460732.yml → delete/1287461400.yml} +34 -34
- data/spec/vcr/credit/list/{1287460732.yml → 1287461400.yml} +50 -50
- data/spec/vcr/credit/lookup/{1287461340.yml → 1287461400.yml} +26 -26
- data/spec/vcr/invoice/create-no-charges/1287167121.yml +14 -14
- data/spec/vcr/invoice/create/1287167121.yml +36 -36
- data/spec/vcr/invoice/list/1287167121.yml +51 -51
- data/spec/vcr/invoice/lookup/1287167121.yml +37 -37
- data/spec/vcr/plan/all.yml +9 -9
- data/spec/vcr/plan/delete/1286677585.yml +16 -16
- data/spec/vcr/plan/find.yml +9 -9
- data/spec/vcr/plan/update.yml +9 -9
- data/spec/vcr/subscription/cancel-with-code/1287455769.yml +51 -51
- data/spec/vcr/subscription/cancel/1287455769.yml +42 -42
- data/spec/vcr/subscription/change1/1287455769.yml +38 -38
- data/spec/vcr/subscription/change2/1287455769.yml +38 -38
- data/spec/vcr/subscription/create/1287455769.yml +17 -17
- data/spec/vcr/subscription/find/1287455769.yml +24 -24
- data/spec/vcr/subscription/reactivate/1287455769.yml +44 -44
- data/spec/vcr/subscription/refund-full/1287455769.yml +36 -36
- data/spec/vcr/subscription/refund-none/1287455769.yml +35 -35
- data/spec/vcr/subscription/refund-partial/1287455769.yml +36 -36
- data/spec/vcr/transaction/all/1287186411.yml +45 -45
- data/spec/vcr/transaction/create-no-account/1287186411.yml +7 -7
- data/spec/vcr/transaction/create-with-account/1287186411.yml +17 -17
- data/spec/vcr/transaction/list-empty/1287186411.yml +17 -17
- data/spec/vcr/transaction/list-filled/1287186411.yml +41 -41
- data/spec/vcr/transaction/lookup/1287186411.yml +50 -50
- data/spec/vcr/transaction/refund/1287186411.yml +24 -24
- data/spec/vcr/transaction/void/1287186411.yml +61 -61
- metadata +23 -43
- data/spec/vcr/credit/create/1286681343.yml +0 -171
- data/spec/vcr/credit/create/1287460732.yml +0 -171
- data/spec/vcr/credit/delete-invoiced/1287460732.yml +0 -233
- data/spec/vcr/credit/delete-invoiced/1287461340.yml +0 -283
- data/spec/vcr/credit/delete-uninvoiced/1287459796.yml +0 -246
- data/spec/vcr/credit/delete-uninvoiced/1287461340.yml +0 -221
- data/spec/vcr/credit/list/1286681343.yml +0 -299
- data/spec/vcr/credit/list/1287461340.yml +0 -299
- data/spec/vcr/credit/lookup/1286681343.yml +0 -171
- data/spec/vcr/credit/lookup/1287460732.yml +0 -171
@@ -6,8 +6,8 @@
|
|
6
6
|
body: |
|
7
7
|
<?xml version="1.0" encoding="UTF-8"?>
|
8
8
|
<account>
|
9
|
-
<account-code>credit-lookup-1287461340</account-code>
|
10
9
|
<company-name>Recurly Ruby Gem</company-name>
|
10
|
+
<account-code>credit-lookup-1287461400</account-code>
|
11
11
|
<last-name>Test</last-name>
|
12
12
|
<email>verena@test.com</email>
|
13
13
|
<first-name>Verena</first-name>
|
@@ -28,30 +28,30 @@
|
|
28
28
|
message: Created
|
29
29
|
headers:
|
30
30
|
location:
|
31
|
-
- https://recurlytest3-test.recurly.com/accounts/credit-lookup-
|
31
|
+
- https://recurlytest3-test.recurly.com/accounts/credit-lookup-1287461400
|
32
32
|
connection:
|
33
33
|
- close
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "617"
|
38
38
|
date:
|
39
|
-
- Tue, 19 Oct 2010
|
39
|
+
- Tue, 19 Oct 2010 05:22:01 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "581"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=4a22bed1102e71bdd0d10bdbe46d0eb9b1f06a9e22ad8e59a56b6b41dda2f4007678621739bd622836fbdc675dcdf72ab5405f9163b395680ff5f01aa947b8ee%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=0c5684c7846822c0425f81eb965b9e24; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
51
51
|
<?xml version="1.0" encoding="UTF-8"?>
|
52
52
|
<account>
|
53
|
-
<id>credit-lookup-
|
54
|
-
<account_code>credit-lookup-
|
53
|
+
<id>credit-lookup-1287461400</id>
|
54
|
+
<account_code>credit-lookup-1287461400</account_code>
|
55
55
|
<username></username>
|
56
56
|
<email>verena@test.com</email>
|
57
57
|
<first_name>Verena</first_name>
|
@@ -59,8 +59,8 @@
|
|
59
59
|
<company_name>Recurly Ruby Gem</company_name>
|
60
60
|
<balance_in_cents type="integer">0</balance_in_cents>
|
61
61
|
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-
|
62
|
+
<hosted_login_token>aff83a1f738e4f8ea73491c7f974803c</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-19T05:22:01Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -68,7 +68,7 @@
|
|
68
68
|
- !ruby/struct:VCR::HTTPInteraction
|
69
69
|
request: !ruby/struct:VCR::Request
|
70
70
|
method: :post
|
71
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-lookup-
|
71
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-lookup-1287461400/credits.xml
|
72
72
|
body: |
|
73
73
|
<?xml version="1.0" encoding="UTF-8"?>
|
74
74
|
<credit>
|
@@ -95,34 +95,34 @@
|
|
95
95
|
content-type:
|
96
96
|
- application/xml; charset=utf-8
|
97
97
|
x-runtime:
|
98
|
-
- "
|
98
|
+
- "197"
|
99
99
|
date:
|
100
|
-
- Tue, 19 Oct 2010
|
100
|
+
- Tue, 19 Oct 2010 05:22:01 GMT
|
101
101
|
server:
|
102
102
|
- nginx/0.7.65
|
103
103
|
content-length:
|
104
104
|
- "454"
|
105
105
|
set-cookie:
|
106
|
-
- _recurly_session=
|
106
|
+
- _recurly_session=e5d1944455f77450a8be231e49961334; domain=.recurly.com; path=/; Secure; HttpOnly
|
107
107
|
cache-control:
|
108
108
|
- no-cache
|
109
109
|
body: |
|
110
110
|
<?xml version="1.0" encoding="UTF-8"?>
|
111
111
|
<credit type="credit">
|
112
|
-
<id>
|
113
|
-
<account_code>credit-lookup-
|
112
|
+
<id>7df2d5acab0549d5b1ef179d5631b8a8</id>
|
113
|
+
<account_code>credit-lookup-1287461400</account_code>
|
114
114
|
<amount_in_cents type="integer">-1315</amount_in_cents>
|
115
|
-
<start_date type="datetime">2010-10-
|
115
|
+
<start_date type="datetime">2010-10-19T05:22:01Z</start_date>
|
116
116
|
<end_date nil="true" type="datetime"></end_date>
|
117
117
|
<description>free moniez 4 u</description>
|
118
|
-
<created_at type="datetime">2010-10-
|
118
|
+
<created_at type="datetime">2010-10-19T05:22:01Z</created_at>
|
119
119
|
</credit>
|
120
120
|
|
121
121
|
http_version: "1.1"
|
122
122
|
- !ruby/struct:VCR::HTTPInteraction
|
123
123
|
request: !ruby/struct:VCR::Request
|
124
124
|
method: :get
|
125
|
-
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-lookup-
|
125
|
+
uri: https://railsjedi%40sogetthis.com:7PCB2mZC@recurlytest3-test.recurly.com:443/accounts/credit-lookup-1287461400/credits/7df2d5acab0549d5b1ef179d5631b8a8.xml
|
126
126
|
body:
|
127
127
|
headers:
|
128
128
|
accept:
|
@@ -139,7 +139,7 @@
|
|
139
139
|
x-ua-compatible:
|
140
140
|
- IE=Edge
|
141
141
|
etag:
|
142
|
-
- "\"
|
142
|
+
- "\"413e2554e83381767fd2cae1c8af08af\""
|
143
143
|
connection:
|
144
144
|
- close
|
145
145
|
content-type:
|
@@ -147,25 +147,25 @@
|
|
147
147
|
x-runtime:
|
148
148
|
- "15"
|
149
149
|
date:
|
150
|
-
- Tue, 19 Oct 2010
|
150
|
+
- Tue, 19 Oct 2010 05:22:02 GMT
|
151
151
|
server:
|
152
152
|
- nginx/0.7.65
|
153
153
|
content-length:
|
154
154
|
- "454"
|
155
155
|
set-cookie:
|
156
|
-
- _recurly_session=
|
156
|
+
- _recurly_session=5195012d47f2598e8c87eae2a631328b; domain=.recurly.com; path=/; Secure; HttpOnly
|
157
157
|
cache-control:
|
158
158
|
- private, max-age=0, must-revalidate
|
159
159
|
body: |
|
160
160
|
<?xml version="1.0" encoding="UTF-8"?>
|
161
161
|
<credit type="credit">
|
162
|
-
<id>
|
163
|
-
<account_code>credit-lookup-
|
162
|
+
<id>7df2d5acab0549d5b1ef179d5631b8a8</id>
|
163
|
+
<account_code>credit-lookup-1287461400</account_code>
|
164
164
|
<amount_in_cents type="integer">-1315</amount_in_cents>
|
165
|
-
<start_date type="datetime">2010-10-
|
165
|
+
<start_date type="datetime">2010-10-19T05:22:01Z</start_date>
|
166
166
|
<end_date nil="true" type="datetime"></end_date>
|
167
167
|
<description>free moniez 4 u</description>
|
168
|
-
<created_at type="datetime">2010-10-
|
168
|
+
<created_at type="datetime">2010-10-19T05:22:01Z</created_at>
|
169
169
|
</credit>
|
170
170
|
|
171
171
|
http_version: "1.1"
|
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "584"
|
38
38
|
date:
|
39
|
-
- Tue, 19 Oct 2010
|
39
|
+
- Tue, 19 Oct 2010 05:22:10 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "605"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=2fc0c018220a7e1010a1df7fbdeed74ef79f3d45590cbbdca0a5835df649de652b85a0578253009fb3fc0e3bb9d1c8b4c37570378b08a8a6c8010ab261336bc5%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=843b35151c1ba8ec5a757d4cc5d6f24d; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
@@ -59,8 +59,8 @@
|
|
59
59
|
<company_name>Recurly Ruby Gem</company_name>
|
60
60
|
<balance_in_cents type="integer">0</balance_in_cents>
|
61
61
|
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-
|
62
|
+
<hosted_login_token>3240805a51d24afba113f009f32477cd</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-19T05:22:10Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -105,21 +105,21 @@
|
|
105
105
|
x-ua-compatible:
|
106
106
|
- IE=Edge
|
107
107
|
etag:
|
108
|
-
- "\"
|
108
|
+
- "\"eafab8957e8ddde3632070f56da8b349\""
|
109
109
|
connection:
|
110
110
|
- close
|
111
111
|
content-type:
|
112
112
|
- application/xml; charset=utf-8
|
113
113
|
x-runtime:
|
114
|
-
- "
|
114
|
+
- "58"
|
115
115
|
date:
|
116
|
-
- Tue, 19 Oct 2010
|
116
|
+
- Tue, 19 Oct 2010 05:22:11 GMT
|
117
117
|
server:
|
118
118
|
- nginx/0.7.65
|
119
119
|
content-length:
|
120
120
|
- "650"
|
121
121
|
set-cookie:
|
122
|
-
- _recurly_session=
|
122
|
+
- _recurly_session=90d82ba9184e2083317a521198e0c758; domain=.recurly.com; path=/; Secure; HttpOnly
|
123
123
|
cache-control:
|
124
124
|
- private, max-age=0, must-revalidate
|
125
125
|
body: |
|
@@ -143,7 +143,7 @@
|
|
143
143
|
<month type="integer">10</month>
|
144
144
|
<year type="integer">2011</year>
|
145
145
|
</credit_card>
|
146
|
-
<updated_at type="datetime">2010-10-
|
146
|
+
<updated_at type="datetime">2010-10-19T05:22:11Z</updated_at>
|
147
147
|
</billing_info>
|
148
148
|
|
149
149
|
http_version: "1.1"
|
@@ -175,15 +175,15 @@
|
|
175
175
|
content-type:
|
176
176
|
- application/xml; charset=utf-8
|
177
177
|
x-runtime:
|
178
|
-
- "
|
178
|
+
- "166"
|
179
179
|
date:
|
180
|
-
- Tue, 19 Oct 2010
|
180
|
+
- Tue, 19 Oct 2010 05:22:12 GMT
|
181
181
|
server:
|
182
182
|
- nginx/0.7.65
|
183
183
|
content-length:
|
184
184
|
- "98"
|
185
185
|
set-cookie:
|
186
|
-
- _recurly_session=
|
186
|
+
- _recurly_session=fa3884c8935784969e9a57772e2ba1b6; domain=.recurly.com; path=/; Secure; HttpOnly
|
187
187
|
cache-control:
|
188
188
|
- no-cache
|
189
189
|
body: |
|
@@ -34,17 +34,17 @@
|
|
34
34
|
content-type:
|
35
35
|
- application/xml; charset=utf-8
|
36
36
|
x-runtime:
|
37
|
-
- "
|
37
|
+
- "587"
|
38
38
|
date:
|
39
|
-
- Tue, 19 Oct 2010
|
39
|
+
- Tue, 19 Oct 2010 05:22:07 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "583"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=d7d85843d8f3242cba6553eb41e3220a1a6c63ca502e22bb88b374511596fc21407a3c5872e347daffb20096c6e064b05e0c5178cd5d647b65b643553b629301%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=65b9d3f58f854f3fe4a1534c4ba725d4; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
@@ -59,8 +59,8 @@
|
|
59
59
|
<company_name>Recurly Ruby Gem</company_name>
|
60
60
|
<balance_in_cents type="integer">0</balance_in_cents>
|
61
61
|
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-
|
62
|
+
<hosted_login_token>448c465031fd44af9e0989f3ac974f54</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-19T05:22:07Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -105,21 +105,21 @@
|
|
105
105
|
x-ua-compatible:
|
106
106
|
- IE=Edge
|
107
107
|
etag:
|
108
|
-
- "\"
|
108
|
+
- "\"344e66ab778c8426df669787ffe981ac\""
|
109
109
|
connection:
|
110
110
|
- close
|
111
111
|
content-type:
|
112
112
|
- application/xml; charset=utf-8
|
113
113
|
x-runtime:
|
114
|
-
- "
|
114
|
+
- "83"
|
115
115
|
date:
|
116
|
-
- Tue, 19 Oct 2010
|
116
|
+
- Tue, 19 Oct 2010 05:22:07 GMT
|
117
117
|
server:
|
118
118
|
- nginx/0.7.65
|
119
119
|
content-length:
|
120
120
|
- "639"
|
121
121
|
set-cookie:
|
122
|
-
- _recurly_session=
|
122
|
+
- _recurly_session=2fb27e99a88a574510d62862b99812e6; domain=.recurly.com; path=/; Secure; HttpOnly
|
123
123
|
cache-control:
|
124
124
|
- private, max-age=0, must-revalidate
|
125
125
|
body: |
|
@@ -143,7 +143,7 @@
|
|
143
143
|
<month type="integer">10</month>
|
144
144
|
<year type="integer">2011</year>
|
145
145
|
</credit_card>
|
146
|
-
<updated_at type="datetime">2010-10-
|
146
|
+
<updated_at type="datetime">2010-10-19T05:22:07Z</updated_at>
|
147
147
|
</billing_info>
|
148
148
|
|
149
149
|
http_version: "1.1"
|
@@ -177,27 +177,27 @@
|
|
177
177
|
content-type:
|
178
178
|
- application/xml; charset=utf-8
|
179
179
|
x-runtime:
|
180
|
-
- "
|
180
|
+
- "48"
|
181
181
|
date:
|
182
|
-
- Tue, 19 Oct 2010
|
182
|
+
- Tue, 19 Oct 2010 05:22:08 GMT
|
183
183
|
server:
|
184
184
|
- nginx/0.7.65
|
185
185
|
content-length:
|
186
186
|
- "457"
|
187
187
|
set-cookie:
|
188
|
-
- _recurly_session=
|
188
|
+
- _recurly_session=160de5edf068f71d7c9e086efc49e382; domain=.recurly.com; path=/; Secure; HttpOnly
|
189
189
|
cache-control:
|
190
190
|
- no-cache
|
191
191
|
body: |
|
192
192
|
<?xml version="1.0" encoding="UTF-8"?>
|
193
193
|
<charge type="charge">
|
194
|
-
<id>
|
194
|
+
<id>501c7d8e64d145ec998651dd4e962f92</id>
|
195
195
|
<account_code>invoice-create-1287167121</account_code>
|
196
196
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
197
|
-
<start_date type="datetime">2010-10-
|
197
|
+
<start_date type="datetime">2010-10-19T05:22:08Z</start_date>
|
198
198
|
<end_date nil="true" type="datetime"></end_date>
|
199
199
|
<description>charge description</description>
|
200
|
-
<created_at type="datetime">2010-10-
|
200
|
+
<created_at type="datetime">2010-10-19T05:22:08Z</created_at>
|
201
201
|
</charge>
|
202
202
|
|
203
203
|
http_version: "1.1"
|
@@ -231,27 +231,27 @@
|
|
231
231
|
content-type:
|
232
232
|
- application/xml; charset=utf-8
|
233
233
|
x-runtime:
|
234
|
-
- "
|
234
|
+
- "47"
|
235
235
|
date:
|
236
|
-
- Tue, 19 Oct 2010
|
236
|
+
- Tue, 19 Oct 2010 05:22:09 GMT
|
237
237
|
server:
|
238
238
|
- nginx/0.7.65
|
239
239
|
content-length:
|
240
240
|
- "457"
|
241
241
|
set-cookie:
|
242
|
-
- _recurly_session=
|
242
|
+
- _recurly_session=3139691003bc1d41667f6ddb4c0dfbcc; domain=.recurly.com; path=/; Secure; HttpOnly
|
243
243
|
cache-control:
|
244
244
|
- no-cache
|
245
245
|
body: |
|
246
246
|
<?xml version="1.0" encoding="UTF-8"?>
|
247
247
|
<charge type="charge">
|
248
|
-
<id>
|
248
|
+
<id>273b0d7386ea42129c0cb27be8ed59f8</id>
|
249
249
|
<account_code>invoice-create-1287167121</account_code>
|
250
250
|
<amount_in_cents type="integer">1500</amount_in_cents>
|
251
|
-
<start_date type="datetime">2010-10-
|
251
|
+
<start_date type="datetime">2010-10-19T05:22:09Z</start_date>
|
252
252
|
<end_date nil="true" type="datetime"></end_date>
|
253
253
|
<description>charge description</description>
|
254
|
-
<created_at type="datetime">2010-10-
|
254
|
+
<created_at type="datetime">2010-10-19T05:22:09Z</created_at>
|
255
255
|
</charge>
|
256
256
|
|
257
257
|
http_version: "1.1"
|
@@ -279,30 +279,30 @@
|
|
279
279
|
message: Created
|
280
280
|
headers:
|
281
281
|
location:
|
282
|
-
- https://recurlytest3-test.recurly.com/invoices/
|
282
|
+
- https://recurlytest3-test.recurly.com/invoices/830d226d85a042f0934f52c386ae3573
|
283
283
|
connection:
|
284
284
|
- close
|
285
285
|
content-type:
|
286
286
|
- application/xml; charset=utf-8
|
287
287
|
x-runtime:
|
288
|
-
- "
|
288
|
+
- "101"
|
289
289
|
date:
|
290
|
-
- Tue, 19 Oct 2010
|
290
|
+
- Tue, 19 Oct 2010 05:22:09 GMT
|
291
291
|
server:
|
292
292
|
- nginx/0.7.65
|
293
293
|
content-length:
|
294
294
|
- "1517"
|
295
295
|
set-cookie:
|
296
|
-
- _recurly_session=
|
296
|
+
- _recurly_session=18d70b4909efb2e9c1b4cd6046b90c50; domain=.recurly.com; path=/; Secure; HttpOnly
|
297
297
|
cache-control:
|
298
298
|
- no-cache
|
299
299
|
body: |
|
300
300
|
<?xml version="1.0" encoding="UTF-8"?>
|
301
301
|
<invoice>
|
302
|
-
<id>
|
302
|
+
<id>830d226d85a042f0934f52c386ae3573</id>
|
303
303
|
<account_code>invoice-create-1287167121</account_code>
|
304
|
-
<date type="datetime">2010-10-
|
305
|
-
<invoice_number type="integer">
|
304
|
+
<date type="datetime">2010-10-19T05:22:09Z</date>
|
305
|
+
<invoice_number type="integer">2070</invoice_number>
|
306
306
|
<vat_number></vat_number>
|
307
307
|
<status>open</status>
|
308
308
|
<subtotal_in_cents type="integer">2500</subtotal_in_cents>
|
@@ -312,22 +312,22 @@
|
|
312
312
|
<total_due_in_cents type="integer">2500</total_due_in_cents>
|
313
313
|
<line_items type="array">
|
314
314
|
<line_item>
|
315
|
-
<id>
|
315
|
+
<id>501c7d8e64d145ec998651dd4e962f92</id>
|
316
316
|
<type>charge</type>
|
317
317
|
<amount_in_cents type="integer">1000</amount_in_cents>
|
318
|
-
<start_date type="datetime">2010-10-
|
318
|
+
<start_date type="datetime">2010-10-19T05:22:08Z</start_date>
|
319
319
|
<end_date nil="true" type="datetime"></end_date>
|
320
320
|
<description>charge description</description>
|
321
|
-
<created_at type="datetime">2010-10-
|
321
|
+
<created_at type="datetime">2010-10-19T05:22:08Z</created_at>
|
322
322
|
</line_item>
|
323
323
|
<line_item>
|
324
|
-
<id>
|
324
|
+
<id>273b0d7386ea42129c0cb27be8ed59f8</id>
|
325
325
|
<type>charge</type>
|
326
326
|
<amount_in_cents type="integer">1500</amount_in_cents>
|
327
|
-
<start_date type="datetime">2010-10-
|
327
|
+
<start_date type="datetime">2010-10-19T05:22:09Z</start_date>
|
328
328
|
<end_date nil="true" type="datetime"></end_date>
|
329
329
|
<description>charge description</description>
|
330
|
-
<created_at type="datetime">2010-10-
|
330
|
+
<created_at type="datetime">2010-10-19T05:22:09Z</created_at>
|
331
331
|
</line_item>
|
332
332
|
</line_items>
|
333
333
|
<payments type="array">
|
@@ -36,15 +36,15 @@
|
|
36
36
|
x-runtime:
|
37
37
|
- "585"
|
38
38
|
date:
|
39
|
-
- Tue, 19 Oct 2010
|
39
|
+
- Tue, 19 Oct 2010 05:22:13 GMT
|
40
40
|
server:
|
41
41
|
- nginx/0.7.65
|
42
42
|
content-length:
|
43
43
|
- "579"
|
44
44
|
set-cookie:
|
45
|
-
- account_credentials=
|
45
|
+
- account_credentials=9710206895e7392f1a184de558653369f8470e25675ba61918d2c00df887b66f2107a8d43377dac5a2c451c1cdf0ebb859485beb58f2cc49c7f015be5faf3381%3A%3A; domain=.recurly.com; path=/; secure; HttpOnly
|
46
46
|
- ""
|
47
|
-
- _recurly_session=
|
47
|
+
- _recurly_session=794dbb42847f35ec9d9af8351827d7d7; domain=.recurly.com; path=/; Secure; HttpOnly
|
48
48
|
cache-control:
|
49
49
|
- no-cache
|
50
50
|
body: |
|
@@ -59,8 +59,8 @@
|
|
59
59
|
<company_name>Recurly Ruby Gem</company_name>
|
60
60
|
<balance_in_cents type="integer">0</balance_in_cents>
|
61
61
|
<closed type="boolean">false</closed>
|
62
|
-
<hosted_login_token>
|
63
|
-
<created_at type="datetime">2010-10-
|
62
|
+
<hosted_login_token>7faeadfe82d844f8aff67211269be43a</hosted_login_token>
|
63
|
+
<created_at type="datetime">2010-10-19T05:22:13Z</created_at>
|
64
64
|
<state>active</state>
|
65
65
|
</account>
|
66
66
|
|
@@ -105,21 +105,21 @@
|
|
105
105
|
x-ua-compatible:
|
106
106
|
- IE=Edge
|
107
107
|
etag:
|
108
|
-
- "\"
|
108
|
+
- "\"b5d833485f20b09c709a7ac0d79c21c4\""
|
109
109
|
connection:
|
110
110
|
- close
|
111
111
|
content-type:
|
112
112
|
- application/xml; charset=utf-8
|
113
113
|
x-runtime:
|
114
|
-
- "
|
114
|
+
- "57"
|
115
115
|
date:
|
116
|
-
- Tue, 19 Oct 2010
|
116
|
+
- Tue, 19 Oct 2010 05:22:14 GMT
|
117
117
|
server:
|
118
118
|
- nginx/0.7.65
|
119
119
|
content-length:
|
120
120
|
- "637"
|
121
121
|
set-cookie:
|
122
|
-
- _recurly_session=
|
122
|
+
- _recurly_session=e2a6963f6b737df0d6e707587f929db8; domain=.recurly.com; path=/; Secure; HttpOnly
|
123
123
|
cache-control:
|
124
124
|
- private, max-age=0, must-revalidate
|
125
125
|
body: |
|
@@ -143,7 +143,7 @@
|
|
143
143
|
<month type="integer">10</month>
|
144
144
|
<year type="integer">2011</year>
|
145
145
|
</credit_card>
|
146
|
-
<updated_at type="datetime">2010-10-
|
146
|
+
<updated_at type="datetime">2010-10-19T05:22:14Z</updated_at>
|
147
147
|
</billing_info>
|
148
148
|
|
149
149
|
http_version: "1.1"
|
@@ -177,27 +177,27 @@
|
|
177
177
|
content-type:
|
178
178
|
- application/xml; charset=utf-8
|
179
179
|
x-runtime:
|
180
|
-
- "
|
180
|
+
- "230"
|
181
181
|
date:
|
182
|
-
- Tue, 19 Oct 2010
|
182
|
+
- Tue, 19 Oct 2010 05:22:14 GMT
|
183
183
|
server:
|
184
184
|
- nginx/0.7.65
|
185
185
|
content-length:
|
186
186
|
- "454"
|
187
187
|
set-cookie:
|
188
|
-
- _recurly_session=
|
188
|
+
- _recurly_session=4c02bafa81f3d704788f7ba08c77c342; domain=.recurly.com; path=/; Secure; HttpOnly
|
189
189
|
cache-control:
|
190
190
|
- no-cache
|
191
191
|
body: |
|
192
192
|
<?xml version="1.0" encoding="UTF-8"?>
|
193
193
|
<charge type="charge">
|
194
|
-
<id>
|
194
|
+
<id>debe38c17c274f1cb7c2d47d5c1bd5f0</id>
|
195
195
|
<account_code>invoice-list-1287167121</account_code>
|
196
196
|
<amount_in_cents type="integer">100</amount_in_cents>
|
197
|
-
<start_date type="datetime">2010-10-
|
197
|
+
<start_date type="datetime">2010-10-19T05:22:14Z</start_date>
|
198
198
|
<end_date nil="true" type="datetime"></end_date>
|
199
199
|
<description>charge description</description>
|
200
|
-
<created_at type="datetime">2010-10-
|
200
|
+
<created_at type="datetime">2010-10-19T05:22:14Z</created_at>
|
201
201
|
</charge>
|
202
202
|
|
203
203
|
http_version: "1.1"
|
@@ -225,30 +225,30 @@
|
|
225
225
|
message: Created
|
226
226
|
headers:
|
227
227
|
location:
|
228
|
-
- https://recurlytest3-test.recurly.com/invoices/
|
228
|
+
- https://recurlytest3-test.recurly.com/invoices/9e615b70a3464039b82770aafc0e1716
|
229
229
|
connection:
|
230
230
|
- close
|
231
231
|
content-type:
|
232
232
|
- application/xml; charset=utf-8
|
233
233
|
x-runtime:
|
234
|
-
- "
|
234
|
+
- "66"
|
235
235
|
date:
|
236
|
-
- Tue, 19 Oct 2010
|
236
|
+
- Tue, 19 Oct 2010 05:22:15 GMT
|
237
237
|
server:
|
238
238
|
- nginx/0.7.65
|
239
239
|
content-length:
|
240
240
|
- "1100"
|
241
241
|
set-cookie:
|
242
|
-
- _recurly_session=
|
242
|
+
- _recurly_session=3cb46380b3a772518e3ec3cc6641b91e; domain=.recurly.com; path=/; Secure; HttpOnly
|
243
243
|
cache-control:
|
244
244
|
- no-cache
|
245
245
|
body: |
|
246
246
|
<?xml version="1.0" encoding="UTF-8"?>
|
247
247
|
<invoice>
|
248
|
-
<id>
|
248
|
+
<id>9e615b70a3464039b82770aafc0e1716</id>
|
249
249
|
<account_code>invoice-list-1287167121</account_code>
|
250
|
-
<date type="datetime">2010-10-
|
251
|
-
<invoice_number type="integer">
|
250
|
+
<date type="datetime">2010-10-19T05:22:15Z</date>
|
251
|
+
<invoice_number type="integer">2071</invoice_number>
|
252
252
|
<vat_number></vat_number>
|
253
253
|
<status>open</status>
|
254
254
|
<subtotal_in_cents type="integer">100</subtotal_in_cents>
|
@@ -258,13 +258,13 @@
|
|
258
258
|
<total_due_in_cents type="integer">100</total_due_in_cents>
|
259
259
|
<line_items type="array">
|
260
260
|
<line_item>
|
261
|
-
<id>
|
261
|
+
<id>debe38c17c274f1cb7c2d47d5c1bd5f0</id>
|
262
262
|
<type>charge</type>
|
263
263
|
<amount_in_cents type="integer">100</amount_in_cents>
|
264
|
-
<start_date type="datetime">2010-10-
|
264
|
+
<start_date type="datetime">2010-10-19T05:22:14Z</start_date>
|
265
265
|
<end_date nil="true" type="datetime"></end_date>
|
266
266
|
<description>charge description</description>
|
267
|
-
<created_at type="datetime">2010-10-
|
267
|
+
<created_at type="datetime">2010-10-19T05:22:14Z</created_at>
|
268
268
|
</line_item>
|
269
269
|
</line_items>
|
270
270
|
<payments type="array">
|
@@ -302,27 +302,27 @@
|
|
302
302
|
content-type:
|
303
303
|
- application/xml; charset=utf-8
|
304
304
|
x-runtime:
|
305
|
-
- "
|
305
|
+
- "45"
|
306
306
|
date:
|
307
|
-
- Tue, 19 Oct 2010
|
307
|
+
- Tue, 19 Oct 2010 05:22:16 GMT
|
308
308
|
server:
|
309
309
|
- nginx/0.7.65
|
310
310
|
content-length:
|
311
311
|
- "454"
|
312
312
|
set-cookie:
|
313
|
-
- _recurly_session=
|
313
|
+
- _recurly_session=e678f074905e5d3d40590f38a0eb0f6d; domain=.recurly.com; path=/; Secure; HttpOnly
|
314
314
|
cache-control:
|
315
315
|
- no-cache
|
316
316
|
body: |
|
317
317
|
<?xml version="1.0" encoding="UTF-8"?>
|
318
318
|
<charge type="charge">
|
319
|
-
<id>
|
319
|
+
<id>508c275396434d1db787c32a130c72af</id>
|
320
320
|
<account_code>invoice-list-1287167121</account_code>
|
321
321
|
<amount_in_cents type="integer">300</amount_in_cents>
|
322
|
-
<start_date type="datetime">2010-10-
|
322
|
+
<start_date type="datetime">2010-10-19T05:22:16Z</start_date>
|
323
323
|
<end_date nil="true" type="datetime"></end_date>
|
324
324
|
<description>charge description</description>
|
325
|
-
<created_at type="datetime">2010-10-
|
325
|
+
<created_at type="datetime">2010-10-19T05:22:16Z</created_at>
|
326
326
|
</charge>
|
327
327
|
|
328
328
|
http_version: "1.1"
|
@@ -350,30 +350,30 @@
|
|
350
350
|
message: Created
|
351
351
|
headers:
|
352
352
|
location:
|
353
|
-
- https://recurlytest3-test.recurly.com/invoices/
|
353
|
+
- https://recurlytest3-test.recurly.com/invoices/d79a474d12ce43699b4202cc3de987b1
|
354
354
|
connection:
|
355
355
|
- close
|
356
356
|
content-type:
|
357
357
|
- application/xml; charset=utf-8
|
358
358
|
x-runtime:
|
359
|
-
- "
|
359
|
+
- "93"
|
360
360
|
date:
|
361
|
-
- Tue, 19 Oct 2010
|
361
|
+
- Tue, 19 Oct 2010 05:22:16 GMT
|
362
362
|
server:
|
363
363
|
- nginx/0.7.65
|
364
364
|
content-length:
|
365
365
|
- "1100"
|
366
366
|
set-cookie:
|
367
|
-
- _recurly_session=
|
367
|
+
- _recurly_session=b38958fc067c5195d2cd2868adb97a2b; domain=.recurly.com; path=/; Secure; HttpOnly
|
368
368
|
cache-control:
|
369
369
|
- no-cache
|
370
370
|
body: |
|
371
371
|
<?xml version="1.0" encoding="UTF-8"?>
|
372
372
|
<invoice>
|
373
|
-
<id>
|
373
|
+
<id>d79a474d12ce43699b4202cc3de987b1</id>
|
374
374
|
<account_code>invoice-list-1287167121</account_code>
|
375
|
-
<date type="datetime">2010-10-
|
376
|
-
<invoice_number type="integer">
|
375
|
+
<date type="datetime">2010-10-19T05:22:16Z</date>
|
376
|
+
<invoice_number type="integer">2072</invoice_number>
|
377
377
|
<vat_number></vat_number>
|
378
378
|
<status>open</status>
|
379
379
|
<subtotal_in_cents type="integer">300</subtotal_in_cents>
|
@@ -383,13 +383,13 @@
|
|
383
383
|
<total_due_in_cents type="integer">300</total_due_in_cents>
|
384
384
|
<line_items type="array">
|
385
385
|
<line_item>
|
386
|
-
<id>
|
386
|
+
<id>508c275396434d1db787c32a130c72af</id>
|
387
387
|
<type>charge</type>
|
388
388
|
<amount_in_cents type="integer">300</amount_in_cents>
|
389
|
-
<start_date type="datetime">2010-10-
|
389
|
+
<start_date type="datetime">2010-10-19T05:22:16Z</start_date>
|
390
390
|
<end_date nil="true" type="datetime"></end_date>
|
391
391
|
<description>charge description</description>
|
392
|
-
<created_at type="datetime">2010-10-
|
392
|
+
<created_at type="datetime">2010-10-19T05:22:16Z</created_at>
|
393
393
|
</line_item>
|
394
394
|
</line_items>
|
395
395
|
<payments type="array">
|
@@ -417,7 +417,7 @@
|
|
417
417
|
x-ua-compatible:
|
418
418
|
- IE=Edge
|
419
419
|
etag:
|
420
|
-
- "\"
|
420
|
+
- "\"4f52a575a03ada0a91ed5f7998ac4bd7\""
|
421
421
|
connection:
|
422
422
|
- close
|
423
423
|
content-type:
|
@@ -425,31 +425,31 @@
|
|
425
425
|
x-runtime:
|
426
426
|
- "16"
|
427
427
|
date:
|
428
|
-
- Tue, 19 Oct 2010
|
428
|
+
- Tue, 19 Oct 2010 05:22:17 GMT
|
429
429
|
server:
|
430
430
|
- nginx/0.7.65
|
431
431
|
content-length:
|
432
432
|
- "789"
|
433
433
|
set-cookie:
|
434
|
-
- _recurly_session=
|
434
|
+
- _recurly_session=c92f969fb715686362c66670439c7704; domain=.recurly.com; path=/; Secure; HttpOnly
|
435
435
|
cache-control:
|
436
436
|
- private, max-age=0, must-revalidate
|
437
437
|
body: |
|
438
438
|
<?xml version="1.0" encoding="UTF-8"?>
|
439
439
|
<invoices type="array">
|
440
440
|
<invoice>
|
441
|
-
<id>
|
441
|
+
<id>d79a474d12ce43699b4202cc3de987b1</id>
|
442
442
|
<account_code>invoice-list-1287167121</account_code>
|
443
|
-
<date type="datetime">2010-10-
|
444
|
-
<invoice_number type="integer">
|
443
|
+
<date type="datetime">2010-10-19T05:22:16Z</date>
|
444
|
+
<invoice_number type="integer">2072</invoice_number>
|
445
445
|
<subtotal_in_cents type="integer">300</subtotal_in_cents>
|
446
446
|
<total_in_cents type="integer">300</total_in_cents>
|
447
447
|
</invoice>
|
448
448
|
<invoice>
|
449
|
-
<id>
|
449
|
+
<id>9e615b70a3464039b82770aafc0e1716</id>
|
450
450
|
<account_code>invoice-list-1287167121</account_code>
|
451
|
-
<date type="datetime">2010-10-
|
452
|
-
<invoice_number type="integer">
|
451
|
+
<date type="datetime">2010-10-19T05:22:15Z</date>
|
452
|
+
<invoice_number type="integer">2071</invoice_number>
|
453
453
|
<subtotal_in_cents type="integer">100</subtotal_in_cents>
|
454
454
|
<total_in_cents type="integer">100</total_in_cents>
|
455
455
|
</invoice>
|