leetchi-wallet-services 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +1 -11
- data/Gemfile.lock +27 -18
- data/README.md +3 -3
- data/Rakefile +3 -6
- data/lib/leetchi/beneficiary.rb +0 -1
- data/lib/leetchi/expense.rb +2 -2
- data/lib/leetchi/recurrent_contribution.rb +24 -0
- data/lib/leetchi/ressource.rb +24 -3
- data/lib/leetchi/strong_authentication.rb +13 -0
- data/lib/leetchi/withdrawal.rb +0 -1
- data/lib/leetchi/withdrawal_contribution.rb +32 -0
- data/lib/leetchi-wallet-services.rb +2 -2
- data/spec/cassettes/card.yml +1381 -0
- data/spec/cassettes/contribution.yml +691 -0
- data/spec/cassettes/expense.yml +89 -0
- data/spec/cassettes/operation.yml +89 -0
- data/spec/cassettes/transfer.yml +347 -0
- data/spec/cassettes/user.yml +1262 -0
- data/spec/cassettes/wallet.yml +863 -0
- data/spec/cassettes/withdrawal.yml +433 -0
- data/spec/lib/leetchi/beneficiary_spec.rb +26 -32
- data/spec/lib/leetchi/card_spec.rb +8 -14
- data/spec/lib/leetchi/contribution_spec.rb +11 -17
- data/spec/lib/leetchi/expense_spec.rb +0 -7
- data/spec/lib/leetchi/operation_spec.rb +0 -6
- data/spec/lib/leetchi/recurrent_contribution_spec.rb +48 -41
- data/spec/lib/leetchi/ressource_spec.rb +1 -3
- data/spec/lib/leetchi/strong_authentication_spec.rb +50 -10
- data/spec/lib/leetchi/transfer_spec.rb +9 -14
- data/spec/lib/leetchi/user_spec.rb +27 -34
- data/spec/lib/leetchi/wallet_spec.rb +16 -22
- data/spec/lib/leetchi/withdrawal_contribution_spec.rb +44 -0
- data/spec/lib/leetchi/withdrawal_spec.rb +13 -19
- data/spec/spec_helper.rb +60 -24
- data/spec/support-files/test_upload.gif +0 -0
- data/spec/support-files/test_upload.jpg +0 -0
- data/spec/support-files/test_upload.pdf +0 -0
- data/spec/support-files/test_upload.png +0 -0
- metadata +150 -170
- data/spec/fixtures/leetchi_cassettes/beneficiary.yml +0 -40500
- data/spec/fixtures/leetchi_cassettes/card.yml +0 -15985
- data/spec/fixtures/leetchi_cassettes/contribution.yml +0 -35737
- data/spec/fixtures/leetchi_cassettes/expense-site.yml +0 -45
- data/spec/fixtures/leetchi_cassettes/expense.yml +0 -495
- data/spec/fixtures/leetchi_cassettes/operation.yml +0 -495
- data/spec/fixtures/leetchi_cassettes/recurrent_contribution.yml +0 -2060
- data/spec/fixtures/leetchi_cassettes/strong_authentication.yml +0 -577
- data/spec/fixtures/leetchi_cassettes/transfer.yml +0 -31387
- data/spec/fixtures/leetchi_cassettes/user.yml +0 -44428
- data/spec/fixtures/leetchi_cassettes/wallet.yml +0 -35099
- data/spec/fixtures/leetchi_cassettes/withdrawal.yml +0 -20722
@@ -0,0 +1,691 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363948912
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"Tag":"test","Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true}'
|
9
|
+
headers:
|
10
|
+
X-Leetchi-Signature:
|
11
|
+
- cy/L78OWeWtL7XNuvsDHSUmswlQwfcz8TSzR6uMHR4nzfBQM6B1BbmSLhqYMkQEVgqwTw7PbIYpmBmi0g3ZZJFWqJu1dF4rlycwENzu1/Ude9vCZkgYnyzBpdhjv871Fm1A0/z8Rutv2B9jawGa9TtNeO1oR8szoT6HNsFY94UsEbkDpJbMECK7/bHkwMi9UO5IZj/w3A9Zc6JZ+n0wf+LA23z6/647F21YdJ2yorT/i6GSovRocEwtwiOQgVERLQwQO8zZW31F+zgtfq/BcvOtDUgmd7RrDOSwoqfSi0FTGc4c43k0C6HOIk0kzKe3RbR1N+wBEaU1WaZlrxqllPw==
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
Accept:
|
17
|
+
- '*/*'
|
18
|
+
User-Agent:
|
19
|
+
- Ruby
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Cache-Control:
|
26
|
+
- private
|
27
|
+
Content-Type:
|
28
|
+
- application/json; charset=utf-8
|
29
|
+
Server:
|
30
|
+
- Microsoft-IIS/8.0
|
31
|
+
X-Aspnetmvc-Version:
|
32
|
+
- '2.0'
|
33
|
+
X-Aspnet-Version:
|
34
|
+
- 4.0.30319
|
35
|
+
X-Powered-By:
|
36
|
+
- ASP.NET
|
37
|
+
Date:
|
38
|
+
- Fri, 22 Mar 2013 10:41:51 GMT
|
39
|
+
Content-Length:
|
40
|
+
- '365'
|
41
|
+
body:
|
42
|
+
encoding: UTF-8
|
43
|
+
string: '{"Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true,"HasRegisteredMeansOfPayment":false,"IP":null,"Birthday":null,"Password":"KGUGjd1w0wHahgOPRHfQ2wkY5OHQVn","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226578,"Tag":"test","CreationDate":1363948912,"UpdateDate":1363948912}'
|
44
|
+
http_version:
|
45
|
+
recorded_at: Fri, 22 Mar 2013 10:41:53 GMT
|
46
|
+
- request:
|
47
|
+
method: post
|
48
|
+
uri: https://api-preprod.leetchi.com/v1/partner/example/contributions?ts=1363948913
|
49
|
+
body:
|
50
|
+
encoding: UTF-8
|
51
|
+
string: '{"Tag":"test_contribution","UserID":226578,"WalletID":0,"Amount":10000,"ReturnURL":"https://leetchi.com","BankAccountBIC":"AGRIFRPP879"}'
|
52
|
+
headers:
|
53
|
+
X-Leetchi-Signature:
|
54
|
+
- hPal1zKMZI0V8T/QW76vRpFbzmZD1u1+mOfHg6PQz5LibOnye20OFIEu6xDKbTBZWerPb5xH0ZwPf/DsyO3YHZ68xEIMdm8i6UximdiRxoMd6wFhm8WIThsEyjwPqCBjnq0OAdMHfRYKrjrHVP028tpx+ZdpD33kirz/NrVOi4PvCu0TI7iOxd59hGLcY1NkbxgW0IiCGOVOJvFXp3zhEVQ2Li3+tdeXKat71JNkWGUV7WB6WggU1E60h9feeclOe3eOZ5HooH2k6wjBYryKVPODKXT8BoGpZw7xPEF0ZAlZlj22jxBORvQMNv9pHLT+cmLxouGqPD4ajYcPHzvv1w==
|
55
|
+
Content-Type:
|
56
|
+
- application/json
|
57
|
+
Accept-Encoding:
|
58
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
59
|
+
Accept:
|
60
|
+
- '*/*'
|
61
|
+
User-Agent:
|
62
|
+
- Ruby
|
63
|
+
response:
|
64
|
+
status:
|
65
|
+
code: 200
|
66
|
+
message: OK
|
67
|
+
headers:
|
68
|
+
Cache-Control:
|
69
|
+
- private
|
70
|
+
Content-Type:
|
71
|
+
- application/json; charset=utf-8
|
72
|
+
Server:
|
73
|
+
- Microsoft-IIS/8.0
|
74
|
+
X-Aspnetmvc-Version:
|
75
|
+
- '2.0'
|
76
|
+
X-Aspnet-Version:
|
77
|
+
- 4.0.30319
|
78
|
+
X-Powered-By:
|
79
|
+
- ASP.NET
|
80
|
+
Date:
|
81
|
+
- Fri, 22 Mar 2013 10:41:53 GMT
|
82
|
+
Content-Length:
|
83
|
+
- '601'
|
84
|
+
body:
|
85
|
+
encoding: UTF-8
|
86
|
+
string: '{"UserID":226578,"WalletID":0,"Amount":10000,"ClientFeeAmount":0,"LeetchiFeeAmount":0,"IsSucceeded":false,"IsCompleted":false,"PaymentURL":"https://homologation-secure-p.payline.com/webpayment/step2.do?reqCode=prepareStep2&token=1gZEAA69APCFkBmlScNw1363948912728","TemplateURL":null,"ReturnURL":"https://leetchi.com/?ContributionID=226579","RegisterMeanOfPayment":false,"Error":null,"PaymentCardID":0,"Culture":"fr","Type":"Payline","PaymentMethodType":"cb_visa_mastercard","AnswerCode":null,"AnswerMessage":null,"ID":226579,"Tag":"test_contribution","CreationDate":1363948912,"UpdateDate":1363948913}'
|
87
|
+
http_version:
|
88
|
+
recorded_at: Fri, 22 Mar 2013 10:41:53 GMT
|
89
|
+
- request:
|
90
|
+
method: post
|
91
|
+
uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363948913
|
92
|
+
body:
|
93
|
+
encoding: UTF-8
|
94
|
+
string: '{"Tag":"test","Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true}'
|
95
|
+
headers:
|
96
|
+
X-Leetchi-Signature:
|
97
|
+
- YwG+2gq3M3vI/8GXO2/r9qIMF58UV6hwR6wwPA2CJYatWhROxy6bl+rg3UuXCAdHcJuHVbpEewXO04eMVQqsRnLYCNHleUK3etUI/YjxzIcNvlfwzCrCWdShpEEOj6QnOQQylTfPYp+5zau5nQo0L5MbDtHhz3/zRlZDxfedrDArGbdpYWVcfbRCGZ8x8plSScBJDyZhzyiGEhT3V4cz7vND+Na/64BlXMcetFk4NrWbNQuiPFfDh7RgTyUfHZndj/0OWWIVNtKJUEeBena6oKb7oqcC1zo6PRN7pAuqGWsd/E0DuiXeBUXzPCmZYkvmbW+6WrkSH9Ui+FKLicaQ/w==
|
98
|
+
Content-Type:
|
99
|
+
- application/json
|
100
|
+
Accept-Encoding:
|
101
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
102
|
+
Accept:
|
103
|
+
- '*/*'
|
104
|
+
User-Agent:
|
105
|
+
- Ruby
|
106
|
+
response:
|
107
|
+
status:
|
108
|
+
code: 200
|
109
|
+
message: OK
|
110
|
+
headers:
|
111
|
+
Cache-Control:
|
112
|
+
- private
|
113
|
+
Content-Type:
|
114
|
+
- application/json; charset=utf-8
|
115
|
+
Server:
|
116
|
+
- Microsoft-IIS/8.0
|
117
|
+
X-Aspnetmvc-Version:
|
118
|
+
- '2.0'
|
119
|
+
X-Aspnet-Version:
|
120
|
+
- 4.0.30319
|
121
|
+
X-Powered-By:
|
122
|
+
- ASP.NET
|
123
|
+
Date:
|
124
|
+
- Fri, 22 Mar 2013 10:41:53 GMT
|
125
|
+
Content-Length:
|
126
|
+
- '365'
|
127
|
+
body:
|
128
|
+
encoding: UTF-8
|
129
|
+
string: '{"Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true,"HasRegisteredMeansOfPayment":false,"IP":null,"Birthday":null,"Password":"gLLV7jqCNNQ2kE1JKdnxWCoumnw6LG","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226580,"Tag":"test","CreationDate":1363948913,"UpdateDate":1363948913}'
|
130
|
+
http_version:
|
131
|
+
recorded_at: Fri, 22 Mar 2013 10:41:54 GMT
|
132
|
+
- request:
|
133
|
+
method: post
|
134
|
+
uri: https://api-preprod.leetchi.com/v1/partner/example/contributions?ts=1363948914
|
135
|
+
body:
|
136
|
+
encoding: UTF-8
|
137
|
+
string: '{"Tag":"test_contribution","UserID":226580,"WalletID":0,"Amount":10000,"ReturnURL":"https://leetchi.com","BankAccountBIC":"AGRIFRPP879"}'
|
138
|
+
headers:
|
139
|
+
X-Leetchi-Signature:
|
140
|
+
- hUiz6PpxfMnUl8x0xrEz9e0an+gKpihu/vnVs5xCXRnLkWGr6R2B9ykQhpdjVYouw6Ww+a1etzieQb10/mDGlG4uUsZ0Jq9dG5xLGZy1ACg+wZ3j19rb720onN9NXHSJvKavXowqeZCn1gBNrsiW78FfiJBcz6b31Uq7mzzU5WHcjRURIRKPl34362M5+XymDr5al9wTMLyBBUdZfmIIHSEEgTByFGVtYHbNPkPDF/i0yqm7xiFjZcwrzp/jvJJ5YiFGWBDQ6GJ3NzxRruqoXGsmYqxdmM2Ely4Rvso6fBH3dl5Y1dO+Fmy+u2ZmUdEpUEWKYM96NNtAfNtKHqDpmg==
|
141
|
+
Content-Type:
|
142
|
+
- application/json
|
143
|
+
Accept-Encoding:
|
144
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
145
|
+
Accept:
|
146
|
+
- '*/*'
|
147
|
+
User-Agent:
|
148
|
+
- Ruby
|
149
|
+
response:
|
150
|
+
status:
|
151
|
+
code: 200
|
152
|
+
message: OK
|
153
|
+
headers:
|
154
|
+
Cache-Control:
|
155
|
+
- private
|
156
|
+
Content-Type:
|
157
|
+
- application/json; charset=utf-8
|
158
|
+
Server:
|
159
|
+
- Microsoft-IIS/8.0
|
160
|
+
X-Aspnetmvc-Version:
|
161
|
+
- '2.0'
|
162
|
+
X-Aspnet-Version:
|
163
|
+
- 4.0.30319
|
164
|
+
X-Powered-By:
|
165
|
+
- ASP.NET
|
166
|
+
Date:
|
167
|
+
- Fri, 22 Mar 2013 10:41:54 GMT
|
168
|
+
Content-Length:
|
169
|
+
- '601'
|
170
|
+
body:
|
171
|
+
encoding: UTF-8
|
172
|
+
string: '{"UserID":226580,"WalletID":0,"Amount":10000,"ClientFeeAmount":0,"LeetchiFeeAmount":0,"IsSucceeded":false,"IsCompleted":false,"PaymentURL":"https://homologation-secure-p.payline.com/webpayment/step2.do?reqCode=prepareStep2&token=1EtBFYuWUqKvsh5BcRXJ1363948913912","TemplateURL":null,"ReturnURL":"https://leetchi.com/?ContributionID=226581","RegisterMeanOfPayment":false,"Error":null,"PaymentCardID":0,"Culture":"fr","Type":"Payline","PaymentMethodType":"cb_visa_mastercard","AnswerCode":null,"AnswerMessage":null,"ID":226581,"Tag":"test_contribution","CreationDate":1363948914,"UpdateDate":1363948914}'
|
173
|
+
http_version:
|
174
|
+
recorded_at: Fri, 22 Mar 2013 10:41:55 GMT
|
175
|
+
- request:
|
176
|
+
method: post
|
177
|
+
uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363948915
|
178
|
+
body:
|
179
|
+
encoding: UTF-8
|
180
|
+
string: '{"Tag":"test","Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true}'
|
181
|
+
headers:
|
182
|
+
X-Leetchi-Signature:
|
183
|
+
- MI0UD3eQ67PolRO2HI6/4XeLSE0t84Mp1OpuAyH47rEDN5EnnIN3B4XerVibWqk2ffl15ITdmerKQV+T06l0Zotahhy33ljfH3aYbbXtRXUqnBiYFuHLvfZ1tErgNS3sa6pR9NmQbE1+rHB68LDjVgXcpqgjT2OYczN+gyV4G149K1nC9llunhjn0q+s489YpkiBfJPHsq2TV+tg3cg5AE2LQbPMuvcP/tRlt6ULXnWgTszUrdAc2wTsnXiPMb6CfSzZQBQHerXYtW9TOu2JaIHnsN96X0/7k5jqXBuuDHmc0p5fLgdJp9WtOMd/c+VcFH+frI1+uti+Fpzpm+tY3w==
|
184
|
+
Content-Type:
|
185
|
+
- application/json
|
186
|
+
Accept-Encoding:
|
187
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
188
|
+
Accept:
|
189
|
+
- '*/*'
|
190
|
+
User-Agent:
|
191
|
+
- Ruby
|
192
|
+
response:
|
193
|
+
status:
|
194
|
+
code: 200
|
195
|
+
message: OK
|
196
|
+
headers:
|
197
|
+
Cache-Control:
|
198
|
+
- private
|
199
|
+
Content-Type:
|
200
|
+
- application/json; charset=utf-8
|
201
|
+
Server:
|
202
|
+
- Microsoft-IIS/8.0
|
203
|
+
X-Aspnetmvc-Version:
|
204
|
+
- '2.0'
|
205
|
+
X-Aspnet-Version:
|
206
|
+
- 4.0.30319
|
207
|
+
X-Powered-By:
|
208
|
+
- ASP.NET
|
209
|
+
Date:
|
210
|
+
- Fri, 22 Mar 2013 10:41:54 GMT
|
211
|
+
Content-Length:
|
212
|
+
- '365'
|
213
|
+
body:
|
214
|
+
encoding: UTF-8
|
215
|
+
string: '{"Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true,"HasRegisteredMeansOfPayment":false,"IP":null,"Birthday":null,"Password":"FkLOq7AxiDyo5D9akQ7wdEDxAOwrJU","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226582,"Tag":"test","CreationDate":1363948915,"UpdateDate":1363948915}'
|
216
|
+
http_version:
|
217
|
+
recorded_at: Fri, 22 Mar 2013 10:41:55 GMT
|
218
|
+
- request:
|
219
|
+
method: post
|
220
|
+
uri: https://api-preprod.leetchi.com/v1/partner/example/contributions?ts=1363948915
|
221
|
+
body:
|
222
|
+
encoding: UTF-8
|
223
|
+
string: '{"Tag":"test_contribution","UserID":226582,"WalletID":0,"Amount":10000,"ReturnURL":"https://leetchi.com","BankAccountBIC":"AGRIFRPP879"}'
|
224
|
+
headers:
|
225
|
+
X-Leetchi-Signature:
|
226
|
+
- TxZWrnBorYnMgL4xLkipqaWE/sVawGKenrm8qGSjTccfsyxrokVwnO2RvhEbY/CFpZmcNXX6lYMY6OE9AVbDomx2mG/J0PUsv2D94q2VY1meH+vXJfAilfZG7CEyIR3M9jYTV36D3PKx7rS19QY5prOARJwZa8rBI+FcDJ09sm3g03fe9cgl3TXllJLZLB8G6OqFCww/9j610G/NtbDXUHSuf0o5UVVCzI9ryXpJGGCWsWy02rStJ+68ai6hRrp2phZJXB9NhEP2icivsCoE5qXZbgavW2HtIjNf6oG1Q8dSYuJvdZ6BKT11SKR5S9uMmkr5fMrrAJ8m+BvrGqLx5A==
|
227
|
+
Content-Type:
|
228
|
+
- application/json
|
229
|
+
Accept-Encoding:
|
230
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
231
|
+
Accept:
|
232
|
+
- '*/*'
|
233
|
+
User-Agent:
|
234
|
+
- Ruby
|
235
|
+
response:
|
236
|
+
status:
|
237
|
+
code: 200
|
238
|
+
message: OK
|
239
|
+
headers:
|
240
|
+
Cache-Control:
|
241
|
+
- private
|
242
|
+
Content-Type:
|
243
|
+
- application/json; charset=utf-8
|
244
|
+
Server:
|
245
|
+
- Microsoft-IIS/8.0
|
246
|
+
X-Aspnetmvc-Version:
|
247
|
+
- '2.0'
|
248
|
+
X-Aspnet-Version:
|
249
|
+
- 4.0.30319
|
250
|
+
X-Powered-By:
|
251
|
+
- ASP.NET
|
252
|
+
Date:
|
253
|
+
- Fri, 22 Mar 2013 10:41:55 GMT
|
254
|
+
Content-Length:
|
255
|
+
- '601'
|
256
|
+
body:
|
257
|
+
encoding: UTF-8
|
258
|
+
string: '{"UserID":226582,"WalletID":0,"Amount":10000,"ClientFeeAmount":0,"LeetchiFeeAmount":0,"IsSucceeded":false,"IsCompleted":false,"PaymentURL":"https://homologation-secure-p.payline.com/webpayment/step2.do?reqCode=prepareStep2&token=1WR9o99RFUfJtUaHZ8EU1363948915443","TemplateURL":null,"ReturnURL":"https://leetchi.com/?ContributionID=226583","RegisterMeanOfPayment":false,"Error":null,"PaymentCardID":0,"Culture":"fr","Type":"Payline","PaymentMethodType":"cb_visa_mastercard","AnswerCode":null,"AnswerMessage":null,"ID":226583,"Tag":"test_contribution","CreationDate":1363948915,"UpdateDate":1363948915}'
|
259
|
+
http_version:
|
260
|
+
recorded_at: Fri, 22 Mar 2013 10:41:56 GMT
|
261
|
+
- request:
|
262
|
+
method: post
|
263
|
+
uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363948916
|
264
|
+
body:
|
265
|
+
encoding: UTF-8
|
266
|
+
string: '{"Tag":"test","Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true}'
|
267
|
+
headers:
|
268
|
+
X-Leetchi-Signature:
|
269
|
+
- APu+gNEkhfsxps+6uO950ugCysDjVG1oEg76qmh6QzHl3+THbvuTg/zvN/tIggv0fHUBy8qK+rNutKhUQgMxTUBpg55yTJoOC6KA/xLvG5hJS5/7hE47rdEv5xU16Q8o3XOyGWRoxDSqNi8ZsA9Y7uY7HsnWFrPzeu4n96885mv8TnoiLsjueL9YYPdsIvX+WWXD9p+dD92ISXfzcP7WkMos+5KrccpPL0cN5eVgsShtA09CbWffzcFl+KUXPx5kClHUxRJ7/+qkrPu9VfV8/8XNRpm8cnQqaf9A7FxMhd0AHqC0vwOVbOI8Sol8V6iRrSfDnwcsQV9iw02gcUIMYA==
|
270
|
+
Content-Type:
|
271
|
+
- application/json
|
272
|
+
Accept-Encoding:
|
273
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
274
|
+
Accept:
|
275
|
+
- '*/*'
|
276
|
+
User-Agent:
|
277
|
+
- Ruby
|
278
|
+
response:
|
279
|
+
status:
|
280
|
+
code: 200
|
281
|
+
message: OK
|
282
|
+
headers:
|
283
|
+
Cache-Control:
|
284
|
+
- private
|
285
|
+
Content-Type:
|
286
|
+
- application/json; charset=utf-8
|
287
|
+
Server:
|
288
|
+
- Microsoft-IIS/8.0
|
289
|
+
X-Aspnetmvc-Version:
|
290
|
+
- '2.0'
|
291
|
+
X-Aspnet-Version:
|
292
|
+
- 4.0.30319
|
293
|
+
X-Powered-By:
|
294
|
+
- ASP.NET
|
295
|
+
Date:
|
296
|
+
- Fri, 22 Mar 2013 10:41:55 GMT
|
297
|
+
Content-Length:
|
298
|
+
- '365'
|
299
|
+
body:
|
300
|
+
encoding: UTF-8
|
301
|
+
string: '{"Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true,"HasRegisteredMeansOfPayment":false,"IP":null,"Birthday":null,"Password":"Xu2fhFrHo4in4T8JGVumcQ9pDaSnoM","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226584,"Tag":"test","CreationDate":1363948916,"UpdateDate":1363948916}'
|
302
|
+
http_version:
|
303
|
+
recorded_at: Fri, 22 Mar 2013 10:41:57 GMT
|
304
|
+
- request:
|
305
|
+
method: post
|
306
|
+
uri: https://api-preprod.leetchi.com/v1/partner/example/contributions?ts=1363948917
|
307
|
+
body:
|
308
|
+
encoding: UTF-8
|
309
|
+
string: '{"Tag":"test_contribution","UserID":226584,"WalletID":0,"Amount":10000,"ReturnURL":"https://leetchi.com","BankAccountBIC":"AGRIFRPP879"}'
|
310
|
+
headers:
|
311
|
+
X-Leetchi-Signature:
|
312
|
+
- MVgnsrhwuuz9aG2Fi1NJEqfyuBmBd6Cfg88aEyCqw4gMme/3+DxptJ4Iwn5pK7Knc4N8bVn5nUpj2GoWFjk1ZZfzr5gGUG8SNWkB4IFIPoOIYrl6VNqOMF9mKUj/bAhs/93+heQHvnS9eWLAWVVmqKvCUA67yz2EHegqbeGq8HYONPmQlZ7Me422qsAJnWj17WsUrqT/YxJskoYDBibx66O52SGjHjgA+fBsPrCwVwKJ0Bl2l3RfaDODiZVhNG7RImYTcoQY8Q2NtwrRY0zBY0Cxe8VcLN1I3zXxdJoGIRiAsAvkmCkJ/Ao6qtUx75LxsVO/1wjmH1Ty3/x15Q0I2w==
|
313
|
+
Content-Type:
|
314
|
+
- application/json
|
315
|
+
Accept-Encoding:
|
316
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
317
|
+
Accept:
|
318
|
+
- '*/*'
|
319
|
+
User-Agent:
|
320
|
+
- Ruby
|
321
|
+
response:
|
322
|
+
status:
|
323
|
+
code: 200
|
324
|
+
message: OK
|
325
|
+
headers:
|
326
|
+
Cache-Control:
|
327
|
+
- private
|
328
|
+
Content-Type:
|
329
|
+
- application/json; charset=utf-8
|
330
|
+
Server:
|
331
|
+
- Microsoft-IIS/8.0
|
332
|
+
X-Aspnetmvc-Version:
|
333
|
+
- '2.0'
|
334
|
+
X-Aspnet-Version:
|
335
|
+
- 4.0.30319
|
336
|
+
X-Powered-By:
|
337
|
+
- ASP.NET
|
338
|
+
Date:
|
339
|
+
- Fri, 22 Mar 2013 10:41:57 GMT
|
340
|
+
Content-Length:
|
341
|
+
- '601'
|
342
|
+
body:
|
343
|
+
encoding: UTF-8
|
344
|
+
string: '{"UserID":226584,"WalletID":0,"Amount":10000,"ClientFeeAmount":0,"LeetchiFeeAmount":0,"IsSucceeded":false,"IsCompleted":false,"PaymentURL":"https://homologation-secure-p.payline.com/webpayment/step2.do?reqCode=prepareStep2&token=1mnfNvs5e76uc9FGelrb1363948916891","TemplateURL":null,"ReturnURL":"https://leetchi.com/?ContributionID=226585","RegisterMeanOfPayment":false,"Error":null,"PaymentCardID":0,"Culture":"fr","Type":"Payline","PaymentMethodType":"cb_visa_mastercard","AnswerCode":null,"AnswerMessage":null,"ID":226585,"Tag":"test_contribution","CreationDate":1363948916,"UpdateDate":1363948917}'
|
345
|
+
http_version:
|
346
|
+
recorded_at: Fri, 22 Mar 2013 10:41:58 GMT
|
347
|
+
- request:
|
348
|
+
method: post
|
349
|
+
uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363949144
|
350
|
+
body:
|
351
|
+
encoding: UTF-8
|
352
|
+
string: '{"Tag":"test","Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true}'
|
353
|
+
headers:
|
354
|
+
X-Leetchi-Signature:
|
355
|
+
- T+HOxE6AMhJkJhFmiMrR4wR8JA/85PmcoufPs4yEvhn7Nh5IFXCvYUT2Zw3nHwwND/ZMOFuAVBZMVAT6Uzv71SWzgfP6mnnLfJhaGTTj8K145RR7ARddjTPvL77uMssxpgYZaE3luCj0PW9FsPkCRQ1CWPc4Xceiw02RjAkdJOw5Wa+YgeQS3PGmFUBEJdAbtWEqDTsceG09zBmS8u9OVlgWZO4/5Ic59opgA8q+xtdyGQO7sx0xBPhIuRSCIgiYpD4fRwhHvqBNAw23yWFd/XiybDry7OMtnln/OJAeUBpcL/JXqoPzBc00gS7JaOA9ic9ZZSGakexKMs7HJhEXew==
|
356
|
+
Content-Type:
|
357
|
+
- application/json
|
358
|
+
Accept-Encoding:
|
359
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
360
|
+
Accept:
|
361
|
+
- '*/*'
|
362
|
+
User-Agent:
|
363
|
+
- Ruby
|
364
|
+
response:
|
365
|
+
status:
|
366
|
+
code: 200
|
367
|
+
message: OK
|
368
|
+
headers:
|
369
|
+
Cache-Control:
|
370
|
+
- private
|
371
|
+
Content-Type:
|
372
|
+
- application/json; charset=utf-8
|
373
|
+
Server:
|
374
|
+
- Microsoft-IIS/8.0
|
375
|
+
X-Aspnetmvc-Version:
|
376
|
+
- '2.0'
|
377
|
+
X-Aspnet-Version:
|
378
|
+
- 4.0.30319
|
379
|
+
X-Powered-By:
|
380
|
+
- ASP.NET
|
381
|
+
Date:
|
382
|
+
- Fri, 22 Mar 2013 10:45:44 GMT
|
383
|
+
Content-Length:
|
384
|
+
- '365'
|
385
|
+
body:
|
386
|
+
encoding: UTF-8
|
387
|
+
string: '{"Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true,"HasRegisteredMeansOfPayment":false,"IP":null,"Birthday":null,"Password":"AU2pwPVMbVMrV7RuAcpxHCUVMwAMqr","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226659,"Tag":"test","CreationDate":1363949144,"UpdateDate":1363949144}'
|
388
|
+
http_version:
|
389
|
+
recorded_at: Fri, 22 Mar 2013 10:45:45 GMT
|
390
|
+
- request:
|
391
|
+
method: post
|
392
|
+
uri: https://api-preprod.leetchi.com/v1/partner/example/contributions?ts=1363949145
|
393
|
+
body:
|
394
|
+
encoding: UTF-8
|
395
|
+
string: '{"Tag":"test_contribution","UserID":226659,"WalletID":0,"Amount":10000,"ReturnURL":"https://leetchi.com","BankAccountBIC":"AGRIFRPP879"}'
|
396
|
+
headers:
|
397
|
+
X-Leetchi-Signature:
|
398
|
+
- EdwP0+1tvwUvRWfiLNZYNYUneUVpMG1AhUZ+xdfAEbJ4mj/Gq2vEspdS5jPtubq5po9r1GPf+BewvcxxfMijmwvmD+k9GC5C4+SOOktXpGpzUC/Ma1AQPyk2PQuA+QJasdKh0mkHgAV4IMQieyDzoc8FBUzDG4gm4jmRRs388nXyXzqLbuA1RuGlHH2zbkYyXtF57MgAq3f+8jZ/vezdcYb5MXQhmHx6TjZU5c63rGfTb48OeG93t8NBdmrflQbz6+atmAR6O/4ZQHzKiD7zo03COa2trJUcw18xoRclR3zZMTj5HrZWIDPCzmaHjr8klHsba4fpJ0J0OLy0KRgJhw==
|
399
|
+
Content-Type:
|
400
|
+
- application/json
|
401
|
+
Accept-Encoding:
|
402
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
403
|
+
Accept:
|
404
|
+
- '*/*'
|
405
|
+
User-Agent:
|
406
|
+
- Ruby
|
407
|
+
response:
|
408
|
+
status:
|
409
|
+
code: 200
|
410
|
+
message: OK
|
411
|
+
headers:
|
412
|
+
Cache-Control:
|
413
|
+
- private
|
414
|
+
Content-Type:
|
415
|
+
- application/json; charset=utf-8
|
416
|
+
Server:
|
417
|
+
- Microsoft-IIS/8.0
|
418
|
+
X-Aspnetmvc-Version:
|
419
|
+
- '2.0'
|
420
|
+
X-Aspnet-Version:
|
421
|
+
- 4.0.30319
|
422
|
+
X-Powered-By:
|
423
|
+
- ASP.NET
|
424
|
+
Date:
|
425
|
+
- Fri, 22 Mar 2013 10:45:44 GMT
|
426
|
+
Content-Length:
|
427
|
+
- '601'
|
428
|
+
body:
|
429
|
+
encoding: UTF-8
|
430
|
+
string: '{"UserID":226659,"WalletID":0,"Amount":10000,"ClientFeeAmount":0,"LeetchiFeeAmount":0,"IsSucceeded":false,"IsCompleted":false,"PaymentURL":"https://homologation-secure-p.payline.com/webpayment/step2.do?reqCode=prepareStep2&token=1bUiLGZFD2JlJN239UZD1363949145134","TemplateURL":null,"ReturnURL":"https://leetchi.com/?ContributionID=226660","RegisterMeanOfPayment":false,"Error":null,"PaymentCardID":0,"Culture":"fr","Type":"Payline","PaymentMethodType":"cb_visa_mastercard","AnswerCode":null,"AnswerMessage":null,"ID":226660,"Tag":"test_contribution","CreationDate":1363949145,"UpdateDate":1363949145}'
|
431
|
+
http_version:
|
432
|
+
recorded_at: Fri, 22 Mar 2013 10:45:46 GMT
|
433
|
+
- request:
|
434
|
+
method: post
|
435
|
+
uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363949146
|
436
|
+
body:
|
437
|
+
encoding: UTF-8
|
438
|
+
string: '{"Tag":"test","Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true}'
|
439
|
+
headers:
|
440
|
+
X-Leetchi-Signature:
|
441
|
+
- O0gTUxiaDdV3uVI/ElnLj7SQWwuTS78n2AJ1IdO8XOIxKkQURIdkPtO4p7yEhwsDcvGUXDHVo7Pty6Muhde4SQVCJzjo/aHRyxCdY5WxP2uUCSWRa+xL8QcTIbqFcNyjfJBFDYzK6g28jAuo0wFhUcWTcKMbSteHTaLDREtqwPUHslftlSf1oU7Ucz5wkld80/DRCkT7e+ktqQ2TYruxoL8QuB7/EGcaHXs+6IE8Wy/pEdGBcTpZtz1gWIkr5jskY1lVAa0X2Zm3EkIvnfC+8xSKU2GMUqxU/8QllOMT1RC0Xu61RateRQBSvKML+KV2b1ORdnE7N8EUYkGCUGLMlA==
|
442
|
+
Content-Type:
|
443
|
+
- application/json
|
444
|
+
Accept-Encoding:
|
445
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
446
|
+
Accept:
|
447
|
+
- '*/*'
|
448
|
+
User-Agent:
|
449
|
+
- Ruby
|
450
|
+
response:
|
451
|
+
status:
|
452
|
+
code: 200
|
453
|
+
message: OK
|
454
|
+
headers:
|
455
|
+
Cache-Control:
|
456
|
+
- private
|
457
|
+
Content-Type:
|
458
|
+
- application/json; charset=utf-8
|
459
|
+
Server:
|
460
|
+
- Microsoft-IIS/8.0
|
461
|
+
X-Aspnetmvc-Version:
|
462
|
+
- '2.0'
|
463
|
+
X-Aspnet-Version:
|
464
|
+
- 4.0.30319
|
465
|
+
X-Powered-By:
|
466
|
+
- ASP.NET
|
467
|
+
Date:
|
468
|
+
- Fri, 22 Mar 2013 10:45:46 GMT
|
469
|
+
Content-Length:
|
470
|
+
- '365'
|
471
|
+
body:
|
472
|
+
encoding: UTF-8
|
473
|
+
string: '{"Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true,"HasRegisteredMeansOfPayment":false,"IP":null,"Birthday":null,"Password":"pOdQF7fk3Ww6w8whz9GGCYNwA7agOa","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226661,"Tag":"test","CreationDate":1363949146,"UpdateDate":1363949146}'
|
474
|
+
http_version:
|
475
|
+
recorded_at: Fri, 22 Mar 2013 10:45:47 GMT
|
476
|
+
- request:
|
477
|
+
method: post
|
478
|
+
uri: https://api-preprod.leetchi.com/v1/partner/example/contributions?ts=1363949147
|
479
|
+
body:
|
480
|
+
encoding: UTF-8
|
481
|
+
string: '{"Tag":"test_contribution","UserID":226661,"WalletID":0,"Amount":10000,"ReturnURL":"https://leetchi.com","BankAccountBIC":"AGRIFRPP879"}'
|
482
|
+
headers:
|
483
|
+
X-Leetchi-Signature:
|
484
|
+
- Ia35vn/aKfP7r/nnpPhyv6xEUHajGK/USVmV5SmjOj1Zgfq9GyypPpBBqa96fx4Y9V+jb2KUJ4Ct/HezcD3tivyzB6jhK9hE4CpfEY3QW0ieXV2loinqCwGa8cC/pzvKygFWLa5X5ytKGn+GZFLf3nEDnKRpemlKyr0isS9/8fcxW5Api2B5CMgLwc5fzY+zUZNUuRy3SoVTHmy8u+XLzhQM6/7vPruxyFXXGSfI2x4C6PZNZYJ8nCR8N6mdxURmfyOYoaxTSTICK5RZrcEvl3RXyEowZnUO+6zJG2MOtao9ebvMCLghj85f/aWZlxUqAwUAy3Rv2dlmEi7vAsTPXg==
|
485
|
+
Content-Type:
|
486
|
+
- application/json
|
487
|
+
Accept-Encoding:
|
488
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
489
|
+
Accept:
|
490
|
+
- '*/*'
|
491
|
+
User-Agent:
|
492
|
+
- Ruby
|
493
|
+
response:
|
494
|
+
status:
|
495
|
+
code: 200
|
496
|
+
message: OK
|
497
|
+
headers:
|
498
|
+
Cache-Control:
|
499
|
+
- private
|
500
|
+
Content-Type:
|
501
|
+
- application/json; charset=utf-8
|
502
|
+
Server:
|
503
|
+
- Microsoft-IIS/8.0
|
504
|
+
X-Aspnetmvc-Version:
|
505
|
+
- '2.0'
|
506
|
+
X-Aspnet-Version:
|
507
|
+
- 4.0.30319
|
508
|
+
X-Powered-By:
|
509
|
+
- ASP.NET
|
510
|
+
Date:
|
511
|
+
- Fri, 22 Mar 2013 10:45:46 GMT
|
512
|
+
Content-Length:
|
513
|
+
- '601'
|
514
|
+
body:
|
515
|
+
encoding: UTF-8
|
516
|
+
string: '{"UserID":226661,"WalletID":0,"Amount":10000,"ClientFeeAmount":0,"LeetchiFeeAmount":0,"IsSucceeded":false,"IsCompleted":false,"PaymentURL":"https://homologation-secure-p.payline.com/webpayment/step2.do?reqCode=prepareStep2&token=1ntFXYycoMNADxRHIdWe1363949146947","TemplateURL":null,"ReturnURL":"https://leetchi.com/?ContributionID=226662","RegisterMeanOfPayment":false,"Error":null,"PaymentCardID":0,"Culture":"fr","Type":"Payline","PaymentMethodType":"cb_visa_mastercard","AnswerCode":null,"AnswerMessage":null,"ID":226662,"Tag":"test_contribution","CreationDate":1363949146,"UpdateDate":1363949147}'
|
517
|
+
http_version:
|
518
|
+
recorded_at: Fri, 22 Mar 2013 10:45:48 GMT
|
519
|
+
- request:
|
520
|
+
method: post
|
521
|
+
uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363949148
|
522
|
+
body:
|
523
|
+
encoding: UTF-8
|
524
|
+
string: '{"Tag":"test","Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true}'
|
525
|
+
headers:
|
526
|
+
X-Leetchi-Signature:
|
527
|
+
- Fpn3tyGYk/DjS97as4AB2xeglhHhGMynY+d86R0D9uoWqmgl5uyH6I9xCKhKB7pgNA9g94b6ymzyaphJSsh8zig8RB9QBF/JUjIqCsoD32lNqPAqjgkWkLoG/vI9Fz2oNDbGaSyIB7pc1szyBSRbe5wxJNQYXnTY8Op0HYhh7XmqCeA6IgUAyRAoNt7fSU9FsLSML8OAKS9ISXBpDq0P5VkgYsNRHcD5SouLPnL7m6gMNLps3GhSDwe/bMQdB8WZwFYabWz2WjpkWVhGHdDyrfVabYQmSSfYxYbbBbrQn3cVSXB19cNSNnaCkiMy4UO0JtcT92kTey4sS6k7U2wyTg==
|
528
|
+
Content-Type:
|
529
|
+
- application/json
|
530
|
+
Accept-Encoding:
|
531
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
532
|
+
Accept:
|
533
|
+
- '*/*'
|
534
|
+
User-Agent:
|
535
|
+
- Ruby
|
536
|
+
response:
|
537
|
+
status:
|
538
|
+
code: 200
|
539
|
+
message: OK
|
540
|
+
headers:
|
541
|
+
Cache-Control:
|
542
|
+
- private
|
543
|
+
Content-Type:
|
544
|
+
- application/json; charset=utf-8
|
545
|
+
Server:
|
546
|
+
- Microsoft-IIS/8.0
|
547
|
+
X-Aspnetmvc-Version:
|
548
|
+
- '2.0'
|
549
|
+
X-Aspnet-Version:
|
550
|
+
- 4.0.30319
|
551
|
+
X-Powered-By:
|
552
|
+
- ASP.NET
|
553
|
+
Date:
|
554
|
+
- Fri, 22 Mar 2013 10:45:47 GMT
|
555
|
+
Content-Length:
|
556
|
+
- '365'
|
557
|
+
body:
|
558
|
+
encoding: UTF-8
|
559
|
+
string: '{"Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true,"HasRegisteredMeansOfPayment":false,"IP":null,"Birthday":null,"Password":"pivVF8nfBTopiDaLgWzD6AeUYBaRqH","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226663,"Tag":"test","CreationDate":1363949147,"UpdateDate":1363949147}'
|
560
|
+
http_version:
|
561
|
+
recorded_at: Fri, 22 Mar 2013 10:45:48 GMT
|
562
|
+
- request:
|
563
|
+
method: post
|
564
|
+
uri: https://api-preprod.leetchi.com/v1/partner/example/contributions?ts=1363949148
|
565
|
+
body:
|
566
|
+
encoding: UTF-8
|
567
|
+
string: '{"Tag":"test_contribution","UserID":226663,"WalletID":0,"Amount":10000,"ReturnURL":"https://leetchi.com","BankAccountBIC":"AGRIFRPP879"}'
|
568
|
+
headers:
|
569
|
+
X-Leetchi-Signature:
|
570
|
+
- YvVQ2L7KdOzypCvQ5DH0J1ZHAKQigaj+o+AiCIeCp6doGkdgu9rFwNmmXck41Ro3CaAxvPyDd7XlJzMoCLHWu9PUGAmxgaBn1bcjhv6PntxU1uV9ZsBOfAxHLFvzAYyvyV50yaq0LSkZ9cgHz10GOlHzqMvwamgq5OK/2xUNn6N9GKQRBFCjRE8hsQpu+QsT7M7DR3kzX1/WPMdei3bhN6GUZJGICx7cr/FDvPDqGKXEyHdu0hj6IUgWukCDMlMQq4FN+7LxcT1Gcn5DhHm7CW88rW6BJ6KMYz09fPEdhNcWfjfB0q7qQQOL7Nn8rfnLm122RcjW5/lAHSPUpa47yA==
|
571
|
+
Content-Type:
|
572
|
+
- application/json
|
573
|
+
Accept-Encoding:
|
574
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
575
|
+
Accept:
|
576
|
+
- '*/*'
|
577
|
+
User-Agent:
|
578
|
+
- Ruby
|
579
|
+
response:
|
580
|
+
status:
|
581
|
+
code: 200
|
582
|
+
message: OK
|
583
|
+
headers:
|
584
|
+
Cache-Control:
|
585
|
+
- private
|
586
|
+
Content-Type:
|
587
|
+
- application/json; charset=utf-8
|
588
|
+
Server:
|
589
|
+
- Microsoft-IIS/8.0
|
590
|
+
X-Aspnetmvc-Version:
|
591
|
+
- '2.0'
|
592
|
+
X-Aspnet-Version:
|
593
|
+
- 4.0.30319
|
594
|
+
X-Powered-By:
|
595
|
+
- ASP.NET
|
596
|
+
Date:
|
597
|
+
- Fri, 22 Mar 2013 10:45:47 GMT
|
598
|
+
Content-Length:
|
599
|
+
- '601'
|
600
|
+
body:
|
601
|
+
encoding: UTF-8
|
602
|
+
string: '{"UserID":226663,"WalletID":0,"Amount":10000,"ClientFeeAmount":0,"LeetchiFeeAmount":0,"IsSucceeded":false,"IsCompleted":false,"PaymentURL":"https://homologation-secure-p.payline.com/webpayment/step2.do?reqCode=prepareStep2&token=163HEo8DdWSfBVUE6hq61363949148357","TemplateURL":null,"ReturnURL":"https://leetchi.com/?ContributionID=226664","RegisterMeanOfPayment":false,"Error":null,"PaymentCardID":0,"Culture":"fr","Type":"Payline","PaymentMethodType":"cb_visa_mastercard","AnswerCode":null,"AnswerMessage":null,"ID":226664,"Tag":"test_contribution","CreationDate":1363949148,"UpdateDate":1363949148}'
|
603
|
+
http_version:
|
604
|
+
recorded_at: Fri, 22 Mar 2013 10:45:49 GMT
|
605
|
+
- request:
|
606
|
+
method: post
|
607
|
+
uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363949149
|
608
|
+
body:
|
609
|
+
encoding: UTF-8
|
610
|
+
string: '{"Tag":"test","Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true}'
|
611
|
+
headers:
|
612
|
+
X-Leetchi-Signature:
|
613
|
+
- dJB25w91WhBUlThRfdyI9MehyvUE39c1m4z0GgKWWHC/GJDtf+ocpE8x7jCSdxPYIyvQO6tIu0dyOUEV7XqkW73MPyfJYxN3IGc0nWwRZv5jnq4N7o8zVm3lXY+OfilnVWCDh9zqW9gQB/UDbhjMQ0HQNlfkvrlHgb0yfgIUIsuibdLq2ZwLXZp+hdxNsBALB+j4EX9PPqqNN1PY7sYAANkSYnzCvO2MHMTSNpZyqNW7nKvWepv+BfaaVBUekJ8sEFHfMrtDLNdIwUirVUoUo5ZvJ2q0V46CphWO4kPgsSySxlG0ZvegkG+p8UimCTITTn9WWkWEIqzm2c5mR5CH6Q==
|
614
|
+
Content-Type:
|
615
|
+
- application/json
|
616
|
+
Accept-Encoding:
|
617
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
618
|
+
Accept:
|
619
|
+
- '*/*'
|
620
|
+
User-Agent:
|
621
|
+
- Ruby
|
622
|
+
response:
|
623
|
+
status:
|
624
|
+
code: 200
|
625
|
+
message: OK
|
626
|
+
headers:
|
627
|
+
Cache-Control:
|
628
|
+
- private
|
629
|
+
Content-Type:
|
630
|
+
- application/json; charset=utf-8
|
631
|
+
Server:
|
632
|
+
- Microsoft-IIS/8.0
|
633
|
+
X-Aspnetmvc-Version:
|
634
|
+
- '2.0'
|
635
|
+
X-Aspnet-Version:
|
636
|
+
- 4.0.30319
|
637
|
+
X-Powered-By:
|
638
|
+
- ASP.NET
|
639
|
+
Date:
|
640
|
+
- Fri, 22 Mar 2013 10:45:49 GMT
|
641
|
+
Content-Length:
|
642
|
+
- '365'
|
643
|
+
body:
|
644
|
+
encoding: UTF-8
|
645
|
+
string: '{"Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true,"HasRegisteredMeansOfPayment":false,"IP":null,"Birthday":null,"Password":"78G3GnMMCx5uJYsoPjvZ1pSjdZeM6e","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226665,"Tag":"test","CreationDate":1363949149,"UpdateDate":1363949149}'
|
646
|
+
http_version:
|
647
|
+
recorded_at: Fri, 22 Mar 2013 10:45:50 GMT
|
648
|
+
- request:
|
649
|
+
method: post
|
650
|
+
uri: https://api-preprod.leetchi.com/v1/partner/example/contributions?ts=1363949150
|
651
|
+
body:
|
652
|
+
encoding: UTF-8
|
653
|
+
string: '{"Tag":"test_contribution","UserID":226665,"WalletID":0,"Amount":10000,"ReturnURL":"https://leetchi.com","BankAccountBIC":"AGRIFRPP879"}'
|
654
|
+
headers:
|
655
|
+
X-Leetchi-Signature:
|
656
|
+
- H3pGMWdurwx6dZbUEDDB6rZZfUK4f06/dxGhR4ocPo7H/cXDNRanyORNpVEbUzRNx0T7GWQlYH+M+ml4Z+Sgw7TKc2RrOOue+mGp+Kt8DmbfXqxFjIrKybHqZewiTGni/tZzfYPEiltRpsadflAu9y3k9xjLh7oEkvr03B8SW5Ab94BvbmGSC1lUeuXPppNjXt4bLPXzYIxet8mBZDc4Dn6PafKVauRRfIyYR4bz0CS55z8ildW40aJ6WV1jpSj9dtOW/6kMQbmsGfq+5Bqfmmsd1dVPbHzegYlF7c+I5RlG8Q75/60L2a6A05RBv3HO0RiN0ecC6grk56/++qXCkQ==
|
657
|
+
Content-Type:
|
658
|
+
- application/json
|
659
|
+
Accept-Encoding:
|
660
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
661
|
+
Accept:
|
662
|
+
- '*/*'
|
663
|
+
User-Agent:
|
664
|
+
- Ruby
|
665
|
+
response:
|
666
|
+
status:
|
667
|
+
code: 200
|
668
|
+
message: OK
|
669
|
+
headers:
|
670
|
+
Cache-Control:
|
671
|
+
- private
|
672
|
+
Content-Type:
|
673
|
+
- application/json; charset=utf-8
|
674
|
+
Server:
|
675
|
+
- Microsoft-IIS/8.0
|
676
|
+
X-Aspnetmvc-Version:
|
677
|
+
- '2.0'
|
678
|
+
X-Aspnet-Version:
|
679
|
+
- 4.0.30319
|
680
|
+
X-Powered-By:
|
681
|
+
- ASP.NET
|
682
|
+
Date:
|
683
|
+
- Fri, 22 Mar 2013 10:45:49 GMT
|
684
|
+
Content-Length:
|
685
|
+
- '601'
|
686
|
+
body:
|
687
|
+
encoding: UTF-8
|
688
|
+
string: '{"UserID":226665,"WalletID":0,"Amount":10000,"ClientFeeAmount":0,"LeetchiFeeAmount":0,"IsSucceeded":false,"IsCompleted":false,"PaymentURL":"https://homologation-secure-p.payline.com/webpayment/step2.do?reqCode=prepareStep2&token=1mzS2k5e8f6GEI0yPmAC1363949149751","TemplateURL":null,"ReturnURL":"https://leetchi.com/?ContributionID=226666","RegisterMeanOfPayment":false,"Error":null,"PaymentCardID":0,"Culture":"fr","Type":"Payline","PaymentMethodType":"cb_visa_mastercard","AnswerCode":null,"AnswerMessage":null,"ID":226666,"Tag":"test_contribution","CreationDate":1363949149,"UpdateDate":1363949150}'
|
689
|
+
http_version:
|
690
|
+
recorded_at: Fri, 22 Mar 2013 10:45:50 GMT
|
691
|
+
recorded_with: VCR 2.4.0
|