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,29 +5,27 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"first_name":"Harrold","last_name":"Humphries","reference":"cf439484b9b6539e4f0681c18d267536","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"ff62fc1bfee1a3bb72bb6da290c74905","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
9
9
  Humphries Senior","card_number":"5123456789012346","expiry_date":"05/2023","cvv":"123"},"address":{"address":"1
10
10
  Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"test":true}'
11
11
  headers:
12
- Accept:
13
- - application/json
14
12
  Accept-Encoding:
15
- - gzip, deflate
16
- Content-Type:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
17
15
  - application/json
18
- Content-Length:
19
- - '394'
20
16
  User-Agent:
21
17
  - Ruby
22
18
  Authorization:
23
19
  - Basic VEVTVDpURVNU
20
+ Content-Type:
21
+ - application/json
24
22
  response:
25
23
  status:
26
24
  code: 200
27
25
  message: OK
28
26
  headers:
29
27
  Date:
30
- - Mon, 26 Jun 2017 06:19:11 GMT
28
+ - Wed, 02 May 2018 23:12:20 GMT
31
29
  Content-Type:
32
30
  - application/json; charset=utf-8
33
31
  Transfer-Encoding:
@@ -36,52 +34,50 @@ http_interactions:
36
34
  - keep-alive
37
35
  Status:
38
36
  - 200 OK
37
+ X-Rack-Cache:
38
+ - invalidate, pass
39
39
  Cache-Control:
40
40
  - no-store
41
41
  X-Request-Version:
42
- - 1.19.41
42
+ - 1.16.9-3156@6c1a40b
43
+ X-Runtime:
44
+ - '0.481990'
43
45
  Pragma:
44
46
  - no-cache
45
47
  X-Request-Id:
46
- - b164c90d7ba4d96591fa54517b495ed5
47
- X-Runtime:
48
- - '0.261004'
49
- X-Rack-Cache:
50
- - invalidate, pass
48
+ - af422760f7915c206c5fece0
51
49
  X-Backend:
52
50
  - sbox-priv-gateway-a
53
51
  body:
54
52
  encoding: UTF-8
55
- string: '{"successful":true,"response":{"id":"071-C-SHLKURCK","email":null,"reference":"cf439484b9b6539e4f0681c18d267536","first_name":"Harrold","last_name":"Humphries","created_at":"2017-06-26T16:19:11+10:00","address":{"address":"1
56
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke86c5u","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},"errors":[],"test":true}'
53
+ string: '{"successful":true,"response":{"id":"071-C-APXD5S2R","email":null,"reference":"ff62fc1bfee1a3bb72bb6da290c74905","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:19+10:00","address":{"address":"1
54
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8e4ba","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},"errors":[],"test":true}'
57
55
  http_version:
58
- recorded_at: Mon, 26 Jun 2017 06:19:11 GMT
56
+ recorded_at: Wed, 02 May 2018 23:12:18 GMT
59
57
  - request:
60
58
  method: post
61
59
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
62
60
  body:
63
61
  encoding: UTF-8
64
- string: '{"payment_method":"Credit Card","customer":"071-C-SHLKURCK","reference":"57649008aac52df67a561ed1884e2385","setup_fee":0,"amount":100,"start_date":"2015-07-16","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
62
+ string: '{"payment_method":"Credit Card","customer":"071-C-APXD5S2R","reference":"e5a85475339998f70223c6d96c6153e5","setup_fee":0,"amount":100,"start_date":"2015-07-16","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
65
63
  headers:
66
- Accept:
67
- - application/json
68
64
  Accept-Encoding:
69
- - gzip, deflate
70
- Content-Type:
65
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
66
+ Accept:
71
67
  - application/json
72
- Content-Length:
73
- - '244'
74
68
  User-Agent:
75
69
  - Ruby
76
70
  Authorization:
77
71
  - Basic VEVTVDpURVNU
72
+ Content-Type:
73
+ - application/json
78
74
  response:
79
75
  status:
80
76
  code: 201
81
77
  message: Created
82
78
  headers:
83
79
  Date:
84
- - Mon, 26 Jun 2017 06:19:11 GMT
80
+ - Wed, 02 May 2018 23:12:20 GMT
85
81
  Content-Type:
86
82
  - application/json; charset=utf-8
87
83
  Transfer-Encoding:
@@ -95,58 +91,56 @@ http_interactions:
95
91
  Cache-Control:
96
92
  - no-store
97
93
  X-Request-Version:
98
- - 1.19.41
94
+ - 1.16.9-3156@6c1a40b
99
95
  X-Runtime:
100
- - '0.211954'
96
+ - '0.201142'
101
97
  Pragma:
102
98
  - no-cache
103
99
  X-Request-Id:
104
- - b90413395b7d8d6876bd366257434a80
100
+ - 0dabcd60be1ef060d6432860
105
101
  X-Backend:
106
102
  - sbox-priv-gateway-a
107
103
  body:
108
104
  encoding: UTF-8
109
- string: '{"successful":true,"response":{"id":"071-PP-TSYED3FW","customer":"071-C-SHLKURCK","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
110
- Card","reference":"57649008aac52df67a561ed1884e2385","description":null,"status":"Active","status_reason":"None","created_at":"2017-06-26T16:19:11+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-8EEJ4I2L","payment_plan":"071-PP-TSYED3FW","reference":"57649008aac52df67a561ed1884e2385-0001","amount":100,"currency":null,"scheduled_date":"2017-06-30","payment_method":"Credit
111
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-9QBH5A4S","payment_plan":"071-PP-TSYED3FW","reference":"57649008aac52df67a561ed1884e2385-0002","amount":100,"currency":null,"scheduled_date":"2017-07-07","payment_method":"Credit
112
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-XBI8AFEU","payment_plan":"071-PP-TSYED3FW","reference":"57649008aac52df67a561ed1884e2385-0003","amount":100,"currency":null,"scheduled_date":"2017-07-14","payment_method":"Credit
113
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-8UFOFWQ8","payment_plan":"071-PP-TSYED3FW","reference":"57649008aac52df67a561ed1884e2385-0004","amount":100,"currency":null,"scheduled_date":"2017-07-21","payment_method":"Credit
114
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-EYFMSHKT","payment_plan":"071-PP-TSYED3FW","reference":"57649008aac52df67a561ed1884e2385-0005","amount":100,"currency":null,"scheduled_date":"2017-07-28","payment_method":"Credit
105
+ string: '{"successful":true,"response":{"id":"071-PP-L4086LS8","customer":"071-C-APXD5S2R","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
106
+ Card","reference":"e5a85475339998f70223c6d96c6153e5","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-03T09:12:20+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-L2R16HTJ","payment_plan":"071-PP-L4086LS8","reference":"e5a85475339998f70223c6d96c6153e5-0001","amount":100,"currency":null,"scheduled_date":"2018-05-04","payment_method":"Credit
107
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-877K51SG","payment_plan":"071-PP-L4086LS8","reference":"e5a85475339998f70223c6d96c6153e5-0002","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
108
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-T4GJZ4AV","payment_plan":"071-PP-L4086LS8","reference":"e5a85475339998f70223c6d96c6153e5-0003","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
109
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-M9JBKKKV","payment_plan":"071-PP-L4086LS8","reference":"e5a85475339998f70223c6d96c6153e5-0004","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
110
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-D9GFCAXM","payment_plan":"071-PP-L4086LS8","reference":"e5a85475339998f70223c6d96c6153e5-0005","amount":100,"currency":null,"scheduled_date":"2018-06-01","payment_method":"Credit
115
111
  Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
116
112
  http_version:
117
- recorded_at: Mon, 26 Jun 2017 06:19:11 GMT
113
+ recorded_at: Wed, 02 May 2018 23:12:19 GMT
118
114
  - request:
119
115
  method: put
120
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-TSYED3FW
116
+ uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-L4086LS8
121
117
  body:
122
118
  encoding: UTF-8
123
- string: '{"id":"071-PP-TSYED3FW","customer":"071-C-SHLKURCK","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
124
- Card","reference":"57649008aac52df67a561ed1884e2385","description":null,"status":"Active","status_reason":"None","created_at":"2017-06-26T16:19:11+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-8EEJ4I2L","payment_plan":"071-PP-TSYED3FW","reference":"57649008aac52df67a561ed1884e2385-0001","amount":100,"currency":null,"scheduled_date":"2017-06-30","payment_method":"Credit
125
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-9QBH5A4S","payment_plan":"071-PP-TSYED3FW","reference":"57649008aac52df67a561ed1884e2385-0002","amount":100,"currency":null,"scheduled_date":"2017-07-07","payment_method":"Credit
126
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-XBI8AFEU","payment_plan":"071-PP-TSYED3FW","reference":"57649008aac52df67a561ed1884e2385-0003","amount":100,"currency":null,"scheduled_date":"2017-07-14","payment_method":"Credit
127
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-8UFOFWQ8","payment_plan":"071-PP-TSYED3FW","reference":"57649008aac52df67a561ed1884e2385-0004","amount":100,"currency":null,"scheduled_date":"2017-07-21","payment_method":"Credit
128
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-EYFMSHKT","payment_plan":"071-PP-TSYED3FW","reference":"57649008aac52df67a561ed1884e2385-0005","amount":100,"currency":null,"scheduled_date":"2017-07-28","payment_method":"Credit
119
+ string: '{"customer":"071-C-APXD5S2R","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
120
+ Card","reference":"e5a85475339998f70223c6d96c6153e5","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-03T09:12:20+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-L2R16HTJ","payment_plan":"071-PP-L4086LS8","reference":"e5a85475339998f70223c6d96c6153e5-0001","amount":100,"currency":null,"scheduled_date":"2018-05-04","payment_method":"Credit
121
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-877K51SG","payment_plan":"071-PP-L4086LS8","reference":"e5a85475339998f70223c6d96c6153e5-0002","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
122
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-T4GJZ4AV","payment_plan":"071-PP-L4086LS8","reference":"e5a85475339998f70223c6d96c6153e5-0003","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
123
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-M9JBKKKV","payment_plan":"071-PP-L4086LS8","reference":"e5a85475339998f70223c6d96c6153e5-0004","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
124
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-D9GFCAXM","payment_plan":"071-PP-L4086LS8","reference":"e5a85475339998f70223c6d96c6153e5-0005","amount":100,"currency":null,"scheduled_date":"2018-06-01","payment_method":"Credit
129
125
  Card","status":"Scheduled","result":null,"records":[]}],"new_status":"Suspended","test":true}'
130
126
  headers:
131
- Accept:
132
- - application/json
133
127
  Accept-Encoding:
134
- - gzip, deflate
135
- Content-Type:
128
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
129
+ Accept:
136
130
  - application/json
137
- Content-Length:
138
- - '1746'
139
131
  User-Agent:
140
132
  - Ruby
141
133
  Authorization:
142
134
  - Basic VEVTVDpURVNU
135
+ Content-Type:
136
+ - application/json
143
137
  response:
144
138
  status:
145
139
  code: 200
146
140
  message: OK
147
141
  headers:
148
142
  Date:
149
- - Mon, 26 Jun 2017 06:19:11 GMT
143
+ - Wed, 02 May 2018 23:12:20 GMT
150
144
  Content-Type:
151
145
  - application/json; charset=utf-8
152
146
  Transfer-Encoding:
@@ -155,24 +149,24 @@ http_interactions:
155
149
  - keep-alive
156
150
  Status:
157
151
  - 200 OK
152
+ X-Rack-Cache:
153
+ - invalidate, pass
158
154
  Cache-Control:
159
155
  - no-store
