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
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"db1041c1cd95fc4737a4fa96c993623e","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
8
+ string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"e2e5dce953451efcb7975dfb9c2a48be","customer_ip":"1.2.3.4","currency":"AUD","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: OK
24
24
  headers:
25
25
  Date:
26
- - Sun, 12 Aug 2018 01:19:13 GMT
26
+ - Mon, 29 Apr 2019 09:20:31 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,27 +35,27 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3538@ea2e93d
38
+ - 1.16.9-3941@c1d8236
39
39
  X-Runtime:
40
- - '0.521779'
40
+ - '0.572735'
41
41
  Pragma:
42
42
  - no-cache
43
43
  X-Request-Id:
44
- - a32b835dbac96ace1ae22a60
44
+ - 61abd8e38cf93c836ccaaf26
45
45
  X-Backend:
46
46
  - sbox-priv-gateway-a
47
47
  body:
48
48
  encoding: UTF-8
49
- string: '{"successful":true,"response":{"authorization":"197632","id":"071-P-EDLD64XQ","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
- Savage","card_expiry":"2030-02-28","card_token":"fke8k0po","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"db1041c1cd95fc4737a4fa96c993623e","currency":"AUD","transaction_id":"071-P-EDLD64XQ","settlement_date":"2018-08-12","transaction_date":"2018-08-12T11:19:13+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PEDLD64XQ","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"authorization":"310846","id":"071-P-DHX6RW80","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
+ Savage","card_expiry":"2030-02-28","card_token":"zsqz731vld384l7g9cd6","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"e2e5dce953451efcb7975dfb9c2a48be","currency":"AUD","transaction_id":"071-P-DHX6RW80","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:20:31+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PDHX6RW80","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
51
51
  http_version:
52
- recorded_at: Sun, 12 Aug 2018 01:19:11 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:20:31 GMT
53
53
  - request:
54
54
  method: post
55
55
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
56
56
  body:
57
57
  encoding: UTF-8
58
- string: '{"transaction_id":"071-P-EDLD64XQ","amount":10000,"reference":"db1041c1cd95fc4737a4fa96c993623e","test":true}'
58
+ string: '{"transaction_id":"071-P-DHX6RW80","amount":10000,"reference":"e2e5dce953451efcb7975dfb9c2a48be","test":true}'
59
59
  headers:
60
60
  Accept-Encoding:
61
61
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -73,7 +73,7 @@ http_interactions:
73
73
  message: OK
74
74
  headers:
75
75
  Date:
76
- - Sun, 12 Aug 2018 01:19:14 GMT
76
+ - Mon, 29 Apr 2019 09:20:31 GMT
77
77
  Content-Type:
78
78
  - application/json; charset=utf-8
79
79
  Transfer-Encoding:
@@ -85,24 +85,24 @@ http_interactions:
85
85
  Cache-Control:
86
86
  - no-store
87
87
  X-Request-Version:
88
- - 1.16.9-3538@ea2e93d
88
+ - 1.16.9-3941@c1d8236
89
89
  X-Runtime:
90
- - '0.138058'
90
+ - '0.157224'
91
91
  Pragma:
92
92
  - no-cache
93
93
  X-Request-Id:
94
- - 03d4f72fd59b561275b18837
94
+ - 61bdd3775f81c8f009593232
95
95
  X-Backend:
96
96
  - sbox-priv-gateway-a
97
97
  body:
98
98
  encoding: UTF-8
99
- string: '{"successful":true,"response":{"authorization":"1534036754","id":"071-R-DLMJKB1V","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
100
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-DLMJKB1V","reference":"db1041c1cd95fc4737a4fa96c993623e","currency":"AUD","successful":true,"transaction_date":"2018-08-12T11:19:14+10:00","response_code":"00","settlement_date":"2018-08-13","metadata":{},"standalone":false,"rrn":"071RDLMJKB1V"},"errors":[],"test":true}'
99
+ string: '{"successful":true,"response":{"authorization":"1556529631","id":"071-R-UO8IL2IQ","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
100
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-UO8IL2IQ","reference":"e2e5dce953451efcb7975dfb9c2a48be","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:31+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071RUO8IL2IQ"},"errors":[],"test":true}'
101
101
  http_version:
102
- recorded_at: Sun, 12 Aug 2018 01:19:11 GMT
102
+ recorded_at: Mon, 29 Apr 2019 09:20:31 GMT
103
103
  - request:
104
104
  method: get
