fat_zebra 3.1.0 → 3.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (197) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +2 -0
  3. data/.travis.yml +2 -1
  4. data/README.md +5 -5
  5. data/fat_zebra.gemspec +4 -6
  6. data/lib/fat_zebra.rb +8 -0
  7. data/lib/fat_zebra/authenticate.rb +64 -0
  8. data/lib/fat_zebra/card.rb +1 -0
  9. data/lib/fat_zebra/paypal/authorization.rb +49 -0
  10. data/lib/fat_zebra/paypal/billing_agreement.rb +56 -0
  11. data/lib/fat_zebra/paypal/capture.rb +36 -0
  12. data/lib/fat_zebra/paypal/order.rb +22 -0
  13. data/lib/fat_zebra/paypal/refund.rb +22 -0
  14. data/lib/fat_zebra/purchase.rb +23 -0
  15. data/lib/fat_zebra/util.rb +1 -1
  16. data/lib/fat_zebra/version.rb +1 -1
  17. data/spec/cassettes/FatZebra_Authenticate/_authenticate/validations/1_3_5_1.yml +46 -0
  18. data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_challenge_response/1_3_3_1.yml +90 -0
  19. data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_challenge_response/1_3_3_2.yml +90 -0
  20. data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_frictionless_response/1_3_2_1.yml +90 -0
  21. data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_frictionless_response/1_3_2_2.yml +90 -0
  22. data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_invalid_input/1_3_1_1.yml +90 -0
  23. data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_invalid_input/1_3_1_2.yml +87 -0
  24. data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_invalid_input/1_3_1_3.yml +92 -0
  25. data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_invalid_input/1_3_1_4.yml +91 -0
  26. data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_type_validation/1_3_4_1.yml +46 -0
  27. data/spec/cassettes/FatZebra_Authenticate/_decode_session/when_token_is_invalid/returns_error_when_invalid_token.yml +47 -0
  28. data/spec/cassettes/FatZebra_Authenticate/_decode_session/when_token_is_valid/decodes_JWT.yml +87 -0
  29. data/spec/cassettes/FatZebra_Authenticate/_session/returns_JWT_with_given_params.yml +44 -0
  30. data/spec/cassettes/FatZebra_Authenticate/_session/returns_JWT_with_no_amount.yml +44 -0
  31. data/spec/cassettes/FatZebra_Authenticate/_session/returns_error_when_amount_is_invalid.yml +44 -0
  32. data/spec/cassettes/FatZebra_Authenticate/_session/returns_error_when_currency_is_invalid.yml +46 -0
  33. data/spec/cassettes/FatZebra_BankAccount/_create/1_1_1.yml +8 -14
  34. data/spec/cassettes/FatZebra_BankAccount/_create/1_1_2.yml +8 -14
  35. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_1.yml +30 -30
  36. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_2.yml +30 -30
  37. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_3.yml +30 -30
  38. data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_1.yml +11 -17
  39. data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_2.yml +11 -17
  40. data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_1.yml +11 -17
  41. data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_2.yml +11 -17
  42. data/spec/cassettes/FatZebra_Batch/_find/1_2_1.yml +19 -31
  43. data/spec/cassettes/FatZebra_Batch/_find/1_2_2.yml +19 -31
  44. data/spec/cassettes/FatZebra_Batch/_result/1_4_1.yml +26 -44
  45. data/spec/cassettes/FatZebra_Batch/_search/1_3_1.yml +6 -6
  46. data/spec/cassettes/FatZebra_Batch/_search/1_3_2.yml +6 -6
  47. data/spec/cassettes/FatZebra_Batch/_search/1_3_3.yml +6 -6
  48. data/spec/cassettes/FatZebra_Card/_create/1_1_1.yml +7 -13
  49. data/spec/cassettes/FatZebra_Card/_create/1_1_2.yml +7 -13
  50. data/spec/cassettes/FatZebra_Card/_create/1_1_3.yml +7 -13
  51. data/spec/cassettes/FatZebra_Card/_create/1_1_4.yml +7 -13
  52. data/spec/cassettes/FatZebra_Card/_create/1_1_5.yml +7 -13
  53. data/spec/cassettes/FatZebra_Card/_create/1_1_6.yml +7 -13
  54. data/spec/cassettes/FatZebra_Card/_find/1_3_1.yml +111 -0
  55. data/spec/cassettes/FatZebra_Card/_find/1_3_2.yml +111 -0
  56. data/spec/cassettes/FatZebra_Card/_update/1_2_1.yml +15 -27
  57. data/spec/cassettes/FatZebra_Card/_update/1_2_2.yml +15 -27
  58. data/spec/cassettes/FatZebra_Card/_update/1_2_3.yml +15 -27
  59. data/spec/cassettes/FatZebra_Card/_update/validations/1_2_4_1.yml +7 -13
  60. data/spec/cassettes/FatZebra_Customer/_create/1_1_1.yml +9 -15
  61. data/spec/cassettes/FatZebra_Customer/_create/1_1_2.yml +9 -15
  62. data/spec/cassettes/FatZebra_Customer/_create/1_1_3.yml +9 -15
  63. data/spec/cassettes/FatZebra_Customer/_create/1_1_4.yml +9 -15
  64. data/spec/cassettes/FatZebra_Customer/_create/1_1_5.yml +9 -15
  65. data/spec/cassettes/FatZebra_Customer/_create/1_1_6.yml +9 -15
  66. data/spec/cassettes/FatZebra_Customer/_delete/1_5_1.yml +18 -30
  67. data/spec/cassettes/FatZebra_Customer/_find/1_3_1.yml +18 -30
  68. data/spec/cassettes/FatZebra_Customer/_find/1_3_2.yml +18 -30
  69. data/spec/cassettes/FatZebra_Customer/_search/1_2_1.yml +12 -16
  70. data/spec/cassettes/FatZebra_Customer/_search/1_2_2.yml +12 -16
  71. data/spec/cassettes/FatZebra_Customer/_search/1_2_3.yml +12 -16
  72. data/spec/cassettes/FatZebra_Customer/_update/1_4_1.yml +19 -31
  73. data/spec/cassettes/FatZebra_Customer/_update/1_4_2.yml +19 -31
  74. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_1.yml +8 -14
  75. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_2.yml +8 -14
  76. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_3.yml +8 -14
  77. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_4.yml +8 -14
  78. data/spec/cassettes/FatZebra_DirectCredit/_create/validations/valid/1_1_5_1_1.yml +7 -13
  79. data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_1.yml +16 -28
  80. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_1.yml +16 -28
  81. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_2.yml +16 -28
  82. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_3.yml +13 -13
  83. data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_1.yml +20 -20
  84. data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_2.yml +20 -20
  85. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_1.yml +8 -14
  86. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_2.yml +8 -14
  87. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_3.yml +8 -14
  88. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_4.yml +8 -14
  89. data/spec/cassettes/FatZebra_DirectDebit/_create/validations/valid/1_1_5_1_1.yml +7 -13
  90. data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_1.yml +16 -28
  91. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_1.yml +16 -28
  92. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_2.yml +16 -28
  93. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_3.yml +13 -13
  94. data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_1.yml +20 -20
  95. data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_2.yml +20 -20
  96. data/spec/cassettes/FatZebra_Information/_ping/1_1_1.yml +7 -13
  97. data/spec/cassettes/FatZebra_Information/_ping/1_1_2.yml +7 -13
  98. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_1.yml +48 -48
  99. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_2.yml +48 -48
  100. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_1.yml +20 -20
  101. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_2.yml +20 -20
  102. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_3.yml +20 -20
  103. data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_1.yml +28 -28
  104. data/spec/cassettes/FatZebra_PaymentPlan/_destroy/1_6_1.yml +28 -28
  105. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_1.yml +32 -32
  106. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_2.yml +32 -32
  107. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_3.yml +32 -32
  108. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_1.yml +34 -34
  109. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_2.yml +34 -34
  110. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_1.yml +28 -28
  111. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_2.yml +28 -28
  112. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_3.yml +28 -28
  113. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_1.yml +34 -34
  114. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_2.yml +34 -34
  115. data/spec/cassettes/FatZebra_Paypal_Authorization/_capture/returns_a_new_capture_record.yml +45 -0
  116. data/spec/cassettes/FatZebra_Paypal_Authorization/_find/when_found/returns_authorization.yml +46 -0
  117. data/spec/cassettes/FatZebra_Paypal_Authorization/_search/with_date_filter/returns_records_created_after_start_date.yml +46 -0
  118. data/spec/cassettes/FatZebra_Paypal_Authorization/_void/returns_a_voided_capture_record.yml +44 -0
  119. data/spec/cassettes/FatZebra_Paypal_BillingAgreement/_charge/Valid_payload/returns_a_new_order_record.yml +48 -0
  120. data/spec/cassettes/FatZebra_Paypal_BillingAgreement/_find/when_found/returns_billing_agreement.yml +48 -0
  121. data/spec/cassettes/FatZebra_Paypal_BillingAgreement/_search/with_date_filter/returns_records_created_after_start_date.yml +48 -0
  122. data/spec/cassettes/FatZebra_Paypal_Capture/_find/when_found/returns_capture.yml +47 -0
  123. data/spec/cassettes/FatZebra_Paypal_Capture/_refund/returns_a_new_refund_record.yml +45 -0
  124. data/spec/cassettes/FatZebra_Paypal_Capture/_search/with_date_filter/returns_records_created_after_start_date.yml +49 -0
  125. data/spec/cassettes/FatZebra_Paypal_Order/_find/when_found/returns_order.yml +48 -0
  126. data/spec/cassettes/FatZebra_Paypal_Order/_search/with_date_filter/returns_orders_created_after_start_date.yml +55 -0
  127. data/spec/cassettes/FatZebra_Paypal_Refund/_find/when_found/returns_refund.yml +47 -0
  128. data/spec/cassettes/FatZebra_Paypal_Refund/_search/with_date_filter/returns_all_refund_records_created_after_start_date.yml +50 -0
  129. data/spec/cassettes/FatZebra_Purchase/_create/1_1_1.yml +9 -15
  130. data/spec/cassettes/FatZebra_Purchase/_create/1_1_10.yml +9 -15
  131. data/spec/cassettes/FatZebra_Purchase/_create/1_1_11.yml +9 -15
  132. data/spec/cassettes/FatZebra_Purchase/_create/1_1_12.yml +9 -15
  133. data/spec/cassettes/FatZebra_Purchase/_create/1_1_13.yml +9 -15
  134. data/spec/cassettes/FatZebra_Purchase/_create/1_1_2.yml +9 -15
  135. data/spec/cassettes/FatZebra_Purchase/_create/1_1_3.yml +9 -15
  136. data/spec/cassettes/FatZebra_Purchase/_create/1_1_4.yml +9 -15
  137. data/spec/cassettes/FatZebra_Purchase/_create/1_1_5.yml +9 -15
  138. data/spec/cassettes/FatZebra_Purchase/_create/1_1_6.yml +9 -15
  139. data/spec/cassettes/FatZebra_Purchase/_create/1_1_7.yml +9 -15
  140. data/spec/cassettes/FatZebra_Purchase/_create/1_1_8.yml +9 -15
  141. data/spec/cassettes/FatZebra_Purchase/_create/1_1_9.yml +9 -15
  142. data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_1.yml +11 -17
  143. data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_2.yml +11 -17
  144. data/spec/cassettes/FatZebra_Purchase/_extend_/1_9_1.yml +109 -0
  145. data/spec/cassettes/FatZebra_Purchase/_extend_/1_9_2.yml +109 -0
  146. data/spec/cassettes/FatZebra_Purchase/_extend_/1_9_3.yml +109 -0
  147. data/spec/cassettes/FatZebra_Purchase/_increment/1_10_1.yml +109 -0
  148. data/spec/cassettes/FatZebra_Purchase/_increment/1_10_2.yml +109 -0
  149. data/spec/cassettes/FatZebra_Purchase/_increment/1_10_3.yml +109 -0
  150. data/spec/cassettes/FatZebra_Purchase/_increment/1_10_4.yml +109 -0
  151. data/spec/cassettes/FatZebra_Purchase/_void/1_6_1.yml +18 -30
  152. data/spec/cassettes/FatZebra_Purchase/_void/1_6_2.yml +18 -30
  153. data/spec/cassettes/FatZebra_Purchase/_void/1_6_3.yml +18 -30
  154. data/spec/cassettes/FatZebra_Purchase/_void/1_6_4.yml +18 -30
  155. data/spec/cassettes/FatZebra_Purchase/_void/1_7_1.yml +18 -30
  156. data/spec/cassettes/FatZebra_Purchase/_void/1_7_2.yml +18 -30
  157. data/spec/cassettes/FatZebra_Purchase/_void/1_7_3.yml +18 -30
  158. data/spec/cassettes/FatZebra_Purchase/_void/1_7_4.yml +18 -30
  159. data/spec/cassettes/FatZebra_Refund/_create/1_1_1.yml +16 -16
  160. data/spec/cassettes/FatZebra_Refund/_create/1_1_10.yml +16 -16
  161. data/spec/cassettes/FatZebra_Refund/_create/1_1_2.yml +16 -16
  162. data/spec/cassettes/FatZebra_Refund/_create/1_1_3.yml +16 -16
  163. data/spec/cassettes/FatZebra_Refund/_create/1_1_4.yml +16 -16
  164. data/spec/cassettes/FatZebra_Refund/_create/1_1_5.yml +16 -16
  165. data/spec/cassettes/FatZebra_Refund/_create/1_1_6.yml +16 -16
  166. data/spec/cassettes/FatZebra_Refund/_create/1_1_7.yml +16 -16
  167. data/spec/cassettes/FatZebra_Refund/_create/1_1_8.yml +16 -16
  168. data/spec/cassettes/FatZebra_Refund/_create/1_1_9.yml +16 -16
  169. data/spec/cassettes/FatZebra_Refund/_find/1_2_1.yml +24 -24
  170. data/spec/cassettes/FatZebra_Refund/_find/1_2_2.yml +24 -24
  171. data/spec/cassettes/FatZebra_Refund/_find/1_2_3.yml +24 -24
  172. data/spec/cassettes/FatZebra_Refund/_search/responds_with_the_newly-created_refunds.yml +40 -40
  173. data/spec/cassettes/FatZebra_Refund/_void/1_4_1.yml +24 -24
  174. data/spec/cassettes/FatZebra_Refund/_void/1_4_2.yml +24 -24
  175. data/spec/cassettes/FatZebra_Refund/_void/1_4_3.yml +24 -24
  176. data/spec/cassettes/FatZebra_Refund/_void/1_4_4.yml +24 -24
  177. data/spec/cassettes/FatZebra_WebHook/_create/1_1_1.yml +7 -13
  178. data/spec/cassettes/FatZebra_WebHook/_create/1_1_2.yml +7 -13
  179. data/spec/cassettes/FatZebra_WebHook/_create/1_1_3.yml +7 -13
  180. data/spec/cassettes/FatZebra_WebHook/_delete/1_4_1.yml +15 -27
  181. data/spec/cassettes/FatZebra_WebHook/_search/1_2_1.yml +160 -133
  182. data/spec/cassettes/FatZebra_WebHook/_search/1_2_2.yml +162 -135
  183. data/spec/cassettes/FatZebra_WebHook/_update/1_3_1.yml +15 -27
  184. data/spec/cassettes/FatZebra_WebHook/_update/1_3_2.yml +15 -27
  185. data/spec/lib/fat_zebra/authenticate_spec.rb +187 -0
  186. data/spec/lib/fat_zebra/card_spec.rb +8 -0
  187. data/spec/lib/fat_zebra/paypal/authorization_spec.rb +79 -0
  188. data/spec/lib/fat_zebra/paypal/billing_agreement_spec.rb +62 -0
  189. data/spec/lib/fat_zebra/paypal/capture_spec.rb +60 -0
  190. data/spec/lib/fat_zebra/paypal/order_spec.rb +35 -0
  191. data/spec/lib/fat_zebra/paypal/refund_spec.rb +36 -0
  192. data/spec/lib/fat_zebra/purchase_spec.rb +21 -3
  193. data/spec/lib/fat_zebra/refund_spec.rb +1 -1
  194. data/spec/spec_helper.rb +0 -1
  195. data/spec/support/payloads.rb +135 -0
  196. metadata +61 -12
  197. data/spec/cassettes/FatZebra_DirectDebit/_create/validations/failed_with_non-float/1_1_5_3_1.yml +0 -52