160
156
  X-Request-Version:
161
- - 1.19.41
157
+ - 1.16.9-3156@6c1a40b
158
+ X-Runtime:
159
+ - '0.097743'
162
160
  Pragma:
163
161
  - no-cache
164
162
  X-Request-Id:
165
- - c1953c37ce1c7ce8fbedd863ccfbcf3d
166
- X-Runtime:
167
- - '0.085256'
168
- X-Rack-Cache:
169
- - invalidate, pass
163
+ - d8a47e1e737f1861a301d5f2
170
164
  X-Backend:
171
165
  - sbox-priv-gateway-a
172
166
  body:
173
167
  encoding: UTF-8
174
- string: '{"successful":true,"response":{"id":"071-PP-TSYED3FW","customer":"071-C-SHLKURCK","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
175
- Card","reference":"57649008aac52df67a561ed1884e2385","description":null,"status":"Suspended","status_reason":"Other","created_at":"2017-06-26T16:19:11+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
168
+ string: '{"successful":true,"response":{"id":"071-PP-L4086LS8","customer":"071-C-APXD5S2R","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
169
+ Card","reference":"e5a85475339998f70223c6d96c6153e5","description":null,"status":"Suspended","status_reason":"Other","created_at":"2018-05-03T09:12:20+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
176
170
  http_version:
177
- recorded_at: Mon, 26 Jun 2017 06:19:11 GMT
171
+ recorded_at: Wed, 02 May 2018 23:12:19 GMT
178
172
  recorded_with: VCR 3.0.3
@@ -5,29 +5,27 @@ http_interactions:
5
5
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers
6
6
  body:
7
7
  encoding: UTF-8
8
- string: '{"first_name":"Harrold","last_name":"Humphries","reference":"f4dfcfeb902ee354be171bc13d0e115d","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"3d310a514b4626e344d124a5a5f4ce30","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
9
9
  Humphries Senior","card_number":"5123456789012346","expiry_date":"05/2023","cvv":"123"},"address":{"address":"1
10
10
  Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"test":true}'
11
11
  headers:
12
- Accept:
13
- - application/json
14
12
  Accept-Encoding:
15
- - gzip, deflate
16
- Content-Type:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ Accept:
17
15
  - application/json
18
- Content-Length:
19
- - '394'
20
16
  User-Agent:
21
17
  - Ruby
22
18
  Authorization:
23
19
  - Basic VEVTVDpURVNU
20
+ Content-Type:
21
+ - application/json
24
22
  response:
25
23
  status:
26
24
  code: 200
27
25
  message: OK
28
26
  headers:
29
27
  Date:
30
- - Mon, 26 Jun 2017 06:19:12 GMT
28
+ - Wed, 02 May 2018 23:12:21 GMT
31
29
  Content-Type:
32
30
  - application/json; charset=utf-8
33
31
  Transfer-Encoding:
@@ -41,47 +39,45 @@ http_interactions:
41
39
  Cache-Control:
42
40
  - no-store
43
41
  X-Request-Version:
44
- - 1.19.41
42
+ - 1.16.9-3156@6c1a40b
45
43
  X-Runtime:
46
- - '0.249797'
44
+ - '0.442431'
47
45
  Pragma:
48
46
  - no-cache
49
47
  X-Request-Id:
50
- - be5239ad2c746f14c1531c58e50fde01
48
+ - d8970ce1b79c973f1d39b198
51
49
  X-Backend:
52
50
  - sbox-priv-gateway-a
53
51
  body:
54
52
  encoding: UTF-8
55
- string: '{"successful":true,"response":{"id":"071-C-HCR8SG32","email":null,"reference":"f4dfcfeb902ee354be171bc13d0e115d","first_name":"Harrold","last_name":"Humphries","created_at":"2017-06-26T16:19:11+10:00","address":{"address":"1
56
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke86c5u","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},"errors":[],"test":true}'
53
+ string: '{"successful":true,"response":{"id":"071-C-4PFELFIC","email":null,"reference":"3d310a514b4626e344d124a5a5f4ce30","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:20+10:00","address":{"address":"1
54
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8cidr","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},"errors":[],"test":true}'
57
55
  http_version:
58
- recorded_at: Mon, 26 Jun 2017 06:19:12 GMT
56
+ recorded_at: Wed, 02 May 2018 23:12:19 GMT
59
57
  - request:
60
58
  method: post
61
59
  uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
62
60
  body:
63
61
  encoding: UTF-8
64
- string: '{"payment_method":"Credit Card","customer":"071-C-HCR8SG32","reference":"d3d1a8c63be8fa3d90461969991f9d93","setup_fee":0,"amount":100,"start_date":"2015-07-16","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
62
+ string: '{"payment_method":"Credit Card","customer":"071-C-4PFELFIC","reference":"a363a92d93a92e3195944024e0c29340","setup_fee":0,"amount":100,"start_date":"2015-07-16","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
65
63
  headers:
66
- Accept:
67
- - application/json
68
64
  Accept-Encoding:
69
- - gzip, deflate
70
- Content-Type:
65
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
66
+ Accept:
71
67
  - application/json
72
- Content-Length:
73
- - '244'
74
68
  User-Agent:
75
69
  - Ruby
76
70
  Authorization:
77
71
  - Basic VEVTVDpURVNU
72
+ Content-Type:
73
+ - application/json
78
74
  response:
79
75
  status:
80
76
  code: 201
81
77
  message: Created
82
78
  headers:
83
79
  Date:
84
- - Mon, 26 Jun 2017 06:19:12 GMT
80
+ - Wed, 02 May 2018 23:12:21 GMT
85
81
  Content-Type:
86
82
  - application/json; charset=utf-8
87
83
  Transfer-Encoding:
@@ -90,63 +86,61 @@ http_interactions:
90
86
  - keep-alive
91
87
  Status:
92
88
  - 201 Created
89
+ X-Rack-Cache:
90
+ - invalidate, pass
93
91
  Cache-Control:
94
92
  - no-store
95
93
  X-Request-Version:
96
- - 1.19.41
94
+ - 1.16.9-3156@6c1a40b
95
+ X-Runtime:
96
+ - '0.223438'
97
97
  Pragma:
98
98
  - no-cache
99
99
  X-Request-Id:
100
- - 07af320acf233f48beb1e4163d018f38
101
- X-Runtime:
102
- - '0.197872'
103
- X-Rack-Cache:
104
- - invalidate, pass
100
+ - 2c8f6dda1fbc11e74b242342
105
101
  X-Backend:
106
102
  - sbox-priv-gateway-a
107
103
  body:
108
104
  encoding: UTF-8
