fat_zebra 3.1.0 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +1 -1
  3. data/lib/fat_zebra.rb +1 -0
  4. data/lib/fat_zebra/authorise.rb +49 -0
  5. data/lib/fat_zebra/version.rb +1 -1
  6. data/spec/cassettes/FatZebra_Authorise/_authorise/with_challenge_response/1_2_3_1.yml +48 -0
  7. data/spec/cassettes/FatZebra_Authorise/_authorise/with_challenge_response/1_2_3_2.yml +48 -0
  8. data/spec/cassettes/FatZebra_Authorise/_authorise/with_frictionless_response/1_2_2_1.yml +48 -0
  9. data/spec/cassettes/FatZebra_Authorise/_authorise/with_frictionless_response/1_2_2_2.yml +48 -0
  10. data/spec/cassettes/FatZebra_Authorise/_authorise/with_invalid_input/1_2_1_1.yml +50 -0
  11. data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_given_params.yml +46 -0
  12. data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_no_params.yml +46 -0
  13. data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_some_params.yml +46 -0
  14. data/spec/cassettes/FatZebra_BankAccount/_create/1_1_1.yml +8 -14
  15. data/spec/cassettes/FatZebra_BankAccount/_create/1_1_2.yml +8 -14
  16. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_1.yml +30 -30
  17. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_2.yml +30 -30
  18. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_3.yml +30 -30
  19. data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_1.yml +11 -17
  20. data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_2.yml +11 -17
  21. data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_1.yml +11 -17
  22. data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_2.yml +11 -17
  23. data/spec/cassettes/FatZebra_Batch/_find/1_2_1.yml +19 -31
  24. data/spec/cassettes/FatZebra_Batch/_find/1_2_2.yml +19 -31
  25. data/spec/cassettes/FatZebra_Batch/_result/1_4_1.yml +26 -44
  26. data/spec/cassettes/FatZebra_Batch/_search/1_3_1.yml +6 -6
  27. data/spec/cassettes/FatZebra_Batch/_search/1_3_2.yml +6 -6
  28. data/spec/cassettes/FatZebra_Batch/_search/1_3_3.yml +6 -6
  29. data/spec/cassettes/FatZebra_Card/_create/1_1_1.yml +7 -13
  30. data/spec/cassettes/FatZebra_Card/_create/1_1_2.yml +7 -13
  31. data/spec/cassettes/FatZebra_Card/_create/1_1_3.yml +7 -13
  32. data/spec/cassettes/FatZebra_Card/_create/1_1_4.yml +7 -13
  33. data/spec/cassettes/FatZebra_Card/_create/1_1_5.yml +7 -13
  34. data/spec/cassettes/FatZebra_Card/_create/1_1_6.yml +7 -13
  35. data/spec/cassettes/FatZebra_Card/_update/1_2_1.yml +15 -27
  36. data/spec/cassettes/FatZebra_Card/_update/1_2_2.yml +15 -27
  37. data/spec/cassettes/FatZebra_Card/_update/1_2_3.yml +15 -27
  38. data/spec/cassettes/FatZebra_Card/_update/validations/1_2_4_1.yml +7 -13
  39. data/spec/cassettes/FatZebra_Customer/_create/1_1_1.yml +9 -15
  40. data/spec/cassettes/FatZebra_Customer/_create/1_1_2.yml +9 -15
  41. data/spec/cassettes/FatZebra_Customer/_create/1_1_3.yml +9 -15
  42. data/spec/cassettes/FatZebra_Customer/_create/1_1_4.yml +9 -15
  43. data/spec/cassettes/FatZebra_Customer/_create/1_1_5.yml +9 -15
  44. data/spec/cassettes/FatZebra_Customer/_create/1_1_6.yml +9 -15
  45. data/spec/cassettes/FatZebra_Customer/_delete/1_5_1.yml +18 -30
  46. data/spec/cassettes/FatZebra_Customer/_find/1_3_1.yml +18 -30
  47. data/spec/cassettes/FatZebra_Customer/_find/1_3_2.yml +18 -30
  48. data/spec/cassettes/FatZebra_Customer/_search/1_2_1.yml +12 -16
  49. data/spec/cassettes/FatZebra_Customer/_search/1_2_2.yml +12 -16
  50. data/spec/cassettes/FatZebra_Customer/_search/1_2_3.yml +12 -16
  51. data/spec/cassettes/FatZebra_Customer/_update/1_4_1.yml +19 -31
  52. data/spec/cassettes/FatZebra_Customer/_update/1_4_2.yml +19 -31
  53. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_1.yml +8 -14
  54. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_2.yml +8 -14
  55. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_3.yml +8 -14
  56. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_4.yml +8 -14
  57. data/spec/cassettes/FatZebra_DirectCredit/_create/validations/valid/1_1_5_1_1.yml +7 -13
  58. data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_1.yml +16 -28
  59. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_1.yml +16 -28
  60. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_2.yml +16 -28
  61. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_3.yml +13 -13
  62. data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_1.yml +20 -20
  63. data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_2.yml +20 -20
  64. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_1.yml +8 -14
  65. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_2.yml +8 -14
  66. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_3.yml +8 -14
  67. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_4.yml +8 -14
  68. data/spec/cassettes/FatZebra_DirectDebit/_create/validations/valid/1_1_5_1_1.yml +7 -13
  69. data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_1.yml +16 -28
  70. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_1.yml +16 -28
  71. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_2.yml +16 -28
  72. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_3.yml +13 -13
  73. data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_1.yml +20 -20
  74. data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_2.yml +20 -20
  75. data/spec/cassettes/FatZebra_Information/_ping/1_1_1.yml +7 -13
  76. data/spec/cassettes/FatZebra_Information/_ping/1_1_2.yml +7 -13
  77. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_1.yml +48 -48
  78. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_2.yml +48 -48
  79. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_1.yml +20 -20
  80. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_2.yml +20 -20
  81. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_3.yml +20 -20
  82. data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_1.yml +28 -28
  83. data/spec/cassettes/FatZebra_PaymentPlan/_destroy/1_6_1.yml +28 -28
  84. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_1.yml +32 -32
  85. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_2.yml +32 -32
  86. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_3.yml +32 -32
  87. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_1.yml +34 -34
  88. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_2.yml +34 -34
  89. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_1.yml +28 -28
  90. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_2.yml +28 -28
  91. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_3.yml +28 -28
  92. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_1.yml +34 -34
  93. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_2.yml +34 -34
  94. data/spec/cassettes/FatZebra_Purchase/_create/1_1_1.yml +9 -15
  95. data/spec/cassettes/FatZebra_Purchase/_create/1_1_10.yml +9 -15
  96. data/spec/cassettes/FatZebra_Purchase/_create/1_1_11.yml +9 -15
  97. data/spec/cassettes/FatZebra_Purchase/_create/1_1_12.yml +9 -15
  98. data/spec/cassettes/FatZebra_Purchase/_create/1_1_13.yml +9 -15
  99. data/spec/cassettes/FatZebra_Purchase/_create/1_1_2.yml +9 -15
  100. data/spec/cassettes/FatZebra_Purchase/_create/1_1_3.yml +9 -15
  101. data/spec/cassettes/FatZebra_Purchase/_create/1_1_4.yml +9 -15
  102. data/spec/cassettes/FatZebra_Purchase/_create/1_1_5.yml +9 -15
  103. data/spec/cassettes/FatZebra_Purchase/_create/1_1_6.yml +9 -15
  104. data/spec/cassettes/FatZebra_Purchase/_create/1_1_7.yml +9 -15
  105. data/spec/cassettes/FatZebra_Purchase/_create/1_1_8.yml +9 -15
  106. data/spec/cassettes/FatZebra_Purchase/_create/1_1_9.yml +9 -15
  107. data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_1.yml +11 -17
  108. data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_2.yml +11 -17
  109. data/spec/cassettes/FatZebra_Purchase/_void/1_6_1.yml +18 -30
  110. data/spec/cassettes/FatZebra_Purchase/_void/1_6_2.yml +18 -30
  111. data/spec/cassettes/FatZebra_Purchase/_void/1_6_3.yml +18 -30
  112. data/spec/cassettes/FatZebra_Purchase/_void/1_6_4.yml +18 -30
  113. data/spec/cassettes/FatZebra_Purchase/_void/1_7_1.yml +18 -30
  114. data/spec/cassettes/FatZebra_Purchase/_void/1_7_2.yml +18 -30
  115. data/spec/cassettes/FatZebra_Purchase/_void/1_7_3.yml +18 -30
  116. data/spec/cassettes/FatZebra_Purchase/_void/1_7_4.yml +18 -30
  117. data/spec/cassettes/FatZebra_Refund/_create/1_1_1.yml +16 -16
  118. data/spec/cassettes/FatZebra_Refund/_create/1_1_10.yml +16 -16
  119. data/spec/cassettes/FatZebra_Refund/_create/1_1_2.yml +16 -16
  120. data/spec/cassettes/FatZebra_Refund/_create/1_1_3.yml +16 -16
  121. data/spec/cassettes/FatZebra_Refund/_create/1_1_4.yml +16 -16
  122. data/spec/cassettes/FatZebra_Refund/_create/1_1_5.yml +16 -16
  123. data/spec/cassettes/FatZebra_Refund/_create/1_1_6.yml +16 -16
  124. data/spec/cassettes/FatZebra_Refund/_create/1_1_7.yml +16 -16
  125. data/spec/cassettes/FatZebra_Refund/_create/1_1_8.yml +16 -16
  126. data/spec/cassettes/FatZebra_Refund/_create/1_1_9.yml +16 -16
  127. data/spec/cassettes/FatZebra_Refund/_find/1_2_1.yml +24 -24
  128. data/spec/cassettes/FatZebra_Refund/_find/1_2_2.yml +24 -24
  129. data/spec/cassettes/FatZebra_Refund/_find/1_2_3.yml +24 -24
  130. data/spec/cassettes/FatZebra_Refund/_search/responds_with_the_newly-created_refunds.yml +40 -40
  131. data/spec/cassettes/FatZebra_Refund/_void/1_4_1.yml +24 -24
  132. data/spec/cassettes/FatZebra_Refund/_void/1_4_2.yml +24 -24
  133. data/spec/cassettes/FatZebra_Refund/_void/1_4_3.yml +24 -24
  134. data/spec/cassettes/FatZebra_Refund/_void/1_4_4.yml +24 -24
  135. data/spec/cassettes/FatZebra_WebHook/_create/1_1_1.yml +7 -13
  136. data/spec/cassettes/FatZebra_WebHook/_create/1_1_2.yml +7 -13
  137. data/spec/cassettes/FatZebra_WebHook/_create/1_1_3.yml +7 -13
  138. data/spec/cassettes/FatZebra_WebHook/_delete/1_4_1.yml +15 -27
  139. data/spec/cassettes/FatZebra_WebHook/_search/1_2_1.yml +160 -133
  140. data/spec/cassettes/FatZebra_WebHook/_search/1_2_2.yml +162 -135
  141. data/spec/cassettes/FatZebra_WebHook/_update/1_3_1.yml +15 -27
  142. data/spec/cassettes/FatZebra_WebHook/_update/1_3_2.yml +15 -27
  143. data/spec/lib/fat_zebra/authorise_spec.rb +101 -0
  144. data/spec/lib/fat_zebra/purchase_spec.rb +3 -3
  145. data/spec/lib/fat_zebra/refund_spec.rb +1 -1
  146. data/spec/support/payloads.rb +42 -0
  147. metadata +13 -4
  148. data/spec/cassettes/FatZebra_DirectDebit/_create/validations/failed_with_non-float/1_1_5_3_1.yml +0 -52
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: Created
24
24
  headers:
25
25
  Date:
26
- - Tue, 08 May 2018 11:06:31 GMT
26
+ - Mon, 29 Apr 2019 09:16:36 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,25 +35,19 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3186@7b619da
38
+ - 1.16.9-3941@c1d8236
39
+ X-Runtime:
40
+ - '0.039446'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - 52b035f0c75bb9109777ee36
45
- X-Runtime:
46
- - '0.059208'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - 8a6abecc0a844098c813a65c
51
45
  X-Backend:
52
46
  - sbox-priv-gateway-a
53
47
  body:
54
48
  encoding: UTF-8
55
- string: '{"successful":true,"response":{"id":"071-B-NVSTWHOE","account_name":"Test
56
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-05-08T21:06:31.475+10:00"},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"id":"071-B-SI80AR5J","account_name":"Test
50
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},"errors":[],"test":true}'
57
51
  http_version:
58
- recorded_at: Tue, 08 May 2018 11:06:31 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:16:36 GMT
59
53
  recorded_with: VCR 3.0.3
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: Created
24
24
  headers:
25
25
  Date:
26
- - Tue, 08 May 2018 11:06:31 GMT
26
+ - Mon, 29 Apr 2019 09:16:36 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,25 +35,19 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3186@7b619da
38
+ - 1.16.9-3941@c1d8236
39
+ X-Runtime:
40
+ - '0.047273'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - d0cdace4a7ff889e3e003596
45
- X-Runtime:
46
- - '0.051524'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - 93bd956c32bb945cf34a9ecc
51
45
  X-Backend:
52
46
  - sbox-priv-gateway-a
53
47
  body:
54
48
  encoding: UTF-8
55
- string: '{"successful":true,"response":{"id":"071-B-DUOBBRII","account_name":"Test
56
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-05-08T21:06:31.659+10:00"},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"id":"071-B-VKNWPPF6","account_name":"Test
50
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},"errors":[],"test":true}'
57
51
  http_version:
58
- recorded_at: Tue, 08 May 2018 11:06:31 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:16:36 GMT
59
53
  recorded_with: VCR 3.0.3
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: Created
24
24
  headers:
25
25
  Date:
26
- - Wed, 25 Jul 2018 03:20:44 GMT
26
+ - Mon, 29 Apr 2019 09:16:36 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,21 +35,21 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3480@96677e4
38
+ - 1.16.9-3941@c1d8236
39
39
  X-Runtime:
40
- - '0.039418'
40
+ - '0.035263'
41
41
  Pragma:
42
42
  - no-cache
43
43
  X-Request-Id:
44
- - 8e187a67e579c6b23dc23622
44
+ - ad6e6cd815c00c9ccc68ec48
45
45
  X-Backend:
46
46
  - sbox-priv-gateway-a
47
47
  body:
48
48
  encoding: UTF-8
49
- string: '{"successful":true,"response":{"id":"071-B-NYQ4WI17","account_name":"Test
50
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:20:44+10:00"},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"id":"071-B-SVV00D45","account_name":"Test
50
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},"errors":[],"test":true}'
51
51
  http_version:
52
- recorded_at: Wed, 25 Jul 2018 03:20:41 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:16:36 GMT
53
53
  - request:
54
54
  method: post
55
55
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/bank_accounts
@@ -73,7 +73,7 @@ http_interactions:
73
73
  message: Created
74
74
  headers:
75
75
  Date:
76
- - Wed, 25 Jul 2018 03:20:44 GMT
76
+ - Mon, 29 Apr 2019 09:16:36 GMT
77
77
  Content-Type:
78
78
  - application/json; charset=utf-8
79
79
  Transfer-Encoding:
@@ -85,21 +85,21 @@ http_interactions:
85
85
  Cache-Control:
86
86
  - no-store
87
87
  X-Request-Version:
88
- - 1.16.9-3480@96677e4
88
+ - 1.16.9-3941@c1d8236
89
89
  X-Runtime:
90
- - '0.037263'
90
+ - '0.038434'
91
91
  Pragma:
92
92
  - no-cache
93
93
  X-Request-Id:
94
- - eaf00c68e7c9bc3eb87fc3ac
94
+ - e483f9dcd8c4f5384afdeff4
95
95
  X-Backend:
96
96
  - sbox-priv-gateway-a
97
97
  body:
98
98
  encoding: UTF-8
99
- string: '{"successful":true,"response":{"id":"071-B-3AXMLMDD","account_name":"Test
100
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:20:44+10:00"},"errors":[],"test":true}'
99
+ string: '{"successful":true,"response":{"id":"071-B-HKVNN1S7","account_name":"Test
100
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},"errors":[],"test":true}'
101
101
  http_version:
102
- recorded_at: Wed, 25 Jul 2018 03:20:41 GMT
102
+ recorded_at: Mon, 29 Apr 2019 09:16:36 GMT
103
103
  - request:
104
104
  method: get
105
105
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/bank_accounts?limit=10&offset=0&test=true
@@ -125,7 +125,7 @@ http_interactions:
125
125
  message: OK
126
126
  headers:
127
127
  Date:
128
- - Wed, 25 Jul 2018 03:20:44 GMT
128
+ - Mon, 29 Apr 2019 09:16:36 GMT
129
129
  Content-Type:
130
130
  - application/json; charset=utf-8
131
131
  Transfer-Encoding:
@@ -137,28 +137,28 @@ http_interactions:
137
137
  Cache-Control:
138
138
  - no-store
139
139
  X-Request-Version:
140
- - 1.16.9-3480@96677e4
140
+ - 1.16.9-3941@c1d8236
141
141
  X-Runtime:
142
- - '0.025893'
142
+ - '0.033381'
143
143
  Pragma:
144
144
  - no-cache
145
145
  X-Request-Id:
146
- - 40ccf4c5da6a921afeecbe97
146
+ - ad27f4408a5eb903b4036040
147
147
  X-Backend:
148
148
  - sbox-priv-gateway-a
149
149
  body:
150
150
  encoding: UTF-8
151
- string: '{"successful":true,"response":[{"id":"071-B-3AXMLMDD","account_name":"Test
152
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:20:44+10:00"},{"id":"071-B-NYQ4WI17","account_name":"Test
153
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:20:44+10:00"},{"id":"071-B-A7RP1GOD","account_name":"Test
154
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:14:36+10:00"},{"id":"071-B-L7M2NZUC","account_name":"Test
155
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:14:35+10:00"},{"id":"071-B-JF8R04C3","account_name":"Test
156
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:14:35+10:00"},{"id":"071-B-M82OMMOY","account_name":"Test
157
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:14:35+10:00"},{"id":"071-B-QBJFSU44","account_name":"Test
158
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:14:35+10:00"},{"id":"071-B-2ABSGPK1","account_name":"Test
159
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:14:34+10:00"},{"id":"071-B-PTO21AVZ","account_name":"Test
160
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:14:34+10:00"},{"id":"071-B-LKEC0BB9","account_name":"Test
161
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:14:33+10:00"}],"errors":[],"test":true,"records":10,"total_records":1940,"page":0,"total_pages":194}'
151
+ string: '{"successful":true,"response":[{"id":"071-B-HKVNN1S7","account_name":"Test
152
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},{"id":"071-B-SVV00D45","account_name":"Test
153
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},{"id":"071-B-VKNWPPF6","account_name":"Test
154
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},{"id":"071-B-SI80AR5J","account_name":"Test
155
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},{"id":"071-B-BSJIIRMH","account_name":"Client
156
+ Name","account_number":"456456456","bsb":"123-123","created_at":"2019-04-29T18:45:26+10:00"},{"id":"071-B-E7TA7XAT","account_name":"Client
157
+ Name","account_number":"456456456","bsb":"123-123","created_at":"2019-04-29T18:31:17+10:00"},{"id":"071-B-69NSA4AW","account_name":"Client
158
+ Name","account_number":"456456456","bsb":"123-123","created_at":"2019-04-29T18:27:05+10:00"},{"id":"071-B-B3WYVD3A","account_name":"Client
159
+ Name","account_number":"456456456","bsb":"123-123","created_at":"2019-04-29T18:06:30+10:00"},{"id":"071-B-N7BD56HI","account_name":"Client
160
+ Name","account_number":"456456456","bsb":"123-123","created_at":"2019-04-29T18:06:16+10:00"},{"id":"071-B-VCB5LY0Z","account_name":"Client
161
+ Name","account_number":"456456456","bsb":"123-123","created_at":"2019-04-29T18:03:19+10:00"}],"errors":[],"test":true,"records":10,"total_records":15228,"page":0,"total_pages":1523}'
162
162
  http_version:
163
- recorded_at: Wed, 25 Jul 2018 03:20:42 GMT
163
+ recorded_at: Mon, 29 Apr 2019 09:16:36 GMT
164
164
  recorded_with: VCR 3.0.3
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: Created
24
24
  headers:
25
25
  Date:
26
- - Wed, 25 Jul 2018 03:20:44 GMT
26
+ - Mon, 29 Apr 2019 09:16:36 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,21 +35,21 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3480@96677e4
38
+ - 1.16.9-3941@c1d8236
39
39
  X-Runtime:
40
- - '0.037227'
40
+ - '0.036587'
41
41
  Pragma:
42
42
  - no-cache
43
43
  X-Request-Id:
44
- - cf1bffc61cdf62a9d9144037
44
+ - dec00364e578f5342078cf04
45
45
  X-Backend:
46
46
  - sbox-priv-gateway-a
47
47
  body:
48
48
  encoding: UTF-8
49
- string: '{"successful":true,"response":{"id":"071-B-5BWGC3VJ","account_name":"Test
50
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:20:44+10:00"},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"id":"071-B-D2KTTBC2","account_name":"Test
50
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},"errors":[],"test":true}'
51
51
  http_version:
52
- recorded_at: Wed, 25 Jul 2018 03:20:42 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:16:36 GMT
53
53
  - request:
54
54
  method: post
55
55
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/bank_accounts
@@ -73,7 +73,7 @@ http_interactions:
73
73
  message: Created
74
74
  headers:
75
75
  Date:
76
- - Wed, 25 Jul 2018 03:20:45 GMT
76
+ - Mon, 29 Apr 2019 09:16:36 GMT
77
77
  Content-Type:
78
78
  - application/json; charset=utf-8
79
79
  Transfer-Encoding:
@@ -85,21 +85,21 @@ http_interactions:
85
85
  Cache-Control:
86
86
  - no-store
87
87
  X-Request-Version:
88
- - 1.16.9-3480@96677e4
88
+ - 1.16.9-3941@c1d8236
89
89
  X-Runtime:
90
- - '0.055524'
90
+ - '0.038547'
91
91
  Pragma:
92
92
  - no-cache
93
93
  X-Request-Id:
94
- - 00af977d48022e72d516023b
94
+ - 403a95189a29032c80d7ba7c
95
95
  X-Backend:
96
96
  - sbox-priv-gateway-a
97
97
  body:
98
98
  encoding: UTF-8
99
- string: '{"successful":true,"response":{"id":"071-B-HP7YKSC1","account_name":"Test
100
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:20:45+10:00"},"errors":[],"test":true}'
99
+ string: '{"successful":true,"response":{"id":"071-B-4EKGYJU6","account_name":"Test
100
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},"errors":[],"test":true}'
101
101
  http_version:
102
- recorded_at: Wed, 25 Jul 2018 03:20:42 GMT
102
+ recorded_at: Mon, 29 Apr 2019 09:16:36 GMT
103
103
  - request:
104
104
  method: get
105
105
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/bank_accounts?limit=10&offset=0&test=true
@@ -125,7 +125,7 @@ http_interactions:
125
125
  message: OK
126
126
  headers:
127
127
  Date:
128
- - Wed, 25 Jul 2018 03:20:45 GMT
128
+ - Mon, 29 Apr 2019 09:16:36 GMT
129
129
  Content-Type:
130
130
  - application/json; charset=utf-8
131
131
  Transfer-Encoding:
@@ -137,28 +137,28 @@ http_interactions:
137
137
  Cache-Control:
138
138
  - no-store
139
139
  X-Request-Version:
140
- - 1.16.9-3480@96677e4
140
+ - 1.16.9-3941@c1d8236
141
141
  X-Runtime:
142
- - '0.026518'
142
+ - '0.036710'
143
143
  Pragma:
144
144
  - no-cache
145
145
  X-Request-Id:
146
- - 7e6b17ad35d9d07a2f6cdda6
146
+ - 05524550b8db635422eba338
147
147
  X-Backend:
148
148
  - sbox-priv-gateway-a
149
149
  body:
150
150
  encoding: UTF-8
