fat_zebra 3.0.9 → 3.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (224) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fat_zebra/api_operation/save.rb +6 -1
  3. data/lib/fat_zebra/version.rb +1 -1
  4. data/spec/cassettes/FatZebra_BankAccount/_create/1_1_1.yml +14 -16
  5. data/spec/cassettes/FatZebra_BankAccount/_create/1_1_2.yml +11 -13
  6. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_1.yml +50 -52
  7. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_2.yml +47 -49
  8. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_3.yml +50 -52
  9. data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_1.yml +25 -18
  10. data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_2.yml +25 -18
  11. data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_1.yml +25 -18
  12. data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_2.yml +25 -18
  13. data/spec/cassettes/FatZebra_Batch/_find/1_2_1.yml +41 -32
  14. data/spec/cassettes/FatZebra_Batch/_find/1_2_2.yml +41 -32
  15. data/spec/cassettes/FatZebra_Batch/_result/1_4_1.yml +56 -45
  16. data/spec/cassettes/FatZebra_Batch/_search/1_3_1.yml +15 -13
  17. data/spec/cassettes/FatZebra_Batch/_search/1_3_2.yml +15 -13
  18. data/spec/cassettes/FatZebra_Batch/_search/1_3_3.yml +15 -13
  19. data/spec/cassettes/FatZebra_Card/_create/1_1_1.yml +8 -7
  20. data/spec/cassettes/FatZebra_Card/_create/1_1_2.yml +11 -10
  21. data/spec/cassettes/FatZebra_Card/_create/1_1_3.yml +8 -7
  22. data/spec/cassettes/FatZebra_Card/_create/1_1_4.yml +11 -10
  23. data/spec/cassettes/FatZebra_Card/_create/1_1_5.yml +11 -10
  24. data/spec/cassettes/FatZebra_Card/_create/1_1_6.yml +11 -10
  25. data/spec/cassettes/FatZebra_Card/_update/1_2_1.yml +23 -19
  26. data/spec/cassettes/FatZebra_Card/_update/1_2_2.yml +23 -19
  27. data/spec/cassettes/FatZebra_Card/_update/1_2_3.yml +23 -19
  28. data/spec/cassettes/FatZebra_Card/_update/validations/1_2_4_1.yml +8 -7
  29. data/spec/cassettes/FatZebra_Customer/_create/1_1_1.yml +15 -17
  30. data/spec/cassettes/FatZebra_Customer/_create/1_1_2.yml +15 -17
  31. data/spec/cassettes/FatZebra_Customer/_create/1_1_3.yml +15 -17
  32. data/spec/cassettes/FatZebra_Customer/_create/1_1_4.yml +15 -17
  33. data/spec/cassettes/FatZebra_Customer/_create/1_1_5.yml +15 -17
  34. data/spec/cassettes/FatZebra_Customer/_create/1_1_6.yml +15 -17
  35. data/spec/cassettes/FatZebra_Customer/_delete/1_5_1.yml +29 -35
  36. data/spec/cassettes/FatZebra_Customer/_find/1_3_1.yml +32 -32
  37. data/spec/cassettes/FatZebra_Customer/_find/1_3_2.yml +32 -32
  38. data/spec/cassettes/FatZebra_Customer/_search/1_2_1.yml +26 -16
  39. data/spec/cassettes/FatZebra_Customer/_search/1_2_2.yml +26 -16
  40. data/spec/cassettes/FatZebra_Customer/_search/1_2_3.yml +26 -16
  41. data/spec/cassettes/FatZebra_Customer/_update/1_4_1.yml +31 -35
  42. data/spec/cassettes/FatZebra_Customer/_update/1_4_2.yml +31 -35
  43. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_1.yml +13 -15
  44. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_2.yml +10 -12
  45. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_3.yml +13 -15
  46. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_4.yml +10 -12
  47. data/spec/cassettes/FatZebra_DirectCredit/_create/validations/valid/1_1_5_1_1.yml +9 -9
  48. data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_1.yml +23 -29
  49. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_1.yml +29 -29
  50. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_2.yml +23 -23
  51. data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_1.yml +38 -40
  52. data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_2.yml +35 -37
  53. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_1.yml +10 -12
  54. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_2.yml +13 -15
  55. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_3.yml +13 -15
  56. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_4.yml +10 -12
  57. data/spec/cassettes/FatZebra_DirectDebit/_create/validations/valid/1_1_5_1_1.yml +9 -9
  58. data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_1.yml +23 -29
  59. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_1.yml +26 -26
  60. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_2.yml +26 -26
  61. data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_1.yml +38 -40
  62. data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_2.yml +35 -37
  63. data/spec/cassettes/FatZebra_Information/_ping/1_1_1.yml +15 -13
  64. data/spec/cassettes/FatZebra_Information/_ping/1_1_2.yml +12 -10
  65. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_1.yml +70 -78
  66. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_2.yml +70 -78
  67. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_1.yml +31 -35
  68. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_2.yml +31 -35
  69. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_3.yml +31 -35
  70. data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_1.yml +42 -50
  71. data/spec/cassettes/FatZebra_PaymentPlan/_destroy/1_6_1.yml +48 -56
  72. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_1.yml +49 -51
  73. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_2.yml +52 -54
  74. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_3.yml +52 -54
  75. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_1.yml +49 -55
  76. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_2.yml +52 -58
  77. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_1.yml +43 -49
  78. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_2.yml +46 -52
  79. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_3.yml +46 -52
  80. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_1.yml +52 -58
  81. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_2.yml +49 -55
  82. data/spec/cassettes/FatZebra_Purchase/_capture/1_5_1.yml +24 -28
  83. data/spec/cassettes/FatZebra_Purchase/_capture/1_5_2.yml +24 -28
  84. data/spec/cassettes/FatZebra_Purchase/_capture/1_5_3.yml +19 -19
  85. data/spec/cassettes/FatZebra_Purchase/_create/1_1_1.yml +12 -14
  86. data/spec/cassettes/FatZebra_Purchase/_create/1_1_10.yml +12 -14
  87. data/spec/cassettes/FatZebra_Purchase/_create/1_1_11.yml +15 -17
  88. data/spec/cassettes/FatZebra_Purchase/_create/1_1_12.yml +12 -14
  89. data/spec/cassettes/FatZebra_Purchase/_create/1_1_13.yml +11 -11
  90. data/spec/cassettes/FatZebra_Purchase/_create/1_1_2.yml +15 -17
  91. data/spec/cassettes/FatZebra_Purchase/_create/1_1_3.yml +12 -14
  92. data/spec/cassettes/FatZebra_Purchase/_create/1_1_4.yml +15 -17
  93. data/spec/cassettes/FatZebra_Purchase/_create/1_1_5.yml +12 -14
  94. data/spec/cassettes/FatZebra_Purchase/_create/1_1_6.yml +15 -17
  95. data/spec/cassettes/FatZebra_Purchase/_create/1_1_7.yml +12 -14
  96. data/spec/cassettes/FatZebra_Purchase/_create/1_1_8.yml +15 -17
  97. data/spec/cassettes/FatZebra_Purchase/_create/1_1_9.yml +12 -14
  98. data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_1.yml +11 -11
  99. data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_2.yml +8 -8
  100. data/spec/cassettes/FatZebra_Purchase/_find/1_2_1.yml +29 -29
  101. data/spec/cassettes/FatZebra_Purchase/_find/1_2_2.yml +32 -32
  102. data/spec/cassettes/FatZebra_Purchase/_find/1_2_3.yml +29 -29
  103. data/spec/cassettes/FatZebra_Purchase/_find/1_2_4.yml +19 -19
  104. data/spec/cassettes/FatZebra_Purchase/_refund/1_4_1.yml +24 -28
  105. data/spec/cassettes/FatZebra_Purchase/_refund/1_4_2.yml +24 -28
  106. data/spec/cassettes/FatZebra_Purchase/_refund/1_4_3.yml +19 -19
  107. data/spec/cassettes/FatZebra_Purchase/_search/1_3_1.yml +38 -38
  108. data/spec/cassettes/FatZebra_Purchase/_search/1_3_2.yml +35 -35
  109. data/spec/cassettes/FatZebra_Purchase/_search/1_3_3.yml +38 -38
  110. data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_1.yml +246 -219
  111. data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_2.yml +246 -221
  112. data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_3.yml +246 -223
  113. data/spec/cassettes/FatZebra_Purchase/_void/1_6_1.yml +24 -28
  114. data/spec/cassettes/FatZebra_Purchase/_void/1_6_2.yml +27 -31
  115. data/spec/cassettes/FatZebra_Purchase/_void/1_6_3.yml +27 -31
  116. data/spec/cassettes/FatZebra_Purchase/_void/1_6_4.yml +19 -19
  117. data/spec/cassettes/FatZebra_Purchase/_void/1_7_1.yml +30 -34
  118. data/spec/cassettes/FatZebra_Purchase/_void/1_7_2.yml +30 -34
  119. data/spec/cassettes/FatZebra_Purchase/_void/1_7_3.yml +30 -34
  120. data/spec/cassettes/FatZebra_Purchase/_void/1_7_4.yml +19 -19
  121. data/spec/cassettes/FatZebra_Refund/_create/1_1_1.yml +30 -34
  122. data/spec/cassettes/FatZebra_Refund/_create/1_1_10.yml +19 -19
  123. data/spec/cassettes/FatZebra_Refund/_create/1_1_2.yml +30 -34
  124. data/spec/cassettes/FatZebra_Refund/_create/1_1_3.yml +30 -34
  125. data/spec/cassettes/FatZebra_Refund/_create/1_1_4.yml +30 -34
  126. data/spec/cassettes/FatZebra_Refund/_create/1_1_5.yml +30 -34
  127. data/spec/cassettes/FatZebra_Refund/_create/1_1_6.yml +30 -34
  128. data/spec/cassettes/FatZebra_Refund/_create/1_1_7.yml +30 -34
  129. data/spec/cassettes/FatZebra_Refund/_create/1_1_8.yml +30 -34
  130. data/spec/cassettes/FatZebra_Refund/_create/1_1_9.yml +30 -34
  131. data/spec/cassettes/FatZebra_Refund/_find/1_2_1.yml +47 -49
  132. data/spec/cassettes/FatZebra_Refund/_find/1_2_2.yml +47 -49
  133. data/spec/cassettes/FatZebra_Refund/_find/1_2_3.yml +30 -30
  134. data/spec/cassettes/FatZebra_Refund/_search/1_3_1.yml +83 -89
  135. data/spec/cassettes/FatZebra_Refund/_search/1_3_2.yml +83 -89
  136. data/spec/cassettes/FatZebra_Refund/_void/1_4_1.yml +45 -51
  137. data/spec/cassettes/FatZebra_Refund/_void/1_4_2.yml +42 -48
  138. data/spec/cassettes/FatZebra_Refund/_void/1_4_3.yml +39 -45
  139. data/spec/cassettes/FatZebra_Refund/_void/1_4_4.yml +30 -30
  140. data/spec/cassettes/FatZebra_WebHook/_create/1_1_1.yml +13 -15
  141. data/spec/cassettes/FatZebra_WebHook/_create/1_1_2.yml +10 -12
  142. data/spec/cassettes/FatZebra_WebHook/_create/1_1_3.yml +13 -15
  143. data/spec/cassettes/FatZebra_WebHook/_delete/1_4_1.yml +23 -29
  144. data/spec/cassettes/FatZebra_WebHook/_search/1_2_1.yml +59 -103
  145. data/spec/cassettes/FatZebra_WebHook/_search/1_2_2.yml +55 -99
  146. data/spec/cassettes/FatZebra_WebHook/_update/1_3_1.yml +25 -29
  147. data/spec/cassettes/FatZebra_WebHook/_update/1_3_2.yml +25 -29
  148. metadata +2 -78
  149. data/spec/cassettes/FatZebra_BankAccount/_create/1_1_3.yml +0 -55
  150. data/spec/cassettes/FatZebra_BankAccount/_create/validations/1_1_3_1.yml +0 -57
  151. data/spec/cassettes/FatZebra_Batch/_create/1_1_1.yml +0 -58
  152. data/spec/cassettes/FatZebra_Batch/_create/1_1_2.yml +0 -58
  153. data/spec/cassettes/FatZebra_Batch/_create/validations/1_1_3_1.yml +0 -57
  154. data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_3.yml +0 -65
  155. data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_3.yml +0 -65
  156. data/spec/cassettes/FatZebra_Batch/_find/1_2_3.yml +0 -118
  157. data/spec/cassettes/FatZebra_Card/_create/1_1_7.yml +0 -55
  158. data/spec/cassettes/FatZebra_Card/_create/validations/1_1_7_1.yml +0 -56
  159. data/spec/cassettes/FatZebra_Card/_update/1_2_4.yml +0 -105
  160. data/spec/cassettes/FatZebra_Card/_update/validations/1_2_5_1.yml +0 -55
  161. data/spec/cassettes/FatZebra_Customer/_create/1_1_7.yml +0 -57
  162. data/spec/cassettes/FatZebra_Customer/_create/validations/1_1_7_1.yml +0 -56
  163. data/spec/cassettes/FatZebra_Customer/_delete/1_4_1.yml +0 -113
  164. data/spec/cassettes/FatZebra_Customer/_delete/1_5_2.yml +0 -107
  165. data/spec/cassettes/FatZebra_Customer/_find/1_2_1.yml +0 -111
  166. data/spec/cassettes/FatZebra_Customer/_find/1_2_2.yml +0 -111
  167. data/spec/cassettes/FatZebra_Customer/_find/1_3_3.yml +0 -111
  168. data/spec/cassettes/FatZebra_Customer/_update/1_3_1.yml +0 -114
  169. data/spec/cassettes/FatZebra_Customer/_update/1_3_2.yml +0 -114
  170. data/spec/cassettes/FatZebra_Customer/_update/1_4_3.yml +0 -108
  171. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_5.yml +0 -54
  172. data/spec/cassettes/FatZebra_DirectCredit/_create/validations/1_1_5_1.yml +0 -59
  173. data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_2.yml +0 -103
  174. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_3.yml +0 -107
  175. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_5.yml +0 -54
  176. data/spec/cassettes/FatZebra_DirectDebit/_create/validations/1_1_5_1.yml +0 -59
  177. data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_2.yml +0 -103
  178. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_3.yml +0 -107
  179. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_7_1.yml +0 -238
  180. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_7_2.yml +0 -238
  181. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_4.yml +0 -114
  182. data/spec/cassettes/FatZebra_PaymentPlan/_create/validations/1_1_4_1.yml +0 -55
  183. data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_2.yml +0 -164
  184. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_4.yml +0 -173
  185. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_6_1.yml +0 -178
  186. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_6_2.yml +0 -178
  187. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_4.yml +0 -164
  188. data/spec/cassettes/FatZebra_Purchase/_capture/1_6_1.yml +0 -111
  189. data/spec/cassettes/FatZebra_Purchase/_capture/1_6_2.yml +0 -111
  190. data/spec/cassettes/FatZebra_Purchase/_capture/1_6_3.yml +0 -107
  191. data/spec/cassettes/FatZebra_Purchase/_find/1_3_1.yml +0 -109
  192. data/spec/cassettes/FatZebra_Purchase/_find/1_3_2.yml +0 -109
  193. data/spec/cassettes/FatZebra_Purchase/_find/1_3_3.yml +0 -109
  194. data/spec/cassettes/FatZebra_Purchase/_find/1_3_4.yml +0 -109
  195. data/spec/cassettes/FatZebra_Purchase/_find/1_4_1.yml +0 -109
  196. data/spec/cassettes/FatZebra_Purchase/_find/1_4_2.yml +0 -109
  197. data/spec/cassettes/FatZebra_Purchase/_find/1_4_3.yml +0 -109
  198. data/spec/cassettes/FatZebra_Purchase/_refund/1_5_1.yml +0 -111
  199. data/spec/cassettes/FatZebra_Purchase/_refund/1_5_2.yml +0 -111
  200. data/spec/cassettes/FatZebra_Purchase/_refund/1_5_3.yml +0 -107
  201. data/spec/cassettes/FatZebra_Purchase/_search/1_3_4.yml +0 -170
  202. data/spec/cassettes/FatZebra_Purchase/_search/1_4_1.yml +0 -170
  203. data/spec/cassettes/FatZebra_Purchase/_search/1_4_2.yml +0 -170
  204. data/spec/cassettes/FatZebra_Purchase/_search/1_4_3.yml +0 -170
  205. data/spec/cassettes/FatZebra_Purchase/_search/1_4_4.yml +0 -170
  206. data/spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_1.yml +0 -164
  207. data/spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_2.yml +0 -165
  208. data/spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_3.yml +0 -164
  209. data/spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_1.yml +0 -54
  210. data/spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_2.yml +0 -54
  211. data/spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_3.yml +0 -54
  212. data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_4.yml +0 -842
  213. data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_1.yml +0 -828
  214. data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_2.yml +0 -830
  215. data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_3.yml +0 -832
  216. data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_4.yml +0 -834
  217. data/spec/cassettes/FatZebra_Purchase/_void/1_8_1.yml +0 -107
  218. data/spec/cassettes/FatZebra_Purchase/_void/1_8_2.yml +0 -107
  219. data/spec/cassettes/FatZebra_Purchase/_void/1_8_3.yml +0 -107
  220. data/spec/cassettes/FatZebra_Purchase/_void/1_8_4.yml +0 -107
  221. data/spec/cassettes/FatZebra_WebHook/_create/1_1_4.yml +0 -55
  222. data/spec/cassettes/FatZebra_WebHook/_create/validations/1_1_4_1.yml +0 -56
  223. data/spec/cassettes/FatZebra_WebHook/_delete/1_4_2.yml +0 -105
  224. data/spec/cassettes/FatZebra_WebHook/_update/1_3_3.yml +0 -106
