regaliator 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +16 -0
  3. data/.ruby-version +1 -0
  4. data/Gemfile +4 -0
  5. data/Guardfile +36 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +116 -0
  8. data/Rakefile +11 -0
  9. data/lib/regaliator/api_version_error.rb +7 -0
  10. data/lib/regaliator/client.rb +9 -0
  11. data/lib/regaliator/configuration.rb +25 -0
  12. data/lib/regaliator/endpoint.rb +17 -0
  13. data/lib/regaliator/request.rb +100 -0
  14. data/lib/regaliator/response.rb +40 -0
  15. data/lib/regaliator/v15/account.rb +11 -0
  16. data/lib/regaliator/v15/bill.rb +23 -0
  17. data/lib/regaliator/v15/biller.rb +15 -0
  18. data/lib/regaliator/v15/client.rb +32 -0
  19. data/lib/regaliator/v15/rate.rb +15 -0
  20. data/lib/regaliator/v15/transaction.rb +23 -0
  21. data/lib/regaliator/v15.rb +7 -0
  22. data/lib/regaliator/v30/account.rb +11 -0
  23. data/lib/regaliator/v30/bill.rb +35 -0
  24. data/lib/regaliator/v30/biller.rb +19 -0
  25. data/lib/regaliator/v30/client.rb +32 -0
  26. data/lib/regaliator/v30/rate.rb +15 -0
  27. data/lib/regaliator/v30/transaction.rb +11 -0
  28. data/lib/regaliator/v30.rb +7 -0
  29. data/lib/regaliator/v31.rb +14 -0
  30. data/lib/regaliator/version.rb +3 -0
  31. data/lib/regaliator.rb +59 -0
  32. data/regaliator.gemspec +34 -0
  33. data/test/fixtures/vcr_cassettes/V31/account/failed_info.yml +48 -0
  34. data/test/fixtures/vcr_cassettes/V31/account/successful_info.yml +50 -0
  35. data/test/fixtures/vcr_cassettes/V31/bill/create.yml +52 -0
  36. data/test/fixtures/vcr_cassettes/V31/bill/list.yml +71 -0
  37. data/test/fixtures/vcr_cassettes/V31/bill/pay.yml +52 -0
  38. data/test/fixtures/vcr_cassettes/V31/bill/refresh.yml +52 -0
  39. data/test/fixtures/vcr_cassettes/V31/bill/show.yml +51 -0
  40. data/test/fixtures/vcr_cassettes/V31/bill/update.yml +53 -0
  41. data/test/fixtures/vcr_cassettes/V31/bill/xdata.yml +51 -0
  42. data/test/fixtures/vcr_cassettes/V31/biller/credentials.yml +256 -0
  43. data/test/fixtures/vcr_cassettes/V31/biller/topups.yml +209 -0
  44. data/test/fixtures/vcr_cassettes/V31/biller/utilities.yml +611 -0
  45. data/test/fixtures/vcr_cassettes/V31/rate/history.yml +50 -0
  46. data/test/fixtures/vcr_cassettes/V31/rate/list.yml +50 -0
  47. data/test/fixtures/vcr_cassettes/V31/transaction/list.yml +52 -0
  48. data/test/fixtures/vcr_cassettes/V31/transaction/search.yml +52 -0
  49. data/test/fixtures/vcr_cassettes/v15/account/failed_info.yml +50 -0
  50. data/test/fixtures/vcr_cassettes/v15/account/successful_info.yml +52 -0
  51. data/test/fixtures/vcr_cassettes/v15/bill/check.yml +52 -0
  52. data/test/fixtures/vcr_cassettes/v15/bill/consult.yml +52 -0
  53. data/test/fixtures/vcr_cassettes/v15/bill/index.yml +176 -0
  54. data/test/fixtures/vcr_cassettes/v15/bill/pay.yml +52 -0
  55. data/test/fixtures/vcr_cassettes/v15/biller/topups.yml +212 -0
  56. data/test/fixtures/vcr_cassettes/v15/biller/utilities.yml +611 -0
  57. data/test/fixtures/vcr_cassettes/v15/rate/history.yml +52 -0
  58. data/test/fixtures/vcr_cassettes/v15/rate/list.yml +52 -0
  59. data/test/fixtures/vcr_cassettes/v15/transaction/cancel.yml +52 -0
  60. data/test/fixtures/vcr_cassettes/v15/transaction/list.yml +54 -0
  61. data/test/fixtures/vcr_cassettes/v15/transaction/pay.yml +52 -0
  62. data/test/fixtures/vcr_cassettes/v15/transaction/reverse.yml +52 -0
  63. data/test/fixtures/vcr_cassettes/v15/transaction/search.yml +54 -0
  64. data/test/fixtures/vcr_cassettes/v30/account/failed_info.yml +48 -0
  65. data/test/fixtures/vcr_cassettes/v30/account/successful_info.yml +50 -0
  66. data/test/fixtures/vcr_cassettes/v30/bill/create.yml +56 -0
  67. data/test/fixtures/vcr_cassettes/v30/bill/list.yml +54 -0
  68. data/test/fixtures/vcr_cassettes/v30/bill/pay.yml +56 -0
  69. data/test/fixtures/vcr_cassettes/v30/bill/refresh.yml +56 -0
  70. data/test/fixtures/vcr_cassettes/v30/bill/show.yml +55 -0
  71. data/test/fixtures/vcr_cassettes/v30/bill/update.yml +57 -0
  72. data/test/fixtures/vcr_cassettes/v30/bill/xdata.yml +50 -0
  73. data/test/fixtures/vcr_cassettes/v30/biller/credentials.yml +54 -0
  74. data/test/fixtures/vcr_cassettes/v30/biller/topups.yml +54 -0
  75. data/test/fixtures/vcr_cassettes/v30/biller/utilities.yml +54 -0
  76. data/test/fixtures/vcr_cassettes/v30/rate/history.yml +54 -0
  77. data/test/fixtures/vcr_cassettes/v30/rate/list.yml +54 -0
  78. data/test/fixtures/vcr_cassettes/v30/transaction/list.yml +56 -0
  79. data/test/fixtures/vcr_cassettes/v30/transaction/search.yml +56 -0
  80. data/test/regaliator/api_version_error_test.rb +14 -0
  81. data/test/regaliator/client_test.rb +19 -0
  82. data/test/regaliator/configuration_test.rb +115 -0
  83. data/test/regaliator/endpoint_test.rb +19 -0
  84. data/test/regaliator/v15/account_test.rb +37 -0
  85. data/test/regaliator/v15/bill_test.rb +67 -0
  86. data/test/regaliator/v15/biller_test.rb +35 -0
  87. data/test/regaliator/v15/client_test.rb +23 -0
  88. data/test/regaliator/v15/rate_test.rb +35 -0
  89. data/test/regaliator/v15/transaction_test.rb +62 -0
  90. data/test/regaliator/v15_test.rb +10 -0
  91. data/test/regaliator/v30/account_test.rb +37 -0
  92. data/test/regaliator/v30/bill_test.rb +80 -0
  93. data/test/regaliator/v30/biller_test.rb +44 -0
  94. data/test/regaliator/v30/client_test.rb +23 -0
  95. data/test/regaliator/v30/rate_test.rb +35 -0
  96. data/test/regaliator/v30/transaction_test.rb +35 -0
  97. data/test/regaliator/v30_test.rb +10 -0
  98. data/test/regaliator/v31/account_test.rb +37 -0
  99. data/test/regaliator/v31/bill_test.rb +84 -0
  100. data/test/regaliator/v31/biller_test.rb +44 -0
  101. data/test/regaliator/v31/client_test.rb +23 -0
  102. data/test/regaliator/v31/rate_test.rb +35 -0
  103. data/test/regaliator/v31/transaction_test.rb +35 -0
  104. data/test/regaliator/v31_test.rb +10 -0
  105. data/test/regaliator/version_test.rb +10 -0
  106. data/test/regaliator_test.rb +66 -0
  107. data/test/test_helper.rb +26 -0
  108. metadata +394 -0