105
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds/db1041c1cd95fc4737a4fa96c993623e?test=true
105
+ uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds/e2e5dce953451efcb7975dfb9c2a48be?test=true
106
106
  body:
107
107
  encoding: US-ASCII
108
108
  string: ''
@@ -125,7 +125,7 @@ http_interactions:
125
125
  message: OK
126
126
  headers:
127
127
  Date:
128
- - Sun, 12 Aug 2018 01:19:14 GMT
128
+ - Mon, 29 Apr 2019 09:20:31 GMT
129
129
  Content-Type:
130
130
  - application/json; charset=utf-8
131
131
  Transfer-Encoding:
@@ -137,19 +137,19 @@ http_interactions:
137
137
  Cache-Control:
138
138
  - no-store
139
139
  X-Request-Version:
140
- - 1.16.9-3538@ea2e93d
140
+ - 1.16.9-3941@c1d8236
141
141
  X-Runtime:
142
- - '0.023120'
142
+ - '0.037765'
143
143
  Pragma:
144
144
  - no-cache
145
145
  X-Request-Id:
146
- - e222c038706d4548f73687a7
146
+ - cf9726be643079638021f310
147
147
  X-Backend:
148
148
  - sbox-priv-gateway-a
149
149
  body:
150
150
  encoding: UTF-8
151
- string: '{"successful":true,"response":{"authorization":"1534036754","id":"071-R-DLMJKB1V","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
152
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-DLMJKB1V","reference":"db1041c1cd95fc4737a4fa96c993623e","currency":"AUD","successful":true,"transaction_date":"2018-08-12T11:19:14+10:00","response_code":"00","settlement_date":"2018-08-13","metadata":{},"standalone":false,"rrn":"071RDLMJKB1V"},"errors":[],"test":true}'
151
+ string: '{"successful":true,"response":{"authorization":"1556529631","id":"071-R-UO8IL2IQ","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
152
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-UO8IL2IQ","reference":"e2e5dce953451efcb7975dfb9c2a48be","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:31+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071RUO8IL2IQ"},"errors":[],"test":true}'
153
153
  http_version:
154
- recorded_at: Sun, 12 Aug 2018 01:19:11 GMT
154
+ recorded_at: Mon, 29 Apr 2019 09:20:31 GMT
155
155
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"1fc72fa6f1dd23353ed5af9ccc2df5ae","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
8
+ string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"dd42fee8a2cc83d58563ae233e53d3d8","customer_ip":"1.2.3.4","currency":"AUD","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: OK
24
24
  headers:
25
25
  Date:
26
- - Sun, 12 Aug 2018 01:19:15 GMT
26
+ - Mon, 29 Apr 2019 09:20:32 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,27 +35,27 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3538@ea2e93d
38
+ - 1.16.9-3941@c1d8236
39
39
  X-Runtime:
40
- - '0.555373'
40
+ - '0.553382'
41
41
  Pragma:
42
42
  - no-cache
43
43
  X-Request-Id:
44
- - ec3a760b62713fece2cf72d6
44
+ - 4b4bcf4b80b92c3843053e7b
45
45
  X-Backend:
46
46
  - sbox-priv-gateway-a
47
47
  body:
48
48
  encoding: UTF-8
49
- string: '{"successful":true,"response":{"authorization":"730266","id":"071-P-8Y0KKNH3","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
- Savage","card_expiry":"2030-02-28","card_token":"fke8fhu9","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"1fc72fa6f1dd23353ed5af9ccc2df5ae","currency":"AUD","transaction_id":"071-P-8Y0KKNH3","settlement_date":"2018-08-12","transaction_date":"2018-08-12T11:19:14+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P8Y0KKNH3","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"authorization":"557686","id":"071-P-POZGGTEL","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
+ Savage","card_expiry":"2030-02-28","card_token":"0pp4e5ltoh63z1t7950o","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"dd42fee8a2cc83d58563ae233e53d3d8","currency":"AUD","transaction_id":"071-P-POZGGTEL","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:20:32+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PPOZGGTEL","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
51
51
  http_version:
52
- recorded_at: Sun, 12 Aug 2018 01:19:12 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:20:32 GMT
53
53
  - request:
54
54
  method: post
55
55
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
56
56
  body:
57
57
  encoding: UTF-8
58
- string: '{"amount":1000,"reference":"3239271584d784f0b24f7d2e7809002f","transaction_id":"071-P-8Y0KKNH3","test":true}'
58
+ string: '{"amount":1000,"reference":"a60bda474e886499f1355a4067af8b9d","transaction_id":"071-P-POZGGTEL","test":true}'
59
59
  headers:
60
60
  Accept-Encoding:
61
61
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -73,7 +73,7 @@ http_interactions:
73
73
  message: OK
74
74
  headers:
75
75
  Date:
76
- - Sun, 12 Aug 2018 01:19:15 GMT
76
+ - Mon, 29 Apr 2019 09:20:32 GMT
77
77
  Content-Type:
78
78
  - application/json; charset=utf-8
79
79
  Transfer-Encoding:
@@ -85,27 +85,27 @@ http_interactions:
85
85
  Cache-Control:
86
86
  - no-store
87
87
  X-Request-Version:
88
- - 1.16.9-3538@ea2e93d
88
+ - 1.16.9-3941@c1d8236
89
89
  X-Runtime:
90
- - '0.155358'
90
+ - '0.135777'
91
91
  Pragma:
92
92
  - no-cache
93
93
  X-Request-Id:
94
- - 43fa81be73104d4a1ac1ba6a
94
+ - 93a6fbc1eba3d9da26ddf596
95
95
  X-Backend:
96
96
  - sbox-priv-gateway-a
97
97
  body:
98
98
  encoding: UTF-8
99
- string: '{"successful":true,"response":{"authorization":"1534036755","id":"071-R-NEB8NFZX","amount":1000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
100
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-NEB8NFZX","reference":"3239271584d784f0b24f7d2e7809002f","currency":"AUD","successful":true,"transaction_date":"2018-08-12T11:19:15+10:00","response_code":"00","settlement_date":"2018-08-13","metadata":{},"standalone":false,"rrn":"071RNEB8NFZX"},"errors":[],"test":true}'
99
+ string: '{"successful":true,"response":{"authorization":"1556529632","id":"071-R-BH9LPLMK","amount":1000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
100
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-BH9LPLMK","reference":"a60bda474e886499f1355a4067af8b9d","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:32+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071RBH9LPLMK"},"errors":[],"test":true}'
101
101
  http_version:
102
- recorded_at: Sun, 12 Aug 2018 01:19:12 GMT
102
+ recorded_at: Mon, 29 Apr 2019 09:20:32 GMT
103
103
  - request:
104
104
  method: post
105
105
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
106
106
  body:
107
107
  encoding: UTF-8
108
- string: '{"amount":1000,"reference":"058b86f58552a1a03c3ea417a25c4223","transaction_id":"071-P-8Y0KKNH3","test":true}'
108
+ string: '{"amount":1000,"reference":"9e719766a1390afd4e9ec6d900e7b293","transaction_id":"071-P-POZGGTEL","test":true}'
109
109
  headers:
110
110
  Accept-Encoding:
111
111
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -123,7 +123,7 @@ http_interactions:
123
123
  message: OK
124
124
  headers:
125
125
  Date:
126
- - Sun, 12 Aug 2018 01:19:15 GMT
126
+ - Mon, 29 Apr 2019 09:20:32 GMT
127
127
  Content-Type:
128
128
  - application/json; charset=utf-8
129
129
  Transfer-Encoding:
@@ -135,21 +135,21 @@ http_interactions:
135
135
  Cache-Control:
136
136
  - no-store
137
137
  X-Request-Version:
138
- - 1.16.9-3538@ea2e93d
138
+ - 1.16.9-3941@c1d8236
139
139
  X-Runtime:
140
- - '0.124220'
140
+ - '0.133865'
141
141
  Pragma:
142
142
  - no-cache
143
143
  X-Request-Id:
144
- - f926a12445d49da0d4fb5a8c
144
+ - 377375942b5cb61406b818b4
145
145
  X-Backend:
146
146
  - sbox-priv-gateway-a
147
147
  body:
148
148
  encoding: UTF-8
149
- string: '{"successful":true,"response":{"authorization":"1534036755","id":"071-R-D3SVQAZZ","amount":1000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
150
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-D3SVQAZZ","reference":"058b86f58552a1a03c3ea417a25c4223","currency":"AUD","successful":true,"transaction_date":"2018-08-12T11:19:15+10:00","response_code":"00","settlement_date":"2018-08-13","metadata":{},"standalone":false,"rrn":"071RD3SVQAZZ"},"errors":[],"test":true}'
149
+ string: '{"successful":true,"response":{"authorization":"1556529632","id":"071-R-1LK7JF6Q","amount":1000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
150
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-1LK7JF6Q","reference":"9e719766a1390afd4e9ec6d900e7b293","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:32+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071R1LK7JF6Q"},"errors":[],"test":true}'
151
151
  http_version:
152
- recorded_at: Sun, 12 Aug 2018 01:19:13 GMT
152
+ recorded_at: Mon, 29 Apr 2019 09:20:32 GMT
153
153
  - request:
154
154
  method: get
155
155
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds?limit=10&offset=0&test=true
@@ -175,7 +175,7 @@ http_interactions:
175
175
  message: OK
176
176
  headers:
177
177
  Date:
178
- - Sun, 12 Aug 2018 01:19:15 GMT
178
+ - Mon, 29 Apr 2019 09:20:33 GMT
179
179
  Content-Type:
180
180
  - application/json; charset=utf-8
181
181
  Transfer-Encoding:
@@ -187,28 +187,28 @@ http_interactions:
187
187
  Cache-Control:
188
188
  - no-store
189
189
  X-Request-Version:
190
- - 1.16.9-3538@ea2e93d
190
+ - 1.16.9-3941@c1d8236
191
191
  X-Runtime:
192
- - '0.052536'
192
+ - '0.071413'
193
193
  Pragma:
194
194
  - no-cache
195
195
  X-Request-Id:
196
- - '0197377ebf5a85b46b3e0e1e'
196
+ - 9fc97cfcfacc661c31056618
197
197
  X-Backend:
198
198
  - sbox-priv-gateway-a
199
199
  body:
200
200
  encoding: UTF-8
