fat_zebra 3.0.9 → 3.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (224) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fat_zebra/api_operation/save.rb +6 -1
  3. data/lib/fat_zebra/version.rb +1 -1
  4. data/spec/cassettes/FatZebra_BankAccount/_create/1_1_1.yml +14 -16
  5. data/spec/cassettes/FatZebra_BankAccount/_create/1_1_2.yml +11 -13
  6. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_1.yml +50 -52
  7. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_2.yml +47 -49
  8. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_3.yml +50 -52
  9. data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_1.yml +25 -18
  10. data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_2.yml +25 -18
  11. data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_1.yml +25 -18
  12. data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_2.yml +25 -18
  13. data/spec/cassettes/FatZebra_Batch/_find/1_2_1.yml +41 -32
  14. data/spec/cassettes/FatZebra_Batch/_find/1_2_2.yml +41 -32
  15. data/spec/cassettes/FatZebra_Batch/_result/1_4_1.yml +56 -45
  16. data/spec/cassettes/FatZebra_Batch/_search/1_3_1.yml +15 -13
  17. data/spec/cassettes/FatZebra_Batch/_search/1_3_2.yml +15 -13
  18. data/spec/cassettes/FatZebra_Batch/_search/1_3_3.yml +15 -13
  19. data/spec/cassettes/FatZebra_Card/_create/1_1_1.yml +8 -7
  20. data/spec/cassettes/FatZebra_Card/_create/1_1_2.yml +11 -10
  21. data/spec/cassettes/FatZebra_Card/_create/1_1_3.yml +8 -7
  22. data/spec/cassettes/FatZebra_Card/_create/1_1_4.yml +11 -10
  23. data/spec/cassettes/FatZebra_Card/_create/1_1_5.yml +11 -10
  24. data/spec/cassettes/FatZebra_Card/_create/1_1_6.yml +11 -10
  25. data/spec/cassettes/FatZebra_Card/_update/1_2_1.yml +23 -19
  26. data/spec/cassettes/FatZebra_Card/_update/1_2_2.yml +23 -19
  27. data/spec/cassettes/FatZebra_Card/_update/1_2_3.yml +23 -19
  28. data/spec/cassettes/FatZebra_Card/_update/validations/1_2_4_1.yml +8 -7
  29. data/spec/cassettes/FatZebra_Customer/_create/1_1_1.yml +15 -17
  30. data/spec/cassettes/FatZebra_Customer/_create/1_1_2.yml +15 -17
  31. data/spec/cassettes/FatZebra_Customer/_create/1_1_3.yml +15 -17
  32. data/spec/cassettes/FatZebra_Customer/_create/1_1_4.yml +15 -17
  33. data/spec/cassettes/FatZebra_Customer/_create/1_1_5.yml +15 -17
  34. data/spec/cassettes/FatZebra_Customer/_create/1_1_6.yml +15 -17
  35. data/spec/cassettes/FatZebra_Customer/_delete/1_5_1.yml +29 -35
  36. data/spec/cassettes/FatZebra_Customer/_find/1_3_1.yml +32 -32
  37. data/spec/cassettes/FatZebra_Customer/_find/1_3_2.yml +32 -32
  38. data/spec/cassettes/FatZebra_Customer/_search/1_2_1.yml +26 -16
  39. data/spec/cassettes/FatZebra_Customer/_search/1_2_2.yml +26 -16
  40. data/spec/cassettes/FatZebra_Customer/_search/1_2_3.yml +26 -16
  41. data/spec/cassettes/FatZebra_Customer/_update/1_4_1.yml +31 -35
  42. data/spec/cassettes/FatZebra_Customer/_update/1_4_2.yml +31 -35
  43. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_1.yml +13 -15
  44. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_2.yml +10 -12
  45. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_3.yml +13 -15
  46. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_4.yml +10 -12
  47. data/spec/cassettes/FatZebra_DirectCredit/_create/validations/valid/1_1_5_1_1.yml +9 -9
  48. data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_1.yml +23 -29
  49. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_1.yml +29 -29
  50. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_2.yml +23 -23
  51. data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_1.yml +38 -40
  52. data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_2.yml +35 -37
  53. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_1.yml +10 -12
  54. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_2.yml +13 -15
  55. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_3.yml +13 -15
  56. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_4.yml +10 -12
  57. data/spec/cassettes/FatZebra_DirectDebit/_create/validations/valid/1_1_5_1_1.yml +9 -9
  58. data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_1.yml +23 -29
  59. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_1.yml +26 -26
  60. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_2.yml +26 -26
  61. data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_1.yml +38 -40
  62. data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_2.yml +35 -37
  63. data/spec/cassettes/FatZebra_Information/_ping/1_1_1.yml +15 -13
  64. data/spec/cassettes/FatZebra_Information/_ping/1_1_2.yml +12 -10
  65. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_1.yml +70 -78
  66. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_2.yml +70 -78
  67. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_1.yml +31 -35
  68. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_2.yml +31 -35
  69. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_3.yml +31 -35
  70. data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_1.yml +42 -50
  71. data/spec/cassettes/FatZebra_PaymentPlan/_destroy/1_6_1.yml +48 -56
  72. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_1.yml +49 -51
  73. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_2.yml +52 -54
  74. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_3.yml +52 -54
  75. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_1.yml +49 -55
  76. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_2.yml +52 -58
  77. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_1.yml +43 -49
  78. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_2.yml +46 -52
  79. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_3.yml +46 -52
  80. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_1.yml +52 -58
  81. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_2.yml +49 -55
  82. data/spec/cassettes/FatZebra_Purchase/_capture/1_5_1.yml +24 -28
  83. data/spec/cassettes/FatZebra_Purchase/_capture/1_5_2.yml +24 -28
  84. data/spec/cassettes/FatZebra_Purchase/_capture/1_5_3.yml +19 -19
  85. data/spec/cassettes/FatZebra_Purchase/_create/1_1_1.yml +12 -14
  86. data/spec/cassettes/FatZebra_Purchase/_create/1_1_10.yml +12 -14
  87. data/spec/cassettes/FatZebra_Purchase/_create/1_1_11.yml +15 -17
  88. data/spec/cassettes/FatZebra_Purchase/_create/1_1_12.yml +12 -14
  89. data/spec/cassettes/FatZebra_Purchase/_create/1_1_13.yml +11 -11
  90. data/spec/cassettes/FatZebra_Purchase/_create/1_1_2.yml +15 -17
  91. data/spec/cassettes/FatZebra_Purchase/_create/1_1_3.yml +12 -14
  92. data/spec/cassettes/FatZebra_Purchase/_create/1_1_4.yml +15 -17
  93. data/spec/cassettes/FatZebra_Purchase/_create/1_1_5.yml +12 -14
  94. data/spec/cassettes/FatZebra_Purchase/_create/1_1_6.yml +15 -17
  95. data/spec/cassettes/FatZebra_Purchase/_create/1_1_7.yml +12 -14
  96. data/spec/cassettes/FatZebra_Purchase/_create/1_1_8.yml +15 -17
  97. data/spec/cassettes/FatZebra_Purchase/_create/1_1_9.yml +12 -14
  98. data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_1.yml +11 -11
  99. data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_2.yml +8 -8
  100. data/spec/cassettes/FatZebra_Purchase/_find/1_2_1.yml +29 -29
  101. data/spec/cassettes/FatZebra_Purchase/_find/1_2_2.yml +32 -32
  102. data/spec/cassettes/FatZebra_Purchase/_find/1_2_3.yml +29 -29
  103. data/spec/cassettes/FatZebra_Purchase/_find/1_2_4.yml +19 -19
  104. data/spec/cassettes/FatZebra_Purchase/_refund/1_4_1.yml +24 -28
  105. data/spec/cassettes/FatZebra_Purchase/_refund/1_4_2.yml +24 -28
  106. data/spec/cassettes/FatZebra_Purchase/_refund/1_4_3.yml +19 -19
  107. data/spec/cassettes/FatZebra_Purchase/_search/1_3_1.yml +38 -38
  108. data/spec/cassettes/FatZebra_Purchase/_search/1_3_2.yml +35 -35
  109. data/spec/cassettes/FatZebra_Purchase/_search/1_3_3.yml +38 -38
  110. data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_1.yml +246 -219
  111. data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_2.yml +246 -221
  112. data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_3.yml +246 -223
  113. data/spec/cassettes/FatZebra_Purchase/_void/1_6_1.yml +24 -28
  114. data/spec/cassettes/FatZebra_Purchase/_void/1_6_2.yml +27 -31
  115. data/spec/cassettes/FatZebra_Purchase/_void/1_6_3.yml +27 -31
  116. data/spec/cassettes/FatZebra_Purchase/_void/1_6_4.yml +19 -19
  117. data/spec/cassettes/FatZebra_Purchase/_void/1_7_1.yml +30 -34
  118. data/spec/cassettes/FatZebra_Purchase/_void/1_7_2.yml +30 -34
  119. data/spec/cassettes/FatZebra_Purchase/_void/1_7_3.yml +30 -34
  120. data/spec/cassettes/FatZebra_Purchase/_void/1_7_4.yml +19 -19
  121. data/spec/cassettes/FatZebra_Refund/_create/1_1_1.yml +30 -34
  122. data/spec/cassettes/FatZebra_Refund/_create/1_1_10.yml +19 -19
  123. data/spec/cassettes/FatZebra_Refund/_create/1_1_2.yml +30 -34
  124. data/spec/cassettes/FatZebra_Refund/_create/1_1_3.yml +30 -34
  125. data/spec/cassettes/FatZebra_Refund/_create/1_1_4.yml +30 -34
  126. data/spec/cassettes/FatZebra_Refund/_create/1_1_5.yml +30 -34
  127. data/spec/cassettes/FatZebra_Refund/_create/1_1_6.yml +30 -34
  128. data/spec/cassettes/FatZebra_Refund/_create/1_1_7.yml +30 -34
  129. data/spec/cassettes/FatZebra_Refund/_create/1_1_8.yml +30 -34
  130. data/spec/cassettes/FatZebra_Refund/_create/1_1_9.yml +30 -34
  131. data/spec/cassettes/FatZebra_Refund/_find/1_2_1.yml +47 -49
  132. data/spec/cassettes/FatZebra_Refund/_find/1_2_2.yml +47 -49
  133. data/spec/cassettes/FatZebra_Refund/_find/1_2_3.yml +30 -30
  134. data/spec/cassettes/FatZebra_Refund/_search/1_3_1.yml +83 -89
  135. data/spec/cassettes/FatZebra_Refund/_search/1_3_2.yml +83 -89
  136. data/spec/cassettes/FatZebra_Refund/_void/1_4_1.yml +45 -51
  137. data/spec/cassettes/FatZebra_Refund/_void/1_4_2.yml +42 -48
  138. data/spec/cassettes/FatZebra_Refund/_void/1_4_3.yml +39 -45
  139. data/spec/cassettes/FatZebra_Refund/_void/1_4_4.yml +30 -30
  140. data/spec/cassettes/FatZebra_WebHook/_create/1_1_1.yml +13 -15
  141. data/spec/cassettes/FatZebra_WebHook/_create/1_1_2.yml +10 -12
  142. data/spec/cassettes/FatZebra_WebHook/_create/1_1_3.yml +13 -15
  143. data/spec/cassettes/FatZebra_WebHook/_delete/1_4_1.yml +23 -29
  144. data/spec/cassettes/FatZebra_WebHook/_search/1_2_1.yml +59 -103
  145. data/spec/cassettes/FatZebra_WebHook/_search/1_2_2.yml +55 -99
  146. data/spec/cassettes/FatZebra_WebHook/_update/1_3_1.yml +25 -29
  147. data/spec/cassettes/FatZebra_WebHook/_update/1_3_2.yml +25 -29
  148. metadata +2 -78
  149. data/spec/cassettes/FatZebra_BankAccount/_create/1_1_3.yml +0 -55
  150. data/spec/cassettes/FatZebra_BankAccount/_create/validations/1_1_3_1.yml +0 -57
  151. data/spec/cassettes/FatZebra_Batch/_create/1_1_1.yml +0 -58
  152. data/spec/cassettes/FatZebra_Batch/_create/1_1_2.yml +0 -58
  153. data/spec/cassettes/FatZebra_Batch/_create/validations/1_1_3_1.yml +0 -57
  154. data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_3.yml +0 -65
  155. data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_3.yml +0 -65
  156. data/spec/cassettes/FatZebra_Batch/_find/1_2_3.yml +0 -118
  157. data/spec/cassettes/FatZebra_Card/_create/1_1_7.yml +0 -55
  158. data/spec/cassettes/FatZebra_Card/_create/validations/1_1_7_1.yml +0 -56
  159. data/spec/cassettes/FatZebra_Card/_update/1_2_4.yml +0 -105
  160. data/spec/cassettes/FatZebra_Card/_update/validations/1_2_5_1.yml +0 -55
  161. data/spec/cassettes/FatZebra_Customer/_create/1_1_7.yml +0 -57
  162. data/spec/cassettes/FatZebra_Customer/_create/validations/1_1_7_1.yml +0 -56
  163. data/spec/cassettes/FatZebra_Customer/_delete/1_4_1.yml +0 -113
  164. data/spec/cassettes/FatZebra_Customer/_delete/1_5_2.yml +0 -107
  165. data/spec/cassettes/FatZebra_Customer/_find/1_2_1.yml +0 -111
  166. data/spec/cassettes/FatZebra_Customer/_find/1_2_2.yml +0 -111
  167. data/spec/cassettes/FatZebra_Customer/_find/1_3_3.yml +0 -111
  168. data/spec/cassettes/FatZebra_Customer/_update/1_3_1.yml +0 -114
  169. data/spec/cassettes/FatZebra_Customer/_update/1_3_2.yml +0 -114
  170. data/spec/cassettes/FatZebra_Customer/_update/1_4_3.yml +0 -108
  171. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_5.yml +0 -54
  172. data/spec/cassettes/FatZebra_DirectCredit/_create/validations/1_1_5_1.yml +0 -59
  173. data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_2.yml +0 -103
  174. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_3.yml +0 -107
  175. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_5.yml +0 -54
  176. data/spec/cassettes/FatZebra_DirectDebit/_create/validations/1_1_5_1.yml +0 -59
  177. data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_2.yml +0 -103
  178. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_3.yml +0 -107
  179. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_7_1.yml +0 -238
  180. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_7_2.yml +0 -238
  181. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_4.yml +0 -114
  182. data/spec/cassettes/FatZebra_PaymentPlan/_create/validations/1_1_4_1.yml +0 -55
  183. data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_2.yml +0 -164
  184. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_4.yml +0 -173
  185. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_6_1.yml +0 -178
  186. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_6_2.yml +0 -178
  187. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_4.yml +0 -164
  188. data/spec/cassettes/FatZebra_Purchase/_capture/1_6_1.yml +0 -111
  189. data/spec/cassettes/FatZebra_Purchase/_capture/1_6_2.yml +0 -111
  190. data/spec/cassettes/FatZebra_Purchase/_capture/1_6_3.yml +0 -107
  191. data/spec/cassettes/FatZebra_Purchase/_find/1_3_1.yml +0 -109
  192. data/spec/cassettes/FatZebra_Purchase/_find/1_3_2.yml +0 -109
  193. data/spec/cassettes/FatZebra_Purchase/_find/1_3_3.yml +0 -109
  194. data/spec/cassettes/FatZebra_Purchase/_find/1_3_4.yml +0 -109
  195. data/spec/cassettes/FatZebra_Purchase/_find/1_4_1.yml +0 -109
  196. data/spec/cassettes/FatZebra_Purchase/_find/1_4_2.yml +0 -109
  197. data/spec/cassettes/FatZebra_Purchase/_find/1_4_3.yml +0 -109
  198. data/spec/cassettes/FatZebra_Purchase/_refund/1_5_1.yml +0 -111
  199. data/spec/cassettes/FatZebra_Purchase/_refund/1_5_2.yml +0 -111
  200. data/spec/cassettes/FatZebra_Purchase/_refund/1_5_3.yml +0 -107
  201. data/spec/cassettes/FatZebra_Purchase/_search/1_3_4.yml +0 -170
  202. data/spec/cassettes/FatZebra_Purchase/_search/1_4_1.yml +0 -170
  203. data/spec/cassettes/FatZebra_Purchase/_search/1_4_2.yml +0 -170
  204. data/spec/cassettes/FatZebra_Purchase/_search/1_4_3.yml +0 -170
  205. data/spec/cassettes/FatZebra_Purchase/_search/1_4_4.yml +0 -170
  206. data/spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_1.yml +0 -164
  207. data/spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_2.yml +0 -165
  208. data/spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_3.yml +0 -164
  209. data/spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_1.yml +0 -54
  210. data/spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_2.yml +0 -54
  211. data/spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_3.yml +0 -54
  212. data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_4.yml +0 -842
  213. data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_1.yml +0 -828
  214. data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_2.yml +0 -830
  215. data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_3.yml +0 -832
  216. data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_4.yml +0 -834
  217. data/spec/cassettes/FatZebra_Purchase/_void/1_8_1.yml +0 -107
  218. data/spec/cassettes/FatZebra_Purchase/_void/1_8_2.yml +0 -107
  219. data/spec/cassettes/FatZebra_Purchase/_void/1_8_3.yml +0 -107
  220. data/spec/cassettes/FatZebra_Purchase/_void/1_8_4.yml +0 -107
  221. data/spec/cassettes/FatZebra_WebHook/_create/1_1_4.yml +0 -55
  222. data/spec/cassettes/FatZebra_WebHook/_create/validations/1_1_4_1.yml +0 -56
  223. data/spec/cassettes/FatZebra_WebHook/_delete/1_4_2.yml +0 -105
  224. data/spec/cassettes/FatZebra_WebHook/_update/1_3_3.yml +0 -106