@@ -5,27 +5,25 @@ 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":"f54a1741439a25f52bf899250159d6b4","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":"6b5e38e308a37ebd9c471f30575913ca","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
9
9
  headers:
10
- Accept:
11
- - application/json
12
10
  Accept-Encoding:
13
- - gzip, deflate
14
- Content-Type:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
15
13
  - application/json
16
- Content-Length:
17
- - '214'
18
14
  User-Agent:
19
15
  - Ruby
20
16
  Authorization:
21
17
  - Basic VEVTVDpURVNU
18
+ Content-Type:
19
+ - application/json
22
20
  response:
23
21
  status:
24
22
  code: 200
25
23
  message: OK
26
24
  headers:
27
25
  Date:
28
- - Tue, 27 Jun 2017 05:09:21 GMT
26
+ - Wed, 02 May 2018 23:13:20 GMT
29
27
  Content-Type:
30
28
  - application/json; charset=utf-8
31
29
  Transfer-Encoding:
@@ -34,52 +32,50 @@ http_interactions:
34
32
  - keep-alive
35
33
  Status:
36
34
  - 200 OK
35
+ X-Rack-Cache:
36
+ - invalidate, pass
37
37
  Cache-Control:
38
38
  - no-store
39
39
  X-Request-Version:
40
- - 1.19.41
40
+ - 1.16.9-3156@6c1a40b
41
+ X-Runtime:
42
+ - '0.496188'
41
43
  Pragma:
42
44
  - no-cache
43
45
  X-Request-Id:
44
- - 5ee2b320f238eb19dcd192e2e11c57cd
45
- X-Runtime:
46
- - '0.310939'
47
- X-Rack-Cache:
48
- - invalidate, pass
46
+ - 226faff4c55af980cc49a50b
49
47
  X-Backend:
50
48
  - sbox-priv-gateway-a
51
49
  body:
52
50
  encoding: UTF-8
53
- string: '{"successful":true,"response":{"authorization":"976815","id":"071-P-12RBPFNN","card_number":"512345XXXXXX2346","card_holder":"Matthew
54
- Savage","card_expiry":"2030-02-28","card_token":"fke86c5u","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"f54a1741439a25f52bf899250159d6b4","currency":"AUD","transaction_id":"071-P-12RBPFNN","settlement_date":"2017-06-27","transaction_date":"2017-06-27T15:09:21+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P12RBPFNN","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"authorization":"599120","id":"071-P-F6U8YT0V","card_number":"512345XXXXXX2346","card_holder":"Matthew
52
+ Savage","card_expiry":"2030-02-28","card_token":"fke8t2s1","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"6b5e38e308a37ebd9c471f30575913ca","currency":"AUD","transaction_id":"071-P-F6U8YT0V","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:13:20+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PF6U8YT0V","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
55
53
  http_version:
56
- recorded_at: Tue, 27 Jun 2017 05:09:21 GMT
54
+ recorded_at: Wed, 02 May 2018 23:13:19 GMT
57
55
  - request:
58
56
  method: post
59
57
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
60
58
  body:
61
59
  encoding: UTF-8
62
- string: '{"transaction_id":"071-P-12RBPFNN","amount":10000,"reference":"f54a1741439a25f52bf899250159d6b4","test":true}'
60
+ string: '{"transaction_id":"071-P-F6U8YT0V","amount":10000,"reference":"6b5e38e308a37ebd9c471f30575913ca","test":true}'
63
61
  headers:
64
- Accept:
65
- - application/json
66
62
  Accept-Encoding:
67
- - gzip, deflate
68
- Content-Type:
63
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
64
+ Accept:
69
65
  - application/json
70
- Content-Length:
71
- - '109'
72
66
  User-Agent:
73
67
  - Ruby
74
68
  Authorization:
75
69
  - Basic VEVTVDpURVNU
70
+ Content-Type:
71
+ - application/json
76
72
  response:
77
73
  status:
78
74
  code: 200
79
75
  message: OK
80
76
  headers:
81
77
  Date:
82
- - Tue, 27 Jun 2017 05:09:21 GMT
78
+ - Wed, 02 May 2018 23:13:21 GMT
83
79
  Content-Type:
84
80
  - application/json; charset=utf-8
85
81
  Transfer-Encoding:
@@ -88,24 +84,24 @@ http_interactions:
88
84
  - keep-alive
89
85
  Status:
90
86
  - 200 OK
87
+ X-Rack-Cache:
88
+ - invalidate, pass
91
89
  Cache-Control:
92
90
  - no-store
93
91
  X-Request-Version:
94
- - 1.19.41
92
+ - 1.16.9-3156@6c1a40b
93
+ X-Runtime:
94
+ - '0.161797'
95
95
  Pragma:
96
96
  - no-cache
97
97
  X-Request-Id:
98
- - 82f1c493cb0a122d096e3ff2e9390082
99
- X-Runtime:
100
- - '0.179897'
101
- X-Rack-Cache:
102
- - invalidate, pass
98
+ - 42e954d4c4bbdcac84cc101f
103
99
  X-Backend:
104
100
  - sbox-priv-gateway-a
105
101
  body:
106
102
  encoding: UTF-8
107
- string: '{"successful":true,"response":{"authorization":1498540161,"id":"071-R-17TVIQDN","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
108
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-17TVIQDN","reference":"f54a1741439a25f52bf899250159d6b4","currency":"AUD","successful":true,"transaction_date":"2017-06-27T15:09:21+10:00","response_code":"00","settlement_date":"2017-06-28","metadata":{},"standalone":false,"rrn":"071R17TVIQDN"},"errors":[],"test":true}'
103
+ string: '{"successful":true,"response":{"authorization":1525302800,"id":"071-R-RPXKGT9N","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
104
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-RPXKGT9N","reference":"6b5e38e308a37ebd9c471f30575913ca","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:20+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RRPXKGT9N"},"errors":[],"test":true}'
109
105
  http_version:
110
- recorded_at: Tue, 27 Jun 2017 05:09:21 GMT
106
+ recorded_at: Wed, 02 May 2018 23:13:19 GMT
111
107
  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":"1a0070f70f4d1bd1d80d08dcff9fcb59","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":"efb1e7e17a2a706373473646a301bdc9","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
- - Wed, 05 Jul 2017 05:53:16 GMT
26
+ - Wed, 02 May 2018 23:13:29 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -37,27 +37,27 @@ http_interactions:
37
37
  Cache-Control:
38
38
  - no-store
39
39
  X-Request-Version:
40
- - 1.19.41
40
+ - 1.16.9-3156@6c1a40b
41
41
  X-Runtime:
42
- - '0.336153'
42
+ - '0.627137'
43
43
  Pragma:
44
44
  - no-cache
45
45
  X-Request-Id:
46
- - 1d0acb004065502c3f0b2934442cb59d
46
+ - 9671129e844e9758a6b155a2
47
47
  X-Backend:
48
48
  - sbox-priv-gateway-a
49
49
  body:
50
50
  encoding: UTF-8
51
- string: '{"successful":true,"response":{"authorization":"486885","id":"071-P-210D4310","card_number":"512345XXXXXX2346","card_holder":"Matthew
52
- Savage","card_expiry":"2030-02-28","card_token":"fke86c5u","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"1a0070f70f4d1bd1d80d08dcff9fcb59","currency":"AUD","transaction_id":"071-P-210D4310","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:53:16+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P210D4310","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"authorization":"332436","id":"071-P-E83ZUW7T","card_number":"512345XXXXXX2346","card_holder":"Matthew
52
+ Savage","card_expiry":"2030-02-28","card_token":"fke8nhfe","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"efb1e7e17a2a706373473646a301bdc9","currency":"AUD","transaction_id":"071-P-E83ZUW7T","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:13:28+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PE83ZUW7T","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
53
53
  http_version:
54
- recorded_at: Wed, 05 Jul 2017 05:53:16 GMT
54
+ recorded_at: Wed, 02 May 2018 23:13:27 GMT
55
55
  - request:
56
56
  method: post
57
57
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
58
58
  body:
59
59
  encoding: UTF-8
60
- string: '{"transaction_id":"071-P-210D4310","amount":10000,"reference":"1a0070f70f4d1bd1d80d08dcff9fcb59","test":true}'
60
+ string: '{"transaction_id":"071-P-E83ZUW7T","amount":10000,"reference":"efb1e7e17a2a706373473646a301bdc9","test":true}'
61
61
  headers:
62
62
  Accept-Encoding:
63
63
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -75,7 +75,7 @@ http_interactions:
75
75
  message: OK
76
76
  headers:
77
77
  Date:
78
- - Wed, 05 Jul 2017 05:53:16 GMT
78
+ - Wed, 02 May 2018 23:13:29 GMT
79
79
  Content-Type:
80
80
  - application/json; charset=utf-8
81
81
  Transfer-Encoding:
@@ -84,24 +84,24 @@ http_interactions:
84
84
  - keep-alive
85
85
  Status:
86
86
  - 200 OK
87
+ X-Rack-Cache:
88
+ - invalidate, pass
87
89
  Cache-Control:
88
90
  - no-store
89
91
  X-Request-Version:
90
- - 1.19.41
92
+ - 1.16.9-3156@6c1a40b
93
+ X-Runtime:
94
+ - '0.128141'
91
95
  Pragma:
92
96
  - no-cache
93
97
  X-Request-Id:
94
- - fbf5c94163b425b3028a249ce45b5ff6
95
- X-Runtime:
96
- - '0.147003'
97
- X-Rack-Cache:
98
- - invalidate, pass
98
+ - e1ddd60ccfbff3089f24964a
99
99
  X-Backend:
100
100
  - sbox-priv-gateway-a
101
101
  body:
102
102
  encoding: UTF-8
103
- string: '{"successful":true,"response":{"authorization":1499233996,"id":"071-R-RXC43DLL","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
104
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-RXC43DLL","reference":"1a0070f70f4d1bd1d80d08dcff9fcb59","currency":"AUD","successful":true,"transaction_date":"2017-07-05T15:53:16+10:00","response_code":"00","settlement_date":"2017-07-06","metadata":{},"standalone":false,"rrn":"071RRXC43DLL"},"errors":[],"test":true}'
103
+ string: '{"successful":true,"response":{"authorization":1525302809,"id":"071-R-HV39K95F","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
104
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-HV39K95F","reference":"efb1e7e17a2a706373473646a301bdc9","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:29+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RHV39K95F"},"errors":[],"test":true}'
105
105
  http_version:
106
- recorded_at: Wed, 05 Jul 2017 05:53:16 GMT
106
+ recorded_at: Wed, 02 May 2018 23:13:27 GMT
107
107
  recorded_with: VCR 3.0.3
@@ -5,27 +5,25 @@ 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":"926b4a2f0d1a9e290759a6fa09b94f20","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":"92687fef318ec40a671e05fc8b62c32c","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
9
9
  headers:
10
- Accept:
11
- - application/json
12
10
  Accept-Encoding:
13
- - gzip, deflate
14
- Content-Type:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
15
13
  - application/json
16
- Content-Length:
17
- - '214'
18
14
  User-Agent:
19
15
  - Ruby
20
16
  Authorization:
21
17
  - Basic VEVTVDpURVNU
18
+ Content-Type:
19
+ - application/json
22
20
  response:
23
21
  status:
24
22
  code: 200
25
23
  message: OK
26
24
  headers:
27
25
  Date:
28
- - Tue, 27 Jun 2017 05:09:22 GMT
26
+ - Wed, 02 May 2018 23:13:21 GMT
29
27
  Content-Type:
30
28
  - application/json; charset=utf-8
31
29
  Transfer-Encoding:
@@ -34,52 +32,50 @@ http_interactions:
34
32
  - keep-alive
35
33
  Status:
36
34
  - 200 OK
35
+ X-Rack-Cache:
36
+ - invalidate, pass
37
37
  Cache-Control:
38
38
  - no-store
39
39
  X-Request-Version:
40
- - 1.19.41
40
+ - 1.16.9-3156@6c1a40b
41
+ X-Runtime:
42
+ - '0.701034'
41
43
  Pragma:
42
44
  - no-cache
43
45
  X-Request-Id:
44
- - 9566d32cbe188977271a2d37a4fa0004
45
- X-Runtime:
46
- - '0.319598'
47
- X-Rack-Cache:
48
- - invalidate, pass
46
+ - 0c05b88c8de6cbbc5586deb2
49
47
  X-Backend:
50
48
  - sbox-priv-gateway-a
51
49
  body:
52
50
  encoding: UTF-8
