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
- - Wed, 24 Oct 2018 01:05:21 GMT
26
+ - Mon, 29 Apr 2019 09:16:53 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,23 +35,23 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3627@3b72f16
38
+ - 1.16.9-3941@c1d8236
39
39
  X-Runtime:
40
- - '0.046561'
40
+ - '0.041071'
41
41
  Pragma:
42
42
  - no-cache
43
43
  X-Request-Id:
44
- - dfc4dfbf553aeafe9f0b09fa
44
+ - 7eacbe384b6007b4654e4a34
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-DC-UTVNLTGW","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-UTVNLTGW","date":"2018-10-24","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"id":"071-DC-Y07D03WQ","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-Y07D03WQ","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
50
50
  http_version:
51
- recorded_at: Wed, 24 Oct 2018 01:05:21 GMT
51
+ recorded_at: Mon, 29 Apr 2019 09:16:53 GMT
52
52
  - request:
53
53
  method: get
54
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_credits/071-DC-UTVNLTGW?test=true
54
+ uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_credits/071-DC-Y07D03WQ?test=true
55
55
  body:
56
56
  encoding: US-ASCII
57
57
  string: ''
@@ -74,7 +74,7 @@ http_interactions:
74
74
  message: OK
75
75
  headers:
76
76
  Date:
77
- - Wed, 24 Oct 2018 01:05:21 GMT
77
+ - Mon, 29 Apr 2019 09:16:53 GMT
78
78
  Content-Type:
79
79
  - application/json; charset=utf-8
80
80
  Transfer-Encoding:
@@ -86,18 +86,18 @@ http_interactions:
86
86
  Cache-Control:
87
87
  - no-store
88
88
  X-Request-Version:
89
- - 1.16.9-3627@3b72f16
89
+ - 1.16.9-3941@c1d8236
90
90
  X-Runtime:
91
- - '0.022300'
91
+ - '0.020405'
92
92
  Pragma:
93
93
  - no-cache
94
94
  X-Request-Id:
95
- - '09fe4ae9951d44174ee56bdc'
95
+ - '0595f53e5b912300b48fc2a8'
96
96
  X-Backend:
97
97
  - sbox-priv-gateway-a
98
98
  body:
99
99
  encoding: UTF-8
100
- string: '{"successful":true,"response":{"id":"071-DC-UTVNLTGW","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-UTVNLTGW","date":"2018-10-24","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
100
+ string: '{"successful":true,"response":{"id":"071-DC-Y07D03WQ","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-Y07D03WQ","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
101
101
  http_version:
102
- recorded_at: Wed, 24 Oct 2018 01:05:21 GMT
102
+ recorded_at: Mon, 29 Apr 2019 09:16:53 GMT
103
103
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_credits
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"description":"Confirmation","amount":42,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
8
+ string: '{"description":"Confirmation","amount":42.0,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=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:48 GMT
26
+ - Mon, 29 Apr 2019 09:16:53 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,26 +35,26 @@ 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.058530'
40
+ - '0.046065'
41
41
  Pragma:
42
42
  - no-cache
43
43
  X-Request-Id:
44
- - cf4dae0824e0077b2b2bb708
44
+ - f2e8167f9ffd99239d46d827
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-DC-NCGG8UYZ","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-NCGG8UYZ","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"id":"071-DC-6F2IQ4TY","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-6F2IQ4TY","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
50
50
  http_version:
51
- recorded_at: Wed, 25 Jul 2018 03:20:45 GMT
51
+ recorded_at: Mon, 29 Apr 2019 09:16:53 GMT
52
52
  - request:
53
53
  method: post
54
54
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_credits
55
55
  body:
56
56
  encoding: UTF-8
57
- string: '{"description":"Confirmation","amount":42,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
57
+ string: '{"description":"Confirmation","amount":42.0,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
58
58
  headers:
59
59
  Accept-Encoding:
60
60
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -72,7 +72,7 @@ http_interactions:
72
72
  message: Created
73
73
  headers:
74
74
  Date:
75
- - Wed, 25 Jul 2018 03:20:48 GMT
75
+ - Mon, 29 Apr 2019 09:16:53 GMT
76
76
  Content-Type:
77
77
  - application/json; charset=utf-8
78
78
  Transfer-Encoding:
@@ -84,20 +84,20 @@ http_interactions:
84
84
  Cache-Control:
85
85
  - no-store
86
86
  X-Request-Version:
87
- - 1.16.9-3480@96677e4
87
+ - 1.16.9-3941@c1d8236
88
88
  X-Runtime:
89
- - '0.047269'
89
+ - '0.041091'
90
90
  Pragma:
91
91
  - no-cache
92
92
  X-Request-Id:
93
- - ec2d10b1fdf453bd445782f1
93
+ - 8272352c30f781c08c1fc44c
94
94
  X-Backend:
95
95
  - sbox-priv-gateway-a
96
96
  body:
97
97
  encoding: UTF-8
98
- string: '{"successful":true,"response":{"id":"071-DC-30CY9P08","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-30CY9P08","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
98
+ string: '{"successful":true,"response":{"id":"071-DC-4JSZRIZ6","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-4JSZRIZ6","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
99
99
  http_version:
100
- recorded_at: Wed, 25 Jul 2018 03:20:45 GMT
100
+ recorded_at: Mon, 29 Apr 2019 09:16:53 GMT
101
101
  - request:
102
102
  method: get
103
103
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_credits?limit=10&offset=0&test=true
@@ -123,7 +123,7 @@ http_interactions:
123
123
  message: OK
124
124
  headers:
125
125
  Date:
126
- - Wed, 25 Jul 2018 03:20:48 GMT
126
+ - Mon, 29 Apr 2019 09:16:54 GMT
127
127
  Content-Type:
128
128
  - application/json; charset=utf-8
129
129
  Transfer-Encoding:
@@ -135,18 +135,18 @@ http_interactions:
135
135
  Cache-Control:
136
136
  - no-store
137
137
  X-Request-Version:
138
- - 1.16.9-3480@96677e4
138
+ - 1.16.9-3941@c1d8236
139
139
  X-Runtime:
140
- - '0.024131'
140
+ - '0.759273'
141
141
  Pragma:
142
142
  - no-cache
143
143
  X-Request-Id:
144
- - 918bf4722b60f0dadca6aa40
144
+ - 4c519744b605d2186e9886d4
145
145
  X-Backend:
146
146
  - sbox-priv-gateway-a
147
147
  body:
148
148
  encoding: UTF-8
149
- string: '{"successful":true,"response":[{"id":"071-DC-30CY9P08","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-30CY9P08","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-NCGG8UYZ","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-NCGG8UYZ","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-PUY2X1CV","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-PUY2X1CV","date":"2018-07-25","process_date":null,"status":"Deleted","result":null,"metadata":null},{"id":"071-DC-HG68140","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-HG68140","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-663O4SMN","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-663O4SMN","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-UKWVQYER","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-UKWVQYER","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-NM7UXD64","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-NM7UXD64","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-HZZ9QXWO","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-HZZ9QXWO","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-WK8FTOG7","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-WK8FTOG7","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-27YDTU9A","amount":42.42,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-27YDTU9A","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null}],"errors":[],"test":true,"records":10,"total_records":637,"page":0,"total_pages":64}'
149
+ string: '{"successful":true,"response":[{"id":"071-DC-4JSZRIZ6","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-4JSZRIZ6","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-6F2IQ4TY","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-6F2IQ4TY","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-Y07D03WQ","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-Y07D03WQ","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-GHU3RL7S","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-GHU3RL7S","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-PDWJGQ2K","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-PDWJGQ2K","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-13GDTHOR","amount":42.42,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-13GDTHOR","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-DCBB87CN","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-DCBB87CN","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-OU02RPD8","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-OU02RPD8","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-B3I04FAH","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-B3I04FAH","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-SVP84M4F","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-SVP84M4F","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null}],"errors":[],"test":true,"records":10,"total_records":802,"page":0,"total_pages":81}'
150
150
  http_version:
151
- recorded_at: Wed, 25 Jul 2018 03:20:46 GMT
151
+ recorded_at: Mon, 29 Apr 2019 09:16:54 GMT
152
152
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_credits
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"description":"Confirmation","amount":42,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
8
+ string: '{"description":"Confirmation","amount":42.0,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=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:49 GMT
26
+ - Mon, 29 Apr 2019 09:16:54 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,26 +35,26 @@ 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.044118'
40
+ - '0.046284'
41
41
  Pragma:
42
42
  - no-cache
43
43
  X-Request-Id:
44
- - f705bb2469233309913e977f
44
+ - 96e74aab5ecf4c704fc546bd
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-DC-JXENDIHW","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-JXENDIHW","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"id":"071-DC-FY8B6V3","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-FY8B6V3","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
50
50
  http_version:
51
- recorded_at: Wed, 25 Jul 2018 03:20:46 GMT
51
+ recorded_at: Mon, 29 Apr 2019 09:16:54 GMT
52
52
  - request:
53
53
  method: post
54
54
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_credits
55
55
  body:
56
56
  encoding: UTF-8
57
- string: '{"description":"Confirmation","amount":42,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
57
+ string: '{"description":"Confirmation","amount":42.0,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
58
58
  headers:
59
59
  Accept-Encoding:
60
60
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -72,7 +72,7 @@ http_interactions:
72
72
  message: Created
73
73
  headers:
74
74
  Date:
75
- - Wed, 25 Jul 2018 03:20:49 GMT
75
+ - Mon, 29 Apr 2019 09:16:54 GMT
76
76
  Content-Type:
77
77
  - application/json; charset=utf-8
78
78
  Transfer-Encoding:
@@ -84,20 +84,20 @@ http_interactions:
84
84
  Cache-Control:
85
85
  - no-store
86
86
  X-Request-Version:
87
- - 1.16.9-3480@96677e4
87
+ - 1.16.9-3941@c1d8236
88
88
  X-Runtime:
89
- - '0.065718'
89
+ - '0.061947'
90
90
  Pragma:
91
91
  - no-cache
92
92
  X-Request-Id:
93
- - b42f3f23530a55f813738ec2
93
+ - b3b82c08bb54168012a4bf5c
94
94
  X-Backend:
95
95
  - sbox-priv-gateway-a
96
96
  body:
97
97
  encoding: UTF-8
98
- string: '{"successful":true,"response":{"id":"071-DC-SUYZT619","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-SUYZT619","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
98
+ string: '{"successful":true,"response":{"id":"071-DC-UVAFKRJ2","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-UVAFKRJ2","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
99
99
  http_version:
100
- recorded_at: Wed, 25 Jul 2018 03:20:46 GMT
100
+ recorded_at: Mon, 29 Apr 2019 09:16:54 GMT
101
101
  - request:
102
102
  method: get
103
103
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_credits?limit=10&offset=0&test=true
@@ -123,7 +123,7 @@ http_interactions:
123
123
  message: OK
124
124
  headers:
125
125
  Date:
126
- - Wed, 25 Jul 2018 03:20:49 GMT
126
+ - Mon, 29 Apr 2019 09:16:54 GMT
127
127
  Content-Type:
128
128
  - application/json; charset=utf-8
129
129
  Transfer-Encoding:
@@ -135,18 +135,18 @@ http_interactions:
135
135
  Cache-Control:
136
136
  - no-store
137
137
  X-Request-Version:
138
- - 1.16.9-3480@96677e4
138
+ - 1.16.9-3941@c1d8236
139
139
  X-Runtime:
140
- - '0.022621'
140
+ - '0.033381'
141
141
  Pragma:
142
142
  - no-cache
143
143
  X-Request-Id:
144
- - decf7762a1a2f6b51f5711e6
144
+ - 57e57487f429fd667c1ca224
145
145
  X-Backend:
146
146
  - sbox-priv-gateway-a
147
147
  body:
148
148
  encoding: UTF-8
