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":"0f8a16b19ea3c14fcaeed2e199f6fae1","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"c6e2e19e1fb74cdef3954bdb4573a71c","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:27:02 GMT
28
+ - Wed, 02 May 2018 23:12:23 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.469589'
43
45
  Pragma:
44
46
  - no-cache
45
47
  X-Request-Id:
46
- - 490377dfbfc2ce0a7647a980b03bba61
47
- X-Runtime:
48
- - '0.243137'
49
- X-Rack-Cache:
50
- - invalidate, pass
48
+ - 0c4c1b7383fd9e92187d6951
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-P0PANVCB","email":null,"reference":"0f8a16b19ea3c14fcaeed2e199f6fae1","first_name":"Harrold","last_name":"Humphries","created_at":"2017-06-26T16:27:02+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-1C4XTZXA","email":null,"reference":"c6e2e19e1fb74cdef3954bdb4573a71c","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:22+10:00","address":{"address":"1
54
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke83zow","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},"errors":[],"test":true}'
57
55
  http_version:
58
- recorded_at: Mon, 26 Jun 2017 06:27:02 GMT
56
+ recorded_at: Wed, 02 May 2018 23:12:21 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-P0PANVCB","reference":"4b26fd85d263dc7d5816828cbb2e57fb","setup_fee":0,"amount":100,"start_date":"2015-07-16","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"currency":"AUD","test":true}'
62
+ string: '{"payment_method":"Credit Card","customer":"071-C-1C4XTZXA","reference":"a039562dacb8dd5846d232e262459e39","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
- - '261'
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:27:03 GMT
80
+ - Wed, 02 May 2018 23:12:23 GMT
85
81
  Content-Type:
86
82
  - application/json; charset=utf-8
87
83
  Transfer-Encoding:
@@ -90,46 +86,42 @@ 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.202711'
97
97
  Pragma:
98
98
  - no-cache
99
99
  X-Request-Id:
100
- - aa79789f2d558e82bd9f145c93b37779
101
- X-Runtime:
102
- - '0.194837'
103
- X-Rack-Cache:
104
- - invalidate, pass
100
+ - 301e017e5baddb2ce857d628
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-NNWW47CA","customer":"071-C-P0PANVCB","amount":100,"currency":"AUD","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":"4b26fd85d263dc7d5816828cbb2e57fb","description":null,"status":"Active","status_reason":"None","created_at":"2017-06-26T16:27:03+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-MNEX94H5","payment_plan":"071-PP-NNWW47CA","reference":"4b26fd85d263dc7d5816828cbb2e57fb-0001","amount":100,"currency":"AUD","scheduled_date":"2017-06-30","payment_method":"Credit
111
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-NLDY60L9","payment_plan":"071-PP-NNWW47CA","reference":"4b26fd85d263dc7d5816828cbb2e57fb-0002","amount":100,"currency":"AUD","scheduled_date":"2017-07-07","payment_method":"Credit
112
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-6TG7H88Z","payment_plan":"071-PP-NNWW47CA","reference":"4b26fd85d263dc7d5816828cbb2e57fb-0003","amount":100,"currency":"AUD","scheduled_date":"2017-07-14","payment_method":"Credit
113
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-Y0G2L9L6","payment_plan":"071-PP-NNWW47CA","reference":"4b26fd85d263dc7d5816828cbb2e57fb-0004","amount":100,"currency":"AUD","scheduled_date":"2017-07-21","payment_method":"Credit
114
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-SKZZ77CC","payment_plan":"071-PP-NNWW47CA","reference":"4b26fd85d263dc7d5816828cbb2e57fb-0005","amount":100,"currency":"AUD","scheduled_date":"2017-07-28","payment_method":"Credit
105
+ string: '{"successful":true,"response":{"id":"071-PP-L24IKEMD","customer":"071-C-1C4XTZXA","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":"a039562dacb8dd5846d232e262459e39","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-03T09:12:23+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-9TWQDXWE","payment_plan":"071-PP-L24IKEMD","reference":"a039562dacb8dd5846d232e262459e39-0001","amount":100,"currency":null,"scheduled_date":"2018-05-04","payment_method":"Credit
107
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-N84B7MI7","payment_plan":"071-PP-L24IKEMD","reference":"a039562dacb8dd5846d232e262459e39-0002","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
108
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-A1SCO6KW","payment_plan":"071-PP-L24IKEMD","reference":"a039562dacb8dd5846d232e262459e39-0003","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
109
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-ZQ80DH8T","payment_plan":"071-PP-L24IKEMD","reference":"a039562dacb8dd5846d232e262459e39-0004","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
110
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-9TC2GV3S","payment_plan":"071-PP-L24IKEMD","reference":"a039562dacb8dd5846d232e262459e39-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:27:03 GMT
113
+ recorded_at: Wed, 02 May 2018 23:12:22 GMT
118
114
  - request:
119
115
  method: delete
120
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-NNWW47CA
116
+ uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-L24IKEMD
121
117
  body:
122
118
  encoding: UTF-8
123
119
  string: '{"test":true}'
124
120
  headers:
125
- Accept:
126
- - application/json
127
121
  Accept-Encoding:
128
- - gzip, deflate
129
- Content-Type:
130
- - application/json
131
- Content-Length:
132
- - '13'
122
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
123
+ Accept:
124
+ - "*/*"
133
125
  User-Agent:
134
126
  - Ruby
135
127
  Authorization:
@@ -140,7 +132,7 @@ http_interactions:
140
132
  message: OK
141
133
  headers:
142
134
  Date:
143
- - Mon, 26 Jun 2017 06:27:03 GMT
135
+ - Wed, 02 May 2018 23:12:23 GMT
144
136
  Content-Type:
145
137
  - application/json; charset=utf-8
146
138
  Transfer-Encoding:
@@ -149,24 +141,24 @@ http_interactions:
149
141
  - keep-alive
150
142
  Status:
151
143
  - 200 OK
144
+ X-Rack-Cache:
145
+ - invalidate, pass
152
146
  Cache-Control:
153
147
  - no-store
154
148
  X-Request-Version:
155
- - 1.19.41
149
+ - 1.16.9-3156@6c1a40b
150
+ X-Runtime:
151
+ - '0.081624'
156
152
  Pragma:
157
153
  - no-cache
158
154
  X-Request-Id:
159
- - 14cc77128545624e151856583a1a9380
160
- X-Runtime:
161
- - '0.091091'
162
- X-Rack-Cache:
163
- - invalidate, pass
155
+ - e645d8b584392a24665e70c6
164
156
  X-Backend:
165
157
  - sbox-priv-gateway-a
166
158
  body:
167
159
  encoding: UTF-8
168
- string: '{"successful":true,"response":{"id":"071-PP-NNWW47CA","customer":"071-C-P0PANVCB","amount":100,"currency":"AUD","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":"4b26fd85d263dc7d5816828cbb2e57fb","description":null,"status":"Cancelled","status_reason":"Other","created_at":"2017-06-26T16:27:03+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
160
+ string: '{"successful":true,"response":{"id":"071-PP-L24IKEMD","customer":"071-C-1C4XTZXA","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
161
+ Card","reference":"a039562dacb8dd5846d232e262459e39","description":null,"status":"Cancelled","status_reason":"Other","created_at":"2018-05-03T09:12:23+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
170
162
  http_version:
171
- recorded_at: Mon, 26 Jun 2017 06:27:03 GMT
163
+ recorded_at: Wed, 02 May 2018 23:12:22 GMT
172
164
  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":"dd88b471b4e00a503c26539917807fb4","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"16d836b11774a0dd7ef7425c8bdc4c6c","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:15:49 GMT
28
+ - Wed, 02 May 2018 23:12:14 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.473371'
43
45
  Pragma:
44
46
  - no-cache
45
47
  X-Request-Id:
46
- - ffdc98b22192d1e54850de61611cc214
47
- X-Runtime:
48
- - '0.250430'
49
- X-Rack-Cache:
50
- - invalidate, pass
48
+ - ab10f07cdcc77b93db1e5d86
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-431YY9Q5","email":null,"reference":"dd88b471b4e00a503c26539917807fb4","first_name":"Harrold","last_name":"Humphries","created_at":"2017-06-26T16:15:49+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-HFIN1IKS","email":null,"reference":"16d836b11774a0dd7ef7425c8bdc4c6c","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:13+10:00","address":{"address":"1
54
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke88b9w","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},"errors":[],"test":true}'
57
55
  http_version:
58
- recorded_at: Mon, 26 Jun 2017 06:15:49 GMT
56
+ recorded_at: Wed, 02 May 2018 23:12:12 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-431YY9Q5","reference":"4b2985a2e49065ff5718dd5dac5bb928","setup_fee":0,"amount":100,"start_date":"2015-07-16","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"currency":"AUD","test":true}'
62
+ string: '{"payment_method":"Credit Card","customer":"071-C-HFIN1IKS","reference":"729166cbc7c0a64015b20aef159d6216","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
- - '261'
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:15:50 GMT
80
+ - Wed, 02 May 2018 23:12:14 GMT
85
81
  Content-Type:
86
82
  - application/json; charset=utf-8
87
83
  Transfer-Encoding:
@@ -95,50 +91,52 @@ 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.189987'
96
+ - '0.200313'
101
97
  Pragma:
102
98
  - no-cache
103
99
  X-Request-Id:
104
- - a17ba822abb2ebdda2a22c8d75e2bd1d
100
+ - ab508d09f13e712975a44b05
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-3NY95NC2","customer":"071-C-431YY9Q5","amount":100,"currency":"AUD","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":"4b2985a2e49065ff5718dd5dac5bb928","description":null,"status":"Active","status_reason":"None","created_at":"2017-06-26T16:15:50+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-HX9Y91WK","payment_plan":"071-PP-3NY95NC2","reference":"4b2985a2e49065ff5718dd5dac5bb928-0001","amount":100,"currency":"AUD","scheduled_date":"2017-06-30","payment_method":"Credit
111
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-K5EXHRJ3","payment_plan":"071-PP-3NY95NC2","reference":"4b2985a2e49065ff5718dd5dac5bb928-0002","amount":100,"currency":"AUD","scheduled_date":"2017-07-07","payment_method":"Credit
112
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-T38HBJIE","payment_plan":"071-PP-3NY95NC2","reference":"4b2985a2e49065ff5718dd5dac5bb928-0003","amount":100,"currency":"AUD","scheduled_date":"2017-07-14","payment_method":"Credit
113
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-XWGUDPLO","payment_plan":"071-PP-3NY95NC2","reference":"4b2985a2e49065ff5718dd5dac5bb928-0004","amount":100,"currency":"AUD","scheduled_date":"2017-07-21","payment_method":"Credit
114
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-W4Z4EJ1O","payment_plan":"071-PP-3NY95NC2","reference":"4b2985a2e49065ff5718dd5dac5bb928-0005","amount":100,"currency":"AUD","scheduled_date":"2017-07-28","payment_method":"Credit
105
+ string: '{"successful":true,"response":{"id":"071-PP-IVK0508L","customer":"071-C-HFIN1IKS","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":"729166cbc7c0a64015b20aef159d6216","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-03T09:12:14+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-91914JK8","payment_plan":"071-PP-IVK0508L","reference":"729166cbc7c0a64015b20aef159d6216-0001","amount":100,"currency":null,"scheduled_date":"2018-05-04","payment_method":"Credit
107
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-IAX1DBAR","payment_plan":"071-PP-IVK0508L","reference":"729166cbc7c0a64015b20aef159d6216-0002","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
108
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-IYZZNJP8","payment_plan":"071-PP-IVK0508L","reference":"729166cbc7c0a64015b20aef159d6216-0003","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
109
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-9D5Y2PQF","payment_plan":"071-PP-IVK0508L","reference":"729166cbc7c0a64015b20aef159d6216-0004","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
110
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-1XYDX4Y1","payment_plan":"071-PP-IVK0508L","reference":"729166cbc7c0a64015b20aef159d6216-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:15:50 GMT
113
+ recorded_at: Wed, 02 May 2018 23:12:13 GMT
118
114
  - request:
119
115
  method: get
120
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/4b2985a2e49065ff5718dd5dac5bb928?test=true
116
+ uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/729166cbc7c0a64015b20aef159d6216?test=true
121
117
  body:
122
118
  encoding: US-ASCII
123
119
  string: ''
124
120
  headers:
125
- Accept:
126
- - application/json
127
121
  Accept-Encoding:
128
- - gzip, deflate
129
- Content-Type:
122
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
123
+ Accept:
130
124
  - application/json
131
125
  User-Agent:
132
126
  - Ruby
127
+ Host:
128
+ - gateway.sandbox.fatzebra.com.au
133
129
  Authorization:
134
130
  - Basic VEVTVDpURVNU
131
+ Content-Type:
132
+ - application/json
135
133
  response:
136
134
  status:
137
135
  code: 200
138
136
  message: OK
139
137
  headers:
140
138
  Date:
141
- - Mon, 26 Jun 2017 06:15:50 GMT
139
+ - Wed, 02 May 2018 23:12:14 GMT
142
140
  Content-Type:
143
141
  - application/json; charset=utf-8