151
- string: '{"successful":true,"response":[{"id":"071-B-HP7YKSC1","account_name":"Test
152
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:20:45+10:00"},{"id":"071-B-5BWGC3VJ","account_name":"Test
153
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:20:44+10:00"},{"id":"071-B-3AXMLMDD","account_name":"Test
154
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:20:44+10:00"},{"id":"071-B-NYQ4WI17","account_name":"Test
155
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:20:44+10:00"},{"id":"071-B-A7RP1GOD","account_name":"Test
156
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:14:36+10:00"},{"id":"071-B-L7M2NZUC","account_name":"Test
157
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:14:35+10:00"},{"id":"071-B-JF8R04C3","account_name":"Test
158
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:14:35+10:00"},{"id":"071-B-M82OMMOY","account_name":"Test
159
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:14:35+10:00"},{"id":"071-B-QBJFSU44","account_name":"Test
160
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:14:35+10:00"},{"id":"071-B-2ABSGPK1","account_name":"Test
161
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:14:34+10:00"}],"errors":[],"test":true,"records":10,"total_records":1942,"page":0,"total_pages":195}'
151
+ string: '{"successful":true,"response":[{"id":"071-B-4EKGYJU6","account_name":"Test
152
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},{"id":"071-B-D2KTTBC2","account_name":"Test
153
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},{"id":"071-B-HKVNN1S7","account_name":"Test
154
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},{"id":"071-B-SVV00D45","account_name":"Test
155
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},{"id":"071-B-VKNWPPF6","account_name":"Test
156
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},{"id":"071-B-SI80AR5J","account_name":"Test
157
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},{"id":"071-B-BSJIIRMH","account_name":"Client
158
+ Name","account_number":"456456456","bsb":"123-123","created_at":"2019-04-29T18:45:26+10:00"},{"id":"071-B-E7TA7XAT","account_name":"Client
159
+ Name","account_number":"456456456","bsb":"123-123","created_at":"2019-04-29T18:31:17+10:00"},{"id":"071-B-69NSA4AW","account_name":"Client
160
+ Name","account_number":"456456456","bsb":"123-123","created_at":"2019-04-29T18:27:05+10:00"},{"id":"071-B-B3WYVD3A","account_name":"Client
161
+ Name","account_number":"456456456","bsb":"123-123","created_at":"2019-04-29T18:06:30+10:00"}],"errors":[],"test":true,"records":10,"total_records":15230,"page":0,"total_pages":1523}'
162
162
  http_version:
163
- recorded_at: Wed, 25 Jul 2018 03:20:42 GMT
163
+ recorded_at: Mon, 29 Apr 2019 09:16:36 GMT
164
164
  recorded_with: VCR 3.0.3
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: Created
24
24
  headers:
25
25
  Date:
26
- - Wed, 25 Jul 2018 03:20:45 GMT
26
+ - Mon, 29 Apr 2019 09:16:37 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,21 +35,21 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3480@96677e4
38
+ - 1.16.9-3941@c1d8236
39
39
  X-Runtime:
40
- - '0.039419'
40
+ - '0.036864'
41
41
  Pragma:
42
42
  - no-cache
43
43
  X-Request-Id:
44
- - 3e7c3c60dee10a0e2bc1bcdc
44
+ - 06bc41f8a0a10f04c901776c
45
45
  X-Backend:
46
46
  - sbox-priv-gateway-a
47
47
  body:
48
48
  encoding: UTF-8
49
- string: '{"successful":true,"response":{"id":"071-B-85HHSLPH","account_name":"Test
50
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:20:45+10:00"},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"id":"071-B-2M5V5CKZ","account_name":"Test
50
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:37+10:00"},"errors":[],"test":true}'
51
51
  http_version:
52
- recorded_at: Wed, 25 Jul 2018 03:20:43 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:16:37 GMT
53
53
  - request:
54
54
  method: post
55
55
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/bank_accounts
@@ -73,7 +73,7 @@ http_interactions:
73
73
  message: Created
74
74
  headers:
75
75
  Date:
76
- - Wed, 25 Jul 2018 03:20:45 GMT
76
+ - Mon, 29 Apr 2019 09:16:37 GMT
77
77
  Content-Type:
78
78
  - application/json; charset=utf-8
79
79
  Transfer-Encoding:
@@ -85,21 +85,21 @@ http_interactions:
85
85
  Cache-Control:
86
86
  - no-store
87
87
  X-Request-Version:
88
- - 1.16.9-3480@96677e4
88
+ - 1.16.9-3941@c1d8236
89
89
  X-Runtime:
90
- - '0.035384'
90
+ - '0.038643'
91
91
  Pragma:
92
92
  - no-cache
93
93
  X-Request-Id:
94
- - 88ed114c3aae66f9a27c8e1f
94
+ - 63b0ba58292807544afe12c0
95
95
  X-Backend:
96
96
  - sbox-priv-gateway-a
97
97
  body:
98
98
  encoding: UTF-8
99
- string: '{"successful":true,"response":{"id":"071-B-QD94CMS0","account_name":"Test
100
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:20:45+10:00"},"errors":[],"test":true}'
99
+ string: '{"successful":true,"response":{"id":"071-B-5RE5YL03","account_name":"Test
100
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:37+10:00"},"errors":[],"test":true}'
101
101
  http_version:
102
- recorded_at: Wed, 25 Jul 2018 03:20:43 GMT
102
+ recorded_at: Mon, 29 Apr 2019 09:16:37 GMT
103
103
  - request:
104
104
  method: get
105
105
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/bank_accounts?limit=10&offset=0&test=true
@@ -125,7 +125,7 @@ http_interactions:
125
125
  message: OK
126
126
  headers:
127
127
  Date:
128
- - Wed, 25 Jul 2018 03:20:46 GMT
128
+ - Mon, 29 Apr 2019 09:16:37 GMT
129
129
  Content-Type:
130
130
  - application/json; charset=utf-8
131
131
  Transfer-Encoding:
@@ -137,28 +137,28 @@ http_interactions:
137
137
  Cache-Control:
138
138
  - no-store
139
139
  X-Request-Version:
140
- - 1.16.9-3480@96677e4
140
+ - 1.16.9-3941@c1d8236
141
141
  X-Runtime:
142
- - '0.029197'
142
+ - '0.031986'
143
143
  Pragma:
144
144
  - no-cache
145
145
  X-Request-Id:
146
- - 9cb48bd87b0f323766de8f5e
146
+ - b600730b51521b2aacf3dcbf
147
147
  X-Backend:
148
148
  - sbox-priv-gateway-a
149
149
  body:
150
150
  encoding: UTF-8
151
- string: '{"successful":true,"response":[{"id":"071-B-QD94CMS0","account_name":"Test
152
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:20:45+10:00"},{"id":"071-B-85HHSLPH","account_name":"Test
153
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:20:45+10:00"},{"id":"071-B-HP7YKSC1","account_name":"Test
154
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:20:45+10:00"},{"id":"071-B-5BWGC3VJ","account_name":"Test
155
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:20:44+10:00"},{"id":"071-B-3AXMLMDD","account_name":"Test
156
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:20:44+10:00"},{"id":"071-B-NYQ4WI17","account_name":"Test
157
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:20:44+10:00"},{"id":"071-B-A7RP1GOD","account_name":"Test
158
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:14:36+10:00"},{"id":"071-B-L7M2NZUC","account_name":"Test
159
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:14:35+10:00"},{"id":"071-B-JF8R04C3","account_name":"Test
160
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:14:35+10:00"},{"id":"071-B-M82OMMOY","account_name":"Test
161
- name","account_number":"012345678","bsb":"123-123","created_at":"2018-07-25T13:14:35+10:00"}],"errors":[],"test":true,"records":10,"total_records":1944,"page":0,"total_pages":195}'
151
+ string: '{"successful":true,"response":[{"id":"071-B-5RE5YL03","account_name":"Test
152
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:37+10:00"},{"id":"071-B-2M5V5CKZ","account_name":"Test
153
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:37+10:00"},{"id":"071-B-4EKGYJU6","account_name":"Test
154
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},{"id":"071-B-D2KTTBC2","account_name":"Test
155
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},{"id":"071-B-HKVNN1S7","account_name":"Test
156
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},{"id":"071-B-SVV00D45","account_name":"Test
157
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},{"id":"071-B-VKNWPPF6","account_name":"Test
158
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},{"id":"071-B-SI80AR5J","account_name":"Test
159
+ name","account_number":"012345678","bsb":"123-123","created_at":"2019-04-29T19:16:36+10:00"},{"id":"071-B-BSJIIRMH","account_name":"Client
160
+ Name","account_number":"456456456","bsb":"123-123","created_at":"2019-04-29T18:45:26+10:00"},{"id":"071-B-E7TA7XAT","account_name":"Client
161
+ Name","account_number":"456456456","bsb":"123-123","created_at":"2019-04-29T18:31:17+10:00"}],"errors":[],"test":true,"records":10,"total_records":15232,"page":0,"total_pages":1524}'
162
162
  http_version:
163
- recorded_at: Wed, 25 Jul 2018 03:20:43 GMT
163
+ recorded_at: Mon, 29 Apr 2019 09:16:37 GMT
164
164
  recorded_with: VCR 3.0.3