@@ -0,0 +1,11 @@
1
+ require 'regaliator/endpoint'
2
+
3
+ module Regaliator
4
+ module V30
5
+ class Transaction < Endpoint
6
+ def list(params = {})
7
+ request('/transactions', params).get
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,7 @@
1
+ require 'regaliator/v30/client'
2
+
3
+ module Regaliator
4
+ module V30
5
+ API_VERSION = '3.0'.freeze
6
+ end
7
+ end
@@ -0,0 +1,14 @@
1
+ require 'regaliator/v30/client'
2
+
3
+ module Regaliator
4
+ module V31
5
+ API_VERSION = '3.1'.freeze
6
+
7
+ Client = V30::Client
8
+ Account = V30::Account
9
+ Bill = V30::Bill
10
+ Biller = V30::Biller
11
+ Rate = V30::Rate
12
+ Transaction = V30::Transaction
13
+ end
14
+ end
@@ -0,0 +1,3 @@
1
+ module Regaliator
2
+ VERSION = '4.0.0'
3
+ end
data/lib/regaliator.rb ADDED
@@ -0,0 +1,59 @@
1
+ require 'regaliator/configuration'
2
+ require 'regaliator/api_version_error'
3
+ require 'regaliator/v15'
4
+ require 'regaliator/v30'
5
+ require 'regaliator/v31'
6
+
7
+ module Regaliator
8
+ API_VERSIONS = {
9
+ V15::API_VERSION => V15::Client,
10
+ V30::API_VERSION => V30::Client,
11
+ V31::API_VERSION => V31::Client
12
+ }.freeze
13
+
14
+ class << self
15
+ def configuration
16
+ @config ||= Configuration.new
17
+ end
18
+
19
+ def configure
20
+ yield(configuration)
21
+ end
22
+
23
+ def new(arg = nil)
24
+ config = get_configuration(arg)
25
+ yield(config) if block_given?
26
+
27
+ unless API_VERSIONS.key?(config.version)
28
+ raise APIVersionError.new(config.version)
29
+ end
30
+
31
+ API_VERSIONS[config.version].new(config)
32
+ end
33
+
34
+ def method_missing(method_name, *args)
35
+ client = new
36
+ if client.respond_to?(method_name)
37
+ client.send(method_name, *args)
38
+ else
39
+ super
40
+ end
41
+ end
42
+
43
+ private
44
+
45
+ def get_configuration(arg)
46
+ return arg if arg.is_a?(Configuration)
47
+
48
+ if arg.is_a?(Hash)
49
+ configuration.dup.tap do |config|
50
+ arg.each do |key, value|
51
+ config.send("#{key}=", value) if config.respond_to?("#{key}=")
52
+ end
53
+ end
54
+ else
55
+ configuration
56
+ end
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,34 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'regaliator/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'regaliator'
8
+ spec.version = Regaliator::VERSION
9
+ spec.authors = ['Hesham El-Nahhas', 'Leigh Halliday', 'Geoffrey Roguelon', ]
10
+ spec.email = ['hesham@regalii.com', 'leigh@regalii.com', 'geoffrey@regalii.com']
11
+ spec.summary = %q{Ruby wrapper for Regalii's API}
12
+ spec.description = "A Ruby client for consuming Regalii's APIs."
13
+ spec.homepage = 'https://www.regalii.com/api'
14
+ spec.license = 'MIT'
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ['lib']
20
+
21
+ spec.required_ruby_version = ['>= 2.1.0', '<= 2.4']
22
+
23
+ spec.add_dependency 'json', '~> 2.0', '>= 2.0.3'
24
+
25
+ spec.add_development_dependency 'bundler', '~> 1.7'
26
+ # Old version of Guard to support Ruby 2.1.5.
27
+ spec.add_development_dependency 'guard', '~> 2.11', '>= 2.11.0'
28
+ spec.add_development_dependency 'guard-minitest', '~> 2.4', '>= 2.4.6'
29
+ spec.add_development_dependency 'minitest-reporters', '~> 1.1', '>= 1.1.13'
30
+ spec.add_development_dependency 'minitest', '~> 5.8', '>= 5.8.4'
31
+ spec.add_development_dependency 'rake', '~> 10.0'
32
+ spec.add_development_dependency 'vcr', '~> 2.9', '>= 2.9.3'
33
+ spec.add_development_dependency 'webmock', '~> 1.19'
34
+ end
@@ -0,0 +1,48 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.regalii.dev/account
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - application/vnd.regalii.v3.1+json
14
+ User-Agent:
15
+ - Regaliator gem v4.0.0
16
+ Content-Type:
17
+ - application/json
18
+ Date:
19
+ - Fri, 20 Jan 2017 18:11:05 GMT
20
+ Authorization:
21
+ - APIAuth testing:gSJIVZF0g4/dghXvqR8NzEwZfkg=
22
+ response:
23
+ status:
24
+ code: 401
25
+ message: Unauthorized
26
+ headers:
27
+ X-Frame-Options:
28
+ - SAMEORIGIN
29
+ X-Xss-Protection:
30
+ - 1; mode=block
31
+ X-Content-Type-Options:
32
+ - nosniff
33
+ Content-Type:
34
+ - application/json; charset=utf-8
35
+ Cache-Control:
36
+ - no-cache
37
+ X-Request-Id:
38
+ - 641e34a4-7aab-4639-8338-41dc0201cf9b
39
+ X-Runtime:
40
+ - '0.045489'
41
+ Transfer-Encoding:
42
+ - chunked
43
+ body:
44
+ encoding: UTF-8
45
+ string: '{"message":"Unauthorized"}'
46
+ http_version:
47
+ recorded_at: Fri, 20 Jan 2017 18:11:05 GMT
48
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,50 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.regalii.dev/account
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - application/vnd.regalii.v3.1+json
14
+ User-Agent:
15
+ - Regaliator gem v4.0.0
16
+ Content-Type:
17
+ - application/json
18
+ Date:
19
+ - Fri, 20 Jan 2017 18:11:04 GMT
20
+ Authorization:
21
+ - APIAuth testing:YDpYhv97Qh0AuuLQapyoxGO5iMU=
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ X-Frame-Options:
28
+ - SAMEORIGIN
29
+ X-Xss-Protection:
30
+ - 1; mode=block
31
+ X-Content-Type-Options:
32
+ - nosniff
33
+ Content-Type:
34
+ - application/json; charset=utf-8
35
+ Etag:
36
+ - W/"0c8a1509449a43025392be608ef633c4"
37
+ Cache-Control:
38
+ - max-age=0, private, must-revalidate
39
+ X-Request-Id:
40
+ - 94aded95-2474-4732-912c-051e3cb5fe49
41
+ X-Runtime:
42
+ - '0.248839'
43
+ Transfer-Encoding:
44
+ - chunked
45
+ body:
46
+ encoding: UTF-8
47
+ string: '{"name":"Regalii","balance":1797.41,"minimum_balance":-2000.0,"currency":"USD"}'
48
+ http_version:
49
+ recorded_at: Fri, 20 Jan 2017 18:11:05 GMT
50
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,52 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.regalii.dev/bills
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"biller_id":2,"account_number":"8081969"}'
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - application/vnd.regalii.v3.1+json
14
+ User-Agent:
15
+ - Regaliator gem v4.0.0
16
+ Content-Type:
17
+ - application/json
18
+ Date:
19
+ - Fri, 20 Jan 2017 18:19:25 GMT
20
+ Content-Md5:
21
+ - HACXtG3Wd6zozvcZfojLgg==
22
+ Authorization:
23
+ - APIAuth testing:0qG2SymJcJiXDNWk2i5JziM6Hew=
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ X-Frame-Options:
30
+ - SAMEORIGIN
31
+ X-Xss-Protection:
32
+ - 1; mode=block
33
+ X-Content-Type-Options:
34
+ - nosniff
35
+ Content-Type:
36
+ - application/json; charset=utf-8
37
+ Etag:
38
+ - W/"564fdb2a673a5e8df4884766f3f17d86"
39
+ Cache-Control:
40
+ - max-age=0, private, must-revalidate
41
+ X-Request-Id:
42
+ - e5705409-50c5-4a13-bf05-65c7179f6990
43
+ X-Runtime:
44
+ - '1.089419'
45
+ Transfer-Encoding:
46
+ - chunked
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"type":"bill","id":695109,"biller_id":2,"account_number":"8081969","name_on_account":null,"due_date":null,"balance":76.0,"balance_currency":"RD","balance_updated_at":"2017-01-20T18:19:25Z","error_code":null,"error_message":null,"status":"linked","migrated_at":null,"mfa_challenges":[]}'
50
+ http_version:
51
+ recorded_at: Fri, 20 Jan 2017 18:19:26 GMT
52
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,71 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.regalii.dev/bills
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - application/vnd.regalii.v3.1+json
14
+ User-Agent:
15
+ - Regaliator gem v4.0.0
16
+ Content-Type:
17
+ - application/json
18
+ Date:
19
+ - Fri, 20 Jan 2017 18:26:52 GMT
20
+ Authorization:
21
+ - APIAuth testing:ivVHfycVUNXQ8ZR3SDNbpYwhWak=
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ X-Frame-Options:
28
+ - SAMEORIGIN
29
+ X-Xss-Protection:
30
+ - 1; mode=block
31
+ X-Content-Type-Options:
32
+ - nosniff
33
+ X-Pagination:
34
+ - '{"total_entries":9205,"total_pages":93,"previous_page":null,"current_page":1,"next_page":2}'
35
+ Content-Type:
36
+ - application/json; charset=utf-8
37
+ Etag:
38
+ - W/"20651000fab4c174e3320f6ce1f2d612"
39
+ Cache-Control:
40
+ - max-age=0, private, must-revalidate
41
+ X-Request-Id:
42
+ - 38f62cee-e2a1-49de-af72-d6868fcbb047
43
+ X-Runtime:
44
+ - '0.140525'
45
+ Transfer-Encoding:
46
+ - chunked
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"bills":[{"type":"bill","id":51,"biller_id":12,"account_number":"8099670883","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":401,"biller_id":14,"account_number":"6463060086","name_on_account":"","due_date":null,"balance":null,"balance_currency":"RD","balance_updated_at":"2014-12-15T07:03:17Z","error_code":"R4","error_message":"Account
50
+ number does not resolve with biller","status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":971,"biller_id":3,"account_number":"6463060086","name_on_account":null,"due_date":null,"balance":null,"balance_currency":"RD","balance_updated_at":"2014-12-15T07:03:38Z","error_code":"R2","error_message":"Invalid
51
+ Account Number","status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":21051,"biller_id":46,"account_number":"9175009310","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":"RD","balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":40061,"biller_id":2,"account_number":"201307330517","name_on_account":null,"due_date":null,"balance":null,"balance_currency":"RD","balance_updated_at":"2014-12-15T07:16:43Z","error_code":"R2","error_message":"Invalid
52
+ Account Number","status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":40081,"biller_id":13,"account_number":"09072440","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":"RD","balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":40091,"biller_id":2,"account_number":"2192685","name_on_account":null,"due_date":"2015-03-22T04:00:00Z","balance":null,"balance_currency":"RD","balance_updated_at":"2015-04-30T05:00:05Z","error_code":"R4","error_message":"Account
53
+ number does not resolve with biller","status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":40101,"biller_id":31,"account_number":"201307330517","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":"RD","balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":40271,"biller_id":1,"account_number":"2081497","name_on_account":"De
54
+ Jesus , Rafael Ant ","due_date":"2015-07-12T04:00:00Z","balance":1650.61,"balance_currency":"RD","balance_updated_at":"2015-06-21T09:00:19Z","error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":40281,"biller_id":1,"account_number":"5759713","name_on_account":"Ortiz ,
55
+ Adriano","due_date":"2015-07-08T04:00:00Z","balance":1805.77,"balance_currency":"RD","balance_updated_at":"2015-06-21T09:00:17Z","error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":41011,"biller_id":6,"account_number":"8095648896","name_on_account":"Leonarda Arias","due_date":"2015-04-20T04:00:00Z","balance":1990.49,"balance_currency":"RD","balance_updated_at":"2015-04-16T05:00:11Z","error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":43421,"biller_id":13,"account_number":"7778787773","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":"RD","balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":46061,"biller_id":3,"account_number":"2260244","name_on_account":null,"due_date":"2014-05-03T06:24:52Z","balance":null,"balance_currency":"RD","balance_updated_at":"2014-12-15T07:19:36Z","error_code":"R2","error_message":"Invalid
56
+ Account Number","status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":46561,"biller_id":11,"account_number":"8493534779","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":47111,"biller_id":10,"account_number":"8096322133","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":47811,"biller_id":11,"account_number":"8293477998","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":47841,"biller_id":11,"account_number":"8297780009","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":49981,"biller_id":12,"account_number":"8099898115","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":50091,"biller_id":11,"account_number":"8092358247","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":50431,"biller_id":11,"account_number":"8093778609","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":50461,"biller_id":12,"account_number":"8496353421","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":50931,"biller_id":11,"account_number":"8094262419","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":51181,"biller_id":11,"account_number":"8095126909","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":51321,"biller_id":11,"account_number":"8293492152","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":53191,"biller_id":11,"account_number":"8299581839","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":53201,"biller_id":12,"account_number":"8292816096","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":53291,"biller_id":11,"account_number":"8294283703","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":53341,"biller_id":12,"account_number":"8298705439","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":53351,"biller_id":10,"account_number":"8093483953","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":54511,"biller_id":25,"account_number":"8297812723","name_on_account":"Ana Arias
57
+ Cedano ","due_date":"2015-06-11T04:00:00Z","balance":1098.5,"balance_currency":"RD","balance_updated_at":"2015-06-21T09:00:18Z","error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":55721,"biller_id":11,"account_number":"8093945342","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":55791,"biller_id":9,"account_number":"8294090402","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":58091,"biller_id":12,"account_number":"8299388881","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":58131,"biller_id":11,"account_number":"8293302578","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":58371,"biller_id":11,"account_number":"8496508148","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":58391,"biller_id":7,"account_number":"8095366172","name_on_account":"Tempora Rosario
58
+ Corporan ","due_date":"2015-06-11T04:00:00Z","balance":1787.87,"balance_currency":"RD","balance_updated_at":"2015-06-21T09:00:11Z","error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":58631,"biller_id":11,"account_number":"8494017411","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":59761,"biller_id":11,"account_number":"8293671265","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":59921,"biller_id":12,"account_number":"8297190928","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":60681,"biller_id":22,"account_number":"8092379263","name_on_account":"Henriquez
59
+ Antigua, Josefina","due_date":null,"balance":null,"balance_currency":"RD","balance_updated_at":"2015-04-30T05:00:33Z","error_code":"R4","error_message":"Account
60
+ number does not resolve with biller","status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":61631,"biller_id":11,"account_number":"8098362964","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":61761,"biller_id":12,"account_number":"8099635426","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":62491,"biller_id":12,"account_number":"8295614253","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":63531,"biller_id":11,"account_number":"8097428961","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":63741,"biller_id":11,"account_number":"8097728684","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":64791,"biller_id":13,"account_number":"197417","name_on_account":"acueducto","due_date":null,"balance":0.0,"balance_currency":"RD","balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":64801,"biller_id":7,"account_number":"8095265667","name_on_account":"Matilde De
61
+ Los Santos ","due_date":"2015-06-26T04:00:00Z","balance":1534.87,"balance_currency":"RD","balance_updated_at":"2015-06-21T09:00:12Z","error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":64821,"biller_id":23,"account_number":"8492546688","name_on_account":null,"due_date":"2014-12-22T04:00:00Z","balance":null,"balance_currency":"RD","balance_updated_at":"2015-04-30T05:00:37Z","error_code":"R4","error_message":"Account
62
+ number does not resolve with biller","status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":64951,"biller_id":12,"account_number":"8098636553","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":65561,"biller_id":2,"account_number":"8372923","name_on_account":"Jhoan
63
+ Rafael Cruz ","due_date":"2015-03-08T04:00:00Z","balance":null,"balance_currency":"RD","balance_updated_at":"2015-03-02T06:00:59Z","error_code":"R2","error_message":"Invalid
64
+ Account Number","status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":65801,"biller_id":11,"account_number":"8098397978","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":65991,"biller_id":11,"account_number":"8299638528","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":66841,"biller_id":11,"account_number":"8098121324","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":67371,"biller_id":61,"account_number":"9173460628","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":"RD","balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":67391,"biller_id":11,"account_number":"8296461544","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":67401,"biller_id":12,"account_number":"8296405237","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":67411,"biller_id":11,"account_number":"8298352748","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":68341,"biller_id":11,"account_number":"8092982070","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":68361,"biller_id":12,"account_number":"8299940613","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":68441,"biller_id":11,"account_number":"8293151510","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":68461,"biller_id":11,"account_number":"8293559910","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":68491,"biller_id":11,"account_number":"8496540410","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":68511,"biller_id":22,"account_number":"8092778671","name_on_account":"Nu?Ez
65
+ Gil, Nellis Francisca","due_date":"2015-05-10T05:46:14Z","balance":null,"balance_currency":"RD","balance_updated_at":"2015-04-30T05:00:47Z","error_code":"R4","error_message":"Account
66
+ number does not resolve with biller","status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":68671,"biller_id":11,"account_number":"8295254554","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":68691,"biller_id":11,"account_number":"8095055086","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":68921,"biller_id":12,"account_number":"8299071261","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":68931,"biller_id":12,"account_number":"8096094655","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":69001,"biller_id":12,"account_number":"8294010427","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":69011,"biller_id":11,"account_number":"8292500469","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":69081,"biller_id":11,"account_number":"8098236485","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":69641,"biller_id":12,"account_number":"8296772300","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":70311,"biller_id":46,"account_number":"8296490707","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":"RD","balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":70991,"biller_id":46,"account_number":"8090989080","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":"RD","balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":71111,"biller_id":11,"account_number":"8095174220","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":71351,"biller_id":11,"account_number":"8297630930","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":72171,"biller_id":12,"account_number":"8099183165","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":72191,"biller_id":12,"account_number":"8098499536","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":72201,"biller_id":12,"account_number":"8296339298","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":72461,"biller_id":11,"account_number":"8299776480","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":73921,"biller_id":23,"account_number":"8295847222","name_on_account":null,"due_date":"2015-01-23T04:00:00Z","balance":null,"balance_currency":"RD","balance_updated_at":"2015-04-30T05:00:54Z","error_code":"R4","error_message":"Account
67
+ number does not resolve with biller","status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":74031,"biller_id":11,"account_number":"8297678232","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":74091,"biller_id":11,"account_number":"8094631949","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":74161,"biller_id":12,"account_number":"8096606289","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":74361,"biller_id":11,"account_number":"8092034995","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":74451,"biller_id":11,"account_number":"8493303917","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":75091,"biller_id":11,"account_number":"8092995671","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":75401,"biller_id":11,"account_number":"8299581498","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":75511,"biller_id":11,"account_number":"8096189683","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":75541,"biller_id":12,"account_number":"8292626150","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":75721,"biller_id":22,"account_number":"8095920247","name_on_account":null,"due_date":null,"balance":null,"balance_currency":"RD","balance_updated_at":"2014-12-15T07:37:13Z","error_code":"R2","error_message":"Invalid
68
+ Account Number","status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":75921,"biller_id":11,"account_number":"8292915901","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":76211,"biller_id":12,"account_number":"8096131125","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":77201,"biller_id":11,"account_number":"8296981687","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":77481,"biller_id":11,"account_number":"8292661380","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":77761,"biller_id":46,"account_number":"8296490707","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":"RD","balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":77781,"biller_id":31,"account_number":"9999","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":"RD","balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":78501,"biller_id":12,"account_number":"8099062369","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":78511,"biller_id":12,"account_number":"8295784867","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":78661,"biller_id":11,"account_number":"8292090160","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]},{"type":"bill","id":78671,"biller_id":11,"account_number":"8493605163","name_on_account":null,"due_date":null,"balance":0.0,"balance_currency":null,"balance_updated_at":null,"error_code":null,"error_message":null,"status":null,"migrated_at":null,"mfa_challenges":[]}]}'
69
+ http_version:
70
+ recorded_at: Fri, 20 Jan 2017 18:26:52 GMT
71
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,52 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.regalii.dev/bills/695109/pay
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"amount":758.0,"currency":"RD","user_id":12981}'
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - application/vnd.regalii.v3.1+json
14
+ User-Agent:
15
+ - Regaliator gem v4.0.0
16
+ Content-Type:
17
+ - application/json
18
+ Date:
19
+ - Fri, 20 Jan 2017 18:30:31 GMT
20
+ Content-Md5:
21
+ - C9Yv/7+TQ7VwZdeaazmuAg==
22
+ Authorization:
23
+ - APIAuth testing:TS5gR2wQ5T1Yy+urco2nGPSkOSs=
24
+ response:
25
+ status:
26
+ code: 201
27
+ message: Created
28
+ headers:
29
+ X-Frame-Options:
30
+ - SAMEORIGIN
31
+ X-Xss-Protection:
32
+ - 1; mode=block
33
+ X-Content-Type-Options:
34
+ - nosniff
35
+ Content-Type:
36
+ - application/json; charset=utf-8
37
+ Etag:
38
+ - W/"fceefadd2b925ea2870834e6fcc8acd2"
39
+ Cache-Control:
40
+ - max-age=0, private, must-revalidate
41
+ X-Request-Id:
42
+ - fde011a5-c15d-4760-9b54-33b933b7321a
43
+ X-Runtime:
44
+ - '0.181573'
45
+ Transfer-Encoding:
46
+ - chunked
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"type":"transaction","id":3209415,"amount":758.0,"amount_currency":"RD","fx_rate":44.4661,"amount_usd":17.05,"transaction_fee":3.0,"total_usd":20.05,"hours_to_fulfill":0,"created_at":"2017-01-20T18:30:31Z"}'
50
+ http_version:
51
+ recorded_at: Fri, 20 Jan 2017 18:30:31 GMT
52
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,52 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.regalii.dev/bills/695109/refresh
6
+ body:
7
+ encoding: UTF-8
8
+ string: "{}"
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - application/vnd.regalii.v3.1+json
14
+ User-Agent:
15
+ - Regaliator gem v4.0.0
16
+ Content-Type:
17
+ - application/json
18
+ Date:
19
+ - Fri, 20 Jan 2017 18:25:36 GMT
20
+ Content-Md5:
21
+ - mZFLkyvTelC5g8XnyQrpOw==
22
+ Authorization:
23
+ - APIAuth testing:DlcT45MtZaNbbFJeAZeqeJGMFiw=
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ X-Frame-Options:
30
+ - SAMEORIGIN
31
+ X-Xss-Protection:
32
+ - 1; mode=block
33
+ X-Content-Type-Options:
34
+ - nosniff
35
+ Content-Type:
36
+ - application/json; charset=utf-8
37
+ Etag:
38
+ - W/"f7fe2ff230a086fa50a28d635b7679e0"
39
+ Cache-Control:
40
+ - max-age=0, private, must-revalidate
41
+ X-Request-Id:
42
+ - 1bd661e6-b190-47a5-86ec-7cc93b75187c
43
+ X-Runtime:
44
+ - '1.056758'
45
+ Transfer-Encoding:
46
+ - chunked
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"type":"bill","id":695109,"biller_id":2,"account_number":"8081969","name_on_account":null,"due_date":null,"balance":482.0,"balance_currency":"RD","balance_updated_at":"2017-01-20T18:25:36Z","error_code":null,"error_message":null,"status":"linked","migrated_at":null,"mfa_challenges":[]}'
50
+ http_version:
51
+ recorded_at: Fri, 20 Jan 2017 18:25:37 GMT
52
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,51 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.regalii.dev/bills/695109
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - application/vnd.regalii.v3.1+json
14
+ User-Agent:
15
+ - Regaliator gem v4.0.0
16
+ Content-Type:
17
+ - application/json
18
+ Date:
19
+ - Fri, 20 Jan 2017 18:22:28 GMT
20
+ Authorization:
21
+ - APIAuth testing:GUsCP3d87NwA0C9JOY+J+RiYImQ=
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ X-Frame-Options:
28
+ - SAMEORIGIN
29
+ X-Xss-Protection:
30
+ - 1; mode=block
31
+ X-Content-Type-Options:
32
+ - nosniff
33
+ Content-Type:
34
+ - application/json; charset=utf-8
35
+ Etag:
36
+ - W/"ec7a9c02711a32aad9ed37046942c36f"
37
+ Cache-Control:
38
+ - max-age=0, private, must-revalidate
39
+ X-Request-Id:
40
+ - bb7e98ff-099e-4159-a813-289e1bb675fb
41
+ X-Runtime:
42
+ - '0.037504'
43
+ Transfer-Encoding:
44
+ - chunked
45
+ body:
46
+ encoding: UTF-8
47
+ string: '{"type":"bill","id":695109,"biller_id":2,"account_number":"8081969","name_on_account":"Test
48
+ name","due_date":null,"balance":76.0,"balance_currency":"RD","balance_updated_at":"2017-01-20T18:19:25Z","error_code":null,"error_message":null,"status":"linked","migrated_at":null,"mfa_challenges":[]}'
49
+ http_version:
50
+ recorded_at: Fri, 20 Jan 2017 18:22:28 GMT
51
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,53 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: patch
5
+ uri: http://api.regalii.dev/bills/695109
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"name_on_account":"Test name"}'
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - application/vnd.regalii.v3.1+json
14
+ User-Agent:
15
+ - Regaliator gem v4.0.0
16
+ Content-Type:
17
+ - application/json
18
+ Date:
19
+ - Fri, 20 Jan 2017 18:22:10 GMT
20
+ Content-Md5:
21
+ - tQ8IX1hl4ZosSRi1479/kw==
22
+ Authorization:
23
+ - APIAuth testing:X1CXuA4QGfK6f65sQJi7P1rZNhQ=
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ X-Frame-Options:
30
+ - SAMEORIGIN
31
+ X-Xss-Protection:
32
+ - 1; mode=block
33
+ X-Content-Type-Options:
34
+ - nosniff
35
+ Content-Type:
36
+ - application/json; charset=utf-8
37
+ Etag:
38
+ - W/"ec7a9c02711a32aad9ed37046942c36f"
39
+ Cache-Control:
40
+ - max-age=0, private, must-revalidate
41
+ X-Request-Id:
42
+ - 1bb1546d-b22f-4c3f-8bd8-7ac90803b2b2
43
+ X-Runtime:
44
+ - '1.104182'
45
+ Transfer-Encoding:
46
+ - chunked
47
+ body:
48
+ encoding: UTF-8
49
+ string: '{"type":"bill","id":695109,"biller_id":2,"account_number":"8081969","name_on_account":"Test
50
+ name","due_date":null,"balance":76.0,"balance_currency":"RD","balance_updated_at":"2017-01-20T18:19:25Z","error_code":null,"error_message":null,"status":"linked","migrated_at":null,"mfa_challenges":[]}'
51
+ http_version:
52
+ recorded_at: Fri, 20 Jan 2017 18:22:11 GMT
53
+ recorded_with: VCR 2.9.3