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":"211709ab25fc165b358c2344ec6406bc","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":"d6900b8bb001848973ffa4b80ff31ad1","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:23 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.535244'
41
43
  Pragma:
42
44
  - no-cache
43
45
  X-Request-Id:
44
- - 7ba26b0da47ad0499c51c5c8b72fcdd4
45
- X-Runtime:
46
- - '0.381855'
47
- X-Rack-Cache:
48
- - invalidate, pass
46
+ - ee8d9195ffecea01bde96d3a
49
47
  X-Backend:
50
48
  - sbox-priv-gateway-a
51
49
  body:
52
50
  encoding: UTF-8
53
- string: '{"successful":true,"response":{"authorization":"389088","id":"071-P-VWJW1LC4","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":"211709ab25fc165b358c2344ec6406bc","currency":"AUD","transaction_id":"071-P-VWJW1LC4","settlement_date":"2017-06-27","transaction_date":"2017-06-27T15:09:23+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PVWJW1LC4","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"authorization":"467574","id":"071-P-POK1A8IY","card_number":"512345XXXXXX2346","card_holder":"Matthew
52
+ Savage","card_expiry":"2030-02-28","card_token":"fke8jwtl","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"d6900b8bb001848973ffa4b80ff31ad1","currency":"AUD","transaction_id":"071-P-POK1A8IY","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:13:23+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PPOK1A8IY","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:22 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-VWJW1LC4","amount":10000,"reference":"211709ab25fc165b358c2344ec6406bc","test":true}'
60
+ string: '{"transaction_id":"071-P-POK1A8IY","amount":10000,"reference":"d6900b8bb001848973ffa4b80ff31ad1","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:24 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.104659'
95
95
  Pragma:
96
96
  - no-cache
97
97
  X-Request-Id:
98
- - db5c4e59037327ff72bc200396d17967
99
- X-Runtime:
100
- - '0.182448'
101
- X-Rack-Cache:
102
- - invalidate, pass
98
+ - 5097631a140ad21a6aa2ea33
103
99
  X-Backend:
104
100
  - sbox-priv-gateway-a
105
101
  body:
106
102
  encoding: UTF-8
107
- string: '{"successful":true,"response":{"authorization":1498540164,"id":"071-R-5K2XLR8N","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-5K2XLR8N","reference":"211709ab25fc165b358c2344ec6406bc","currency":"AUD","successful":true,"transaction_date":"2017-06-27T15:09:24+10:00","response_code":"00","settlement_date":"2017-06-28","metadata":{},"standalone":false,"rrn":"071R5K2XLR8N"},"errors":[],"test":true}'
103
+ string: '{"successful":true,"response":{"authorization":1525302803,"id":"071-R-I5AIGPJJ","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-I5AIGPJJ","reference":"d6900b8bb001848973ffa4b80ff31ad1","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:23+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RI5AIGPJJ"},"errors":[],"test":true}'
109
105
  http_version:
110
- recorded_at: Tue, 27 Jun 2017 05:09:24 GMT
106
+ recorded_at: Wed, 02 May 2018 23:13:22 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":"9ff838ebfa924a905780c0ec9b493747","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":"d235cb7584bec1a8a7fcf1be1c146f3b","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:24 GMT
26
+ - Wed, 02 May 2018 23:13:24 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.549214'
41
43
  Pragma:
42
44
  - no-cache
43
45
  X-Request-Id:
44
- - 33991b60a9296969aba4fa6f630e60ac
45
- X-Runtime:
46
- - '0.430289'
47
- X-Rack-Cache:
48
- - invalidate, pass
46
+ - 2871575aa28eafb14829e18a
49
47
  X-Backend:
50
48
  - sbox-priv-gateway-a
51
49
  body:
52
50
  encoding: UTF-8
53
- string: '{"successful":true,"response":{"authorization":"691100","id":"071-P-GR4HO3PO","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":"9ff838ebfa924a905780c0ec9b493747","currency":"AUD","transaction_id":"071-P-GR4HO3PO","settlement_date":"2017-06-27","transaction_date":"2017-06-27T15:09:24+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PGR4HO3PO","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"authorization":"921774","id":"071-P-D03JX069","card_number":"512345XXXXXX2346","card_holder":"Matthew
52
+ Savage","card_expiry":"2030-02-28","card_token":"fke8pwei","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"d235cb7584bec1a8a7fcf1be1c146f3b","currency":"AUD","transaction_id":"071-P-D03JX069","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:13:24+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PD03JX069","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
55
53
  http_version:
56
- recorded_at: Tue, 27 Jun 2017 05:09:24 GMT
54
+ recorded_at: Wed, 02 May 2018 23:13:23 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-GR4HO3PO","amount":10000,"reference":"9ff838ebfa924a905780c0ec9b493747","test":true}'
60
+ string: '{"transaction_id":"071-P-D03JX069","amount":10000,"reference":"d235cb7584bec1a8a7fcf1be1c146f3b","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:24 GMT
78
+ - Wed, 02 May 2018 23:13:24 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.129895'
95
95
  Pragma:
96
96
  - no-cache
97
97
  X-Request-Id:
98
- - 74b371542d6356c53edc2f2453663f2f
99
- X-Runtime:
100
- - '0.202441'
101
- X-Rack-Cache:
102
- - invalidate, pass
98
+ - edcc50daeed854bcda2025b1
103
99
  X-Backend:
104
100
  - sbox-priv-gateway-a
105
101
  body:
106
102
  encoding: UTF-8
107
- string: '{"successful":true,"response":{"authorization":1498540164,"id":"071-R-M3BQFHM7","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-M3BQFHM7","reference":"9ff838ebfa924a905780c0ec9b493747","currency":"AUD","successful":true,"transaction_date":"2017-06-27T15:09:24+10:00","response_code":"00","settlement_date":"2017-06-28","metadata":{},"standalone":false,"rrn":"071RM3BQFHM7"},"errors":[],"test":true}'
103
+ string: '{"successful":true,"response":{"authorization":1525302804,"id":"071-R-HPZIRHMH","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-HPZIRHMH","reference":"d235cb7584bec1a8a7fcf1be1c146f3b","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:24+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RHPZIRHMH"},"errors":[],"test":true}'
109
105
  http_version:
110
- recorded_at: Tue, 27 Jun 2017 05:09:25 GMT
106
+ recorded_at: Wed, 02 May 2018 23:13:23 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":"bc48f295e4f9ff50fe875f8e70a07d97","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":"755cce12e7b9a2fdc95da3db60dae05b","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:25 GMT
26
+ - Wed, 02 May 2018 23:13:25 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.586958'
41
43
  Pragma:
42
44
  - no-cache
43
45
  X-Request-Id:
44
- - 86ec8307fa8fd997d09f76953b561b6d
45
- X-Runtime:
46
- - '0.318125'
47
- X-Rack-Cache:
48
- - invalidate, pass
46
+ - 32884ba973a464dbfc8ff3c8
49
47
  X-Backend:
50
48
  - sbox-priv-gateway-a
51
49
  body:
52
50
  encoding: UTF-8
53
- string: '{"successful":true,"response":{"authorization":"898708","id":"071-P-6E3LRL4G","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":"bc48f295e4f9ff50fe875f8e70a07d97","currency":"AUD","transaction_id":"071-P-6E3LRL4G","settlement_date":"2017-06-27","transaction_date":"2017-06-27T15:09:25+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P6E3LRL4G","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"authorization":"657661","id":"071-P-UV5IW0PY","card_number":"512345XXXXXX2346","card_holder":"Matthew
52
+ Savage","card_expiry":"2030-02-28","card_token":"fke8098l","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"755cce12e7b9a2fdc95da3db60dae05b","currency":"AUD","transaction_id":"071-P-UV5IW0PY","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:13:25+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PUV5IW0PY","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
55
53
  http_version:
56
- recorded_at: Tue, 27 Jun 2017 05:09:25 GMT
54
+ recorded_at: Wed, 02 May 2018 23:13:24 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-6E3LRL4G","amount":10000,"reference":"bc48f295e4f9ff50fe875f8e70a07d97","test":true}'
60
+ string: '{"transaction_id":"071-P-UV5IW0PY","amount":10000,"reference":"755cce12e7b9a2fdc95da3db60dae05b","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:25 GMT
78
+ - Wed, 02 May 2018 23:13:25 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.125432'
95
95
  Pragma:
96
96
  - no-cache
97
97
  X-Request-Id:
98
- - a5d2d1828e5fbd44bc92daa65d0a9672
99
- X-Runtime:
100
- - '0.156614'
101
- X-Rack-Cache:
102
- - invalidate, pass
98
+ - 8b72aab34a0f8601bf79489c
103
99
  X-Backend:
104
100
  - sbox-priv-gateway-a