149
- string: '{"successful":true,"response":[{"id":"071-DC-SUYZT619","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-SUYZT619","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-JXENDIHW","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-JXENDIHW","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-30CY9P08","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-30CY9P08","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-NCGG8UYZ","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-NCGG8UYZ","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-PUY2X1CV","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-PUY2X1CV","date":"2018-07-25","process_date":null,"status":"Deleted","result":null,"metadata":null},{"id":"071-DC-HG68140","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-HG68140","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-663O4SMN","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-663O4SMN","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-UKWVQYER","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-UKWVQYER","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-NM7UXD64","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-NM7UXD64","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-HZZ9QXWO","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-HZZ9QXWO","date":"2018-07-25","process_date":null,"status":"New","result":null,"metadata":null}],"errors":[],"test":true,"records":10,"total_records":639,"page":0,"total_pages":64}'
149
+ string: '{"successful":true,"response":[{"id":"071-DC-UVAFKRJ2","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-UVAFKRJ2","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-FY8B6V3","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-FY8B6V3","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-4JSZRIZ6","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-4JSZRIZ6","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-6F2IQ4TY","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-6F2IQ4TY","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-Y07D03WQ","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-Y07D03WQ","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-GHU3RL7S","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-GHU3RL7S","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-PDWJGQ2K","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-PDWJGQ2K","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-13GDTHOR","amount":42.42,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-13GDTHOR","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-DCBB87CN","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-DCBB87CN","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-OU02RPD8","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-OU02RPD8","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null}],"errors":[],"test":true,"records":10,"total_records":804,"page":0,"total_pages":81}'
150
150
  http_version:
151
- recorded_at: Wed, 25 Jul 2018 03:20:47 GMT
151
+ recorded_at: Mon, 29 Apr 2019 09:16:54 GMT
152
152
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_debits
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"description":"Confirmation","amount":42,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
8
+ string: '{"description":"Confirmation","amount":42.0,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=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:50 GMT
26
+ - Mon, 29 Apr 2019 09:16:55 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,24 +35,18 @@ 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.052851'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - ba2f20a5c58f8aae3c971333
45
- X-Runtime:
46
- - '0.040616'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - 0022ecc4acdd8de8722daff8
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-DD-N3X733QX","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-N3X733QX","date":"2018-05-09","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"id":"071-DD-GU5GLRR3","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-GU5GLRR3","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
56
50
  http_version:
57
- recorded_at: Tue, 08 May 2018 11:06:50 GMT
51
+ recorded_at: Mon, 29 Apr 2019 09:16:55 GMT
58
52
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_debits
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"description":"Confirmation","amount":42,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
8
+ string: '{"description":"Confirmation","amount":42.0,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=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:50 GMT
26
+ - Mon, 29 Apr 2019 09:16:55 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,24 +35,18 @@ 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.039930'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - 8d105ad211ca46d88073f7c6
45
- X-Runtime:
46
- - '0.035994'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - f4e08c0a534fdfe3490ad81d
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-DD-I10WORW6","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-I10WORW6","date":"2018-05-09","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"id":"071-DD-4V0H40KD","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-4V0H40KD","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
56
50
  http_version:
57
- recorded_at: Tue, 08 May 2018 11:06:50 GMT
51
+ recorded_at: Mon, 29 Apr 2019 09:16:55 GMT
58
52
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_debits
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"description":"Confirmation","amount":42,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
8
+ string: '{"description":"Confirmation","amount":42.0,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=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:50 GMT
26
+ - Mon, 29 Apr 2019 09:16:55 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,24 +35,18 @@ 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.046134'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - 63f245ccbb5ff6d288288fd2
45
- X-Runtime:
46
- - '0.060627'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - 32bff6147cfa40b0f7b3eb80
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-DD-8QLVUSUR","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-8QLVUSUR","date":"2018-05-09","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"id":"071-DD-ZJAB2HUC","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-ZJAB2HUC","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
56
50
  http_version:
57
- recorded_at: Tue, 08 May 2018 11:06:50 GMT
51
+ recorded_at: Mon, 29 Apr 2019 09:16:55 GMT
58
52
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_debits
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"description":"Confirmation","amount":42,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
8
+ string: '{"description":"Confirmation","amount":42.0,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=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:50 GMT
26
+ - Mon, 29 Apr 2019 09:16:55 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,24 +35,18 @@ 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.040053'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - ce85696e4253817e67a2bcc4
45
- X-Runtime:
46
- - '0.035621'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - b8a876dce8beb5b455952ac0
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-DD-R4I0MBJC","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-R4I0MBJC","date":"2018-05-09","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"id":"071-DD-AN92IPK2","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-AN92IPK2","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
56
50
  http_version:
57
- recorded_at: Tue, 08 May 2018 11:06:50 GMT
51
+ recorded_at: Mon, 29 Apr 2019 09:16:55 GMT
58
52
  recorded_with: VCR 3.0.3