@@ -1,59 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_debits
6
- body:
7
- encoding: UTF-8
8
- string: '{"test":true}'
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Authorization:
17
- - Basic VEVTVDpURVNU
18
- Content-Type:
19
- - application/json
20
- response:
21
- status:
22
- code: 422
23
- message: Unprocessable Entity
24
- headers:
25
- Date:
26
- - Mon, 03 Jul 2017 04:16:10 GMT
27
- Content-Type:
28
- - application/json; charset=utf-8
29
- Transfer-Encoding:
30
- - chunked
31
- Connection:
32
- - keep-alive
33
- Status:
34
- - 422 Unprocessable Entity
35
- X-Rack-Cache:
36
- - invalidate, pass
37
- Cache-Control:
38
- - no-store
39
- X-Request-Version:
40
- - 1.19.41
41
- X-Runtime:
42
- - '0.043555'
43
- Pragma:
44
- - no-cache
45
- X-Request-Id:
46
- - 8c38f98dd12ec9b9b9b72d3914ed50d9
47
- X-Backend:
48
- - sbox-priv-gateway-a
49
- body:
50
- encoding: UTF-8
51
- string: '{"successful":false,"response":{"id":null,"amount":0.0,"bsb":null,"account_number":null,"account_name":null,"description":null,"reference":null,"date":"2017-07-03","process_date":null,"status":"New","result":null,"metadata":{}},"errors":["Account
52
- number can''t be blank","Account number is not a number","Account number is
53
- too short (minimum is 1 characters)","Account number must be numbers only","Account
54
- name can''t be blank","Bsb can''t be blank","Bsb is the incorrect format -
55
- expecting 111-222","Description can''t be blank","Amount must be greater than
56
- 0"],"test":true}'
57
- http_version:
58
- recorded_at: Mon, 03 Jul 2017 04:16:10 GMT
59
- recorded_with: VCR 3.0.3
@@ -1,103 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_debits
6
- body:
7
- encoding: UTF-8
8
- string: '{"description":"Confirmation","amount":42,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Authorization:
17
- - Basic VEVTVDpURVNU
18
- Content-Type:
19
- - application/json
20
- response:
21
- status:
22
- code: 201
23
- message: Created
24
- headers:
25
- Date:
26
- - Wed, 05 Jul 2017 05:53:12 GMT
27
- Content-Type:
28
- - application/json; charset=utf-8
29
- Transfer-Encoding:
30
- - chunked
31
- Connection:
32
- - keep-alive
33
- Status:
34
- - 201 Created
35
- X-Rack-Cache:
36
- - invalidate, pass
37
- Cache-Control:
38
- - no-store
39
- X-Request-Version:
40
- - 1.19.41
41
- X-Runtime:
42
- - '0.038247'
43
- Pragma:
44
- - no-cache
45
- X-Request-Id:
46
- - daf1a6b2a8574edfe9a90e4965441697
47
- X-Backend:
48
- - sbox-priv-gateway-a
49
- body:
50
- encoding: UTF-8
51
- string: '{"successful":true,"response":{"id":"071-DD-IH3S23MZ","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-IH3S23MZ","date":"2017-07-05","process_date":null,"status":"New","result":null,"metadata":{}},"errors":[],"test":true}'
52
- http_version:
53
- recorded_at: Wed, 05 Jul 2017 05:53:12 GMT
54
- - request:
55
- method: delete
56
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_debits/071-DD-IH3S23MZ
57
- body:
58
- encoding: UTF-8
59
- string: '{"test":true}'
60
- headers:
61
- Accept-Encoding:
62
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
63
- Accept:
64
- - "*/*"
65
- User-Agent:
66
- - Ruby
67
- Authorization:
68
- - Basic VEVTVDpURVNU
69
- response:
70
- status:
71
- code: 200
72
- message: OK
73
- headers:
74
- Date:
75
- - Wed, 05 Jul 2017 05:53:12 GMT
76
- Content-Type:
77
- - application/json; charset=utf-8
78
- Transfer-Encoding:
79
- - chunked
80
- Connection:
81
- - keep-alive
82
- Status:
83
- - 200 OK
84
- Cache-Control:
85
- - no-store
86
- X-Request-Version:
87
- - 1.19.41
88
- Pragma:
89
- - no-cache
90
- X-Request-Id:
91
- - 9ce6788d9ac4e1571533477b2104f2d4
92
- X-Runtime:
93
- - '0.022322'
94
- X-Rack-Cache:
95
- - invalidate, pass
96
- X-Backend:
97
- - sbox-priv-gateway-a
98
- body:
99
- encoding: UTF-8
100
- string: '{"successful":true,"response":{"id":"071-DD-IH3S23MZ","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-IH3S23MZ","date":"2017-07-05","process_date":null,"status":"Deleted","result":null,"metadata":{}},"errors":[],"test":true}'
101
- http_version:
102
- recorded_at: Wed, 05 Jul 2017 05:53:12 GMT
103
- recorded_with: VCR 3.0.3
@@ -1,107 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_debits
6
- body:
7
- encoding: UTF-8
8
- string: '{"description":"Confirmation","amount":42,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
9
- headers:
10
- Accept-Encoding:
11
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
- Accept:
13
- - application/json
14
- User-Agent:
15
- - Ruby
16
- Authorization:
17
- - Basic VEVTVDpURVNU
18
- Content-Type:
19
- - application/json
20
- response:
21
- status:
22
- code: 201
23
- message: Created
24
- headers:
25
- Date:
26
- - Wed, 05 Jul 2017 05:53:11 GMT
27
- Content-Type:
28
- - application/json; charset=utf-8
29
- Transfer-Encoding:
30
- - chunked
31
- Connection:
32
- - keep-alive
33
- Status:
34
- - 201 Created
35
- X-Rack-Cache:
36
- - invalidate, pass
37
- Cache-Control:
38
- - no-store
39
- X-Request-Version:
40
- - 1.19.41
41
- X-Runtime:
42
- - '0.042880'
43
- Pragma:
44
- - no-cache
45
- X-Request-Id:
46
- - 99d3ff81a3f683b2ad3e5802abcb6fb7
47
- X-Backend:
48
- - sbox-priv-gateway-a
49
- body:
50
- encoding: UTF-8
51
- string: '{"successful":true,"response":{"id":"071-DD-Z2GHY24C","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-Z2GHY24C","date":"2017-07-05","process_date":null,"status":"New","result":null,"metadata":{}},"errors":[],"test":true}'
52
- http_version:
53
- recorded_at: Wed, 05 Jul 2017 05:53:11 GMT
54
- - request:
55
- method: get
56
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_debits/071-DD-Z2GHY24C?test=true
57
- body:
58
- encoding: US-ASCII
59
- string: ''
60
- headers:
61
- Accept-Encoding:
62
- - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
63
- Accept:
64
- - application/json
65
- User-Agent:
66
- - Ruby
67
- Host:
68
- - gateway.sandbox.fatzebra.com.au
69
- Authorization:
70
- - Basic VEVTVDpURVNU
71
- Content-Type:
72
- - application/json
73
- response:
74
- status:
75
- code: 200
76
- message: OK
77
- headers:
78
- Date:
79
- - Wed, 05 Jul 2017 05:53:11 GMT
80
- Content-Type:
81
- - application/json; charset=utf-8
82
- Transfer-Encoding:
83
- - chunked
84
- Connection:
85
- - keep-alive
86
- Status:
87
- - 200 OK
88
- Cache-Control:
89
- - no-store, private
90
- X-Request-Version:
91
- - 1.19.41
92
- Pragma:
93
- - no-cache
94
- X-Request-Id:
95
- - 099bc02fa3d909a2f19b68e8d6776c21
96
- X-Runtime:
97
- - '0.024677'
98
- X-Rack-Cache:
99
- - miss
100
- X-Backend:
101
- - sbox-priv-gateway-a
102
- body:
103
- encoding: UTF-8
104
- string: '{"successful":true,"response":{"id":"071-DD-Z2GHY24C","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-Z2GHY24C","date":"2017-07-05","process_date":null,"status":"New","result":null,"metadata":{}},"errors":[],"test":true}'
105
- http_version:
106
- recorded_at: Wed, 05 Jul 2017 05:53:11 GMT
107
- recorded_with: VCR 3.0.3
@@ -1,238 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers
6
- body:
7
- encoding: UTF-8
8
- string: '{"first_name":"Harrold","last_name":"Humphries","reference":"b0f8d8ee45e5dc5a7a4dcb9521f8ae09","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
9
- Humphries Senior","card_number":"5123456789012346","expiry_date":"05/2023","cvv":"123"},"address":{"address":"1
10
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"test":true}'
11
- headers:
12
- Accept:
13
- - application/json
14
- Accept-Encoding:
15
- - gzip, deflate
16
- Content-Type:
17
- - application/json
18
- Content-Length:
19
- - '394'
20
- User-Agent:
21
- - Ruby
22
- Authorization:
23
- - Basic VEVTVDpURVNU
24
- response:
25
- status:
26
- code: 200
27
- message: OK
28
- headers:
29
- Date:
30
- - Mon, 26 Jun 2017 06:19:17 GMT
31
- Content-Type:
32
- - application/json; charset=utf-8
33
- Transfer-Encoding:
34
- - chunked
35
- Connection:
36
- - keep-alive
37
- Status:
38
- - 200 OK
39
- Cache-Control:
40
- - no-store
41
- X-Request-Version:
42
- - 1.19.41
43
- Pragma:
44
- - no-cache
45
- X-Request-Id:
46
- - 6d679151c5e6691f5e9d51dad3877f6a
47
- X-Runtime:
48
- - '0.262921'
49
- X-Rack-Cache:
50
- - invalidate, pass
51
- X-Backend:
52
- - sbox-priv-gateway-a
53
- body:
54
- encoding: UTF-8
55
- string: '{"successful":true,"response":{"id":"071-C-10GXINS1","email":null,"reference":"b0f8d8ee45e5dc5a7a4dcb9521f8ae09","first_name":"Harrold","last_name":"Humphries","created_at":"2017-06-26T16:19:16+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}'
57
- http_version:
58
- recorded_at: Mon, 26 Jun 2017 06:19:17 GMT
59
- - request:
60
- method: post
61
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
62
- body:
63
- encoding: UTF-8
64
- string: '{"payment_method":"Credit Card","customer":"071-C-10GXINS1","reference":"e56704db5a38270e8def9e6e277e2117","setup_fee":0,"amount":100,"start_date":"2015-07-16","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
65
- headers:
66
- Accept:
67
- - application/json
68
- Accept-Encoding:
69
- - gzip, deflate
70
- Content-Type:
71
- - application/json
72
- Content-Length:
73
- - '244'
74
- User-Agent:
75
- - Ruby
76
- Authorization:
77
- - Basic VEVTVDpURVNU
78
- response:
79
- status:
80
- code: 201
81
- message: Created
82
- headers:
83
- Date:
84
- - Mon, 26 Jun 2017 06:19:17 GMT
85
- Content-Type:
86
- - application/json; charset=utf-8
87
- Transfer-Encoding:
88
- - chunked
89
- Connection:
90
- - keep-alive
91
- Status:
92
- - 201 Created
93
- Cache-Control:
94
- - no-store
95
- X-Request-Version:
96
- - 1.19.41
97
- Pragma:
98
- - no-cache
99
- X-Request-Id:
100
- - ca0f3c1bfb0a43ae7b86ce2957c35842
101
- X-Runtime:
102
- - '0.216332'
103
- X-Rack-Cache:
104
- - invalidate, pass
105
- X-Backend:
106
- - sbox-priv-gateway-a
107
- body:
108
- encoding: UTF-8
109
- string: '{"successful":true,"response":{"id":"071-PP-UYIRMD7I","customer":"071-C-10GXINS1","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":"e56704db5a38270e8def9e6e277e2117","description":null,"status":"Active","status_reason":"None","created_at":"2017-06-26T16:19:17+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-OG089KVT","payment_plan":"071-PP-UYIRMD7I","reference":"e56704db5a38270e8def9e6e277e2117-0001","amount":100,"currency":null,"scheduled_date":"2017-06-30","payment_method":"Credit
111
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-R30VHPM8","payment_plan":"071-PP-UYIRMD7I","reference":"e56704db5a38270e8def9e6e277e2117-0002","amount":100,"currency":null,"scheduled_date":"2017-07-07","payment_method":"Credit
112
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-BF3A443W","payment_plan":"071-PP-UYIRMD7I","reference":"e56704db5a38270e8def9e6e277e2117-0003","amount":100,"currency":null,"scheduled_date":"2017-07-14","payment_method":"Credit
113
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-YO8CK0IM","payment_plan":"071-PP-UYIRMD7I","reference":"e56704db5a38270e8def9e6e277e2117-0004","amount":100,"currency":null,"scheduled_date":"2017-07-21","payment_method":"Credit
114
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-HWCGD7MI","payment_plan":"071-PP-UYIRMD7I","reference":"e56704db5a38270e8def9e6e277e2117-0005","amount":100,"currency":null,"scheduled_date":"2017-07-28","payment_method":"Credit
115
- Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
116
- http_version:
117
- recorded_at: Mon, 26 Jun 2017 06:19:17 GMT
118
- - request:
119
- method: put
120
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-UYIRMD7I
121
- body:
122
- encoding: UTF-8
123
- string: '{"id":"071-PP-UYIRMD7I","customer":"071-C-10GXINS1","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":"e56704db5a38270e8def9e6e277e2117","description":null,"status":"Active","status_reason":"None","created_at":"2017-06-26T16:19:17+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-OG089KVT","payment_plan":"071-PP-UYIRMD7I","reference":"e56704db5a38270e8def9e6e277e2117-0001","amount":100,"currency":null,"scheduled_date":"2017-06-30","payment_method":"Credit
125
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-R30VHPM8","payment_plan":"071-PP-UYIRMD7I","reference":"e56704db5a38270e8def9e6e277e2117-0002","amount":100,"currency":null,"scheduled_date":"2017-07-07","payment_method":"Credit
126
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-BF3A443W","payment_plan":"071-PP-UYIRMD7I","reference":"e56704db5a38270e8def9e6e277e2117-0003","amount":100,"currency":null,"scheduled_date":"2017-07-14","payment_method":"Credit
127
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-YO8CK0IM","payment_plan":"071-PP-UYIRMD7I","reference":"e56704db5a38270e8def9e6e277e2117-0004","amount":100,"currency":null,"scheduled_date":"2017-07-21","payment_method":"Credit
128
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-HWCGD7MI","payment_plan":"071-PP-UYIRMD7I","reference":"e56704db5a38270e8def9e6e277e2117-0005","amount":100,"currency":null,"scheduled_date":"2017-07-28","payment_method":"Credit
129
- Card","status":"Scheduled","result":null,"records":[]}],"new_status":"Suspended","test":true}'
130
- headers:
131
- Accept:
132
- - application/json
133
- Accept-Encoding:
134
- - gzip, deflate
135
- Content-Type:
136
- - application/json
137
- Content-Length:
138
- - '1746'
139
- User-Agent:
140
- - Ruby
141
- Authorization:
142
- - Basic VEVTVDpURVNU
143
- response:
144
- status:
145
- code: 200
146
- message: OK
147
- headers:
148
- Date:
149
- - Mon, 26 Jun 2017 06:19:17 GMT
150
- Content-Type:
151
- - application/json; charset=utf-8
152
- Transfer-Encoding:
153
- - chunked
154
- Connection:
155
- - keep-alive
156
- Status:
157
- - 200 OK
158
- X-Rack-Cache:
159
- - invalidate, pass
160
- Cache-Control:
161
- - no-store
162
- X-Request-Version:
163
- - 1.19.41
164
- X-Runtime:
165
- - '0.116188'
166
- Pragma:
167
- - no-cache
168
- X-Request-Id:
169
- - 00727f70623865c4d0127a4048829416
170
- X-Backend:
171
- - sbox-priv-gateway-a
172
- body:
173
- encoding: UTF-8
174
- string: '{"successful":true,"response":{"id":"071-PP-UYIRMD7I","customer":"071-C-10GXINS1","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":"e56704db5a38270e8def9e6e277e2117","description":null,"status":"Suspended","status_reason":"Other","created_at":"2017-06-26T16:19:17+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
176
- http_version:
177
- recorded_at: Mon, 26 Jun 2017 06:19:17 GMT
178
- - request:
179
- method: put
180
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-UYIRMD7I
181
- body:
182
- encoding: UTF-8
183
- string: '{"id":"071-PP-UYIRMD7I","customer":"071-C-10GXINS1","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
184
- Card","reference":"e56704db5a38270e8def9e6e277e2117","description":null,"status":"Suspended","status_reason":"Other","created_at":"2017-06-26T16:19:17+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[],"new_status":"Active","test":true}'
185
- headers:
186
- Accept:
187
- - application/json
188
- Accept-Encoding:
189
- - gzip, deflate
190
- Content-Type:
191
- - application/json
192
- Content-Length:
193
- - '508'
194
- User-Agent:
195
- - Ruby
196
- Authorization:
197
- - Basic VEVTVDpURVNU
198
- response:
199
- status:
200
- code: 200
201
- message: OK
202
- headers:
203
- Date:
204
- - Mon, 26 Jun 2017 06:19:17 GMT
205
- Content-Type:
206
- - application/json; charset=utf-8
207
- Transfer-Encoding:
208
- - chunked
209
- Connection:
210
- - keep-alive
211
- Status:
212
- - 200 OK
213
- X-Rack-Cache:
214
- - invalidate, pass
215
- Cache-Control:
216
- - no-store
217
- X-Request-Version:
218
- - 1.19.41
219
- X-Runtime:
220
- - '0.201248'
221
- Pragma:
222
- - no-cache
223
- X-Request-Id:
224
- - 2b1287952201db68349d63eb1ccbca57
225
- X-Backend:
226
- - sbox-priv-gateway-a
227
- body:
228
- encoding: UTF-8
229
- string: '{"successful":true,"response":{"id":"071-PP-UYIRMD7I","customer":"071-C-10GXINS1","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
230
- Card","reference":"e56704db5a38270e8def9e6e277e2117","description":null,"status":"Active","status_reason":"None","created_at":"2017-06-26T16:19:17+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-V2RS3KX9","payment_plan":"071-PP-UYIRMD7I","reference":"e56704db5a38270e8def9e6e277e2117-0001","amount":100,"currency":null,"scheduled_date":"2017-06-30","payment_method":"Credit
231
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-MSNDLJ3B","payment_plan":"071-PP-UYIRMD7I","reference":"e56704db5a38270e8def9e6e277e2117-0002","amount":100,"currency":null,"scheduled_date":"2017-07-07","payment_method":"Credit
232
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-8BAEU4PX","payment_plan":"071-PP-UYIRMD7I","reference":"e56704db5a38270e8def9e6e277e2117-0003","amount":100,"currency":null,"scheduled_date":"2017-07-14","payment_method":"Credit
233
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-BZAAC675","payment_plan":"071-PP-UYIRMD7I","reference":"e56704db5a38270e8def9e6e277e2117-0004","amount":100,"currency":null,"scheduled_date":"2017-07-21","payment_method":"Credit
234
- Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-GHUUL2EL","payment_plan":"071-PP-UYIRMD7I","reference":"e56704db5a38270e8def9e6e277e2117-0005","amount":100,"currency":null,"scheduled_date":"2017-07-28","payment_method":"Credit
235
- Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
236
- http_version:
237
- recorded_at: Mon, 26 Jun 2017 06:19:18 GMT
238
- recorded_with: VCR 3.0.3