144
142
  Transfer-Encoding:
@@ -152,24 +150,24 @@ http_interactions:
152
150
  Cache-Control:
153
151
  - no-store, private
154
152
  X-Request-Version:
155
- - 1.19.41
153
+ - 1.16.9-3156@6c1a40b
156
154
  X-Runtime:
157
- - '0.039841'
155
+ - '0.028005'
158
156
  Pragma:
159
157
  - no-cache
160
158
  X-Request-Id:
161
- - dc9fb7a2a50e989665e2bb39ab667a7f
159
+ - 8598b5e06f6a9b2047eaf9e0
162
160
  X-Backend:
163
161
  - sbox-priv-gateway-a
164
162
  body:
165
163
  encoding: UTF-8
166
- string: '{"successful":true,"response":{"id":"071-PP-3NY95NC2","customer":"071-C-431YY9Q5","amount":100,"currency":"AUD","setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
167
- Card","reference":"4b2985a2e49065ff5718dd5dac5bb928","description":null,"status":"Active","status_reason":"None","created_at":"2017-06-26T16:15:50+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-HX9Y91WK","payment_plan":"071-PP-3NY95NC2","reference":"4b2985a2e49065ff5718dd5dac5bb928-0001","amount":100,"currency":"AUD","scheduled_date":"2017-06-30","payment_method":"Credit
168
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-K5EXHRJ3","payment_plan":"071-PP-3NY95NC2","reference":"4b2985a2e49065ff5718dd5dac5bb928-0002","amount":100,"currency":"AUD","scheduled_date":"2017-07-07","payment_method":"Credit
169
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-T38HBJIE","payment_plan":"071-PP-3NY95NC2","reference":"4b2985a2e49065ff5718dd5dac5bb928-0003","amount":100,"currency":"AUD","scheduled_date":"2017-07-14","payment_method":"Credit
170
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-XWGUDPLO","payment_plan":"071-PP-3NY95NC2","reference":"4b2985a2e49065ff5718dd5dac5bb928-0004","amount":100,"currency":"AUD","scheduled_date":"2017-07-21","payment_method":"Credit
171
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-W4Z4EJ1O","payment_plan":"071-PP-3NY95NC2","reference":"4b2985a2e49065ff5718dd5dac5bb928-0005","amount":100,"currency":"AUD","scheduled_date":"2017-07-28","payment_method":"Credit
164
+ string: '{"successful":true,"response":{"id":"071-PP-IVK0508L","customer":"071-C-HFIN1IKS","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
165
+ Card","reference":"729166cbc7c0a64015b20aef159d6216","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-03T09:12:14+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-91914JK8","payment_plan":"071-PP-IVK0508L","reference":"729166cbc7c0a64015b20aef159d6216-0001","amount":100,"currency":null,"scheduled_date":"2018-05-04","payment_method":"Credit
166
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-IAX1DBAR","payment_plan":"071-PP-IVK0508L","reference":"729166cbc7c0a64015b20aef159d6216-0002","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
167
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-IYZZNJP8","payment_plan":"071-PP-IVK0508L","reference":"729166cbc7c0a64015b20aef159d6216-0003","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
168
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-9D5Y2PQF","payment_plan":"071-PP-IVK0508L","reference":"729166cbc7c0a64015b20aef159d6216-0004","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
169
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-1XYDX4Y1","payment_plan":"071-PP-IVK0508L","reference":"729166cbc7c0a64015b20aef159d6216-0005","amount":100,"currency":null,"scheduled_date":"2018-06-01","payment_method":"Credit
172
170
  Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
173
171
  http_version:
174
- recorded_at: Mon, 26 Jun 2017 06:15:50 GMT
172
+ recorded_at: Wed, 02 May 2018 23:12:13 GMT
175
173
  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":"77d6ebe97c62f6bfde83a3dcd4eb0e93","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"32a9fe5873536a0d1542f8cc6ad6c50e","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:15:50 GMT
28
+ - Wed, 02 May 2018 23:12:14 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.481724'
43
45
  Pragma:
44
46
  - no-cache
45
47
  X-Request-Id:
46
- - 6f688c40d04d230d47c239f200f8a6a5
47
- X-Runtime:
48
- - '0.247173'
49
- X-Rack-Cache:
50
- - invalidate, pass
48
+ - a4fb7b0083f551a025f34ac0
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-YTWG2SDV","email":null,"reference":"77d6ebe97c62f6bfde83a3dcd4eb0e93","first_name":"Harrold","last_name":"Humphries","created_at":"2017-06-26T16:15:50+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-P5ZGI50R","email":null,"reference":"32a9fe5873536a0d1542f8cc6ad6c50e","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:14+10:00","address":{"address":"1
54
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8wcx6","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},"errors":[],"test":true}'
57
55
  http_version:
58
- recorded_at: Mon, 26 Jun 2017 06:15:50 GMT
56
+ recorded_at: Wed, 02 May 2018 23:12:13 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-YTWG2SDV","reference":"dc4742b026f7a36726370bc1f70a22a5","setup_fee":0,"amount":100,"start_date":"2015-07-16","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"currency":"AUD","test":true}'
62
+ string: '{"payment_method":"Credit Card","customer":"071-C-P5ZGI50R","reference":"fe913aaa468a140246cca77a54962ca3","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
- - '261'
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:15:51 GMT
80
+ - Wed, 02 May 2018 23:12:15 GMT
85
81
  Content-Type:
86
82
  - application/json; charset=utf-8
87
83
  Transfer-Encoding:
@@ -90,55 +86,57 @@ 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.206907'
97
97
  Pragma:
98
98
  - no-cache
99
99
  X-Request-Id:
100
- - 6cda4bf73ca146b430baf9ddb9656ed4
101
- X-Runtime:
102
- - '0.187504'
103
- X-Rack-Cache:
104
- - invalidate, pass
100
+ - fa37dba6cbfd55b3e2167b36
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-87M6LY80","customer":"071-C-YTWG2SDV","amount":100,"currency":"AUD","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":"dc4742b026f7a36726370bc1f70a22a5","description":null,"status":"Active","status_reason":"None","created_at":"2017-06-26T16:15:50+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-679O2E41","payment_plan":"071-PP-87M6LY80","reference":"dc4742b026f7a36726370bc1f70a22a5-0001","amount":100,"currency":"AUD","scheduled_date":"2017-06-30","payment_method":"Credit
111
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-8UKM7GAK","payment_plan":"071-PP-87M6LY80","reference":"dc4742b026f7a36726370bc1f70a22a5-0002","amount":100,"currency":"AUD","scheduled_date":"2017-07-07","payment_method":"Credit
112
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-H57BKEHH","payment_plan":"071-PP-87M6LY80","reference":"dc4742b026f7a36726370bc1f70a22a5-0003","amount":100,"currency":"AUD","scheduled_date":"2017-07-14","payment_method":"Credit
113
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-3DFCYSMH","payment_plan":"071-PP-87M6LY80","reference":"dc4742b026f7a36726370bc1f70a22a5-0004","amount":100,"currency":"AUD","scheduled_date":"2017-07-21","payment_method":"Credit
114
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-BBHZSVK8","payment_plan":"071-PP-87M6LY80","reference":"dc4742b026f7a36726370bc1f70a22a5-0005","amount":100,"currency":"AUD","scheduled_date":"2017-07-28","payment_method":"Credit
105
+ string: '{"successful":true,"response":{"id":"071-PP-J91AHLAT","customer":"071-C-P5ZGI50R","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":"fe913aaa468a140246cca77a54962ca3","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-03T09:12:15+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-U4JQP8NF","payment_plan":"071-PP-J91AHLAT","reference":"fe913aaa468a140246cca77a54962ca3-0001","amount":100,"currency":null,"scheduled_date":"2018-05-04","payment_method":"Credit
107
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-85PIA4U8","payment_plan":"071-PP-J91AHLAT","reference":"fe913aaa468a140246cca77a54962ca3-0002","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
108
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-8GLIBC3B","payment_plan":"071-PP-J91AHLAT","reference":"fe913aaa468a140246cca77a54962ca3-0003","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
109
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-NYROJLPQ","payment_plan":"071-PP-J91AHLAT","reference":"fe913aaa468a140246cca77a54962ca3-0004","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
110
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-QH989MCH","payment_plan":"071-PP-J91AHLAT","reference":"fe913aaa468a140246cca77a54962ca3-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:15:51 GMT
113
+ recorded_at: Wed, 02 May 2018 23:12:14 GMT
118
114
  - request:
119
115
  method: get
120
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/dc4742b026f7a36726370bc1f70a22a5?test=true
116
+ uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/fe913aaa468a140246cca77a54962ca3?test=true
121
117
  body:
122
118
  encoding: US-ASCII
123
119
  string: ''
124
120
  headers:
125
- Accept:
126
- - application/json
127
121
  Accept-Encoding:
128
- - gzip, deflate
129
- Content-Type:
122
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
123
+ Accept:
130
124
  - application/json
131
125
  User-Agent:
132
126
  - Ruby
127
+ Host:
128
+ - gateway.sandbox.fatzebra.com.au
133
129
  Authorization:
134
130
  - Basic VEVTVDpURVNU
131
+ Content-Type:
132
+ - application/json
135
133
  response:
136
134
  status:
137
135
  code: 200
138
136
  message: OK
139
137
  headers:
140
138
  Date:
141
- - Mon, 26 Jun 2017 06:15:51 GMT
139
+ - Wed, 02 May 2018 23:12:15 GMT
142
140
  Content-Type:
143
141
  - application/json; charset=utf-8
144
142
  Transfer-Encoding:
@@ -152,24 +150,24 @@ http_interactions:
152
150
  Cache-Control:
153
151
  - no-store, private
154
152
  X-Request-Version:
155
- - 1.19.41
153
+ - 1.16.9-3156@6c1a40b
156
154
  X-Runtime:
157
- - '0.031982'
155
+ - '0.033987'
158
156
  Pragma:
159
157
  - no-cache
160
158
  X-Request-Id:
161
- - 4e722a197a4f256fbb46a75cc138d2bf
159
+ - 2dea2789fff28ec3c41d7ede
162
160
  X-Backend:
163
161
  - sbox-priv-gateway-a
164
162
  body:
165
163
  encoding: UTF-8
166
- string: '{"successful":true,"response":{"id":"071-PP-87M6LY80","customer":"071-C-YTWG2SDV","amount":100,"currency":"AUD","setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
167
- Card","reference":"dc4742b026f7a36726370bc1f70a22a5","description":null,"status":"Active","status_reason":"None","created_at":"2017-06-26T16:15:50+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-679O2E41","payment_plan":"071-PP-87M6LY80","reference":"dc4742b026f7a36726370bc1f70a22a5-0001","amount":100,"currency":"AUD","scheduled_date":"2017-06-30","payment_method":"Credit
168
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-8UKM7GAK","payment_plan":"071-PP-87M6LY80","reference":"dc4742b026f7a36726370bc1f70a22a5-0002","amount":100,"currency":"AUD","scheduled_date":"2017-07-07","payment_method":"Credit
169
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-H57BKEHH","payment_plan":"071-PP-87M6LY80","reference":"dc4742b026f7a36726370bc1f70a22a5-0003","amount":100,"currency":"AUD","scheduled_date":"2017-07-14","payment_method":"Credit
170
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-3DFCYSMH","payment_plan":"071-PP-87M6LY80","reference":"dc4742b026f7a36726370bc1f70a22a5-0004","amount":100,"currency":"AUD","scheduled_date":"2017-07-21","payment_method":"Credit
171
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-BBHZSVK8","payment_plan":"071-PP-87M6LY80","reference":"dc4742b026f7a36726370bc1f70a22a5-0005","amount":100,"currency":"AUD","scheduled_date":"2017-07-28","payment_method":"Credit
164
+ string: '{"successful":true,"response":{"id":"071-PP-J91AHLAT","customer":"071-C-P5ZGI50R","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
165
+ Card","reference":"fe913aaa468a140246cca77a54962ca3","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-03T09:12:15+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-U4JQP8NF","payment_plan":"071-PP-J91AHLAT","reference":"fe913aaa468a140246cca77a54962ca3-0001","amount":100,"currency":null,"scheduled_date":"2018-05-04","payment_method":"Credit
166
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-85PIA4U8","payment_plan":"071-PP-J91AHLAT","reference":"fe913aaa468a140246cca77a54962ca3-0002","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
167
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-8GLIBC3B","payment_plan":"071-PP-J91AHLAT","reference":"fe913aaa468a140246cca77a54962ca3-0003","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
168
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-NYROJLPQ","payment_plan":"071-PP-J91AHLAT","reference":"fe913aaa468a140246cca77a54962ca3-0004","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
169
+ Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-QH989MCH","payment_plan":"071-PP-J91AHLAT","reference":"fe913aaa468a140246cca77a54962ca3-0005","amount":100,"currency":null,"scheduled_date":"2018-06-01","payment_method":"Credit
172
170
  Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
173
171
  http_version:
174
- recorded_at: Mon, 26 Jun 2017 06:15:51 GMT
172
+ recorded_at: Wed, 02 May 2018 23:12:14 GMT
175
173
  recorded_with: VCR 3.0.3