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
@@ -1,170 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
6
- body:
7
- encoding: UTF-8
8
- string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"500bc3154a25fcb135441a0bb37c8bd8-0","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Authorization:
17
- - Basic VEVTVDpURVNU
18
- Content-Type:
19
- - application/json
20
- response:
21
- status:
22
- code: 200
23
- message: OK
24
- headers:
25
- Date:
26
- - Wed, 05 Jul 2017 05:45:11 GMT
27
- Content-Type:
28
- - application/json; charset=utf-8
29
- Transfer-Encoding:
30
- - chunked
31
- Connection:
32
- - keep-alive
33
- Status:
34
- - 200 OK
35
- Cache-Control:
36
- - no-store
37
- X-Request-Version:
38
- - 1.19.41
39
- Pragma:
40
- - no-cache
41
- X-Request-Id:
42
- - 6f1bd284817b5b6732030e4c57b0574c
43
- X-Runtime:
44
- - '0.311365'
45
- X-Rack-Cache:
46
- - invalidate, pass
47
- X-Backend:
48
- - sbox-priv-gateway-a
49
- body:
50
- encoding: UTF-8
51
- string: '{"successful":true,"response":{"authorization":"881799","id":"071-P-56YB62C8","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":"500bc3154a25fcb135441a0bb37c8bd8-0","currency":"AUD","transaction_id":"071-P-56YB62C8","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:45:11+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P56YB62C8","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
53
- http_version:
54
- recorded_at: Wed, 05 Jul 2017 05:45:11 GMT
55
- - request:
56
- method: post
57
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
58
- body:
59
- encoding: UTF-8
60
- string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"34d2e28d7ef607d760969ebc2d7017ab-1","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
61
- headers:
62
- Accept-Encoding:
63
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
64
- Accept:
65
- - application/json
66
- User-Agent:
67
- - Ruby
68
- Authorization:
69
- - Basic VEVTVDpURVNU
70
- Content-Type:
71
- - application/json
72
- response:
73
- status:
74
- code: 200
75
- message: OK
76
- headers:
77
- Date:
78
- - Wed, 05 Jul 2017 05:45:12 GMT
79
- Content-Type:
80
- - application/json; charset=utf-8
81
- Transfer-Encoding:
82
- - chunked
83
- Connection:
84
- - keep-alive
85
- Status:
86
- - 200 OK
87
- Cache-Control:
88
- - no-store
89
- X-Request-Version:
90
- - 1.19.41
91
- Pragma:
92
- - no-cache
93
- X-Request-Id:
94
- - 774f3f214866d77e77908dbaa3a8ba90
95
- X-Runtime:
96
- - '0.328123'
97
- X-Rack-Cache:
98
- - invalidate, pass
99
- X-Backend:
100
- - sbox-priv-gateway-a
101
- body:
102
- encoding: UTF-8
103
- string: '{"successful":true,"response":{"authorization":"744693","id":"071-P-2VZNP413","card_number":"512345XXXXXX2346","card_holder":"Matthew
104
- 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":"34d2e28d7ef607d760969ebc2d7017ab-1","currency":"AUD","transaction_id":"071-P-2VZNP413","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:45:12+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P2VZNP413","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
105
- http_version:
106
- recorded_at: Wed, 05 Jul 2017 05:45:12 GMT
107
- - request:
108
- method: get
109
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases?from=2017/07/05&limit=10&offets=0&test=true
110
- body:
111
- encoding: US-ASCII
112
- string: ''
113
- headers:
114
- Accept-Encoding:
115
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
116
- Accept:
117
- - application/json
118
- User-Agent:
119
- - Ruby
120
- Host:
121
- - gateway.sandbox.fatzebra.com.au
122
- Authorization:
123
- - Basic VEVTVDpURVNU
124
- Content-Type:
125
- - application/json
126
- response:
127
- status:
128
- code: 200
129
- message: OK
130
- headers:
131
- Date:
132
- - Wed, 05 Jul 2017 05:45:12 GMT
133
- Content-Type:
134
- - application/json; charset=utf-8
135
- Transfer-Encoding:
136
- - chunked
137
- Connection:
138
- - keep-alive
139
- Status:
140
- - 200 OK
141
- X-Rack-Cache:
142
- - miss
143
- Cache-Control:
144
- - no-store, private
145
- X-Request-Version:
146
- - 1.19.41
147
- X-Runtime:
148
- - '0.038833'
149
- Pragma:
150
- - no-cache
151
- X-Request-Id:
152
- - b108bd9127384d8f3fbdf77c609a16c8
153
- X-Backend:
154
- - sbox-priv-gateway-a
155
- body:
156
- encoding: UTF-8
157
- string: '{"successful":true,"response":[{"authorization":"744693","id":"071-P-2VZNP413","card_number":"512345XXXXXX2346","card_holder":"Matthew
158
- 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":"34d2e28d7ef607d760969ebc2d7017ab-1","currency":"AUD","transaction_id":"071-P-2VZNP413","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:45:12+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P2VZNP413","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"881799","id":"071-P-56YB62C8","card_number":"512345XXXXXX2346","card_holder":"Matthew
159
- 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":"500bc3154a25fcb135441a0bb37c8bd8-0","currency":"AUD","transaction_id":"071-P-56YB62C8","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:45:11+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P56YB62C8","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"356983","id":"071-P-23O82NEW","card_number":"512345XXXXXX2346","card_holder":"Matthew
160
- 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":"6206092e1947d5828adeebb7f14e8c81","currency":"AUD","transaction_id":"071-P-23O82NEW","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:45:11+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P23O82NEW","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"533080","id":"071-P-WA5KQSR7","card_number":"512345XXXXXX2346","card_holder":"Matthew
161
- 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":"3b0497feb03e9ce4fc16880ffcdf1810-1","currency":"AUD","transaction_id":"071-P-WA5KQSR7","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:44:05+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PWA5KQSR7","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"133919","id":"071-P-DQ1I6FDM","card_number":"512345XXXXXX2346","card_holder":"Matthew
162
- 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":"9c9782997ad6a62e1cb68c3a4ac0c034-0","currency":"AUD","transaction_id":"071-P-DQ1I6FDM","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:44:05+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PDQ1I6FDM","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"600286","id":"071-P-UG6KHRSX","card_number":"512345XXXXXX2346","card_holder":"Matthew
163
- 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":"73a2544b39cbd4438d7a74d72e248c44-1","currency":"AUD","transaction_id":"071-P-UG6KHRSX","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:44:03+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PUG6KHRSX","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"382675","id":"071-P-S2MY9MWS","card_number":"512345XXXXXX2346","card_holder":"Matthew
164
- 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":"a2e48ffb40408b6e8f82480cd82a0843-0","currency":"AUD","transaction_id":"071-P-S2MY9MWS","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:44:02+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PS2MY9MWS","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"148114","id":"071-P-RTV7SA4G","card_number":"512345XXXXXX2346","card_holder":"Matthew
165
- 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":"514f9947f3d2efaa5793b4336cd36cff-1","currency":"AUD","transaction_id":"071-P-RTV7SA4G","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:44:00+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PRTV7SA4G","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"841988","id":"071-P-ZQQNODJV","card_number":"512345XXXXXX2346","card_holder":"Matthew
166
- 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":"f5b98562e377f502a31b8d64ee2db026-0","currency":"AUD","transaction_id":"071-P-ZQQNODJV","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:44:00+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PZQQNODJV","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"864743","id":"071-P-YYB7TT2I","card_number":"512345XXXXXX2346","card_holder":"Matthew
167
- 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":"372581983d6d0ef40df970cf37115b70-1","currency":"AUD","transaction_id":"071-P-YYB7TT2I","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:57+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PYYB7TT2I","cvv_match":"M","metadata":{},"addendum_data":{}}],"errors":[],"test":true,"records":10,"total_records":74,"page":1,"total_pages":8}'
168
- http_version:
169
- recorded_at: Wed, 05 Jul 2017 05:45:12 GMT
170
- recorded_with: VCR 3.0.3
@@ -1,170 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
6
- body:
7
- encoding: UTF-8
8
- string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"6c174dcb8ac6c1ece84dbe90ced5033b-0","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Authorization:
17
- - Basic VEVTVDpURVNU
18
- Content-Type:
19
- - application/json
20
- response:
21
- status:
22
- code: 200
23
- message: OK
24
- headers:
25
- Date:
26
- - Wed, 05 Jul 2017 05:43:49 GMT
27
- Content-Type:
28
- - application/json; charset=utf-8
29
- Transfer-Encoding:
30
- - chunked
31
- Connection:
32
- - keep-alive
33
- Status:
34
- - 200 OK
35
- Cache-Control:
36
- - no-store
37
- X-Request-Version:
38
- - 1.19.41
39
- Pragma:
40
- - no-cache
41
- X-Request-Id:
42
- - 5dc2d617ba2c1dac73c5e26b3a263934
43
- X-Runtime:
44
- - '0.310365'
45
- X-Rack-Cache:
46
- - invalidate, pass
47
- X-Backend:
48
- - sbox-priv-gateway-a
49
- body:
50
- encoding: UTF-8
51
- string: '{"successful":true,"response":{"authorization":"712136","id":"071-P-HJLNY3Z4","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":"6c174dcb8ac6c1ece84dbe90ced5033b-0","currency":"AUD","transaction_id":"071-P-HJLNY3Z4","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:49+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PHJLNY3Z4","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
53
- http_version:
54
- recorded_at: Wed, 05 Jul 2017 05:43:49 GMT
55
- - request:
56
- method: post
57
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
58
- body:
59
- encoding: UTF-8
60
- string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"e972c72a1bc57a5710fc86a4ad02ced9-1","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
61
- headers:
62
- Accept-Encoding:
63
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
64
- Accept:
65
- - application/json
66
- User-Agent:
67
- - Ruby
68
- Authorization:
69
- - Basic VEVTVDpURVNU
70
- Content-Type:
71
- - application/json
72
- response:
73
- status:
74
- code: 200
75
- message: OK
76
- headers:
77
- Date:
78
- - Wed, 05 Jul 2017 05:43:50 GMT
79
- Content-Type:
80
- - application/json; charset=utf-8
81
- Transfer-Encoding:
82
- - chunked
83
- Connection:
84
- - keep-alive
85
- Status:
86
- - 200 OK
87
- X-Rack-Cache:
88
- - invalidate, pass
89
- Cache-Control:
90
- - no-store
91
- X-Request-Version:
92
- - 1.19.41
93
- X-Runtime:
94
- - '0.285526'
95
- Pragma:
96
- - no-cache
97
- X-Request-Id:
98
- - 84c474839b5a59ffef19dc266eac8204
99
- X-Backend:
100
- - sbox-priv-gateway-a
101
- body:
102
- encoding: UTF-8
103
- string: '{"successful":true,"response":{"authorization":"374470","id":"071-P-G6FFZFNL","card_number":"512345XXXXXX2346","card_holder":"Matthew
104
- 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":"e972c72a1bc57a5710fc86a4ad02ced9-1","currency":"AUD","transaction_id":"071-P-G6FFZFNL","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:49+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PG6FFZFNL","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
105
- http_version:
106
- recorded_at: Wed, 05 Jul 2017 05:43:50 GMT
107
- - request:
108
- method: get
109
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases?from=2017/07/05&limit=10&offets=0&test=true
110
- body:
111
- encoding: US-ASCII
112
- string: ''
113
- headers:
114
- Accept-Encoding:
115
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
116
- Accept:
117
- - application/json
118
- User-Agent:
119
- - Ruby
120
- Host:
121
- - gateway.sandbox.fatzebra.com.au
122
- Authorization:
123
- - Basic VEVTVDpURVNU
124
- Content-Type:
125
- - application/json
126
- response:
127
- status:
128
- code: 200
129
- message: OK
130
- headers:
131
- Date:
132
- - Wed, 05 Jul 2017 05:43:50 GMT
133
- Content-Type:
134
- - application/json; charset=utf-8
135
- Transfer-Encoding:
136
- - chunked
137
- Connection:
138
- - keep-alive
139
- Status:
140
- - 200 OK
141
- Cache-Control:
142
- - no-store, private
143
- X-Request-Version:
144
- - 1.19.41
145
- Pragma:
146
- - no-cache
147
- X-Request-Id:
148
- - b9bc91ba5b74202e1cad54a1a15c13e2
149
- X-Runtime:
150
- - '0.041796'
151
- X-Rack-Cache:
152
- - miss
153
- X-Backend:
154
- - sbox-priv-gateway-a
155
- body:
156
- encoding: UTF-8
157
- string: '{"successful":true,"response":[{"authorization":"374470","id":"071-P-G6FFZFNL","card_number":"512345XXXXXX2346","card_holder":"Matthew
158
- 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":"e972c72a1bc57a5710fc86a4ad02ced9-1","currency":"AUD","transaction_id":"071-P-G6FFZFNL","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:49+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PG6FFZFNL","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"712136","id":"071-P-HJLNY3Z4","card_number":"512345XXXXXX2346","card_holder":"Matthew
159
- 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":"6c174dcb8ac6c1ece84dbe90ced5033b-0","currency":"AUD","transaction_id":"071-P-HJLNY3Z4","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:49+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PHJLNY3Z4","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"906232","id":"071-P-YJ6QOD2J","card_number":"512345XXXXXX2346","card_holder":"Matthew
160
- 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":"e3e7992275f89000f4a79c93c81521e5","currency":"AUD","transaction_id":"071-P-YJ6QOD2J","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:49+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PYJ6QOD2J","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"572665","id":"071-P-WH42JBGW","card_number":"512345XXXXXX2346","card_holder":"Matthew
161
- 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":"62690132d5c53957f005b12e42663adf","currency":"AUD","transaction_id":"071-P-WH42JBGW","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:48+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PWH42JBGW","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"600897","id":"071-P-IKUN727G","card_number":"512345XXXXXX2346","card_holder":"Matthew
162
- 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":"eb5e102aa89d2e6b0f8a7d9cf5494efb","currency":"AUD","transaction_id":"071-P-IKUN727G","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:47+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PIKUN727G","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"951998","id":"071-P-MXQ6748P","card_number":"512345XXXXXX2346","card_holder":"Matthew
163
- 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":"be97ecc606de99fd9eb7f9866be401eb","currency":"AUD","transaction_id":"071-P-MXQ6748P","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:47+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PMXQ6748P","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"795310","id":"071-P-J2QRN220","card_number":"512345XXXXXX2346","card_holder":"Matthew
164
- 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":"7bd0b4bbc1a93222070cbf022465fc17","currency":"AUD","transaction_id":"071-P-J2QRN220","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:43+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PJ2QRN220","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"540184","id":"071-P-I20AXFK9","card_number":"411111XXXXXX1111","card_holder":"Card
165
- Holder","card_expiry":"2022-12-01","card_token":"fke8byat","card_type":"VISA","card_category":"Credit","card_subcategory":"Credit","amount":100,"decimal_amount":1.0,"successful":true,"message":"Approved","reference":"3x0sdvq5","currency":"AUD","transaction_id":"071-P-I20AXFK9","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:39:13+10:00","response_code":"00","captured":true,"captured_amount":100,"rrn":"071PI20AXFK9","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"674964","id":"071-P-IX4AYVKQ","card_number":"411111XXXXXX1111","card_holder":"Card
166
- Holder","card_expiry":"2022-12-01","card_token":"fke8rt8f","card_type":"VISA","card_category":"Credit","card_subcategory":"Credit","amount":100,"decimal_amount":1.0,"successful":true,"message":"Approved","reference":"ngqf1jgf","currency":"AUD","transaction_id":"071-P-IX4AYVKQ","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:39:08+10:00","response_code":"00","captured":true,"captured_amount":100,"rrn":"071PIX4AYVKQ","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":null,"id":"071-P-9BLWE198","card_number":"411111XXXXXX1111","card_holder":"Card
167
- Holder","card_expiry":"2017-12-01","card_token":"fke8ny6h","card_type":"VISA","card_category":"Credit","card_subcategory":"Credit","amount":156,"decimal_amount":1.56,"successful":false,"message":"Declined","reference":"qr816h3c","currency":"AUD","transaction_id":"071-P-9BLWE198","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:39:04+10:00","response_code":"56","captured":false,"captured_amount":0,"rrn":null,"cvv_match":"M","metadata":{},"addendum_data":{}}],"errors":[],"test":true,"records":10,"total_records":50,"page":1,"total_pages":5}'
168
- http_version:
169
- recorded_at: Wed, 05 Jul 2017 05:43:50 GMT
170
- recorded_with: VCR 3.0.3
@@ -1,170 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
6
- body:
7
- encoding: UTF-8
8
- string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"1a5f050168843e8f752b6abc693241a9-0","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Authorization:
17
- - Basic VEVTVDpURVNU
18
- Content-Type:
19
- - application/json
20
- response:
21
- status:
22
- code: 200
23
- message: OK
24
- headers:
25
- Date:
26
- - Wed, 05 Jul 2017 05:43:50 GMT
27
- Content-Type:
28
- - application/json; charset=utf-8
29
- Transfer-Encoding:
30
- - chunked
31
- Connection:
32
- - keep-alive
33
- Status:
34
- - 200 OK
35
- X-Rack-Cache:
36
- - invalidate, pass
37
- Cache-Control:
38
- - no-store
39
- X-Request-Version:
40
- - 1.19.41
41
- X-Runtime:
42
- - '0.307787'
43
- Pragma:
44
- - no-cache
45
- X-Request-Id:
46
- - e2ad4b941f7de36a7bc4ad2cb0538eb0
47
- X-Backend:
48
- - sbox-priv-gateway-a
49
- body:
50
- encoding: UTF-8
51
- string: '{"successful":true,"response":{"authorization":"784658","id":"071-P-1MRPKCLJ","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":"1a5f050168843e8f752b6abc693241a9-0","currency":"AUD","transaction_id":"071-P-1MRPKCLJ","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:50+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P1MRPKCLJ","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
53
- http_version:
54
- recorded_at: Wed, 05 Jul 2017 05:43:50 GMT
55
- - request:
56
- method: post
57
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
58
- body:
59
- encoding: UTF-8
60
- string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"657d9afa572ecf867380ec4f00d57077-1","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
61
- headers:
62
- Accept-Encoding:
63
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
64
- Accept:
65
- - application/json
66
- User-Agent:
67
- - Ruby
68
- Authorization:
69
- - Basic VEVTVDpURVNU
70
- Content-Type:
71
- - application/json
72
- response:
73
- status:
74
- code: 200
75
- message: OK
76
- headers:
77
- Date:
78
- - Wed, 05 Jul 2017 05:43:50 GMT
79
- Content-Type:
80
- - application/json; charset=utf-8
81
- Transfer-Encoding:
82
- - chunked
83
- Connection:
84
- - keep-alive
85
- Status:
86
- - 200 OK
87
- Cache-Control:
88
- - no-store
89
- X-Request-Version:
90
- - 1.19.41
91
- Pragma:
92
- - no-cache
93
- X-Request-Id:
94
- - 2a205a5ef902bd9b1d79cab21adc75a3
95
- X-Runtime:
96
- - '0.320227'
97
- X-Rack-Cache:
98
- - invalidate, pass
99
- X-Backend:
100
- - sbox-priv-gateway-a
101
- body:
102
- encoding: UTF-8
103
- string: '{"successful":true,"response":{"authorization":"561857","id":"071-P-L8XYVJHQ","card_number":"512345XXXXXX2346","card_holder":"Matthew
104
- 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":"657d9afa572ecf867380ec4f00d57077-1","currency":"AUD","transaction_id":"071-P-L8XYVJHQ","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:50+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PL8XYVJHQ","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
105
- http_version:
106
- recorded_at: Wed, 05 Jul 2017 05:43:50 GMT
107
- - request:
108
- method: get
109
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases?from=2017/07/05&limit=10&offets=0&test=true
110
- body:
111
- encoding: US-ASCII
112
- string: ''
113
- headers:
114
- Accept-Encoding:
115
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
116
- Accept:
117
- - application/json
118
- User-Agent:
119
- - Ruby
120
- Host:
121
- - gateway.sandbox.fatzebra.com.au
122
- Authorization:
123
- - Basic VEVTVDpURVNU
124
- Content-Type:
125
- - application/json
126
- response:
127
- status:
128
- code: 200
129
- message: OK
130
- headers:
131
- Date:
132
- - Wed, 05 Jul 2017 05:43:51 GMT
133
- Content-Type:
134
- - application/json; charset=utf-8
135
- Transfer-Encoding:
136
- - chunked
137
- Connection:
138
- - keep-alive
139
- Status:
140
- - 200 OK
141
- X-Rack-Cache:
142
- - miss
143
- Cache-Control:
144
- - no-store, private
145
- X-Request-Version:
146
- - 1.19.41
147
- X-Runtime:
148
- - '0.042046'
149
- Pragma:
150
- - no-cache
151
- X-Request-Id:
152
- - f5a7dd7705f5dc7dd73c4fab11a36328
153
- X-Backend:
154
- - sbox-priv-gateway-a
155
- body:
156
- encoding: UTF-8
157
- string: '{"successful":true,"response":[{"authorization":"561857","id":"071-P-L8XYVJHQ","card_number":"512345XXXXXX2346","card_holder":"Matthew
158
- 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":"657d9afa572ecf867380ec4f00d57077-1","currency":"AUD","transaction_id":"071-P-L8XYVJHQ","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:50+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PL8XYVJHQ","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"784658","id":"071-P-1MRPKCLJ","card_number":"512345XXXXXX2346","card_holder":"Matthew
159
- 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":"1a5f050168843e8f752b6abc693241a9-0","currency":"AUD","transaction_id":"071-P-1MRPKCLJ","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:50+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P1MRPKCLJ","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"374470","id":"071-P-G6FFZFNL","card_number":"512345XXXXXX2346","card_holder":"Matthew
160
- 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":"e972c72a1bc57a5710fc86a4ad02ced9-1","currency":"AUD","transaction_id":"071-P-G6FFZFNL","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:49+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PG6FFZFNL","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"712136","id":"071-P-HJLNY3Z4","card_number":"512345XXXXXX2346","card_holder":"Matthew
161
- 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":"6c174dcb8ac6c1ece84dbe90ced5033b-0","currency":"AUD","transaction_id":"071-P-HJLNY3Z4","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:49+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PHJLNY3Z4","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"906232","id":"071-P-YJ6QOD2J","card_number":"512345XXXXXX2346","card_holder":"Matthew
162
- 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":"e3e7992275f89000f4a79c93c81521e5","currency":"AUD","transaction_id":"071-P-YJ6QOD2J","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:49+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PYJ6QOD2J","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"572665","id":"071-P-WH42JBGW","card_number":"512345XXXXXX2346","card_holder":"Matthew
163
- 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":"62690132d5c53957f005b12e42663adf","currency":"AUD","transaction_id":"071-P-WH42JBGW","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:48+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PWH42JBGW","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"600897","id":"071-P-IKUN727G","card_number":"512345XXXXXX2346","card_holder":"Matthew
164
- 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":"eb5e102aa89d2e6b0f8a7d9cf5494efb","currency":"AUD","transaction_id":"071-P-IKUN727G","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:47+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PIKUN727G","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"951998","id":"071-P-MXQ6748P","card_number":"512345XXXXXX2346","card_holder":"Matthew
165
- 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":"be97ecc606de99fd9eb7f9866be401eb","currency":"AUD","transaction_id":"071-P-MXQ6748P","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:47+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PMXQ6748P","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"795310","id":"071-P-J2QRN220","card_number":"512345XXXXXX2346","card_holder":"Matthew
166
- 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":"7bd0b4bbc1a93222070cbf022465fc17","currency":"AUD","transaction_id":"071-P-J2QRN220","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:43+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PJ2QRN220","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"540184","id":"071-P-I20AXFK9","card_number":"411111XXXXXX1111","card_holder":"Card
167
- Holder","card_expiry":"2022-12-01","card_token":"fke8byat","card_type":"VISA","card_category":"Credit","card_subcategory":"Credit","amount":100,"decimal_amount":1.0,"successful":true,"message":"Approved","reference":"3x0sdvq5","currency":"AUD","transaction_id":"071-P-I20AXFK9","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:39:13+10:00","response_code":"00","captured":true,"captured_amount":100,"rrn":"071PI20AXFK9","cvv_match":"M","metadata":{},"addendum_data":{}}],"errors":[],"test":true,"records":10,"total_records":52,"page":1,"total_pages":6}'
168
- http_version:
169
- recorded_at: Wed, 05 Jul 2017 05:43:51 GMT
170
- recorded_with: VCR 3.0.3