@@ -0,0 +1,50 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://gateway.sandbox.fatzebra.com.au/v1.0//paypal/refunds?from=2020/08/05&limit=10&offset=0&test=true
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
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
+ Host:
17
+ - gateway.sandbox.fatzebra.com.au
18
+ Authorization:
19
+ - Basic VEVTVDpURVNU
20
+ Content-Type:
21
+ - application/json
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Cache-Control:
28
+ - no-store
29
+ Pragma:
30
+ - no-cache
31
+ Content-Type:
32
+ - application/json; charset=utf-8
33
+ X-Request-Version:
34
+ - 1.21.8
35
+ X-Request-Id:
36
+ - f9e0e746bb7c4611132605c0fefbd352
37
+ X-Runtime:
38
+ - '0.086558'
39
+ Transfer-Encoding:
40
+ - chunked
41
+ body:
42
+ encoding: UTF-8
43
+ string: '{"successful":true,"response":[{"id":"071-PPR-SRR9FP7ZKXT9IXU3","amount":100,"refunded":"Approved","message":"Approved","transaction_id":"071-PPR-SRR9FP7ZKXT9IXU3","currency":"AUD","successful":true,"transaction_date":"2020-08-06T23:26:56+10:00","response_code":"00","standalone":false,"note_to_payer":"test
44
+ note","invoice_id":"071-PPR-SRR9FP7ZKXT9IXU3","decimal_amount":1.0,"paypal_fee":2,"seller_payable_net_amount":98,"balance_available_for_refund":11900,"capture":"071-PPC-TUOHT8YJHBY7SBJU","order":"071-PPO-U7RRMGM3OY3V2ZMN"},{"id":"071-PPR-10HDHDI4QRHVDOGV","amount":10900,"refunded":"Approved","message":"Approved","transaction_id":"071-PPR-10HDHDI4QRHVDOGV","currency":"AUD","successful":true,"transaction_date":"2020-08-05T16:54:15+10:00","response_code":"00","standalone":false,"invoice_id":"071-PPR-10HDHDI4QRHVDOGV","decimal_amount":109.0,"paypal_fee":262,"seller_payable_net_amount":10638,"balance_available_for_refund":0,"capture":"071-PPC-JUNNKEGCHIOL1CFR","order":"071-PPO-RXFR2E6ILCIE6HKI"},{"id":"071-PPR-7BIDZCFHPCCBUSJH","amount":100,"refunded":"Approved","message":"Approved","transaction_id":"071-PPR-7BIDZCFHPCCBUSJH","currency":"AUD","successful":true,"transaction_date":"2020-08-05T11:24:24+10:00","response_code":"00","standalone":false,"note_to_payer":"refund
45
+ the rest","invoice_id":"071-PPR-7BIDZCFHPCCBUSJH","decimal_amount":1.0,"paypal_fee":2,"seller_payable_net_amount":98,"balance_available_for_refund":0,"capture":"071-PPC-JUNNKEGCHIOL1CFR","order":"071-PPO-RXFR2E6ILCIE6HKI"},{"id":"071-PPR-WXEAYHCGZY7DJYZ2","amount":1000,"refunded":"Approved","message":"Approved","transaction_id":"071-PPR-WXEAYHCGZY7DJYZ2","currency":"AUD","successful":true,"transaction_date":"2020-08-05T10:46:21+10:00","response_code":"00","standalone":false,"note_to_payer":"refund
46
+ the rest","invoice_id":"071-PPR-WXEAYHCGZY7DJYZ2","decimal_amount":10.0,"paypal_fee":24,"seller_payable_net_amount":976,"balance_available_for_refund":0,"capture":"071-PPC-RBJV9SSA7PWXVXFB","order":"071-PPO-5ICGTHBIMG9T7D4I"},{"id":"071-PPR-6FOW2YDJYBPSDBNB","amount":100,"refunded":"Approved","message":"Approved","transaction_id":"071-PPR-6FOW2YDJYBPSDBNB","currency":"AUD","successful":true,"transaction_date":"2020-08-05T10:40:07+10:00","response_code":"00","standalone":false,"note_to_payer":"refund
47
+ billing agreement","invoice_id":"071-PPR-6FOW2YDJYBPSDBNB","decimal_amount":1.0,"paypal_fee":2,"seller_payable_net_amount":98,"balance_available_for_refund":0,"capture":"071-PPC-RBJV9SSA7PWXVXFB","order":"071-PPO-5ICGTHBIMG9T7D4I"}],"errors":[],"test":true,"records":5,"total_records":5,"page":1,"total_pages":1}'
48
+ http_version:
49
+ recorded_at: Fri, 07 Aug 2020 00:03:14 GMT
50
+ recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ 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":"cddba16cb920bd82e017fd930bfa574d","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
8
+ string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"93b5b583ca93811c90b7c187a57344b0","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Tue, 08 May 2018 11:07:11 GMT
26
+ - Mon, 29 Apr 2019 09:24:12 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,25 +35,19 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3186@7b619da
38
+ - 1.16.9-3941@c1d8236
39
+ X-Runtime:
40
+ - '0.560778'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - 5041a1ea95ecbdfa4c223038
45
- X-Runtime:
46
- - '0.558264'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - d1d34186adbe97ca036b8e67
51
45
  X-Backend:
52
46
  - sbox-priv-gateway-a
53
47
  body:
54
48
  encoding: UTF-8
55
- string: '{"successful":true,"response":{"authorization":"743462","id":"071-P-IQNQ61YJ","card_number":"512345XXXXXX2346","card_holder":"Matthew
56
- Savage","card_expiry":"2030-02-28","card_token":"fke8mwv5","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"cddba16cb920bd82e017fd930bfa574d","currency":"AUD","transaction_id":"071-P-IQNQ61YJ","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:11.238+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PIQNQ61YJ","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"authorization":"945272","id":"071-P-1VQZVNTX","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
+ Savage","card_expiry":"2030-02-28","card_token":"ybmdvs1611pq5l1gl8g4","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"93b5b583ca93811c90b7c187a57344b0","currency":"AUD","transaction_id":"071-P-1VQZVNTX","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:24:11+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P1VQZVNTX","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
57
51
  http_version:
58
- recorded_at: Tue, 08 May 2018 11:07:11 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:24:12 GMT
59
53
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ 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":"9786440a1ad895d6710c423117d4134e","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
8
+ string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"873bc623afb430116b41adf9295f1838","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Tue, 08 May 2018 11:07:16 GMT
26
+ - Mon, 29 Apr 2019 09:24:18 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,25 +35,19 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3186@7b619da
38
+ - 1.16.9-3941@c1d8236
39
+ X-Runtime:
40
+ - '0.555540'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - 5d51d64aba418dcbbf9abbbb
45
- X-Runtime:
46
- - '0.498044'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - f1a89f2218e0376d9ba4af81
51
45
  X-Backend:
52
46
  - sbox-priv-gateway-a
53
47
  body:
54
48
  encoding: UTF-8
55
- string: '{"successful":true,"response":{"authorization":"162370","id":"071-P-TJ3QR9XL","card_number":"512345XXXXXX2346","card_holder":"Matthew
56
- Savage","card_expiry":"2030-02-28","card_token":"fke8li1c","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"9786440a1ad895d6710c423117d4134e","currency":"AUD","transaction_id":"071-P-TJ3QR9XL","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:16.817+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PTJ3QR9XL","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"authorization":"115804","id":"071-P-8MCMMO51","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
+ Savage","card_expiry":"2030-02-28","card_token":"rakijmcyp4ilzft5b10w","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"873bc623afb430116b41adf9295f1838","currency":"AUD","transaction_id":"071-P-8MCMMO51","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:24:17+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P8MCMMO51","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
57
51
  http_version:
58
- recorded_at: Tue, 08 May 2018 11:07:16 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:24:18 GMT
59
53
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ 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":"6cf8b05f39ded571e8ec377e45b3093d","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
8
+ string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"64e3214f884c96877f58cf93358924a0","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Tue, 08 May 2018 11:07:17 GMT
26
+ - Mon, 29 Apr 2019 09:24:18 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,25 +35,19 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3186@7b619da
38
+ - 1.16.9-3941@c1d8236
39
+ X-Runtime:
40
+ - '0.541613'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - 878544604af7d55a671e01f2
45
- X-Runtime:
46
- - '0.668878'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - 10841c34dba885e079c976d0
51
45
  X-Backend:
52
46
  - sbox-priv-gateway-a
53
47
  body:
54
48
  encoding: UTF-8
55
- string: '{"successful":true,"response":{"authorization":"347074","id":"071-P-6CWFZDAH","card_number":"512345XXXXXX2346","card_holder":"Matthew
56
- Savage","card_expiry":"2030-02-28","card_token":"fke8jpav","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"6cf8b05f39ded571e8ec377e45b3093d","currency":"AUD","transaction_id":"071-P-6CWFZDAH","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:17.403+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P6CWFZDAH","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"authorization":"252620","id":"071-P-34BE0QT3","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
+ Savage","card_expiry":"2030-02-28","card_token":"n19mzoid6koayqw1b36h","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"64e3214f884c96877f58cf93358924a0","currency":"AUD","transaction_id":"071-P-34BE0QT3","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:24:18+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P34BE0QT3","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
57
51
  http_version:
58
- recorded_at: Tue, 08 May 2018 11:07:17 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:24:18 GMT
59
53
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ 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":"e5e3e48fd20fbd80ff3117c25f487bd9","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
8
+ string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"468f4a4e5b81dc4213e3e9acd2d190a5","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Tue, 08 May 2018 11:07:18 GMT
26
+ - Mon, 29 Apr 2019 09:24:19 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,25 +35,19 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3186@7b619da
38
+ - 1.16.9-3941@c1d8236
39
+ X-Runtime:
40
+ - '0.553527'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - 36c1c3b276abd96cc5c940bc
45
- X-Runtime:
46
- - '0.491498'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - 365d89deefda26a523beced7
51
45
  X-Backend:
52
46
  - sbox-priv-gateway-a
53
47
  body:
54
48
  encoding: UTF-8
55
- string: '{"successful":true,"response":{"authorization":"134552","id":"071-P-U5QMNFYL","card_number":"512345XXXXXX2346","card_holder":"Matthew
56
- Savage","card_expiry":"2030-02-28","card_token":"fke8njdc","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"e5e3e48fd20fbd80ff3117c25f487bd9","currency":"AUD","transaction_id":"071-P-U5QMNFYL","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:18.140+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PU5QMNFYL","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"authorization":"443496","id":"071-P-6QJGB52N","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
+ Savage","card_expiry":"2030-02-28","card_token":"dt6amuap5lzhwpd15u89","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"468f4a4e5b81dc4213e3e9acd2d190a5","currency":"AUD","transaction_id":"071-P-6QJGB52N","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:24:19+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P6QJGB52N","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
57
51
  http_version:
58
- recorded_at: Tue, 08 May 2018 11:07:18 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:24:19 GMT
59
53
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ 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":"94aec2f3b1995cd3a11e3154059da890","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
8
+ string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"573740ed27f195ffe1743a3ff3cae128","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Tue, 08 May 2018 11:07:18 GMT
26
+ - Mon, 29 Apr 2019 09:24:19 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,25 +35,19 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3186@7b619da
38
+ - 1.16.9-3941@c1d8236
39
+ X-Runtime:
40
+ - '0.602284'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - f190b0accbe03e06385dc964
45
- X-Runtime:
46
- - '0.533924'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - 8bbb4c1c064484ecb113953c
51
45
  X-Backend:
52
46
  - sbox-priv-gateway-a
53
47
  body:
54
48
  encoding: UTF-8
55
- string: '{"successful":true,"response":{"authorization":"443997","id":"071-P-L9T9CEH6","card_number":"512345XXXXXX2346","card_holder":"Matthew
56
- Savage","card_expiry":"2030-02-28","card_token":"fke8tjxy","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"94aec2f3b1995cd3a11e3154059da890","currency":"AUD","transaction_id":"071-P-L9T9CEH6","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:18.748+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PL9T9CEH6","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"authorization":"819612","id":"071-P-JW0DCOK3","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
+ Savage","card_expiry":"2030-02-28","card_token":"vpgxfrivc11zrq3j4xw8","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"573740ed27f195ffe1743a3ff3cae128","currency":"AUD","transaction_id":"071-P-JW0DCOK3","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:24:19+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PJW0DCOK3","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
57
51
  http_version:
58
- recorded_at: Tue, 08 May 2018 11:07:18 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:24:20 GMT
59
53
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ 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":"14e8390b5ccd8082a95e69c1f7c14414","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
8
+ string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"30bce9c5cbe875ccc5bc4c6a387a434b","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Tue, 08 May 2018 11:07:12 GMT
26
+ - Mon, 29 Apr 2019 09:24:12 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,25 +35,19 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3186@7b619da
38
+ - 1.16.9-3941@c1d8236
39
+ X-Runtime:
40
+ - '0.550783'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - a20bead0e806ad812ed58204
45
- X-Runtime:
46
- - '0.522243'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - bed5eedf6a6d1ce75737812a
51
45
  X-Backend:
52
46
  - sbox-priv-gateway-a
53
47
  body:
54
48
  encoding: UTF-8