109
- string: '{"successful":true,"response":{"id":"071-PP-U1U9E2EY","customer":"071-C-HCR8SG32","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
110
- Card","reference":"d3d1a8c63be8fa3d90461969991f9d93","description":null,"status":"Active","status_reason":"None","created_at":"2017-06-26T16:19:12+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-KNRIZOGK","payment_plan":"071-PP-U1U9E2EY","reference":"d3d1a8c63be8fa3d90461969991f9d93-0001","amount":100,"currency":null,"scheduled_date":"2017-06-30","payment_method":"Credit
111
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-K1FFJF2E","payment_plan":"071-PP-U1U9E2EY","reference":"d3d1a8c63be8fa3d90461969991f9d93-0002","amount":100,"currency":null,"scheduled_date":"2017-07-07","payment_method":"Credit
112
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-ZECBSTOG","payment_plan":"071-PP-U1U9E2EY","reference":"d3d1a8c63be8fa3d90461969991f9d93-0003","amount":100,"currency":null,"scheduled_date":"2017-07-14","payment_method":"Credit
113
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-GQEQOUSI","payment_plan":"071-PP-U1U9E2EY","reference":"d3d1a8c63be8fa3d90461969991f9d93-0004","amount":100,"currency":null,"scheduled_date":"2017-07-21","payment_method":"Credit
114
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-XBZ7AYZU","payment_plan":"071-PP-U1U9E2EY","reference":"d3d1a8c63be8fa3d90461969991f9d93-0005","amount":100,"currency":null,"scheduled_date":"2017-07-28","payment_method":"Credit
105
+ string: '{"successful":true,"response":{"id":"071-PP-KSSDAB2Z","customer":"071-C-4PFELFIC","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
106
+ Card","reference":"a363a92d93a92e3195944024e0c29340","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-03T09:12:21+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-OLFZ2B1","payment_plan":"071-PP-KSSDAB2Z","reference":"a363a92d93a92e3195944024e0c29340-0001","amount":100,"currency":null,"scheduled_date":"2018-05-04","payment_method":"Credit
107
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-99ZB1GM0","payment_plan":"071-PP-KSSDAB2Z","reference":"a363a92d93a92e3195944024e0c29340-0002","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
108
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-8H0S0X27","payment_plan":"071-PP-KSSDAB2Z","reference":"a363a92d93a92e3195944024e0c29340-0003","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
109
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-JFQ99U2Y","payment_plan":"071-PP-KSSDAB2Z","reference":"a363a92d93a92e3195944024e0c29340-0004","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
110
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-IOILKGIX","payment_plan":"071-PP-KSSDAB2Z","reference":"a363a92d93a92e3195944024e0c29340-0005","amount":100,"currency":null,"scheduled_date":"2018-06-01","payment_method":"Credit
115
111
  Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
116
112
  http_version:
117
- recorded_at: Mon, 26 Jun 2017 06:19:12 GMT
113
+ recorded_at: Wed, 02 May 2018 23:12:20 GMT
118
114
  - request:
119
115
  method: put
120
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-U1U9E2EY
116
+ uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-KSSDAB2Z
121
117
  body:
122
118
  encoding: UTF-8
123
- string: '{"id":"071-PP-U1U9E2EY","customer":"071-C-HCR8SG32","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
124
- Card","reference":"d3d1a8c63be8fa3d90461969991f9d93","description":null,"status":"Active","status_reason":"None","created_at":"2017-06-26T16:19:12+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-KNRIZOGK","payment_plan":"071-PP-U1U9E2EY","reference":"d3d1a8c63be8fa3d90461969991f9d93-0001","amount":100,"currency":null,"scheduled_date":"2017-06-30","payment_method":"Credit
125
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-K1FFJF2E","payment_plan":"071-PP-U1U9E2EY","reference":"d3d1a8c63be8fa3d90461969991f9d93-0002","amount":100,"currency":null,"scheduled_date":"2017-07-07","payment_method":"Credit
126
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-ZECBSTOG","payment_plan":"071-PP-U1U9E2EY","reference":"d3d1a8c63be8fa3d90461969991f9d93-0003","amount":100,"currency":null,"scheduled_date":"2017-07-14","payment_method":"Credit
127
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-GQEQOUSI","payment_plan":"071-PP-U1U9E2EY","reference":"d3d1a8c63be8fa3d90461969991f9d93-0004","amount":100,"currency":null,"scheduled_date":"2017-07-21","payment_method":"Credit
128
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-XBZ7AYZU","payment_plan":"071-PP-U1U9E2EY","reference":"d3d1a8c63be8fa3d90461969991f9d93-0005","amount":100,"currency":null,"scheduled_date":"2017-07-28","payment_method":"Credit
119
+ string: '{"customer":"071-C-4PFELFIC","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
120
+ Card","reference":"a363a92d93a92e3195944024e0c29340","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-03T09:12:21+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-OLFZ2B1","payment_plan":"071-PP-KSSDAB2Z","reference":"a363a92d93a92e3195944024e0c29340-0001","amount":100,"currency":null,"scheduled_date":"2018-05-04","payment_method":"Credit
121
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-99ZB1GM0","payment_plan":"071-PP-KSSDAB2Z","reference":"a363a92d93a92e3195944024e0c29340-0002","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
122
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-8H0S0X27","payment_plan":"071-PP-KSSDAB2Z","reference":"a363a92d93a92e3195944024e0c29340-0003","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
123
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-JFQ99U2Y","payment_plan":"071-PP-KSSDAB2Z","reference":"a363a92d93a92e3195944024e0c29340-0004","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
124
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-IOILKGIX","payment_plan":"071-PP-KSSDAB2Z","reference":"a363a92d93a92e3195944024e0c29340-0005","amount":100,"currency":null,"scheduled_date":"2018-06-01","payment_method":"Credit
129
125
  Card","status":"Scheduled","result":null,"records":[]}],"new_status":"Suspended","test":true}'
