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.
Files changed (52) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +1 -11
  3. data/Gemfile.lock +27 -18
  4. data/README.md +3 -3
  5. data/Rakefile +3 -6
  6. data/lib/leetchi/beneficiary.rb +0 -1
  7. data/lib/leetchi/expense.rb +2 -2
  8. data/lib/leetchi/recurrent_contribution.rb +24 -0
  9. data/lib/leetchi/ressource.rb +24 -3
  10. data/lib/leetchi/strong_authentication.rb +13 -0
  11. data/lib/leetchi/withdrawal.rb +0 -1
  12. data/lib/leetchi/withdrawal_contribution.rb +32 -0
  13. data/lib/leetchi-wallet-services.rb +2 -2
  14. data/spec/cassettes/card.yml +1381 -0
  15. data/spec/cassettes/contribution.yml +691 -0
  16. data/spec/cassettes/expense.yml +89 -0
  17. data/spec/cassettes/operation.yml +89 -0
  18. data/spec/cassettes/transfer.yml +347 -0
  19. data/spec/cassettes/user.yml +1262 -0
  20. data/spec/cassettes/wallet.yml +863 -0
  21. data/spec/cassettes/withdrawal.yml +433 -0
  22. data/spec/lib/leetchi/beneficiary_spec.rb +26 -32
  23. data/spec/lib/leetchi/card_spec.rb +8 -14
  24. data/spec/lib/leetchi/contribution_spec.rb +11 -17
  25. data/spec/lib/leetchi/expense_spec.rb +0 -7
  26. data/spec/lib/leetchi/operation_spec.rb +0 -6
  27. data/spec/lib/leetchi/recurrent_contribution_spec.rb +48 -41
  28. data/spec/lib/leetchi/ressource_spec.rb +1 -3
  29. data/spec/lib/leetchi/strong_authentication_spec.rb +50 -10
  30. data/spec/lib/leetchi/transfer_spec.rb +9 -14
  31. data/spec/lib/leetchi/user_spec.rb +27 -34
  32. data/spec/lib/leetchi/wallet_spec.rb +16 -22
  33. data/spec/lib/leetchi/withdrawal_contribution_spec.rb +44 -0
  34. data/spec/lib/leetchi/withdrawal_spec.rb +13 -19
  35. data/spec/spec_helper.rb +60 -24
  36. data/spec/support-files/test_upload.gif +0 -0
  37. data/spec/support-files/test_upload.jpg +0 -0
  38. data/spec/support-files/test_upload.pdf +0 -0
  39. data/spec/support-files/test_upload.png +0 -0
  40. metadata +150 -170
  41. data/spec/fixtures/leetchi_cassettes/beneficiary.yml +0 -40500
  42. data/spec/fixtures/leetchi_cassettes/card.yml +0 -15985
  43. data/spec/fixtures/leetchi_cassettes/contribution.yml +0 -35737
  44. data/spec/fixtures/leetchi_cassettes/expense-site.yml +0 -45
  45. data/spec/fixtures/leetchi_cassettes/expense.yml +0 -495
  46. data/spec/fixtures/leetchi_cassettes/operation.yml +0 -495
  47. data/spec/fixtures/leetchi_cassettes/recurrent_contribution.yml +0 -2060
  48. data/spec/fixtures/leetchi_cassettes/strong_authentication.yml +0 -577
  49. data/spec/fixtures/leetchi_cassettes/transfer.yml +0 -31387
  50. data/spec/fixtures/leetchi_cassettes/user.yml +0 -44428
  51. data/spec/fixtures/leetchi_cassettes/wallet.yml +0 -35099
  52. data/spec/fixtures/leetchi_cassettes/withdrawal.yml +0 -20722
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0de007500af0f5763cfbe6c1f6b50c60a87b1dc1
4
+ data.tar.gz: 0393c0eaeecba93962af1452887b73f515773a11
5
+ SHA512:
6
+ metadata.gz: 07c054c940a12e30f00194c74d53ad50cb6184f2c1393f3e67585a192bbeb46513c1a93a14188006f841ed6224e961c2a538976020538e0eff0dc78db316d3b0
7
+ data.tar.gz: b7ff57a30dbf605450d26dd46968b6604bcf59118582b087d0d901e796693ca170397a8decb5ccbf4c18489882cc0c901c9e9e1c1fd8e11019e14952ef03ba7f
data/Gemfile CHANGED
@@ -1,13 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'json', '~> 1.7.7'
4
-
5
- group :test do
6
- gem 'minitest', '~> 4.6.1'
7
- gem 'webmock', '~> 1.9.3'
8
- gem 'capybara', '~> 2.0.2'
9
- gem 'poltergeist', '~> 1.1.0'
10
- gem 'vcr', '~> 2.4.0'
11
- gem 'turn', '~> 0.9.6'
12
- gem 'rake', '~> 10.0.3'
13
- end
3
+ gemspec
data/Gemfile.lock CHANGED
@@ -1,8 +1,14 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ leetchi-wallet-services (1.1.0)
5
+ json (~> 1.7.7)
6
+ multipart-post (~> 1.2.0)
7
+
1
8
  GEM
2
9
  remote: https://rubygems.org/
3
10
  specs:
4
11
  addressable (2.3.3)
5
- ansi (1.4.3)
6
12
  capybara (2.0.2)
7
13
  mime-types (>= 1.16)
8
14
  nokogiri (>= 1.3.3)
@@ -10,37 +16,40 @@ GEM
10
16
  rack-test (>= 0.5.4)
11
17
  selenium-webdriver (~> 2.0)
12
18
  xpath (~> 1.0.0)
19
+ capybara-webkit (0.14.2)
20
+ capybara (~> 2.0, >= 2.0.2)
21
+ json
13
22
  childprocess (0.3.8)
14
23
  ffi (~> 1.0, >= 1.0.11)
15
24
  crack (0.3.2)
16
- eventmachine (1.0.0)
17
- faye-websocket (0.4.7)
18
- eventmachine (>= 0.12.0)
25
+ diff-lcs (1.2.1)
19
26
  ffi (1.4.0)
20
- http_parser.rb (0.5.3)
21
27
  json (1.7.7)
22
28
  mime-types (1.21)
23
- minitest (4.6.1)
24
29
  multi_json (1.6.1)
30
+ multipart-post (1.2.0)
25
31
  nokogiri (1.5.6)
26
- poltergeist (1.1.0)
27
- capybara (~> 2.0, >= 2.0.1)
28
- faye-websocket (~> 0.4, >= 0.4.4)
29
- http_parser.rb (~> 0.5.3)
30
32
  rack (1.5.2)
31
33
  rack-test (0.6.2)
32
34
  rack (>= 1.0)
33
35
  rake (10.0.3)
36
+ rspec (2.13.0)
37
+ rspec-core (~> 2.13.0)
38
+ rspec-expectations (~> 2.13.0)
39
+ rspec-mocks (~> 2.13.0)
40
+ rspec-core (2.13.1)
41
+ rspec-expectations (2.13.0)
42
+ diff-lcs (>= 1.1.3, < 2.0)
43
+ rspec-mocks (2.13.0)
34
44
  rubyzip (0.9.9)
35
45
  selenium-webdriver (2.30.0)
36
46
  childprocess (>= 0.2.5)
37
47
  multi_json (~> 1.0)
38
48
  rubyzip
39
49
  websocket (~> 1.0.4)
40
- turn (0.9.6)
41
- ansi
50
+ spork (0.9.2)
42
51
  vcr (2.4.0)
43
- webmock (1.9.3)
52
+ webmock (1.11.0)
44
53
  addressable (>= 2.2.7)
45
54
  crack (>= 0.3.2)
46
55
  websocket (1.0.7)
@@ -52,10 +61,10 @@ PLATFORMS
52
61
 
53
62
  DEPENDENCIES
54
63
  capybara (~> 2.0.2)
55
- json (~> 1.7.7)
56
- minitest (~> 4.6.1)
57
- poltergeist (~> 1.1.0)
64
+ capybara-webkit (~> 0.14.2)
65
+ leetchi-wallet-services!
58
66
  rake (~> 10.0.3)
59
- turn (~> 0.9.6)
67
+ rspec (~> 2.13.0)
68
+ spork (~> 0.9.2)
60
69
  vcr (~> 2.4.0)
61
- webmock (~> 1.9.3)
70
+ webmock (~> 1.11.0)
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # leetchi-api-ruby-sdk
2
2
 
3
3
  The gem for interacting with Leetchi API.