55
- string: '{"successful":true,"response":{"authorization":"941090","id":"071-P-IDQCYM9","card_number":"512345XXXXXX2346","card_holder":"Matthew
56
- Savage","card_expiry":"2030-02-28","card_token":"fke8ip95","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"14e8390b5ccd8082a95e69c1f7c14414","currency":"AUD","transaction_id":"071-P-IDQCYM9","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:11.919+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PIDQCYM9","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"authorization":"106389","id":"071-P-10GJTZKS","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
+ Savage","card_expiry":"2030-02-28","card_token":"cpieik1l904s00irfuan","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"30bce9c5cbe875ccc5bc4c6a387a434b","currency":"AUD","transaction_id":"071-P-10GJTZKS","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:24:12+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P10GJTZKS","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
57
51
  http_version:
58
- recorded_at: Tue, 08 May 2018 11:07:12 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:24:12 GMT
59
53
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ 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":"2c0d4e9416f4e43db3c23c5d9c5ad1d0","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
8
+ string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"84855cfdf789f2ed812008238ddfbc23","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Tue, 08 May 2018 11:07:12 GMT
26
+ - Mon, 29 Apr 2019 09:24:13 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,25 +35,19 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3186@7b619da
38
+ - 1.16.9-3941@c1d8236
39
+ X-Runtime:
40
+ - '0.558887'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - 286f8923b4cb92cc0ad576f0
45
- X-Runtime:
46
- - '0.582409'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - 3337da94d8e03c4849163e00
51
45
  X-Backend:
52
46
  - sbox-priv-gateway-a
53
47
  body:
54
48
  encoding: UTF-8
55
- string: '{"successful":true,"response":{"authorization":"836593","id":"071-P-5JVMWJOV","card_number":"512345XXXXXX2346","card_holder":"Matthew
56
- Savage","card_expiry":"2030-02-28","card_token":"fke8z9fo","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"2c0d4e9416f4e43db3c23c5d9c5ad1d0","currency":"AUD","transaction_id":"071-P-5JVMWJOV","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:12.515+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P5JVMWJOV","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"authorization":"944843","id":"071-P-ACQLH4TL","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
+ Savage","card_expiry":"2030-02-28","card_token":"3meq9txrgjnp1xl6mxam","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"84855cfdf789f2ed812008238ddfbc23","currency":"AUD","transaction_id":"071-P-ACQLH4TL","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:24:13+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PACQLH4TL","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
57
51
  http_version:
58
- recorded_at: Tue, 08 May 2018 11:07:12 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:24:13 GMT
59
53
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ 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":"8e9fe28dc64930c2618c79fcd7fa7e36","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
8
+ string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"79c6d2ced75742f7e3d11345da75ccfa","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
9
9
  headers:
10
10
  Accept-Encoding:
11
11
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Tue, 08 May 2018 11:07:13 GMT
26
+ - Mon, 29 Apr 2019 09:24:14 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,25 +35,19 @@ http_interactions:
35
35
  Cache-Control:
36
36
  - no-store
37
37
  X-Request-Version:
38
- - 1.16.9-3186@7b619da
38
+ - 1.16.9-3941@c1d8236
39
+ X-Runtime:
40
+ - '0.671423'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - 2b9208dabb34e3aaee290bc9
45
- X-Runtime:
46
- - '0.530301'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - eb540d2875e96cf44a0d1a98
51
45
  X-Backend:
52
46
  - sbox-priv-gateway-a
53
47
  body:
54
48
  encoding: UTF-8
55
- string: '{"successful":true,"response":{"authorization":"961373","id":"071-P-UV0TOHMX","card_number":"512345XXXXXX2346","card_holder":"Matthew
56
- Savage","card_expiry":"2030-02-28","card_token":"fke8gxnv","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"8e9fe28dc64930c2618c79fcd7fa7e36","currency":"AUD","transaction_id":"071-P-UV0TOHMX","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:13.182+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PUV0TOHMX","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
49
+ string: '{"successful":true,"response":{"authorization":"354542","id":"071-P-19U287CM","card_number":"512345XXXXXX2346","card_holder":"Matthew
50
+ Savage","card_expiry":"2030-02-28","card_token":"rv2pkc7d4fonf3rjowdr","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"79c6d2ced75742f7e3d11345da75ccfa","currency":"AUD","transaction_id":"071-P-19U287CM","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:24:13+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P19U287CM","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
57
51
  http_version:
58
- recorded_at: Tue, 08 May 2018 11:07:13 GMT
52
+ recorded_at: Mon, 29 Apr 2019 09:24:14 GMT
59
53
  recorded_with: VCR 3.0.3