130
126
  headers:
131
- Accept:
132
- - application/json
133
127
  Accept-Encoding:
134
- - gzip, deflate
135
- Content-Type:
128
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
129
+ Accept:
136
130
  - application/json
137
- Content-Length:
138
- - '1746'
139
131
  User-Agent:
140
132
  - Ruby
141
133
  Authorization:
142
134
  - Basic VEVTVDpURVNU
135
+ Content-Type:
136
+ - application/json
143
137
  response:
144
138
  status:
145
139
  code: 200
146
140
  message: OK
147
141
  headers:
148
142
  Date:
149
- - Mon, 26 Jun 2017 06:19:12 GMT
143
+ - Wed, 02 May 2018 23:12:21 GMT
150
144
  Content-Type:
151
145
  - application/json; charset=utf-8
152
146
  Transfer-Encoding:
@@ -160,19 +154,19 @@ http_interactions:
160
154
  Cache-Control:
161
155
  - no-store
162
156
  X-Request-Version:
163
- - 1.19.41
157
+ - 1.16.9-3156@6c1a40b
164
158
  X-Runtime:
165
- - '0.096574'
159
+ - '0.106916'
166
160
  Pragma:
167
161
  - no-cache
168
162
  X-Request-Id:
169
- - 723cbb4db412bb96eb7ec3618bac541f
163
+ - 305f0102fca4988babef7f26
170
164
  X-Backend:
171
165
  - sbox-priv-gateway-a
172
166
  body:
173
167
  encoding: UTF-8
174
- string: '{"successful":true,"response":{"id":"071-PP-U1U9E2EY","customer":"071-C-HCR8SG32","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
175
- Card","reference":"d3d1a8c63be8fa3d90461969991f9d93","description":null,"status":"Suspended","status_reason":"Other","created_at":"2017-06-26T16:19:12+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
168
+ string: '{"successful":true,"response":{"id":"071-PP-KSSDAB2Z","customer":"071-C-4PFELFIC","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
169
+ Card","reference":"a363a92d93a92e3195944024e0c29340","description":null,"status":"Suspended","status_reason":"Other","created_at":"2018-05-03T09:12:21+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
176
170
  http_version:
177
- recorded_at: Mon, 26 Jun 2017 06:19:12 GMT
171
+ recorded_at: Wed, 02 May 2018 23:12:20 GMT
178
172
  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":"dd3792fd6c18dc087dc52744d23e7839","customer_ip":"1.2.3.4","capture":false,"currency":"AUD","test":true}'
8
+ string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"afd454df80b86285e91abc47a3ebb95c","customer_ip":"1.2.3.4","capture":false,"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
- - '230'
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
- - Fri, 23 Jun 2017 07:12:16 GMT
26
+ - Wed, 02 May 2018 23:12:53 GMT
29
27
  Content-Type:
30
28
  - application/json; charset=utf-8
31
29
  Transfer-Encoding:
@@ -39,47 +37,45 @@ http_interactions:
39
37
  Cache-Control:
40
38
  - no-store
41
39
  X-Request-Version:
42
- - 1.19.41
40
+ - 1.16.9-3156@6c1a40b
43
41
  X-Runtime:
44
- - '0.374953'
42
+ - '0.529090'
45
43
  Pragma:
46
44
  - no-cache
47
45
  X-Request-Id:
48
- - 8bef45c5bee216b485b482c24f269ae9
46
+ - 9f56a6603c9b3860c9fefc60
49
47
  X-Backend:
50
48
  - sbox-priv-gateway-a
51
49
  body:
52
50
  encoding: UTF-8
53
- string: '{"successful":true,"response":{"authorization":"642140","id":"071-P-SH69ZV5W","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":"dd3792fd6c18dc087dc52744d23e7839","currency":"AUD","transaction_id":"071-P-SH69ZV5W","settlement_date":null,"transaction_date":"2017-06-23T17:12:16+10:00","response_code":"00","captured":false,"captured_amount":0,"rrn":"071PSH69ZV5W","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"authorization":"837727","id":"071-P-AX30HWJS","card_number":"512345XXXXXX2346","card_holder":"Matthew
52
+ Savage","card_expiry":"2030-02-28","card_token":"fke87lnq","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"afd454df80b86285e91abc47a3ebb95c","currency":"AUD","transaction_id":"071-P-AX30HWJS","settlement_date":null,"transaction_date":"2018-05-03T09:12:53+10:00","response_code":"00","captured":false,"captured_amount":0,"rrn":"071PAX30HWJS","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
55
53
  http_version:
56
- recorded_at: Fri, 23 Jun 2017 07:12:16 GMT
54
+ recorded_at: Wed, 02 May 2018 23:12:52 GMT
57
55
  - request:
58
56
  method: post
59
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/071-P-SH69ZV5W/capture
57
+ uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/071-P-AX30HWJS/capture
60
58
  body:
61
59
  encoding: UTF-8
62
60
  string: '{"amount":10000,"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
- - '28'
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
- - Fri, 23 Jun 2017 07:12:17 GMT
78
+ - Wed, 02 May 2018 23:12:53 GMT
83
79
  Content-Type:
84
80
  - application/json; charset=utf-8
85
81
  Transfer-Encoding:
@@ -93,19 +89,19 @@ http_interactions:
93
89
  Cache-Control:
94
90
  - no-store
95
91
  X-Request-Version:
96
- - 1.19.41
92
+ - 1.16.9-3156@6c1a40b
97
93
  X-Runtime:
98
- - '0.067909'
94
+ - '0.084700'
99
95
  Pragma:
100
96
  - no-cache
101
97
  X-Request-Id:
102
- - db5368741d44080b7d6535a714aa62a8
98
+ - 11efb354dabcd00ea6b46b82
103
99
  X-Backend:
104
100
  - sbox-priv-gateway-a
105
101
  body:
106
102
  encoding: UTF-8
107
- string: '{"successful":true,"response":{"authorization":"642140","id":"071-P-SH69ZV5W","card_number":"512345XXXXXX2346","card_holder":"Matthew
108
- 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":"dd3792fd6c18dc087dc52744d23e7839","currency":"AUD","transaction_id":"071-P-SH69ZV5W","settlement_date":"2017-06-23","transaction_date":"2017-06-23T17:12:16+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"60d494d536d4","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
103
+ string: '{"successful":true,"response":{"authorization":"837727","id":"071-P-AX30HWJS","card_number":"512345XXXXXX2346","card_holder":"Matthew
104
+ Savage","card_expiry":"2030-02-28","card_token":"fke87lnq","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"afd454df80b86285e91abc47a3ebb95c","currency":"AUD","transaction_id":"071-P-AX30HWJS","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:12:53+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"42ef5dcb3dd4","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
109
105
  http_version:
110
- recorded_at: Fri, 23 Jun 2017 07:12:17 GMT
106
+ recorded_at: Wed, 02 May 2018 23:12:52 GMT
111
107
  recorded_with: VCR 3.0.3