201
- string: '{"successful":true,"response":[{"authorization":"1534036755","id":"071-R-D3SVQAZZ","amount":1000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
202
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-D3SVQAZZ","reference":"058b86f58552a1a03c3ea417a25c4223","currency":"AUD","successful":true,"transaction_date":"2018-08-12T11:19:15+10:00","response_code":"00","settlement_date":"2018-08-13","metadata":{},"standalone":false,"rrn":"071RD3SVQAZZ"},{"authorization":"1534036755","id":"071-R-NEB8NFZX","amount":1000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
203
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-NEB8NFZX","reference":"3239271584d784f0b24f7d2e7809002f","currency":"AUD","successful":true,"transaction_date":"2018-08-12T11:19:15+10:00","response_code":"00","settlement_date":"2018-08-13","metadata":{},"standalone":false,"rrn":"071RNEB8NFZX"},{"authorization":"1534036754","id":"071-R-DLMJKB1V","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
204
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-DLMJKB1V","reference":"db1041c1cd95fc4737a4fa96c993623e","currency":"AUD","successful":true,"transaction_date":"2018-08-12T11:19:14+10:00","response_code":"00","settlement_date":"2018-08-13","metadata":{},"standalone":false,"rrn":"071RDLMJKB1V"},{"authorization":"1534036753","id":"071-R-E7H8PNI2","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
205
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-E7H8PNI2","reference":"ccb4fd0afc81450a7b72fb7ea34e6e83","currency":"AUD","successful":true,"transaction_date":"2018-08-12T11:19:13+10:00","response_code":"00","settlement_date":"2018-08-13","metadata":{},"standalone":false,"rrn":"071RE7H8PNI2"},{"authorization":"1534036752","id":"071-R-WWN3PEEA","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
206
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-WWN3PEEA","reference":"3303f008f6a32c70eb6d509cd501189f","currency":"AUD","successful":true,"transaction_date":"2018-08-12T11:19:12+10:00","response_code":"00","settlement_date":"2018-08-13","metadata":{},"standalone":false,"rrn":"071RWWN3PEEA"},{"authorization":"1534036751","id":"071-R-CLAJGUMB","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
207
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-CLAJGUMB","reference":"fa83fc58069f387bca0b6eea68414c5f","currency":"AUD","successful":true,"transaction_date":"2018-08-12T11:19:11+10:00","response_code":"00","settlement_date":"2018-08-13","metadata":{},"standalone":false,"rrn":"071RCLAJGUMB"},{"authorization":"1534036750","id":"071-R-7OAIZ20G","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
208
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-7OAIZ20G","reference":"fe4a297aa28de8d77779aeaafddc6ead","currency":"AUD","successful":true,"transaction_date":"2018-08-12T11:19:10+10:00","response_code":"00","settlement_date":"2018-08-13","metadata":{},"standalone":false,"rrn":"071R7OAIZ20G"},{"authorization":"1534036749","id":"071-R-L5EY4P9C","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
209
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-L5EY4P9C","reference":"2eadffda462761e575d0fa079e87813f","currency":"AUD","successful":true,"transaction_date":"2018-08-12T11:19:09+10:00","response_code":"00","settlement_date":"2018-08-13","metadata":{},"standalone":false,"rrn":"071RL5EY4P9C"},{"authorization":"1534036748","id":"071-R-DVURFWQ8","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
210
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-DVURFWQ8","reference":"3b8ae7c4f4e6e0d346f9c6d1c6a2ee58","currency":"AUD","successful":true,"transaction_date":"2018-08-12T11:19:08+10:00","response_code":"00","settlement_date":"2018-08-13","metadata":{},"standalone":false,"rrn":"071RDVURFWQ8"},{"authorization":"1534036747","id":"071-R-AU2UTXG3","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
211
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-AU2UTXG3","reference":"03a830ce46e2f48f65281f0f3469b86e","currency":"AUD","successful":true,"transaction_date":"2018-08-12T11:19:07+10:00","response_code":"00","settlement_date":"2018-08-13","metadata":{},"standalone":false,"rrn":"071RAU2UTXG3"}],"errors":[],"test":true,"records":10,"total_records":23749,"page":0,"total_pages":2375}'
201
+ string: '{"successful":true,"response":[{"authorization":"1556529632","id":"071-R-1LK7JF6Q","amount":1000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
202
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-1LK7JF6Q","reference":"9e719766a1390afd4e9ec6d900e7b293","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:32+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071R1LK7JF6Q"},{"authorization":"1556529632","id":"071-R-BH9LPLMK","amount":1000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
203
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-BH9LPLMK","reference":"a60bda474e886499f1355a4067af8b9d","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:32+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071RBH9LPLMK"},{"authorization":"1556529631","id":"071-R-UO8IL2IQ","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
204
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-UO8IL2IQ","reference":"e2e5dce953451efcb7975dfb9c2a48be","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:31+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071RUO8IL2IQ"},{"authorization":"1556529630","id":"071-R-BREDWHM9","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
205
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-BREDWHM9","reference":"7aecf66e4aea8cea7d0765623c57695a","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:30+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071RBREDWHM9"},{"authorization":"1556529629","id":"071-R-8XBGTTPA","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
206
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-8XBGTTPA","reference":"a01580a699b3c6b7f7cbb62940c5ac8e","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:29+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071R8XBGTTPA"},{"authorization":"1556529629","id":"071-R-8X6FX1DM","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
207
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-8X6FX1DM","reference":"cf7c1df45da6ef4d2d13554f3e1cf469","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:28+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071R8X6FX1DM"},{"authorization":"1556529628","id":"071-R-HX1BGOK","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
208
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-HX1BGOK","reference":"034f253bbb448b7ff1a0d5d2d20ac0e0","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:28+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071RHX1BGOK"},{"authorization":"1556529627","id":"071-R-ZGANZPSJ","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
209
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-ZGANZPSJ","reference":"91ca35c03a8f26c9a28c31bce58ce26f","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:27+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071RZGANZPSJ"},{"authorization":"1556529626","id":"071-R-H0YWRNN0","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
210
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-H0YWRNN0","reference":"7460ff6d3ac11ca3a3db9f12a3d56645","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:26+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071RH0YWRNN0"},{"authorization":"1556529625","id":"071-R-NLCR7NM7","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
211
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-NLCR7NM7","reference":"f5f8d5cd684941f35c5c456b1e3070dd","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:25+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071RNLCR7NM7"}],"errors":[],"test":true,"records":10,"total_records":30764,"page":0,"total_pages":3077}'
212
212
  http_version:
213
- recorded_at: Sun, 12 Aug 2018 01:19:13 GMT
213
+ recorded_at: Mon, 29 Apr 2019 09:20:33 GMT
214
214
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"4bfc0e53b90a6bea7d8c2bf2304cdd61","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
8
+ string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"0d20af137d6f844c1e51d0983d44e2cd","customer_ip":"1.2.3.4","currency":"AUD","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: OK
24
24
  headers:
25
25
  Date:
26
- - Sun, 12 Aug 2018 01:19:16 GMT
26
+ - Mon, 29 Apr 2019 09:20:33 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,27 +35,27 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3538@ea2e93d
38
+ - 1.16.9-3941@c1d8236
39
39
  X-Runtime:
40
- - '0.527379'
40
+ - '0.545721'
41
41
  Pragma:
42
42
  - no-cache
43
43
  X-Request-Id:
44
- - 6825798ab557eda05b4f3a26
44
+ - 3df1fd74f32c7b882c05dcac
45
45
  X-Backend:
46
46
  - sbox-priv-gateway-a
47
47
  body:
48
48
  encoding: UTF-8
49
- string: '{"successful":true,"response":{"authorization":"579581","id":"071-P-578RUUXI","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
- Savage","card_expiry":"2030-02-28","card_token":"fke8j2pa","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"4bfc0e53b90a6bea7d8c2bf2304cdd61","currency":"AUD","transaction_id":"071-P-578RUUXI","settlement_date":"2018-08-12","transaction_date":"2018-08-12T11:19:16+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P578RUUXI","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"authorization":"824876","id":"071-P-FF6KSCVP","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
+ Savage","card_expiry":"2030-02-28","card_token":"4yvogd4n84zdvm3zca2z","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"0d20af137d6f844c1e51d0983d44e2cd","currency":"AUD","transaction_id":"071-P-FF6KSCVP","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:20:33+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PFF6KSCVP","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
51
51
  http_version:
52
- recorded_at: Sun, 12 Aug 2018 01:19:13 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:20:33 GMT
53
53
  - request:
54
54
  method: post
55
55
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
56
56
  body:
57
57
  encoding: UTF-8
58
- string: '{"transaction_id":"071-P-578RUUXI","amount":10000,"reference":"4bfc0e53b90a6bea7d8c2bf2304cdd61","test":true}'
58
+ string: '{"transaction_id":"071-P-FF6KSCVP","amount":10000,"reference":"0d20af137d6f844c1e51d0983d44e2cd","test":true}'
59
59
  headers:
60
60
  Accept-Encoding:
61
61
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -73,7 +73,7 @@ http_interactions:
73
73
  message: OK
74
74
  headers:
75
75
  Date:
76
- - Sun, 12 Aug 2018 01:19:16 GMT
76
+ - Mon, 29 Apr 2019 09:20:33 GMT
77
77
  Content-Type:
78
78
  - application/json; charset=utf-8
79
79
  Transfer-Encoding:
@@ -85,27 +85,27 @@ http_interactions:
85
85
  Cache-Control:
86
86
  - no-store
87
87
  X-Request-Version:
88
- - 1.16.9-3538@ea2e93d
88
+ - 1.16.9-3941@c1d8236
89
89
  X-Runtime:
90
- - '0.132239'
90
+ - '0.140949'
91
91
  Pragma:
92
92
  - no-cache
93
93
  X-Request-Id:
94
- - 76d12fcafe8b5380bcb23dc5
94
+ - 0c50ac0ad3bdbdb98b18867e
95
95
  X-Backend:
96
96
  - sbox-priv-gateway-a
97
97
  body:
98
98
  encoding: UTF-8
99
- string: '{"successful":true,"response":{"authorization":"1534036756","id":"071-R-A46JQ2P7","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
100
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-A46JQ2P7","reference":"4bfc0e53b90a6bea7d8c2bf2304cdd61","currency":"AUD","successful":true,"transaction_date":"2018-08-12T11:19:16+10:00","response_code":"00","settlement_date":"2018-08-13","metadata":{},"standalone":false,"rrn":"071RA46JQ2P7"},"errors":[],"test":true}'
99
+ string: '{"successful":true,"response":{"authorization":"1556529633","id":"071-R-RBBJGPF1","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
100
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-RBBJGPF1","reference":"0d20af137d6f844c1e51d0983d44e2cd","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:33+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071RRBBJGPF1"},"errors":[],"test":true}'
101
101
  http_version:
102
- recorded_at: Sun, 12 Aug 2018 01:19:14 GMT
102
+ recorded_at: Mon, 29 Apr 2019 09:20:33 GMT
103
103
  - request:
104
104
  method: post
105
105
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds/void
106
106
  body:
107
107
  encoding: UTF-8
108
- string: '{"id":"071-R-A46JQ2P7","test":true}'
108
+ string: '{"id":"071-R-RBBJGPF1","test":true}'
109
109
  headers:
110
110
  Accept-Encoding:
111
111
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -123,7 +123,7 @@ http_interactions:
123
123
  message: OK
124
124
  headers:
125
125
  Date:
126
- - Sun, 12 Aug 2018 01:19:16 GMT
126
+ - Mon, 29 Apr 2019 09:20:34 GMT
127
127
  Content-Type:
128
128
  - application/json; charset=utf-8
129
129
  Transfer-Encoding:
@@ -135,19 +135,19 @@ http_interactions:
135
135
  Cache-Control:
136
136
  - no-store
137
137
  X-Request-Version:
138
- - 1.16.9-3538@ea2e93d
138
+ - 1.16.9-3941@c1d8236
139
139
  X-Runtime:
140
- - '0.052802'
140
+ - '0.076599'
141
141
  Pragma:
142
142
  - no-cache
143
143
  X-Request-Id:
144
- - e8e96fbaf97ba3ff4d6504c2
144
+ - 3268e62e6578bec8ae145df4
145
145
  X-Backend:
146
146
  - sbox-priv-gateway-a
147
147
  body:
148
148
  encoding: UTF-8
149
- string: '{"successful":true,"response":{"authorization":"1534036756","id":"071-R-A46JQ2P7","amount":10000,"refunded":"Voided","message":"Voided","card_holder":"Matthew
150
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-A46JQ2P7","reference":"4bfc0e53b90a6bea7d8c2bf2304cdd61","currency":"AUD","successful":false,"transaction_date":"2018-08-12T11:19:16+10:00","response_code":"00","settlement_date":"2018-08-13","metadata":{},"standalone":false,"rrn":"071RA46JQ2P7"},"errors":[],"test":true}'
149
+ string: '{"successful":true,"response":{"authorization":"1556529633","id":"071-R-RBBJGPF1","amount":10000,"refunded":"Voided","message":"Voided","card_holder":"Matthew
150
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-RBBJGPF1","reference":"0d20af137d6f844c1e51d0983d44e2cd","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:33+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071RRBBJGPF1"},"errors":[],"test":true}'
151
151
  http_version:
152
- recorded_at: Sun, 12 Aug 2018 01:19:14 GMT
152
+ recorded_at: Mon, 29 Apr 2019 09:20:34 GMT
153
153
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"43193c44653c3999afbeb23fa3a46ac0","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
8
+ string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"3c070c6412c69a846180d657c2d0d385","customer_ip":"1.2.3.4","currency":"AUD","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: OK
24
24
  headers:
25
25
  Date:
26
- - Sun, 12 Aug 2018 01:19:17 GMT
26
+ - Mon, 29 Apr 2019 09:20:34 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,27 +35,27 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3538@ea2e93d
38
+ - 1.16.9-3941@c1d8236
39
39
  X-Runtime:
40
- - '0.568504'
40
+ - '0.574895'
41
41
  Pragma:
42
42
  - no-cache
43
43
  X-Request-Id:
44
- - 2ad8518c57c539bcaa20729f
44
+ - b065de14b70152e03ffb7ca0
45
45
  X-Backend:
46
46
  - sbox-priv-gateway-a
47
47
  body:
48
48
  encoding: UTF-8
49
- string: '{"successful":true,"response":{"authorization":"259762","id":"071-P-S6JMQ6S4","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
- Savage","card_expiry":"2030-02-28","card_token":"fke851o0","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"43193c44653c3999afbeb23fa3a46ac0","currency":"AUD","transaction_id":"071-P-S6JMQ6S4","settlement_date":"2018-08-12","transaction_date":"2018-08-12T11:19:17+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PS6JMQ6S4","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"authorization":"435587","id":"071-P-MVH3FAZC","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
+ Savage","card_expiry":"2030-02-28","card_token":"7ojhxpz5l2eemypiph3e","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"3c070c6412c69a846180d657c2d0d385","currency":"AUD","transaction_id":"071-P-MVH3FAZC","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:20:34+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PMVH3FAZC","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
51
51
  http_version:
52
- recorded_at: Sun, 12 Aug 2018 01:19:15 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:20:34 GMT
53
53
  - request:
54
54
  method: post
55
55
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
56
56
  body:
57
57
  encoding: UTF-8
58
- string: '{"transaction_id":"071-P-S6JMQ6S4","amount":10000,"reference":"43193c44653c3999afbeb23fa3a46ac0","test":true}'
58
+ string: '{"transaction_id":"071-P-MVH3FAZC","amount":10000,"reference":"3c070c6412c69a846180d657c2d0d385","test":true}'
59
59
  headers:
60
60
  Accept-Encoding:
61
61
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -73,7 +73,7 @@ http_interactions:
73
73
  message: OK
74
74
  headers:
75
75
  Date:
76
- - Sun, 12 Aug 2018 01:19:17 GMT
76
+ - Mon, 29 Apr 2019 09:20:34 GMT
77
77
  Content-Type:
78
78
  - application/json; charset=utf-8
79
79
  Transfer-Encoding:
@@ -85,27 +85,27 @@ http_interactions:
85
85
  Cache-Control:
86
86
  - no-store
87
87
  X-Request-Version:
88
- - 1.16.9-3538@ea2e93d
88
+ - 1.16.9-3941@c1d8236
89
89
  X-Runtime:
90
- - '0.129711'
90
+ - '0.122247'
91
91
  Pragma:
92
92
  - no-cache
93
93
  X-Request-Id:
94
- - 1a890033befb4dd010eac331
94
+ - 84715a70978914e436760d60
95
95
  X-Backend:
96
96
  - sbox-priv-gateway-a
97
97
  body:
98
98
  encoding: UTF-8
99
- string: '{"successful":true,"response":{"authorization":"1534036757","id":"071-R-U5RJ6VGK","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
100
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-U5RJ6VGK","reference":"43193c44653c3999afbeb23fa3a46ac0","currency":"AUD","successful":true,"transaction_date":"2018-08-12T11:19:17+10:00","response_code":"00","settlement_date":"2018-08-13","metadata":{},"standalone":false,"rrn":"071RU5RJ6VGK"},"errors":[],"test":true}'
99
+ string: '{"successful":true,"response":{"authorization":"1556529634","id":"071-R-G5N1JOLB","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
100
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-G5N1JOLB","reference":"3c070c6412c69a846180d657c2d0d385","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:34+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071RG5N1JOLB"},"errors":[],"test":true}'
101
101
  http_version:
102
- recorded_at: Sun, 12 Aug 2018 01:19:15 GMT
102
+ recorded_at: Mon, 29 Apr 2019 09:20:34 GMT
103
103
  - request:
104
104
  method: post
105
105
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds/void
106
106
  body:
107
107
  encoding: UTF-8
108
- string: '{"id":"071-R-U5RJ6VGK","test":true}'
108
+ string: '{"id":"071-R-G5N1JOLB","test":true}'
109
109
  headers:
110
110
  Accept-Encoding:
111
111
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -123,7 +123,7 @@ http_interactions:
123
123
  message: OK
124
124
  headers:
125
125
  Date:
126
- - Sun, 12 Aug 2018 01:19:17 GMT
126
+ - Mon, 29 Apr 2019 09:20:35 GMT
127
127
  Content-Type:
128
128
  - application/json; charset=utf-8
129
129
  Transfer-Encoding:
@@ -135,19 +135,19 @@ http_interactions:
135
135
  Cache-Control:
136
136
  - no-store
137
137
  X-Request-Version:
138
- - 1.16.9-3538@ea2e93d
138
+ - 1.16.9-3941@c1d8236
139
139
  X-Runtime:
140
- - '0.060135'
140
+ - '0.092314'
141
141
  Pragma:
142
142
  - no-cache
143
143
  X-Request-Id:
144
- - aaedc113cf8f0c744d110621
144
+ - 3dac4ca03feb29b08a3c99f0
145
145
  X-Backend:
146
146
  - sbox-priv-gateway-a
147
147
  body:
148
148
  encoding: UTF-8
149
- string: '{"successful":true,"response":{"authorization":"1534036757","id":"071-R-U5RJ6VGK","amount":10000,"refunded":"Voided","message":"Voided","card_holder":"Matthew
150
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-U5RJ6VGK","reference":"43193c44653c3999afbeb23fa3a46ac0","currency":"AUD","successful":false,"transaction_date":"2018-08-12T11:19:17+10:00","response_code":"00","settlement_date":"2018-08-13","metadata":{},"standalone":false,"rrn":"071RU5RJ6VGK"},"errors":[],"test":true}'
149
+ string: '{"successful":true,"response":{"authorization":"1556529634","id":"071-R-G5N1JOLB","amount":10000,"refunded":"Voided","message":"Voided","card_holder":"Matthew
150
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-G5N1JOLB","reference":"3c070c6412c69a846180d657c2d0d385","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:34+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071RG5N1JOLB"},"errors":[],"test":true}'
151
151
  http_version:
152
- recorded_at: Sun, 12 Aug 2018 01:19:15 GMT
152
+ recorded_at: Mon, 29 Apr 2019 09:20:35 GMT
153
153
  recorded_with: VCR 3.0.3