53
- string: '{"successful":true,"response":{"authorization":"508758","id":"071-P-KZHVT2SV","card_number":"512345XXXXXX2346","card_holder":"Matthew
54
- Savage","card_expiry":"2030-02-28","card_token":"fke86c5u","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"926b4a2f0d1a9e290759a6fa09b94f20","currency":"AUD","transaction_id":"071-P-KZHVT2SV","settlement_date":"2017-06-27","transaction_date":"2017-06-27T15:09:22+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PKZHVT2SV","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"authorization":"562687","id":"071-P-SBKMUF9","card_number":"512345XXXXXX2346","card_holder":"Matthew
52
+ Savage","card_expiry":"2030-02-28","card_token":"fke8tpi7","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"92687fef318ec40a671e05fc8b62c32c","currency":"AUD","transaction_id":"071-P-SBKMUF9","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:13:21+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PSBKMUF9","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
55
53
  http_version:
56
- recorded_at: Tue, 27 Jun 2017 05:09:22 GMT
54
+ recorded_at: Wed, 02 May 2018 23:13:20 GMT
57
55
  - request:
58
56
  method: post
59
57
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
60
58
  body:
61
59
  encoding: UTF-8
62
- string: '{"transaction_id":"071-P-KZHVT2SV","amount":10000,"reference":"926b4a2f0d1a9e290759a6fa09b94f20","test":true}'
60
+ string: '{"transaction_id":"071-P-SBKMUF9","amount":10000,"reference":"92687fef318ec40a671e05fc8b62c32c","test":true}'
63
61
  headers:
64
- Accept:
65
- - application/json
66
62
  Accept-Encoding:
67
- - gzip, deflate
68
- Content-Type:
63
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
64
+ Accept:
69
65
  - application/json
70
- Content-Length:
71
- - '109'
72
66
  User-Agent:
73
67
  - Ruby
74
68
  Authorization:
75
69
  - Basic VEVTVDpURVNU
70
+ Content-Type:
71
+ - application/json
76
72
  response:
77
73
  status:
78
74
  code: 200
79
75
  message: OK
80
76
  headers:
81
77
  Date:
82
- - Tue, 27 Jun 2017 05:09:22 GMT
78
+ - Wed, 02 May 2018 23:13:22 GMT
83
79
  Content-Type:
84
80
  - application/json; charset=utf-8
85
81
  Transfer-Encoding:
@@ -88,24 +84,24 @@ http_interactions:
88
84
  - keep-alive
89
85
  Status:
90
86
  - 200 OK
87
+ X-Rack-Cache:
88
+ - invalidate, pass
91
89
  Cache-Control:
92
90
  - no-store
93
91
  X-Request-Version:
94
- - 1.19.41
92
+ - 1.16.9-3156@6c1a40b
93
+ X-Runtime:
94
+ - '0.121743'
95
95
  Pragma:
96
96
  - no-cache
97
97
  X-Request-Id:
98
- - 4488f6acf0bd66a757b604f8d39574df
99
- X-Runtime:
100
- - '0.202994'
101
- X-Rack-Cache:
102
- - invalidate, pass
98
+ - 17a6978277e2e88a7679f5f4
103
99
  X-Backend:
104
100
  - sbox-priv-gateway-a
105
101
  body:
106
102
  encoding: UTF-8
107
- string: '{"successful":true,"response":{"authorization":1498540162,"id":"071-R-NN6617E","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
108
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-NN6617E","reference":"926b4a2f0d1a9e290759a6fa09b94f20","currency":"AUD","successful":true,"transaction_date":"2017-06-27T15:09:22+10:00","response_code":"00","settlement_date":"2017-06-28","metadata":{},"standalone":false,"rrn":"071RNN6617E"},"errors":[],"test":true}'
103
+ string: '{"successful":true,"response":{"authorization":1525302802,"id":"071-R-ZKIP2OY2","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
104
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-ZKIP2OY2","reference":"92687fef318ec40a671e05fc8b62c32c","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:22+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RZKIP2OY2"},"errors":[],"test":true}'
109
105
  http_version:
110
- recorded_at: Tue, 27 Jun 2017 05:09:22 GMT
106
+ recorded_at: Wed, 02 May 2018 23:13:20 GMT
111
107
  recorded_with: VCR 3.0.3
@@ -5,27 +5,25 @@ 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":"0d95e19fd047afa59a0a63e3298b0c7e","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":"17e99dcace49cf28866d5b6eb30300f4","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
9
9
  headers:
10
- Accept:
11
- - application/json
12
10
  Accept-Encoding:
13
- - gzip, deflate
14
- Content-Type:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
15
13
  - application/json
16
- Content-Length:
17
- - '214'
18
14
  User-Agent:
19
15
  - Ruby
20
16
  Authorization:
21
17
  - Basic VEVTVDpURVNU
18
+ Content-Type:
19
+ - application/json
22
20
  response:
23
21
  status:
24
22
  code: 200
25
23
  message: OK
26
24
  headers:
27
25
  Date:
28
- - Tue, 27 Jun 2017 05:09:23 GMT
26
+ - Wed, 02 May 2018 23:13:22 GMT
29
27
  Content-Type:
30
28
  - application/json; charset=utf-8
31
29
  Transfer-Encoding:
@@ -34,52 +32,50 @@ http_interactions:
34
32
  - keep-alive
35
33
  Status:
36
34
  - 200 OK
35
+ X-Rack-Cache:
36
+ - invalidate, pass
37
37
  Cache-Control:
38
38
  - no-store
39
39
  X-Request-Version:
40
- - 1.19.41
40
+ - 1.16.9-3156@6c1a40b
41
+ X-Runtime:
42
+ - '0.566122'
41
43
  Pragma:
42
44
  - no-cache
43
45
  X-Request-Id:
44
- - 1cc12bfb43e5392599f124b734f392b7
45
- X-Runtime:
46
- - '0.317468'
47
- X-Rack-Cache:
48
- - invalidate, pass
46
+ - 8c727537a93c8817e5207add
49
47
  X-Backend:
50
48
  - sbox-priv-gateway-a
51
49
  body:
52
50
  encoding: UTF-8
53
- string: '{"successful":true,"response":{"authorization":"769302","id":"071-P-OFWK8S1Q","card_number":"512345XXXXXX2346","card_holder":"Matthew
54
- Savage","card_expiry":"2030-02-28","card_token":"fke86c5u","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"0d95e19fd047afa59a0a63e3298b0c7e","currency":"AUD","transaction_id":"071-P-OFWK8S1Q","settlement_date":"2017-06-27","transaction_date":"2017-06-27T15:09:23+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071POFWK8S1Q","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"authorization":"159728","id":"071-P-KLERD9TS","card_number":"512345XXXXXX2346","card_holder":"Matthew
52
+ Savage","card_expiry":"2030-02-28","card_token":"fke8y211","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"17e99dcace49cf28866d5b6eb30300f4","currency":"AUD","transaction_id":"071-P-KLERD9TS","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:13:22+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PKLERD9TS","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
55
53
  http_version:
56
- recorded_at: Tue, 27 Jun 2017 05:09:23 GMT
54
+ recorded_at: Wed, 02 May 2018 23:13:21 GMT
57
55
  - request:
58
56
  method: post
59
57
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
60
58
  body:
61
59
  encoding: UTF-8
62
- string: '{"transaction_id":"071-P-OFWK8S1Q","amount":10000,"reference":"0d95e19fd047afa59a0a63e3298b0c7e","test":true}'
60
+ string: '{"transaction_id":"071-P-KLERD9TS","amount":10000,"reference":"17e99dcace49cf28866d5b6eb30300f4","test":true}'
63
61
  headers:
64
- Accept:
65
- - application/json
66
62
  Accept-Encoding:
67
- - gzip, deflate
68
- Content-Type:
63
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
64
+ Accept:
69
65
  - application/json
70
- Content-Length:
71
- - '109'
72
66
  User-Agent:
73
67
  - Ruby
74
68
  Authorization:
75
69
  - Basic VEVTVDpURVNU
70
+ Content-Type:
71
+ - application/json
76
72
  response:
77
73
  status:
78
74
  code: 200
79
75
  message: OK
80
76
  headers:
81
77
  Date:
82
- - Tue, 27 Jun 2017 05:09:23 GMT
78
+ - Wed, 02 May 2018 23:13:23 GMT
83
79
  Content-Type:
84
80
  - application/json; charset=utf-8
85
81
  Transfer-Encoding:
@@ -88,24 +84,24 @@ http_interactions:
88
84
  - keep-alive
89
85
  Status:
90
86
  - 200 OK
87
+ X-Rack-Cache:
88
+ - invalidate, pass
91
89
  Cache-Control:
92
90
  - no-store
93
91
  X-Request-Version:
94
- - 1.19.41
92
+ - 1.16.9-3156@6c1a40b
93
+ X-Runtime:
94
+ - '0.102982'
95
95
  Pragma:
96
96
  - no-cache
97
97
  X-Request-Id:
98
- - 20a0a1a95c6d8fe8dbf23dfe4f7d985d
99
- X-Runtime:
100
- - '0.175368'
101
- X-Rack-Cache:
102
- - invalidate, pass
98
+ - 2c18a48ede2e04cb798488a1
103
99
  X-Backend:
104
100
  - sbox-priv-gateway-a
105
101
  body:
106
102
  encoding: UTF-8
107
- string: '{"successful":true,"response":{"authorization":1498540163,"id":"071-R-1A9MO9EE","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
108
- Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-1A9MO9EE","reference":"0d95e19fd047afa59a0a63e3298b0c7e","currency":"AUD","successful":true,"transaction_date":"2017-06-27T15:09:23+10:00","response_code":"00","settlement_date":"2017-06-28","metadata":{},"standalone":false,"rrn":"071R1A9MO9EE"},"errors":[],"test":true}'
103
+ string: '{"successful":true,"response":{"authorization":1525302803,"id":"071-R-P65EJCRH","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
104
+ Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-P65EJCRH","reference":"17e99dcace49cf28866d5b6eb30300f4","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:22+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RP65EJCRH"},"errors":[],"test":true}'
109
105
  http_version:
110
- recorded_at: Tue, 27 Jun 2017 05:09:23 GMT
106
+ recorded_at: Wed, 02 May 2018 23:13:21 GMT
111
107
  recorded_with: VCR 3.0.3