4
- See the [API documentation](http://doc.api.leetchi.com/) for more details on the API.
4
+ See the [API documentation](http://www.mangopay.com/api-references/) for more details on the API.
5
5
 
6
- Tested on the following versions of Ruby: 1.9.2, 1.9.3
6
+ Tested on the following versions of Ruby: 1.9.2, 1.9.3, 2.0.0
7
7
 
8
8
  ## Code Status
9
9
  [![Build Status](https://travis-ci.org/Leetchi/leetchi-api-ruby-sdk.png?branch=master)](https://travis-ci.org/Leetchi/leetchi-api-ruby-sdk)
@@ -35,7 +35,7 @@ You can now call the Leetchi.configure method like this:
35
35
 
36
36
  ```ruby
37
37
  Leetchi.configure do |c|
38
- c.preproduction = true
38
+ c.preproduction = true
39
39
  c.partner_id = 'example'
40
40
  c.key_path = './spec/support-files/example.pem'
41
41
  c.key_password = ''
data/Rakefile CHANGED
@@ -1,8 +1,5 @@
1
- require 'rake/testtask'
1
+ require 'rspec/core/rake_task'
2
2
 
3
- Rake::TestTask.new do |t|
4
- t.test_files = FileList['spec/lib/leetchi/*_spec.rb']
5
- t.verbose = true
6
- end
3
+ RSpec::Core::RakeTask.new(:spec)
7
4
 
8
- task :default => :test
5
+ task :default => :spec
@@ -68,6 +68,5 @@ module Leetchi
68
68
  def self.update_strong_authentication(beneficiary_id, data)
69
69
  put_request(File.join('beneficiaries', beneficiary_id.to_s, 'strongAuthentication'), data)
70
70
  end
71
-
72
71
  end
73
72
  end
@@ -1,6 +1,6 @@
1
1
  module Leetchi
2
- # In order to make an expense you need to get a list of expense sites and then redirect a user to ExpenseURL.
3
- # When the user selects a product and pays, you will be notified about an expense through the notification mechanism.
2
+ # In order to make an expense you need to get a list of expense sites and then redirect a user to ExpenseURL.
3
+ # When the user selects a product and pays, you will be notified about an expense through the notification mechanism.
4
4
  class Expense < Leetchi::Ressource
5
5
 
6
6
  # Get an expense
@@ -34,5 +34,29 @@ module Leetchi
34
34
  def self.get(recurrent_contributions_id)
35
35
  get_request(File.join('recurrent-contributions', recurrent_contributions_id.to_s))
36
36
  end
37
+
38
+ # Update a recurrent contribution
39
+ #
40
+ # * *Args* :
41
+ # - +data+ -> A JSON with the following attributes (Square brackets for optionals):
42
+ # * IsEnabled
43
+ # * [Tag]
44
+ # * *Returns* :
45
+ # - A recurrent contribution object
46
+ #
47
+ def self.update(recurrent_contributions_id, data)
48
+ put_request(File.join('recurrent-contributions', recurrent_contributions_id.to_s), data)
49
+ end
50
+
51
+ # Fetch the list of a recurrent contribution executions
52
+ #
53
+ # * *Args* :
54
+ # - +recurrent_contributions_id+ -> The id of the recurrent contribution you want to retrieve operations from
55
+ # * *Returns* :
56
+ # - An array of payment execution
57
+ #
58
+ def self.get_executions(recurrent_contributions_id)
59
+ get_request(File.join('recurrent-contributions', recurrent_contributions_id.to_s, 'executions'))
60
+ end
37
61
  end
38
62
  end
@@ -1,7 +1,7 @@
1
1
  module Leetchi
2
2
  class Ressource
3
3
 
4
- protected
4
+ protected
5
5
 
6
6
  def self.post_request(route, data)
7
7
  request('POST', route, data)
@@ -19,7 +19,18 @@ module Leetchi
19
19
  request('DELETE', route)
20
20
  end
21
21
 
22
- private
22
+ def self.form_request(upload_url, file_name, file_path)
23
+ url = URI(upload_url)
24
+ File.open(file_path) do |file|
25
+ req = Net::HTTP::Post::Multipart.new(url, :file => UploadIO.new(file_path, file_type(file_path)), :name => file_name)
26
+ res = Net::HTTP.start(url.host, url.port, :use_ssl => url.scheme == 'https') do |http|
27
+ http.request(req)
28
+ end
29
+ res.code == "200" ? true : false
30
+ end
31
+ end
32
+
33
+ private
23
34
 
24
35
  def self.request(method, route, data=nil, options=nil)
25
36
  path = path_for(route, options)
@@ -41,7 +52,7 @@ module Leetchi
41
52
  end
42
53
  begin
43
54
  JSON.parse(res.body)
44
- rescue JSON::ParserError => e
55
+ rescue JSON::ParserError
45
56
  res.body.is_a?(String) ? res.body : {' ErrorCode' => -1 }
46
57
  end
47
58
  end
@@ -70,6 +81,16 @@ module Leetchi
70
81
  { 'X-Leetchi-Signature' => signature_for(method, path, data), 'Content-Type' => 'application/json' }
71
82
  end
72
83
 
84
+ def self.file_type(file_path)
85
+ file_types = {
86
+ 'jpg' => 'image/jpeg',
87
+ 'jpeg' => 'image/jpeg',
88
+ 'gif' => 'image/gif',
89
+ 'png' => 'image/png',
90
+ 'pdf' => 'image/pdf'
91
+ }
92
+ file_types[file_path.to_s]
93
+ end
73
94
  end
74
95
  end
75
96
 
@@ -11,5 +11,18 @@ module Leetchi
11
11
  def self.get
12
12
  get_request(File.join('strongAuthentication'))
13
13
  end
14
+
15
+ # Upload your Strong Authentication required files using the Leetchi API
16
+ #
17
+ # * *Args* :
18
+ # - +upload_url+ -> The url to where the StrongAuthentication documents need to be uploaded
19
+ # - +file_path+ -> Local path to the file
20
+ # * *Returns* :
21
+ # - true if the request is done
22
+ # - false if the request failed
23
+ #
24
+ def self.upload(upload_url, file_path)
25
+ form_request(upload_url, "StrongValidationDto.Picture", file_path)
26
+ end
14
27
  end
15
28
  end
@@ -36,6 +36,5 @@ module Leetchi
36
36
  def self.details(withdrawal_id)
37
37
  get_request(File.join('withdrawals', withdrawal_id.to_s))
38
38
  end
39
-
40
39
  end
41
40
  end
@@ -0,0 +1,32 @@
1
+ module Leetchi
2
+
3
+ class WithdrawalContribution < Leetchi::Ressource
4
+
5
+ # Create a withdrawal contribution
6
+ #
7
+ # * *Args* :
8
+ # - +data+ -> A JSON with the following attributes (Square brackets for optionals):
9
+ # * [Tag]
10
+ # * UserID
11
+ # * WalletID
12
+ # * AmountDeclared
13
+ # * *Returns* :
14
+ # - A withdrawal contribution object
15
+ #
16
+ def self.create(data)
17
+ post_request('contributions-by-withdrawal', data)
18
+ end
19
+
20
+
21
+ # Get a withdrawal contribution
22
+ #
23
+ # * *Args* :
24
+ # - +withdrawal_contribution_id+ -> The id of the withdrawal contribution you want to retrieve
25
+ # * *Returns* :
26
+ # - A withdrawal contribution object
27
+ #
28
+ def self.get(withdrawal_contribution_id)
29
+ get_request(File.join('contributions-by-withdrawal', withdrawal_contribution_id.to_s))
30
+ end
31
+ end
32
+ end
@@ -4,12 +4,14 @@ module Leetchi
4
4
  require 'base64'
5
5
  require 'openssl'
6
6
  require 'net/http'
7
+ require 'net/http/post/multipart'
7
8
 
8
9
  require 'leetchi/ressource'
9
10
  require 'leetchi/user'
10
11
  require 'leetchi/wallet'
11
12
  require 'leetchi/card'
12
13
  require 'leetchi/contribution'
14
+ require 'leetchi/withdrawal_contribution'
13
15
  require 'leetchi/transfer'
14
16
  require 'leetchi/beneficiary'
15
17
  require 'leetchi/withdrawal'
@@ -29,7 +31,6 @@ module Leetchi
29
31
  def base_url
30
32
  @base_url || (@preproduction == true ? "https://api-preprod.leetchi.com" : "https://api.leetchi.com")
31
33
  end
32
-
33
34
  end
34
35
 
35
36
  class << self
@@ -40,5 +41,4 @@ module Leetchi
40
41
  self.configuration ||= Configuration.new
41
42
  yield configuration
42
43
  end
43
-
44
44
  end
@@ -0,0 +1,1381 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363948908
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
+ - GT4Hhba+HKOtuNj7P/dCKTX1ZNy1PoIaWhJc3sk8hKIEEUO98QN3UADYpHPisqupBS9N7NpB5NS6AO9ODRJQnG++1RjenRx5WZAztLOia8JmEdl055botZtX8OuRtyP+k651gHk9ElmSoE2KNgwpIwd0iiqs73Y6nwFXUVLrMJRDV+0LIpwBCt3r3HCYwp6aGa9mBqYy7jubuZSbf5C+3+qxP+wKtj6XEd62eawy19R0bqB4XoVuO5ruS5XL0KIib11jEQupoQj/Q2ILE9L+Cn6NVojSh9Gbr9Jl7fOsJ/GHa0nG94WRbIxHHUo2gc6yl1YP7i2LqVKVGJQ6R7OMAA==
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:47 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":"F4veQaFQEZzbXcDo7asB5yGt1kPXjR","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226572,"Tag":"test","CreationDate":1363948907,"UpdateDate":1363948907}'
44
+ http_version:
45
+ recorded_at: Fri, 22 Mar 2013 10:41:48 GMT
46
+ - request:
47
+ method: post
48
+ uri: https://api-preprod.leetchi.com/v1/partner/example/cards?ts=1363948908
49
+ body:
50
+ encoding: UTF-8
51
+ string: '{"Tag":"test-card","OwnerID":226572,"ReturnURL":"http://leetchi.com"}'
52
+ headers:
53
+ X-Leetchi-Signature:
54
+ - g2HGXw+cEsoAXgxKrWL5D7pBxNfZxxrnin5Kv7t9xqycyAC57ibB/UPo4YQ8PjSUewqxSyeUtuW0RX+LnK2TQntdHmRJF3/FQIxckYJy2LabnDbjuMyVAZPW3mA6C3y2b7iPtxcFYdjrRBRHMOcCKdeMpiX4AarmvTtpZsyLhYP4adAfSEM0dkjAR0raDZ2qHzKKggJ0NrQSIqe0OyznUmTzInjQkis/87xrkE1rElMZcpysAS29azLXG9IM2pcwlNDBe+t23fJF5tn6udaLUotWNnH2t7rAqXvKJaWkg6+ygW0AhAniyuwIS+8MlzIDfq1XHIDlhyruUK4z/zDEzQ==
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:47 GMT
82
+ Content-Length:
83
+ - '333'
84
+ body:
85
+ encoding: UTF-8
86
+ string: '{"OwnerID":226572,"CardNumber":null,"RedirectURL":"https://homologation-secure-p.payline.com/webpayment/step1.do?reqCode=prepareStep1&token=1SaDoNAUbvzfVGmAseYC1363948908075","TemplateURL":null,"ReturnURL":"http://leetchi.com/?PaymentCardID=226573","ID":226573,"Tag":"test-card","CreationDate":-62135596800,"UpdateDate":-62135596800}'
87
+ http_version:
88
+ recorded_at: Fri, 22 Mar 2013 10:41:49 GMT
89
+ - request:
90
+ method: post
91
+ uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363948909
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
+ - Ocflw0QicFhgmD4WlymY1G8Qln/2zz+SbFXX6KkKn7RJR5LCiI+Hls5g9ZUkudAEY6Me4bBOaQaJhRLEw++YbclMw6WYrXWg2mzV+YitpxIL/10+A2Vc8uOnK+dDPGXxrcjxro07GV2L6jocPNdzOCbTPWegcGZw4GNBYwP57OFiJ6G0xCrra0LcorD4ecjBscp8x+l7Xpn9XsyxNLb2ktmvuaqgv3dqlHQHZ/CAJxc3u2rNTMVhnCkEeTc28N2gKzx0TUzXJYhTn9E2r2W+y+5BxHcBJxn6UeO3AlUbrD7pTkQ5jtInW9vIA7H2FSX8q24veT4dQlS1HaZX2Vynzg==
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:49 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":"jtgnn6J7bFVxjFCCL7OtPQuWnhxbnE","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226574,"Tag":"test","CreationDate":1363948909,"UpdateDate":1363948909}'
130
+ http_version:
131
+ recorded_at: Fri, 22 Mar 2013 10:41:49 GMT
132
+ - request:
133
+ method: post
134
+ uri: https://api-preprod.leetchi.com/v1/partner/example/cards?ts=1363948909
135
+ body:
136
+ encoding: UTF-8
137
+ string: '{"Tag":"test-card","OwnerID":226574,"ReturnURL":"http://leetchi.com"}'
138
+ headers:
139
+ X-Leetchi-Signature:
140
+ - jWDxvNdqRHrTveq9pZRcKBQYfaxH09NiEFOlu34tBYGGAEcbTHcofUGH/RTvnflKjelYZrePtH79jnmN/wjSa1tAquH9HnfSzjCcggmymATwa4pStKA6SNeta/ctI0aMIAt6s41POY8A3OM2pCwRUv7F6VM99AMFa+er+VlNlES8nIAgo4yTnE3DjIhxWO6v9LiGhumTgRw+ORRtoB4SOODE+QB0MvVsS2rIDrBp3bKuoLCAkSO0sOHOF/TPnslCbouWQvRCFI5qfxdozCw6Qar+GejHMakYeMjur4rV11R3nlh0+nit6OsPtF0SEXoHgAqLIorW2Mri2nWALFloeQ==
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:50 GMT
168
+ Content-Length:
169
+ - '333'
170
+ body:
171
+ encoding: UTF-8
172
+ string: '{"OwnerID":226574,"CardNumber":null,"RedirectURL":"https://homologation-secure-p.payline.com/webpayment/step1.do?reqCode=prepareStep1&token=1QR5MHOQFApy8aHuiE5n1363948909857","TemplateURL":null,"ReturnURL":"http://leetchi.com/?PaymentCardID=226575","ID":226575,"Tag":"test-card","CreationDate":-62135596800,"UpdateDate":-62135596800}'
173
+ http_version:
174
+ recorded_at: Fri, 22 Mar 2013 10:41:51 GMT
175
+ - request:
176
+ method: post
177
+ uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363948911
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
+ - INT0yeZCkjTwbHfVfUdiwzRsdp9OXiuhjwvaeup8yCRdlQPw14oXSE4EMG2/KRUKGXZ9uuDKYWd142Xk/cOordmBfVKOkxz060SJvpoCCUGP8CPnH/alP97ydh063DMq3czdk/UQzcF5x0X+z1OIWzVy4deDpAm7k2teNc+TcBFAOMxTvijExunSoHFwJK7mo76WL6ks/6rKA7NgenLY2BDO0lvPytNroGxdE1Kgax2ziksEWWtNCYO6P2V3o2uGOqC/AfU/fAgudo6vd1nfVAfuEY2QFTjj9sEIZMClrNPVMMfpV7m/938SlPBMMCn39zp8UMVxmv+bN/Rba5Rwkw==
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:50 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":"vSGXQf5K0GQa9XQHpb1zKSj0cD9u9e","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226576,"Tag":"test","CreationDate":1363948910,"UpdateDate":1363948910}'
216
+ http_version:
217
+ recorded_at: Fri, 22 Mar 2013 10:41:51 GMT
218
+ - request:
219
+ method: post
220
+ uri: https://api-preprod.leetchi.com/v1/partner/example/cards?ts=1363948911
221
+ body:
222
+ encoding: UTF-8
223
+ string: '{"Tag":"test-card","OwnerID":226576,"ReturnURL":"http://leetchi.com"}'
224
+ headers:
225
+ X-Leetchi-Signature:
226
+ - eoJc/7qm9bfnTjysrUuEmcgOCdiIFsg0z4GfN3WqTiHjeF4Pe6I78cDwpAvW6ckHEQikcK+4YbdLxN3a9h4hFsQ8dRGVSZoZ5Agt47tSDjQp/qwjG6/RxjCby0uDyP/M2sm+lxxI/B2pDX0k0aaRfkG7s/Mt4aU1RwSlQQZMeXY8sI+quCemUE4gbzfjsJsRevXNQcV7AggirrP4mjuYL0prFSLD0tuCRGfjm4X65HCM19CrS0HgsLsA2Sscq2qtGaZd9s/2vWFotgnA3vwP42aUu6gNglRIApGrmJR6TXuvttH+SYy7Z0XhFWak2DANGjvl/Q5rv5XLGgdSJVl1Nw==
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:51 GMT
254
+ Content-Length:
255
+ - '333'
256
+ body:
257
+ encoding: UTF-8
258
+ string: '{"OwnerID":226576,"CardNumber":null,"RedirectURL":"https://homologation-secure-p.payline.com/webpayment/step1.do?reqCode=prepareStep1&token=1hqyILnXQfRgoZQMfmWy1363948911126","TemplateURL":null,"ReturnURL":"http://leetchi.com/?PaymentCardID=226577","ID":226577,"Tag":"test-card","CreationDate":-62135596800,"UpdateDate":-62135596800}'
259
+ http_version:
260
+ recorded_at: Fri, 22 Mar 2013 10:41:52 GMT
261
+ - request:
262
+ method: post
263
+ uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363949140
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
+ - IjgGEEmZTpk74rpRFyByTe0bBVUqVZJsPlE+ISwe9YYGJmIeq5ryOLDBR648b+AktjUOqn5myxZIPe965MUSy9O5l14junYrHRFsFXKrprJHTTbuCDduuo+/07QJn/vTHxVbBOVXdlTvRuQYB82TaC1qPOqRLrKNPYlNIDac3rHrOxnSBEj5qii+YOPu6/gFcHMBGa2t2nclLGaW+K91KBCH6ziTV2saY5xriWjx89kFsW7HBjHmYD1qkjFglWIvxU0ldRrLN3/TCPvegDhytyzVg70l9/u3crSe26J5RDvLRkPDS5OjJtDxkxZOCbCZQ245pTt0qOflQLbt9ptKzw==
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:45:40 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":"wAbXCfnDn2oc9So5HOhCRqKKeCK0Og","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226653,"Tag":"test","CreationDate":1363949140,"UpdateDate":1363949140}'
302
+ http_version:
303
+ recorded_at: Fri, 22 Mar 2013 10:45:41 GMT
304
+ - request:
305
+ method: post
306
+ uri: https://api-preprod.leetchi.com/v1/partner/example/cards?ts=1363949141
307
+ body:
308
+ encoding: UTF-8
309
+ string: '{"Tag":"test-card","OwnerID":226653,"ReturnURL":"http://leetchi.com"}'
310
+ headers:
311
+ X-Leetchi-Signature:
312
+ - F7N6N306yml5f99XakFDHWr8DVoPA4wDEBLB0/JwEUUteWEkmzn5izmtc/qlC3njKD8hNDAM+ZA7z0r6uzbkW+47DD02WU6ETBDZtaCsBZC1+28z2EVzko8PNCFEoOvUV68hMCJ4SfpqLTQ/9sJKFa8bvaoL0P4DjhApJzEQJZvrQb+ezSNsJstblQq+eQdm97GxOXGbmFGgLaA/yWlN2+uPOLIfR/CwmfUciSG/YCn/AoGD3X4MnS4Wq5N+JPuz4OZEXi5f7/AiFbY1i+C20WtG3Xn7AdQCtI5mkOM7b0s3wwmcZJ6aQFOJSy1LutS7AnmTQ53t+oilXUGr71ysUQ==
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:45:40 GMT
340
+ Content-Length:
341
+ - '333'
342
+ body:
343
+ encoding: UTF-8
344
+ string: '{"OwnerID":226653,"CardNumber":null,"RedirectURL":"https://homologation-secure-p.payline.com/webpayment/step1.do?reqCode=prepareStep1&token=1AdD8QgO9DwCbvBtaYGI1363949140711","TemplateURL":null,"ReturnURL":"http://leetchi.com/?PaymentCardID=226654","ID":226654,"Tag":"test-card","CreationDate":-62135596800,"UpdateDate":-62135596800}'
345
+ http_version:
346
+ recorded_at: Fri, 22 Mar 2013 10:45:42 GMT
347
+ - request:
348
+ method: post
349
+ uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363949142
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
+ - W5bcm9jKUaEVljpMCR9jizHml0asZNBj0JjsgkOZzpHt2ncWGrMtFWKoASYq3ScqYRVSP+Q/6h9ciz91xCaWGDWE8GXzCdj7nGkgrlCYfVNH/GW6peMBZK32baowzhE9oubTCL8H/Er7gvcax7LZ1UaqjsMrxNVyQW+6M4SVsdfRTIV7DCTgO1aUI4U47dFmtdV8Aex+oyViURPizvdFe649wPANwV01GfIxKV/jjiytinlQwy1drkBwjnav5W5cmYoXvcttuJUxvyxsPyyoZAmN0CLWu0OJMoN9d+6Di7NNBxl/M+XqCQLFFayNM74wbk/ZCA20TpgKgsexlkjSIg==
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:42 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":"SiHnernLp2bLSm0gdz3zrZsPDg0CT9","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226655,"Tag":"test","CreationDate":1363949142,"UpdateDate":1363949142}'
388
+ http_version:
389
+ recorded_at: Fri, 22 Mar 2013 10:45:42 GMT
390
+ - request:
391
+ method: post
392
+ uri: https://api-preprod.leetchi.com/v1/partner/example/cards?ts=1363949142
393
+ body:
394
+ encoding: UTF-8
395
+ string: '{"Tag":"test-card","OwnerID":226655,"ReturnURL":"http://leetchi.com"}'
396
+ headers:
397
+ X-Leetchi-Signature:
398
+ - SC0Ag+aut01sRk9yXX4+XZa/2qKbuK29ABn4W7q78w1vngIlzLqLoSTlyzTtehsKstJZjmWhxgjx75A2NnDeWx8JzOI/hR0wYm0hAFTsSmkm9lAzryf2PmeHVcaa/GZ+8MpLwbswvk7jC9kayJNuNi3yPfCyMdwsQnG6ZJDBO5wShtNij9Ery58J4azHbGJu/OrIkydDw9xLRsJAhppmbdmKD6QDqpWu2xFDVA3JwMo8YkANbZqpgCpVtUvjRF1GSfDbX+BehfuK+51JqYG1A4usgshiq8sNm4o8ty68aHtGK9Wx1V1ZnctmLgNLvC3Y2vmRof5HdmW0dpPlQ/bCJQ==
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:42 GMT
426
+ Content-Length:
427
+ - '333'
428
+ body:
429
+ encoding: UTF-8
430
+ string: '{"OwnerID":226655,"CardNumber":null,"RedirectURL":"https://homologation-secure-p.payline.com/webpayment/step1.do?reqCode=prepareStep1&token=1nuJXjtrk7iW9CYAjsWC1363949142325","TemplateURL":null,"ReturnURL":"http://leetchi.com/?PaymentCardID=226656","ID":226656,"Tag":"test-card","CreationDate":-62135596800,"UpdateDate":-62135596800}'
431
+ http_version:
432
+ recorded_at: Fri, 22 Mar 2013 10:45:43 GMT
433
+ - request:
434
+ method: post
435
+ uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363949143
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
+ - caRr5tthiYdSUSS/XbNVNO24onOuAmLnzM49gvQimF+1zCVCxihtVn/7FrxFXIP0pQcTYYZL4kl8uD7ulY+zX777i5ZJdlYny/SKWJ7z58QppcRv/pHDWmwpKzz6OCPPCcMbDYVG+dGmojjj44xzNhzx6fHNN+Z+Qsj91aS43L/+N5bU58rvYap3TScEXbqg0CjQIDC0hsQegKP7DW4yfdB/6psEvfuN9tK+I8NrX/BjYk8UKQMoQLOBeLyb0t7ElOJSz5+ILDUda/kQcs4Yv2D4x+MgHUDHcSLfnSUfv7s1JdqChF5YLfUYK5Cvxbld5jsHR3HzAeGRJhjpENHAPg==
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:43 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":"GwZfjfFXO6S7zpAgJyT7yk6o0202T8","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226657,"Tag":"test","CreationDate":1363949143,"UpdateDate":1363949143}'
474
+ http_version:
475
+ recorded_at: Fri, 22 Mar 2013 10:45:43 GMT
476
+ - request:
477
+ method: post
478
+ uri: https://api-preprod.leetchi.com/v1/partner/example/cards?ts=1363949143
479
+ body:
480
+ encoding: UTF-8
481
+ string: '{"Tag":"test-card","OwnerID":226657,"ReturnURL":"http://leetchi.com"}'
482
+ headers:
483
+ X-Leetchi-Signature:
484
+ - fPX70FnLX/Or1aLdrvf45bsuYB1SY/bGDvonrVb5qIlAua4R7vUq2yDK98+kEDtKwv4bQbl+kobGYOuUyjry7ozZXl+PxOHzESjfl9wuNDegh/aV+U8gKdSyhn6kJBAjLMQnglxmMArH5yGrXIhonCUv3x483IPmaW5zekKDUBL4dzci8XzVixOSk0atB1RJXuSOHs00AWUI2/gAlXIrapl/YkIai0N9ivzoMNMENZcxghYJQXi/GjkgXUoRrHIoZyyGMPqFhpxBvwNQchtHZkyZRGJYWhaalqZf0Kc3/Z+/SOt8/5ALuVewWcdNeTITCeTUAfSy0fPtPIytpufP1Q==
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:43 GMT
512
+ Content-Length:
513
+ - '333'
514
+ body:
515
+ encoding: UTF-8
516
+ string: '{"OwnerID":226657,"CardNumber":null,"RedirectURL":"https://homologation-secure-p.payline.com/webpayment/step1.do?reqCode=prepareStep1&token=12JjXpIUPAY0LKdFrXLn1363949143434","TemplateURL":null,"ReturnURL":"http://leetchi.com/?PaymentCardID=226658","ID":226658,"Tag":"test-card","CreationDate":-62135596800,"UpdateDate":-62135596800}'
517
+ http_version:
518
+ recorded_at: Fri, 22 Mar 2013 10:45:44 GMT
519
+ - request:
520
+ method: post
521
+ uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363949375
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
+ - q/qEvfbz3lJGIXcggJy072+X7QanqELuB2aJuLbuarYCI5atkhWF5bycrQdo04F2lgy8l23QIwcKeuxJd1jQYQAQy1+p7SXbUKupd7a0uW9/2pGslyvQBFOO81btPgx7YE848evwgA0BORMim7lxFmoPj/nlpRZbfllS8Es/u3X7oKfsprI2pn0zVziGLiUx8F7QPdVBt8KEXxJZUXlunmvQ4vJG0NHBuRHDDiYdOr1mfvlo30kfMYFJDZRxOfxAb29/toUbAEgMm3wZEDewKHimkVFbUqm3HrzLkyiz8Fyf6fuB5vMr0Zo4B+p33jYCN059HzkfD4ii9hneUBgejA==
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:49:35 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":"SnUuNKH1gYSeOJy8m8ne09dQcBevx2","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226685,"Tag":"test","CreationDate":1363949375,"UpdateDate":1363949375}'
560
+ http_version:
561
+ recorded_at: Fri, 22 Mar 2013 10:49:35 GMT
562
+ - request:
563
+ method: post
564
+ uri: https://api-preprod.leetchi.com/v1/partner/example/cards?ts=1363949375
565
+ body:
566
+ encoding: UTF-8
567
+ string: '{"Tag":"test-card","OwnerID":226685,"ReturnURL":"http://leetchi.com"}'
568
+ headers:
569
+ X-Leetchi-Signature:
570
+ - DYAJDKN3z+Gwpx418sBBxh9oGfd/URri8A5+qoi5oeZjyDqFKU3JffT0BK7bs2HL/nw/zVSCwuL+1qW+5pc/UeJ3h3LqpZkpJBHn4uG4NpaJwTOBYB8L2V2PkB7FSkIJNs6nZyHjdPU684KU9cYMC0wCe6ktFBeTrb080JE6mTPH18cQNlOmKPMIrmzX87ROJfeLy2Aw0gJfBW0C3WwKkrUt8wqzL0NJmNYouQ2y7utaLcfUBlomlshMRh8qr1JSJ0bs3OA51mMFWYTQoOCpDCQ/ILexSKgjUXXzmaDEZCsxfO/HT0suY0z5df0p+WqyTiTsrKUPy6Sr6eLkzvKQ+A==
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:49:35 GMT
598
+ Content-Length:
599
+ - '333'
600
+ body:
601
+ encoding: UTF-8
602
+ string: '{"OwnerID":226685,"CardNumber":null,"RedirectURL":"https://homologation-secure-p.payline.com/webpayment/step1.do?reqCode=prepareStep1&token=1MaffbtWALUAWdeITZjf1363949375620","TemplateURL":null,"ReturnURL":"http://leetchi.com/?PaymentCardID=226686","ID":226686,"Tag":"test-card","CreationDate":-62135596800,"UpdateDate":-62135596800}'
603
+ http_version:
604
+ recorded_at: Fri, 22 Mar 2013 10:49:36 GMT
605
+ - request:
606
+ method: post
607
+ uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363949377
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
+ - A33UmSSBTgpk8MwkCjcFmKkQDlHu4dYPPwGGPpH9EAFp1jssLndCmhRTkccLbdF1HL0Z80XVJqkCziZmfZyBUtvj+Ie1LZ45FjdZ4HGCZa06CEMgBXUWbJakekuBjwk1o6A+wbCPMvtIsehnJIFCDb4fvfp8CKXyNeBLTziH4Hd1BsnZ+LN6OLhy2W4VasD/EB+qLoiHkyOvn0yodUdKIHfuaVsRlQF0a1ao4YhU+p0RmDgrVmL897NkG1ZOf3ggv/Co1U5R//hKsc9O+et45MFughlQqR+GZ3LPxPd3AplDLO0SSBrfxs8PqsW+HlJpUQye7iCiO8pi6CZpYin78A==
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:49:36 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":"O6fvbi2xZZOgvN46vL2GBY4mPSierk","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226687,"Tag":"test","CreationDate":1363949376,"UpdateDate":1363949376}'
646
+ http_version:
647
+ recorded_at: Fri, 22 Mar 2013 10:49:37 GMT
648
+ - request:
649
+ method: post
650
+ uri: https://api-preprod.leetchi.com/v1/partner/example/cards?ts=1363949377
651
+ body:
652
+ encoding: UTF-8
653
+ string: '{"Tag":"test-card","OwnerID":226687,"ReturnURL":"http://leetchi.com"}'
654
+ headers:
655
+ X-Leetchi-Signature:
656
+ - EXZBTdNF+EFEQcnEKtJWTc1lR/Putlv0nxNc5K+IxQUyPtjxRSY3VLI65YMJUEKiPi/SLxVXb0Nl9TtFLosGiBrsoK1sBI5ms/zYnZoMhjoik/qNq4+94ppfQTPiwgQcuu1Bj8IKwQSse/LoHR9MTX2HMmDsB/+ofJCH9tFdE5wTNdsmiCShamxgH/vkH4e/+cO3v+O6CSSEXNqvzvwTcbZLlXddnpU1wcBnwoVQSWIjgLnJaYHBpgqRScbr9XArz4Cp+3ZkH/RXhZUXKYScSD4ZaImUJx2VopxJUb2AH6x6lZjC8fEMGLVuOuK4Mp8Kv4LLDX/WArTDGB6OfPVUSQ==
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:49:36 GMT
684
+ Content-Length:
685
+ - '333'
686
+ body:
687
+ encoding: UTF-8
688
+ string: '{"OwnerID":226687,"CardNumber":null,"RedirectURL":"https://homologation-secure-p.payline.com/webpayment/step1.do?reqCode=prepareStep1&token=1IbWKfdEgP3xhpCYPrmn1363949377021","TemplateURL":null,"ReturnURL":"http://leetchi.com/?PaymentCardID=226688","ID":226688,"Tag":"test-card","CreationDate":-62135596800,"UpdateDate":-62135596800}'
689
+ http_version:
690
+ recorded_at: Fri, 22 Mar 2013 10:49:38 GMT
691
+ - request:
692
+ method: post
693
+ uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363949378
694
+ body:
695
+ encoding: UTF-8
696
+ string: '{"Tag":"test","Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true}'
697
+ headers:
698
+ X-Leetchi-Signature:
699
+ - l7gOKYOU5FWhrXx1vZT9JIkt7owz4yXtFE8tmgfFiV2vTpJtoaJCYQom+yQzo3Cnw6bMzteZab9T64cVynFqQzrtDCmLhDNUsHaNvRkAb1RnAfehh351al9ie6JBBnj6LmMJa+Dp0j6XhpsdEamOFopcWTv4otLi6/FlFFpfmx3fTsh5242xZe2zWtUoiJXE/F45UxVj0CWmEs2/qycvPIIlk6FoUWAR1qT6MS61W/Fkn+m2eIzD4Xm97RXFxhZXkn5LZdhbNDYQdZqVwxCYFGVfzD0q5rd1B9nmc1W84BsICZfYWgv9pg3g26rxB0Xy4iemWi9HS5wRFd+fkI4BqQ==
700
+ Content-Type:
701
+ - application/json
702
+ Accept-Encoding:
703
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
704
+ Accept:
705
+ - '*/*'
706
+ User-Agent:
707
+ - Ruby
708
+ response:
709
+ status:
710
+ code: 200
711
+ message: OK
712
+ headers:
713
+ Cache-Control:
714
+ - private
715
+ Content-Type:
716
+ - application/json; charset=utf-8
717
+ Server:
718
+ - Microsoft-IIS/8.0
719
+ X-Aspnetmvc-Version:
720
+ - '2.0'
721
+ X-Aspnet-Version:
722
+ - 4.0.30319
723
+ X-Powered-By:
724
+ - ASP.NET
725
+ Date:
726
+ - Fri, 22 Mar 2013 10:49:37 GMT
727
+ Content-Length:
728
+ - '365'
729
+ body:
730
+ encoding: UTF-8
731
+ string: '{"Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true,"HasRegisteredMeansOfPayment":false,"IP":null,"Birthday":null,"Password":"EnEojV8tGqfZjyATPBWggEC0BZb4Rt","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226689,"Tag":"test","CreationDate":1363949377,"UpdateDate":1363949377}'
732
+ http_version:
733
+ recorded_at: Fri, 22 Mar 2013 10:49:38 GMT
734
+ - request:
735
+ method: post
736
+ uri: https://api-preprod.leetchi.com/v1/partner/example/cards?ts=1363949378
737
+ body:
738
+ encoding: UTF-8
739
+ string: '{"Tag":"test-card","OwnerID":226689,"ReturnURL":"http://leetchi.com"}'
740
+ headers:
741
+ X-Leetchi-Signature:
742
+ - ZDXIFXCgboadjRdZzaFfPfVUdRFA72Q36DhEph4LNJ3CCm0DBIkOGdgc3NH+9/0geSGp9RUui7OKZHiL4z7HGUeN3zteakEKzMyJd5Mo++AhzwxTA7Hmm2z3CkBBkVmc4/8RhEO2gy1KnwU6izCntDUprDTjvQTqSyRC0hKe3DY9XBUtrGiAqV4ugvUkkduasz+ODbAbWWMqUN4zFHhyuX3bOvXiIjod3AaEiuXMSOzaEqkUlqdlGpKoyutAnkX8uBfVBY94rNL0ajNEX3niKi4OkVFaJm3MD3P1NAaiXC7lqo7uiO6APhiXBBJAN+wGxqHnbTa2sKoNuoZW5U/CPg==
743
+ Content-Type:
744
+ - application/json
745
+ Accept-Encoding:
746
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
747
+ Accept:
748
+ - '*/*'
749
+ User-Agent:
750
+ - Ruby
751
+ response:
752
+ status:
753
+ code: 200
754
+ message: OK
755
+ headers:
756
+ Cache-Control:
757
+ - private
758
+ Content-Type:
759
+ - application/json; charset=utf-8
760
+ Server:
761
+ - Microsoft-IIS/8.0
762
+ X-Aspnetmvc-Version:
763
+ - '2.0'
764
+ X-Aspnet-Version:
765
+ - 4.0.30319
766
+ X-Powered-By:
767
+ - ASP.NET
768
+ Date:
769
+ - Fri, 22 Mar 2013 10:49:37 GMT
770
+ Content-Length:
771
+ - '333'
772
+ body:
773
+ encoding: UTF-8
774
+ string: '{"OwnerID":226689,"CardNumber":null,"RedirectURL":"https://homologation-secure-p.payline.com/webpayment/step1.do?reqCode=prepareStep1&token=12qIB0KVSd3RLyiRtHDn1363949378203","TemplateURL":null,"ReturnURL":"http://leetchi.com/?PaymentCardID=226690","ID":226690,"Tag":"test-card","CreationDate":-62135596800,"UpdateDate":-62135596800}'
775
+ http_version:
776
+ recorded_at: Fri, 22 Mar 2013 10:49:39 GMT
777
+ - request:
778
+ method: post
779
+ uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363949822
780
+ body:
781
+ encoding: UTF-8
782
+ string: '{"Tag":"test","Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true}'
783
+ headers:
784
+ X-Leetchi-Signature:
785
+ - Ygc8syI2KeTKIQMLwkUe2EDG+UrnjNox4SyUWtZv37dlpHr4rP6eVb8N7I7PEig2HreMbt0f7SjDvs+gnqBIecG0pBRtMzKdWkTV8u7mgwi3cpQ34CSquMT/aDuvOdpkHSBpEeUirbPaVfz0BKd66Kx62KGmYPIRKPo+MbKs4XSanbSnIPigW0np6oneZB+MCvCAmE7M1c9m7okIylX0ZTFWEDNnUJzYKRiruzWBp60IAxJNxjUTY1LMSOmesYg5ChrdyhXUEXDA5ilC9Y8bAAdiWCXpvmrPk4c1++d2E3PcR60kB+Na60cGSMzati+svrbJo+O0S9Y0EyVikDlAWw==
786
+ Content-Type:
787
+ - application/json
788
+ Accept-Encoding:
789
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
790
+ Accept:
791
+ - '*/*'
792
+ User-Agent:
793
+ - Ruby
794
+ response:
795
+ status:
796
+ code: 200
797
+ message: OK
798
+ headers:
799
+ Cache-Control:
800
+ - private
801
+ Content-Type:
802
+ - application/json; charset=utf-8
803
+ Server:
804
+ - Microsoft-IIS/8.0
805
+ X-Aspnetmvc-Version:
806
+ - '2.0'
807
+ X-Aspnet-Version:
808
+ - 4.0.30319
809
+ X-Powered-By:
810
+ - ASP.NET
811
+ Date:
812
+ - Fri, 22 Mar 2013 10:57:02 GMT
813
+ Content-Length:
814
+ - '365'
815
+ body:
816
+ encoding: UTF-8
817
+ string: '{"Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true,"HasRegisteredMeansOfPayment":false,"IP":null,"Birthday":null,"Password":"Zya5gyD0a29OJ7aKFfEOJ6pQdCrFqy","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226740,"Tag":"test","CreationDate":1363949822,"UpdateDate":1363949822}'
818
+ http_version:
819
+ recorded_at: Fri, 22 Mar 2013 10:57:02 GMT
820
+ - request:
821
+ method: post
822
+ uri: https://api-preprod.leetchi.com/v1/partner/example/cards?ts=1363949822
823
+ body:
824
+ encoding: UTF-8
825
+ string: '{"Tag":"test-card","OwnerID":226740,"ReturnURL":"http://leetchi.com"}'
826
+ headers:
827
+ X-Leetchi-Signature:
828
+ - EjGXaGDR6akgzjflXei/OyYPr/KPOLTZUjDaofLAfPj3/jnGS/lVyZvyExkVX9f/S5IGVMakUeyHiduTcll9JIpRJvUsTL2J6rdmzfXLREn3QRChCeEVOpwcVcFp0p1U1X0/it8NL+LCreHJOjU6Ot6tME8g8bVITOATcpFDEteU3/jZF7l0n6oQbv354L9YhcTs1pEe/o7qke7ZzgNTgeen7Gf5z/yOTnjJpVCjAEDIccz+Ya/1zdAAlNP2zMA5JGD6TD1NBwYNJYYoYvprOeqxo3VHGR5ADqK1U/nGFkdvqynGTvmkVAstdkF2jC0pg28xf+ONQwFsyEcv8BU0tw==
829
+ Content-Type:
830
+ - application/json
831
+ Accept-Encoding:
832
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
833
+ Accept:
834
+ - '*/*'
835
+ User-Agent:
836
+ - Ruby
837
+ response:
838
+ status:
839
+ code: 200
840
+ message: OK
841
+ headers:
842
+ Cache-Control:
843
+ - private
844
+ Content-Type:
845
+ - application/json; charset=utf-8
846
+ Server:
847
+ - Microsoft-IIS/8.0
848
+ X-Aspnetmvc-Version:
849
+ - '2.0'
850
+ X-Aspnet-Version:
851
+ - 4.0.30319
852
+ X-Powered-By:
853
+ - ASP.NET
854
+ Date:
855
+ - Fri, 22 Mar 2013 10:57:03 GMT
856
+ Content-Length:
857
+ - '333'
858
+ body:
859
+ encoding: UTF-8
860
+ string: '{"OwnerID":226740,"CardNumber":null,"RedirectURL":"https://homologation-secure-p.payline.com/webpayment/step1.do?reqCode=prepareStep1&token=1sUX6yO8YECauaMPMYva1363949822883","TemplateURL":null,"ReturnURL":"http://leetchi.com/?PaymentCardID=226741","ID":226741,"Tag":"test-card","CreationDate":-62135596800,"UpdateDate":-62135596800}'
861
+ http_version:
862
+ recorded_at: Fri, 22 Mar 2013 10:57:04 GMT
863
+ - request:
864
+ method: post
865
+ uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363949824
866
+ body:
867
+ encoding: UTF-8
868
+ string: '{"Tag":"test","Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true}'
869
+ headers:
870
+ X-Leetchi-Signature:
871
+ - fSrboMaKtjvH+gN9qYuYlx0MU60ouisFs3tih7gi1DGKcpbhFPxbnBIc4kt5FJ3rbHlhLheHOSbLW3Dw6XiYJW+f6lisL6mj87k+gLJ6LDPnf4u32WfcdyLc1kGTdYRfMXAe+m/4YHAoKrs0lL9fkg0xpzuZOQEyfTIKWPgx+k0OfU+4g/zZ0JuB/7MPHur7+KqbJeLuOUX4ysOLk0VaqaOyjHNQe/CnQKtaPATWg9ogZJIZyDBD4klxjJMt3dPkXa756rBTyUt1meWxhaUIdK2fPO4pwa7Ail242LMK+OzxFgDYvLrtpFimDJxM0VAWQ0hxiOZz/DnT5b4NwWxMUw==
872
+ Content-Type:
873
+ - application/json
874
+ Accept-Encoding:
875
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
876
+ Accept:
877
+ - '*/*'
878
+ User-Agent:
879
+ - Ruby
880
+ response:
881
+ status:
882
+ code: 200
883
+ message: OK
884
+ headers:
885
+ Cache-Control:
886
+ - private
887
+ Content-Type:
888
+ - application/json; charset=utf-8
889
+ Server:
890
+ - Microsoft-IIS/8.0
891
+ X-Aspnetmvc-Version:
892
+ - '2.0'
893
+ X-Aspnet-Version:
894
+ - 4.0.30319
895
+ X-Powered-By:
896
+ - ASP.NET
897
+ Date:
898
+ - Fri, 22 Mar 2013 10:57:03 GMT
899
+ Content-Length:
900
+ - '365'
901
+ body:
902
+ encoding: UTF-8
903
+ string: '{"Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true,"HasRegisteredMeansOfPayment":false,"IP":null,"Birthday":null,"Password":"yXuLBidWaD0x6NMhMNbXXaMQY2jv2P","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226742,"Tag":"test","CreationDate":1363949823,"UpdateDate":1363949823}'
904
+ http_version:
905
+ recorded_at: Fri, 22 Mar 2013 10:57:04 GMT
906
+ - request:
907
+ method: post
908
+ uri: https://api-preprod.leetchi.com/v1/partner/example/cards?ts=1363949824
909
+ body:
910
+ encoding: UTF-8
911
+ string: '{"Tag":"test-card","OwnerID":226742,"ReturnURL":"http://leetchi.com"}'
912
+ headers:
913
+ X-Leetchi-Signature:
914
+ - MpCheB7ukB/4L+x85TyfWcjZMwUwA8x+0lV/ICMWJlncbjD1BxDSI/zpLxWHb+noB+FJL7OgXQskmNwWD/SSTKtqRbyZVTHHgfMgq2s0lwhAHANqTxScq8g+/57oVyFWbfN9xjwHgoHQfgQIlwHDwAmb7FWzamTLtV06jwJkOwuTD1zxqQ2MoNAZX+1GgQO7/C7A/4nbVTfxqNTuVG+VEWCMt8mcWFzw24STrQAM/JxFGNsG0ruulO+4C7VDdfVg5z/FAPeBzfiNnz/fJUvbv6MrqP1f/kOCoHA4LKkEEmrgaFn1Y9oljox4ApnAd+isJ29I4xXqvUabatmAbZ7teA==
915
+ Content-Type:
916
+ - application/json
917
+ Accept-Encoding:
918
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
919
+ Accept:
920
+ - '*/*'
921
+ User-Agent:
922
+ - Ruby
923
+ response:
924
+ status:
925
+ code: 200
926
+ message: OK
927
+ headers:
928
+ Cache-Control:
929
+ - private
930
+ Content-Type:
931
+ - application/json; charset=utf-8
932
+ Server:
933
+ - Microsoft-IIS/8.0
934
+ X-Aspnetmvc-Version:
935
+ - '2.0'
936
+ X-Aspnet-Version:
937
+ - 4.0.30319
938
+ X-Powered-By:
939
+ - ASP.NET
940
+ Date:
941
+ - Fri, 22 Mar 2013 10:57:04 GMT
942
+ Content-Length:
943
+ - '333'
944
+ body:
945
+ encoding: UTF-8
946
+ string: '{"OwnerID":226742,"CardNumber":null,"RedirectURL":"https://homologation-secure-p.payline.com/webpayment/step1.do?reqCode=prepareStep1&token=1CiOtlVboRyCTrZDXP0c1363949824403","TemplateURL":null,"ReturnURL":"http://leetchi.com/?PaymentCardID=226743","ID":226743,"Tag":"test-card","CreationDate":-62135596800,"UpdateDate":-62135596800}'
947
+ http_version:
948
+ recorded_at: Fri, 22 Mar 2013 10:57:05 GMT
949
+ - request:
950
+ method: post
951
+ uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363949825
952
+ body:
953
+ encoding: UTF-8
954
+ string: '{"Tag":"test","Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true}'
955
+ headers:
956
+ X-Leetchi-Signature:
957
+ - hv3d8OuL2AM/XBeFusQ0nI83DtcHqsgw/yLIMLdFQqPuNurXWcBpF37pDFCAT/FuDzWlWwvRE7XFPcbvFSHLnvANVXgiibR4kIBhoXY8L3afcnYT21XWx7DY4nR4Wh+PzEiSqYs7AlANl1g5JW+iDk7J2PLv+60AFdJbkyNn0VG4OV8JvxN533xmm/sMgGGJf2Kx5rNUkeiBwIxHJSCMY+FPmLmXy6HxEUo3562fBruK/e/kV6G/R91uaHs3dGnMJAzbbGLSkaY79xeBMVCuUilOaelSC3Xxe76nKkaUgupSw+If5CdvWCABNyO/na2jiAbKdgDMReZvzmAKxaOavA==
958
+ Content-Type:
959
+ - application/json
960
+ Accept-Encoding:
961
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
962
+ Accept:
963
+ - '*/*'
964
+ User-Agent:
965
+ - Ruby
966
+ response:
967
+ status:
968
+ code: 200
969
+ message: OK
970
+ headers:
971
+ Cache-Control:
972
+ - private
973
+ Content-Type:
974
+ - application/json; charset=utf-8
975
+ Server:
976
+ - Microsoft-IIS/8.0
977
+ X-Aspnetmvc-Version:
978
+ - '2.0'
979
+ X-Aspnet-Version:
980
+ - 4.0.30319
981
+ X-Powered-By:
982
+ - ASP.NET
983
+ Date:
984
+ - Fri, 22 Mar 2013 10:57:06 GMT
985
+ Content-Length:
986
+ - '365'
987
+ body:
988
+ encoding: UTF-8
989
+ string: '{"Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true,"HasRegisteredMeansOfPayment":false,"IP":null,"Birthday":null,"Password":"h8LNEmt7F2FUfbXkaMe60ODDLxmPXJ","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226744,"Tag":"test","CreationDate":1363949826,"UpdateDate":1363949826}'
990
+ http_version:
991
+ recorded_at: Fri, 22 Mar 2013 10:57:07 GMT
992
+ - request:
993
+ method: post
994
+ uri: https://api-preprod.leetchi.com/v1/partner/example/cards?ts=1363949827
995
+ body:
996
+ encoding: UTF-8
997
+ string: '{"Tag":"test-card","OwnerID":226744,"ReturnURL":"http://leetchi.com"}'
998
+ headers:
999
+ X-Leetchi-Signature:
1000
+ - OoBEM7bYvLBkUns1xGJY5X/bm8gANGAxP/xQ8fJcWd5gtwJdViF7zorzwjPm1ynA4v8Y0504RmBbeEp4PgQnTR5Zf4OnELNmLGKuiyJWgMgsD9IE6wdQb+00n3yLpxsqQiY9/JK+O7IobgAN2Y4pdVIRhqgn+6XAGz3mmSekdhjRlvf5rX38vrBtGcBMKYz55ZwuhWt+wCKsDFk8SI0OR4xXehY3wolGg5KDDYDi88I5NOStFrpSH643hH5Gz95wxwI2pcdzwwYSSyguGPu9gitYoGk8MsAHKyp0cvOykNSVMsz9UPBfnCXjwfd9a42/sArKorQzaqT2OD4Jd1czKA==
1001
+ Content-Type:
1002
+ - application/json
1003
+ Accept-Encoding:
1004
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1005
+ Accept:
1006
+ - '*/*'
1007
+ User-Agent:
1008
+ - Ruby
1009
+ response:
1010
+ status:
1011
+ code: 200
1012
+ message: OK
1013
+ headers:
1014
+ Cache-Control:
1015
+ - private
1016
+ Content-Type:
1017
+ - application/json; charset=utf-8
1018
+ Server:
1019
+ - Microsoft-IIS/8.0
1020
+ X-Aspnetmvc-Version:
1021
+ - '2.0'
1022
+ X-Aspnet-Version:
1023
+ - 4.0.30319
1024
+ X-Powered-By:
1025
+ - ASP.NET
1026
+ Date:
1027
+ - Fri, 22 Mar 2013 10:57:06 GMT
1028
+ Content-Length:
1029
+ - '333'
1030
+ body:
1031
+ encoding: UTF-8
1032
+ string: '{"OwnerID":226744,"CardNumber":null,"RedirectURL":"https://homologation-secure-p.payline.com/webpayment/step1.do?reqCode=prepareStep1&token=1VrLTBLow46UsEfOatW01363949827172","TemplateURL":null,"ReturnURL":"http://leetchi.com/?PaymentCardID=226745","ID":226745,"Tag":"test-card","CreationDate":-62135596800,"UpdateDate":-62135596800}'
1033
+ http_version:
1034
+ recorded_at: Fri, 22 Mar 2013 10:57:08 GMT
1035
+ - request:
1036
+ method: post
1037
+ uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363949920
1038
+ body:
1039
+ encoding: UTF-8
1040
+ string: '{"Tag":"test","Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true}'
1041
+ headers:
1042
+ X-Leetchi-Signature:
1043
+ - gXWVL/yaqPOcfo0aCUfvncGhp0XNFgBswZKySdiEX38XKtdqwycp8Rm1vAFiDhrvpZHVCb9XaBQjqw9V41YUfQfeyaISuo5Lyz3ZBuQ+3fg6CPAtC7JLwWfKWRxRCAEyp9NdfeTlKt9kGdw11ir3eXYiio+7yp7bTVW1Vopqai/GxbunB3/z99Bs3RhwP+EwcGv7eIiuIdYqPP/mvfO4Exn0TXzgq1WTtqmApZgy6VX4aI4Rgk93UlrSkqYrlUzj7Vg95dwihM/YO/W2vfKAMGGTcwjn78f9FBzXQFAqI8r/WYBhQWCT7tCDCiKuV6GVG8rwe2X0+ZoqR04dNy6thg==
1044
+ Content-Type:
1045
+ - application/json
1046
+ Accept-Encoding:
1047
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1048
+ Accept:
1049
+ - '*/*'
1050
+ User-Agent:
1051
+ - Ruby
1052
+ response:
1053
+ status:
1054
+ code: 200
1055
+ message: OK
1056
+ headers:
1057
+ Cache-Control:
1058
+ - private
1059
+ Content-Type:
1060
+ - application/json; charset=utf-8
1061
+ Server:
1062
+ - Microsoft-IIS/8.0
1063
+ X-Aspnetmvc-Version:
1064
+ - '2.0'
1065
+ X-Aspnet-Version:
1066
+ - 4.0.30319
1067
+ X-Powered-By:
1068
+ - ASP.NET
1069
+ Date:
1070
+ - Fri, 22 Mar 2013 10:58:41 GMT
1071
+ Content-Length:
1072
+ - '365'
1073
+ body:
1074
+ encoding: UTF-8
1075
+ string: '{"Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true,"HasRegisteredMeansOfPayment":false,"IP":null,"Birthday":null,"Password":"ZjA2tinAmDbnobkT8cEPoLNiXyyReG","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226772,"Tag":"test","CreationDate":1363949920,"UpdateDate":1363949920}'
1076
+ http_version:
1077
+ recorded_at: Fri, 22 Mar 2013 10:58:41 GMT
1078
+ - request:
1079
+ method: post
1080
+ uri: https://api-preprod.leetchi.com/v1/partner/example/cards?ts=1363949921
1081
+ body:
1082
+ encoding: UTF-8
1083
+ string: '{"Tag":"test-card","OwnerID":226772,"ReturnURL":"http://leetchi.com"}'
1084
+ headers:
1085
+ X-Leetchi-Signature:
1086
+ - I9oX7w3rUTrp4iYwRfHXBrwPbrP6tXEPLO+PEAJamjnDnogUmnxud+MbZjGqoOYnqt1xH8GHQCpD0zJI2QiAUOxxDZV2bjQGkXjmRV6dEQEKkKq/UickafWth2rY3rgdxJ0zp8HV4je+Ec8V7t46/R2FBiA0UvstQ+opOg30yc50OyU7HZwTEs2cQ9v0ljZDODvnz/F5XBjidNI4x0JSjX1Q/uz5ZoAnPAyEpOJEVKQDMhFbkCcaXtClS9y1P44iuzwzDSqCjbepOcRsdEsiHFryojbR+c+vtQnA3C6a9I3Df/IucByTwoBfmoVmBEFXrxDJBmKy/ZdwAvmfS7enqg==
1087
+ Content-Type:
1088
+ - application/json
1089
+ Accept-Encoding:
1090
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1091
+ Accept:
1092
+ - '*/*'
1093
+ User-Agent:
1094
+ - Ruby
1095
+ response:
1096
+ status:
1097
+ code: 200
1098
+ message: OK
1099
+ headers:
1100
+ Cache-Control:
1101
+ - private
1102
+ Content-Type:
1103
+ - application/json; charset=utf-8
1104
+ Server:
1105
+ - Microsoft-IIS/8.0
1106
+ X-Aspnetmvc-Version:
1107
+ - '2.0'
1108
+ X-Aspnet-Version:
1109
+ - 4.0.30319
1110
+ X-Powered-By:
1111
+ - ASP.NET
1112
+ Date:
1113
+ - Fri, 22 Mar 2013 10:58:42 GMT
1114
+ Content-Length:
1115
+ - '333'
1116
+ body:
1117
+ encoding: UTF-8
1118
+ string: '{"OwnerID":226772,"CardNumber":null,"RedirectURL":"https://homologation-secure-p.payline.com/webpayment/step1.do?reqCode=prepareStep1&token=17xBGRhFMQrc0xGBrNsY1363949921831","TemplateURL":null,"ReturnURL":"http://leetchi.com/?PaymentCardID=226773","ID":226773,"Tag":"test-card","CreationDate":-62135596800,"UpdateDate":-62135596800}'
1119
+ http_version:
1120
+ recorded_at: Fri, 22 Mar 2013 10:58:43 GMT
1121
+ - request:
1122
+ method: post
1123
+ uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363949927
1124
+ body:
1125
+ encoding: UTF-8
1126
+ string: '{"Tag":"test","Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true}'
1127
+ headers:
1128
+ X-Leetchi-Signature:
1129
+ - faVPIHWBNvBauosq0b1v1yJvD41pbAowI9Kl2wxWRrn3kKTUadQNjOnHPygp9lXESU69i7eo4EoYy7utWzupd9vfR07yZ8hE8B4hsrfFI36Qv/rOLWyW11WNUaL01CCtElcjLYlUfC62U3sTlBYJPrqH04grwSbglBX56H/T/36W6rXX6nQnGkSS9nZUx4Epy5c8nxt1TGA9ZXfVssPLFSBhXX3TpmmIwqVzjp0gZtLl4x5Pgv5Xiv4p42SX6HWMl4EFMqNOJw7cgIBpf7drNju1vmM0tWKoTbOmuoIRwBSe+uL5c36ZFdEj0E+yzAWcWTiKUoRM7ld+j8rEvMg5yg==
1130
+ Content-Type:
1131
+ - application/json
1132
+ Accept-Encoding:
1133
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1134
+ Accept:
1135
+ - '*/*'
1136
+ User-Agent:
1137
+ - Ruby
1138
+ response:
1139
+ status:
1140
+ code: 200
1141
+ message: OK
1142
+ headers:
1143
+ Cache-Control:
1144
+ - private
1145
+ Content-Type:
1146
+ - application/json; charset=utf-8
1147
+ Server:
1148
+ - Microsoft-IIS/8.0
1149
+ X-Aspnetmvc-Version:
1150
+ - '2.0'
1151
+ X-Aspnet-Version:
1152
+ - 4.0.30319
1153
+ X-Powered-By:
1154
+ - ASP.NET
1155
+ Date:
1156
+ - Fri, 22 Mar 2013 10:58:47 GMT
1157
+ Content-Length:
1158
+ - '365'
1159
+ body:
1160
+ encoding: UTF-8
1161
+ string: '{"Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true,"HasRegisteredMeansOfPayment":false,"IP":null,"Birthday":null,"Password":"etrC7u3TWTP9KhJ9UuWUqNwqfpHre5","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226774,"Tag":"test","CreationDate":1363949927,"UpdateDate":1363949927}'
1162
+ http_version:
1163
+ recorded_at: Fri, 22 Mar 2013 10:58:48 GMT
1164
+ - request:
1165
+ method: post
1166
+ uri: https://api-preprod.leetchi.com/v1/partner/example/cards?ts=1363949928
1167
+ body:
1168
+ encoding: UTF-8
1169
+ string: '{"Tag":"test-card","OwnerID":226774,"ReturnURL":"http://leetchi.com"}'
1170
+ headers:
1171
+ X-Leetchi-Signature:
1172
+ - XaVK4QtTCFzWzUHW26RobJRXLE69yQSCYtjKKkLwIRK4fG3dhijIXuucdmNTloBgWis/JNzifHTzpP7RmWZcAqKinxlipgAyacVpUU6aW9CRO/kWyu0mN928JYYPz4KiXilv9xhCPK1kTrpiZvfmu5LgzKdWhFCnZKiefy5kADLpZBEtOwPs8cUbp5Mv6szHgMcAtR/RR9LX9Q5tbHP9agac+/dEsvqjgge6jHrBSjcNW4EgUrdgQu/gm0CCIxJW02JL+xKP3BGkVHEVbiiZjB9HmA+WC8XhcZxkVOhu+WwgropjbaWOQV7BEVH7p70OdrOerlGL6XEiRRJ36YxaVg==
1173
+ Content-Type:
1174
+ - application/json
1175
+ Accept-Encoding:
1176
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1177
+ Accept:
1178
+ - '*/*'
1179
+ User-Agent:
1180
+ - Ruby
1181
+ response:
1182
+ status:
1183
+ code: 200
1184
+ message: OK
1185
+ headers:
1186
+ Cache-Control:
1187
+ - private
1188
+ Content-Type:
1189
+ - application/json; charset=utf-8
1190
+ Server:
1191
+ - Microsoft-IIS/8.0
1192
+ X-Aspnetmvc-Version:
1193
+ - '2.0'
1194
+ X-Aspnet-Version:
1195
+ - 4.0.30319
1196
+ X-Powered-By:
1197
+ - ASP.NET
1198
+ Date:
1199
+ - Fri, 22 Mar 2013 10:58:48 GMT
1200
+ Content-Length:
1201
+ - '333'
1202
+ body:
1203
+ encoding: UTF-8
1204
+ string: '{"OwnerID":226774,"CardNumber":null,"RedirectURL":"https://homologation-secure-p.payline.com/webpayment/step1.do?reqCode=prepareStep1&token=1HotNicRbHPj78Q9SWck1363949928014","TemplateURL":null,"ReturnURL":"http://leetchi.com/?PaymentCardID=226775","ID":226775,"Tag":"test-card","CreationDate":-62135596800,"UpdateDate":-62135596800}'
1205
+ http_version:
1206
+ recorded_at: Fri, 22 Mar 2013 10:58:49 GMT
1207
+ - request:
1208
+ method: get
1209
+ uri: https://api-preprod.leetchi.com/v1/partner/example/cards/226775?ts=1363949930
1210
+ body:
1211
+ encoding: US-ASCII
1212
+ string: ''
1213
+ headers:
1214
+ X-Leetchi-Signature:
1215
+ - h+F6B/q//BT20uX6Jy60/sH0oPz0teL5eE/tClwIJfBJpM6wldCf/VYGl7nLHmow6esUdB72SD9UEuUB3oZ2OaWa0xeRANXIWYapVlLaWqyVPdm3u3NH1o9Ej5vtoOc37KpikK58/tMtuC/jTB5HNm6qQMHKGG+spbNjm3cDeDmtlm7YECUl98PrgxFuK9Zu1Mmwqa2f42kjvrG1eUvP9rxWBb+JGM1FH7KhJR31Erm4Zcf5oiO68Kd11EjQjBiZ0aM871+QiN1yhYt+6SNo4fBkDM4rHltjDuT6WX0y7xrUKgWD3NfR5Ki5IhJFvyG3BdsNZJAsHlnu6TJNC9cirg==
1216
+ Content-Type:
1217
+ - application/json
1218
+ Accept-Encoding:
1219
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1220
+ Accept:
1221
+ - '*/*'
1222
+ User-Agent:
1223
+ - Ruby
1224
+ response:
1225
+ status:
1226
+ code: 200
1227
+ message: OK
1228
+ headers:
1229
+ Cache-Control:
1230
+ - private
1231
+ Content-Type:
1232
+ - application/json; charset=utf-8
1233
+ Server:
1234
+ - Microsoft-IIS/8.0
1235
+ X-Aspnetmvc-Version:
1236
+ - '2.0'
1237
+ X-Aspnet-Version:
1238
+ - 4.0.30319
1239
+ X-Powered-By:
1240
+ - ASP.NET
1241
+ Date:
1242
+ - Fri, 22 Mar 2013 10:58:50 GMT
1243
+ Content-Length:
1244
+ - '333'
1245
+ body:
1246
+ encoding: UTF-8
1247
+ string: '{"OwnerID":226774,"CardNumber":null,"RedirectURL":"https://homologation-secure-p.payline.com/webpayment/step1.do?reqCode=prepareStep1&token=1HotNicRbHPj78Q9SWck1363949928014","TemplateURL":null,"ReturnURL":"http://leetchi.com/?PaymentCardID=226775","ID":226775,"Tag":"test-card","CreationDate":-62135596800,"UpdateDate":-62135596800}'
1248
+ http_version:
1249
+ recorded_at: Fri, 22 Mar 2013 10:58:51 GMT
1250
+ - request:
1251
+ method: post
1252
+ uri: https://api-preprod.leetchi.com/v1/partner/example/users?ts=1363949939
1253
+ body:
1254
+ encoding: UTF-8
1255
+ string: '{"Tag":"test","Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true}'
1256
+ headers:
1257
+ X-Leetchi-Signature:
1258
+ - GQAK8EW8AI5fHFOwWZDbxSazbNy/qGOgB84okoBSsXUx48vXbhSi+3pPJ4eIClJWUZoKQGCq/qs76dlM46P5z48QDnbafBauegF5AuRyWjkqijVHB+mb91bkzLh716wT9zwrPSFjOZoGmAXp4XDaECl9/daderPqdnKTgblYL4rTQCSzwX2TklT685i8Vl4cfVg78uORsx8ixUGCmBNjuIUzJJvryuDQl7Dm+lVggQOpfgQLx77qa4qYzSG2m6JGw19aLCyfgGiLry8bRAABs1KAz7UXkAY+/SpVnXt+PQLMuD9RcOfB+USrLDVM/j9tQbofRcZYNmYPmhOIrdlPoQ==
1259
+ Content-Type:
1260
+ - application/json
1261
+ Accept-Encoding:
1262
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1263
+ Accept:
1264
+ - '*/*'
1265
+ User-Agent:
1266
+ - Ruby
1267
+ response:
1268
+ status:
1269
+ code: 200
1270
+ message: OK
1271
+ headers:
1272
+ Cache-Control:
1273
+ - private
1274
+ Content-Type:
1275
+ - application/json; charset=utf-8
1276
+ Server:
1277
+ - Microsoft-IIS/8.0
1278
+ X-Aspnetmvc-Version:
1279
+ - '2.0'
1280
+ X-Aspnet-Version:
1281
+ - 4.0.30319
1282
+ X-Powered-By:
1283
+ - ASP.NET
1284
+ Date:
1285
+ - Fri, 22 Mar 2013 10:58:59 GMT
1286
+ Content-Length:
1287
+ - '365'
1288
+ body:
1289
+ encoding: UTF-8
1290
+ string: '{"Email":"my@email.com","FirstName":"John","LastName":"Doe","CanRegisterMeanOfPayment":true,"HasRegisteredMeansOfPayment":false,"IP":null,"Birthday":null,"Password":"UGwQyS5Wd1ZqrV9paELYPd4urC7bwT","PersonalWalletAmount":0,"IsStrongAuthenticated":false,"Nationality":null,"PersonType":null,"ID":226776,"Tag":"test","CreationDate":1363949938,"UpdateDate":1363949938}'
1291
+ http_version:
1292
+ recorded_at: Fri, 22 Mar 2013 10:59:00 GMT
1293
+ - request:
1294
+ method: post
1295
+ uri: https://api-preprod.leetchi.com/v1/partner/example/cards?ts=1363949940
1296
+ body:
1297
+ encoding: UTF-8
1298
+ string: '{"Tag":"test-card","OwnerID":226776,"ReturnURL":"http://leetchi.com"}'
1299
+ headers:
1300
+ X-Leetchi-Signature:
1301
+ - VI1iZ/lpiUKhvplbBazl8qfbmzmdKSJBNWQTCs6zXa2w51Xqs4JwMsvK8XvTc93Zc4O2wJ6lSVaAD4kQoYodpvkzeD8Egg8iLvLOkgNDJs0lqbxxp30As4G1WFMkQ523Hciso94ZFH7SWcdmtViSj3NViht3tn7NJxEDgLlQP4VB7viN5wZ08BhzJF0xm4HlYr7yRT/uhHnKmIcYDeC7qRnN/mRF487ea36ajTZE9dpy3TVBFqU+BNJG4z6aFjejM0hw7qujtkOMKeuvYhgM7hpCOTU5yXeW97VsSqXOQY21mL9naGoVcKW720VHR8J0jyuNXgwCoIMq06OIOYXVKw==
1302
+ Content-Type:
1303
+ - application/json
1304
+ Accept-Encoding:
1305
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1306
+ Accept:
1307
+ - '*/*'
1308
+ User-Agent:
1309
+ - Ruby
1310
+ response:
1311
+ status:
1312
+ code: 200
1313
+ message: OK
1314
+ headers:
1315
+ Cache-Control:
1316
+ - private
1317
+ Content-Type:
1318
+ - application/json; charset=utf-8
1319
+ Server:
1320
+ - Microsoft-IIS/8.0
1321
+ X-Aspnetmvc-Version:
1322
+ - '2.0'
1323
+ X-Aspnet-Version:
1324
+ - 4.0.30319
1325
+ X-Powered-By:
1326
+ - ASP.NET
1327
+ Date:
1328
+ - Fri, 22 Mar 2013 10:59:00 GMT
1329
+ Content-Length:
1330
+ - '333'
1331
+ body:
1332
+ encoding: UTF-8
1333
+ string: '{"OwnerID":226776,"CardNumber":null,"RedirectURL":"https://homologation-secure-p.payline.com/webpayment/step1.do?reqCode=prepareStep1&token=1Vpgx4zGLyjl1GSNrwut1363949940151","TemplateURL":null,"ReturnURL":"http://leetchi.com/?PaymentCardID=226777","ID":226777,"Tag":"test-card","CreationDate":-62135596800,"UpdateDate":-62135596800}'
1334
+ http_version:
1335
+ recorded_at: Fri, 22 Mar 2013 10:59:01 GMT
1336
+ - request:
1337
+ method: delete
1338
+ uri: https://api-preprod.leetchi.com/v1/partner/example/cards/226777?ts=1363949942
1339
+ body:
1340
+ encoding: US-ASCII
1341
+ string: ''
1342
+ headers:
1343
+ X-Leetchi-Signature:
1344
+ - eaa+Qgg2odJsZWd5gt37+rDL83pmvxCg1PbOPSfbz6QMCpDVtA6u/atPhD05VTGh+hrSmFiRn33Da47tMsWhoW5IrotNpPjnc9WkK59FLqbO549vy1ueYawDJdAMu/aYuEwpbDM4wK+WkLqOKnakgNTs04YAoYiiXsw0PIwchwkQyY2Odm+2F+LMUr9UOuJ9kf0ruO+/qiAinXDXs23+bchAI457l8xUnTb9JLLRmflM+4vmHH85KvXqcDNkQZeUD1gQ4HSkAKKD3SxoibcUaCX68Q3Fd/c1lPi7WeTjrDdXNIWpP1UYWZo8Fai8FJRvNBeQVta08OO1i9sAhcr4Pw==
1345
+ Content-Type:
1346
+ - application/json
1347
+ Accept-Encoding:
1348
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
1349
+ Accept:
1350
+ - '*/*'
1351
+ User-Agent:
1352
+ - Ruby
1353
+ response:
1354
+ status:
1355
+ code: 500
1356
+ message: Internal Server Error
1357
+ headers:
1358
+ Cache-Control:
1359
+ - private
1360
+ Content-Type:
1361
+ - application/json; charset=utf-8
1362
+ Server:
1363
+ - Microsoft-IIS/8.0
1364
+ X-Aspnetmvc-Version:
1365
+ - '2.0'
1366
+ X-Aspnet-Version:
1367
+ - 4.0.30319
1368
+ X-Powered-By:
1369
+ - ASP.NET
1370
+ Date:
1371
+ - Fri, 22 Mar 2013 10:59:02 GMT
1372
+ Content-Length:
1373
+ - '289'
1374
+ body:
1375
+ encoding: UTF-8
1376
+ string: '{"ErrorCode":0,"TechnicalMessage":"Failed to enable a wallet ''47b94d2b79164b989dfc8762299bf95f''
1377
+ for the payment medium account #54502. Can not disable the wallet(s) [47b94d2b79164b989dfc8762299bf95f
1378
+ do not exist] (code ''02516'')","UserMessage":"Internal server error.","Type":"SystemError"}'
1379
+ http_version:
1380
+ recorded_at: Fri, 22 Mar 2013 10:59:03 GMT
1381
+ recorded_with: VCR 2.4.0