105
101
  body:
106
102
  encoding: UTF-8
107
- string: '{"successful":true,"response":{"authorization":1498540165,"id":"071-R-ZC9UHEU3","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-ZC9UHEU3","reference":"bc48f295e4f9ff50fe875f8e70a07d97","currency":"AUD","successful":true,"transaction_date":"2017-06-27T15:09:25+10:00","response_code":"00","settlement_date":"2017-06-28","metadata":{},"standalone":false,"rrn":"071RZC9UHEU3"},"errors":[],"test":true}'
103
+ string: '{"successful":true,"response":{"authorization":1525302805,"id":"071-R-M66J056Q","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-M66J056Q","reference":"755cce12e7b9a2fdc95da3db60dae05b","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:25+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RM66J056Q"},"errors":[],"test":true}'
109
105
  http_version:
110
- recorded_at: Tue, 27 Jun 2017 05:09:25 GMT
106
+ recorded_at: Wed, 02 May 2018 23:13:24 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":"40e3c8f6bf72279903b99ceb33c7646b","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":"d98068c89fee7ba68877ca41d3edb166","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:26 GMT
26
+ - Wed, 02 May 2018 23:13:26 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.585326'
41
43
  Pragma:
42
44
  - no-cache
43
45
  X-Request-Id:
44
- - 4de62804bea0b70948c7f2850aeec454
45
- X-Runtime:
46
- - '0.346041'
47
- X-Rack-Cache:
48
- - invalidate, pass
46
+ - a8b4a7a257d17a6c34af32ca
49
47
  X-Backend:
50
48
  - sbox-priv-gateway-a
51
49
  body:
52
50
  encoding: UTF-8
53
- string: '{"successful":true,"response":{"authorization":"808672","id":"071-P-W60DMMJB","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":"40e3c8f6bf72279903b99ceb33c7646b","currency":"AUD","transaction_id":"071-P-W60DMMJB","settlement_date":"2017-06-27","transaction_date":"2017-06-27T15:09:25+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PW60DMMJB","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"authorization":"109348","id":"071-P-TP0A11J5","card_number":"512345XXXXXX2346","card_holder":"Matthew
52
+ Savage","card_expiry":"2030-02-28","card_token":"fke8z0zy","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"d98068c89fee7ba68877ca41d3edb166","currency":"AUD","transaction_id":"071-P-TP0A11J5","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:13:26+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PTP0A11J5","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
55
53
  http_version:
56
- recorded_at: Tue, 27 Jun 2017 05:09:26 GMT
54
+ recorded_at: Wed, 02 May 2018 23:13:25 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-W60DMMJB","amount":10000,"reference":"40e3c8f6bf72279903b99ceb33c7646b","test":true}'
60
+ string: '{"transaction_id":"071-P-TP0A11J5","amount":10000,"reference":"d98068c89fee7ba68877ca41d3edb166","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:26 GMT
78
+ - Wed, 02 May 2018 23:13:26 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.104359'
95
95
  Pragma:
96
96
  - no-cache
97
97
  X-Request-Id:
98
- - b5b4ae708f91a876de86e8578124815a
99
- X-Runtime:
100
- - '0.143020'
101
- X-Rack-Cache:
102
- - invalidate, pass
98
+ - 63b9a31f03ea1efa12dd55b8
103
99
  X-Backend:
104
100
  - sbox-priv-gateway-a
105
101
  body:
106
102
  encoding: UTF-8
107
- string: '{"successful":true,"response":{"authorization":1498540166,"id":"071-R-9OHV5GYN","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-9OHV5GYN","reference":"40e3c8f6bf72279903b99ceb33c7646b","currency":"AUD","successful":true,"transaction_date":"2017-06-27T15:09:26+10:00","response_code":"00","settlement_date":"2017-06-28","metadata":{},"standalone":false,"rrn":"071R9OHV5GYN"},"errors":[],"test":true}'
103
+ string: '{"successful":true,"response":{"authorization":1525302806,"id":"071-R-AL9LMCOF","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-AL9LMCOF","reference":"d98068c89fee7ba68877ca41d3edb166","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:26+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RAL9LMCOF"},"errors":[],"test":true}'
109
105
  http_version:
110
- recorded_at: Tue, 27 Jun 2017 05:09:26 GMT
106
+ recorded_at: Wed, 02 May 2018 23:13:25 GMT
111
107
  recorded_with: VCR 3.0.3