fat_zebra 3.1.0 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +1 -1
  3. data/lib/fat_zebra.rb +1 -0
  4. data/lib/fat_zebra/authorise.rb +49 -0
  5. data/lib/fat_zebra/version.rb +1 -1
  6. data/spec/cassettes/FatZebra_Authorise/_authorise/with_challenge_response/1_2_3_1.yml +48 -0
  7. data/spec/cassettes/FatZebra_Authorise/_authorise/with_challenge_response/1_2_3_2.yml +48 -0
  8. data/spec/cassettes/FatZebra_Authorise/_authorise/with_frictionless_response/1_2_2_1.yml +48 -0
  9. data/spec/cassettes/FatZebra_Authorise/_authorise/with_frictionless_response/1_2_2_2.yml +48 -0
  10. data/spec/cassettes/FatZebra_Authorise/_authorise/with_invalid_input/1_2_1_1.yml +50 -0
  11. data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_given_params.yml +46 -0
  12. data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_no_params.yml +46 -0
  13. data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_some_params.yml +46 -0
  14. data/spec/cassettes/FatZebra_BankAccount/_create/1_1_1.yml +8 -14
  15. data/spec/cassettes/FatZebra_BankAccount/_create/1_1_2.yml +8 -14
  16. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_1.yml +30 -30
  17. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_2.yml +30 -30
  18. data/spec/cassettes/FatZebra_BankAccount/_search/1_2_3.yml +30 -30
  19. data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_1.yml +11 -17
  20. data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_2.yml +11 -17
  21. data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_1.yml +11 -17
  22. data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_2.yml +11 -17
  23. data/spec/cassettes/FatZebra_Batch/_find/1_2_1.yml +19 -31
  24. data/spec/cassettes/FatZebra_Batch/_find/1_2_2.yml +19 -31
  25. data/spec/cassettes/FatZebra_Batch/_result/1_4_1.yml +26 -44
  26. data/spec/cassettes/FatZebra_Batch/_search/1_3_1.yml +6 -6
  27. data/spec/cassettes/FatZebra_Batch/_search/1_3_2.yml +6 -6
  28. data/spec/cassettes/FatZebra_Batch/_search/1_3_3.yml +6 -6
  29. data/spec/cassettes/FatZebra_Card/_create/1_1_1.yml +7 -13
  30. data/spec/cassettes/FatZebra_Card/_create/1_1_2.yml +7 -13
  31. data/spec/cassettes/FatZebra_Card/_create/1_1_3.yml +7 -13
  32. data/spec/cassettes/FatZebra_Card/_create/1_1_4.yml +7 -13
  33. data/spec/cassettes/FatZebra_Card/_create/1_1_5.yml +7 -13
  34. data/spec/cassettes/FatZebra_Card/_create/1_1_6.yml +7 -13
  35. data/spec/cassettes/FatZebra_Card/_update/1_2_1.yml +15 -27
  36. data/spec/cassettes/FatZebra_Card/_update/1_2_2.yml +15 -27
  37. data/spec/cassettes/FatZebra_Card/_update/1_2_3.yml +15 -27
  38. data/spec/cassettes/FatZebra_Card/_update/validations/1_2_4_1.yml +7 -13
  39. data/spec/cassettes/FatZebra_Customer/_create/1_1_1.yml +9 -15
  40. data/spec/cassettes/FatZebra_Customer/_create/1_1_2.yml +9 -15
  41. data/spec/cassettes/FatZebra_Customer/_create/1_1_3.yml +9 -15
  42. data/spec/cassettes/FatZebra_Customer/_create/1_1_4.yml +9 -15
  43. data/spec/cassettes/FatZebra_Customer/_create/1_1_5.yml +9 -15
  44. data/spec/cassettes/FatZebra_Customer/_create/1_1_6.yml +9 -15
  45. data/spec/cassettes/FatZebra_Customer/_delete/1_5_1.yml +18 -30
  46. data/spec/cassettes/FatZebra_Customer/_find/1_3_1.yml +18 -30
  47. data/spec/cassettes/FatZebra_Customer/_find/1_3_2.yml +18 -30
  48. data/spec/cassettes/FatZebra_Customer/_search/1_2_1.yml +12 -16
  49. data/spec/cassettes/FatZebra_Customer/_search/1_2_2.yml +12 -16
  50. data/spec/cassettes/FatZebra_Customer/_search/1_2_3.yml +12 -16
  51. data/spec/cassettes/FatZebra_Customer/_update/1_4_1.yml +19 -31
  52. data/spec/cassettes/FatZebra_Customer/_update/1_4_2.yml +19 -31
  53. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_1.yml +8 -14
  54. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_2.yml +8 -14
  55. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_3.yml +8 -14
  56. data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_4.yml +8 -14
  57. data/spec/cassettes/FatZebra_DirectCredit/_create/validations/valid/1_1_5_1_1.yml +7 -13
  58. data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_1.yml +16 -28
  59. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_1.yml +16 -28
  60. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_2.yml +16 -28
  61. data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_3.yml +13 -13
  62. data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_1.yml +20 -20
  63. data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_2.yml +20 -20
  64. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_1.yml +8 -14
  65. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_2.yml +8 -14
  66. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_3.yml +8 -14
  67. data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_4.yml +8 -14
  68. data/spec/cassettes/FatZebra_DirectDebit/_create/validations/valid/1_1_5_1_1.yml +7 -13
  69. data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_1.yml +16 -28
  70. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_1.yml +16 -28
  71. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_2.yml +16 -28
  72. data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_3.yml +13 -13
  73. data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_1.yml +20 -20
  74. data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_2.yml +20 -20
  75. data/spec/cassettes/FatZebra_Information/_ping/1_1_1.yml +7 -13
  76. data/spec/cassettes/FatZebra_Information/_ping/1_1_2.yml +7 -13
  77. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_1.yml +48 -48
  78. data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_2.yml +48 -48
  79. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_1.yml +20 -20
  80. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_2.yml +20 -20
  81. data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_3.yml +20 -20
  82. data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_1.yml +28 -28
  83. data/spec/cassettes/FatZebra_PaymentPlan/_destroy/1_6_1.yml +28 -28
  84. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_1.yml +32 -32
  85. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_2.yml +32 -32
  86. data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_3.yml +32 -32
  87. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_1.yml +34 -34
  88. data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_2.yml +34 -34
  89. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_1.yml +28 -28
  90. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_2.yml +28 -28
  91. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_3.yml +28 -28
  92. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_1.yml +34 -34
  93. data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_2.yml +34 -34
  94. data/spec/cassettes/FatZebra_Purchase/_create/1_1_1.yml +9 -15
  95. data/spec/cassettes/FatZebra_Purchase/_create/1_1_10.yml +9 -15
  96. data/spec/cassettes/FatZebra_Purchase/_create/1_1_11.yml +9 -15
  97. data/spec/cassettes/FatZebra_Purchase/_create/1_1_12.yml +9 -15
  98. data/spec/cassettes/FatZebra_Purchase/_create/1_1_13.yml +9 -15
  99. data/spec/cassettes/FatZebra_Purchase/_create/1_1_2.yml +9 -15
  100. data/spec/cassettes/FatZebra_Purchase/_create/1_1_3.yml +9 -15
  101. data/spec/cassettes/FatZebra_Purchase/_create/1_1_4.yml +9 -15
  102. data/spec/cassettes/FatZebra_Purchase/_create/1_1_5.yml +9 -15
  103. data/spec/cassettes/FatZebra_Purchase/_create/1_1_6.yml +9 -15
  104. data/spec/cassettes/FatZebra_Purchase/_create/1_1_7.yml +9 -15
  105. data/spec/cassettes/FatZebra_Purchase/_create/1_1_8.yml +9 -15
  106. data/spec/cassettes/FatZebra_Purchase/_create/1_1_9.yml +9 -15
  107. data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_1.yml +11 -17
  108. data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_2.yml +11 -17
  109. data/spec/cassettes/FatZebra_Purchase/_void/1_6_1.yml +18 -30
  110. data/spec/cassettes/FatZebra_Purchase/_void/1_6_2.yml +18 -30
  111. data/spec/cassettes/FatZebra_Purchase/_void/1_6_3.yml +18 -30
  112. data/spec/cassettes/FatZebra_Purchase/_void/1_6_4.yml +18 -30
  113. data/spec/cassettes/FatZebra_Purchase/_void/1_7_1.yml +18 -30
  114. data/spec/cassettes/FatZebra_Purchase/_void/1_7_2.yml +18 -30
  115. data/spec/cassettes/FatZebra_Purchase/_void/1_7_3.yml +18 -30
  116. data/spec/cassettes/FatZebra_Purchase/_void/1_7_4.yml +18 -30
  117. data/spec/cassettes/FatZebra_Refund/_create/1_1_1.yml +16 -16
  118. data/spec/cassettes/FatZebra_Refund/_create/1_1_10.yml +16 -16
  119. data/spec/cassettes/FatZebra_Refund/_create/1_1_2.yml +16 -16
  120. data/spec/cassettes/FatZebra_Refund/_create/1_1_3.yml +16 -16
  121. data/spec/cassettes/FatZebra_Refund/_create/1_1_4.yml +16 -16
  122. data/spec/cassettes/FatZebra_Refund/_create/1_1_5.yml +16 -16
  123. data/spec/cassettes/FatZebra_Refund/_create/1_1_6.yml +16 -16
  124. data/spec/cassettes/FatZebra_Refund/_create/1_1_7.yml +16 -16
  125. data/spec/cassettes/FatZebra_Refund/_create/1_1_8.yml +16 -16
  126. data/spec/cassettes/FatZebra_Refund/_create/1_1_9.yml +16 -16
  127. data/spec/cassettes/FatZebra_Refund/_find/1_2_1.yml +24 -24
  128. data/spec/cassettes/FatZebra_Refund/_find/1_2_2.yml +24 -24
  129. data/spec/cassettes/FatZebra_Refund/_find/1_2_3.yml +24 -24
  130. data/spec/cassettes/FatZebra_Refund/_search/responds_with_the_newly-created_refunds.yml +40 -40
  131. data/spec/cassettes/FatZebra_Refund/_void/1_4_1.yml +24 -24
  132. data/spec/cassettes/FatZebra_Refund/_void/1_4_2.yml +24 -24
  133. data/spec/cassettes/FatZebra_Refund/_void/1_4_3.yml +24 -24
  134. data/spec/cassettes/FatZebra_Refund/_void/1_4_4.yml +24 -24
  135. data/spec/cassettes/FatZebra_WebHook/_create/1_1_1.yml +7 -13
  136. data/spec/cassettes/FatZebra_WebHook/_create/1_1_2.yml +7 -13
  137. data/spec/cassettes/FatZebra_WebHook/_create/1_1_3.yml +7 -13
  138. data/spec/cassettes/FatZebra_WebHook/_delete/1_4_1.yml +15 -27
  139. data/spec/cassettes/FatZebra_WebHook/_search/1_2_1.yml +160 -133
  140. data/spec/cassettes/FatZebra_WebHook/_search/1_2_2.yml +162 -135
  141. data/spec/cassettes/FatZebra_WebHook/_update/1_3_1.yml +15 -27
  142. data/spec/cassettes/FatZebra_WebHook/_update/1_3_2.yml +15 -27
  143. data/spec/lib/fat_zebra/authorise_spec.rb +101 -0
  144. data/spec/lib/fat_zebra/purchase_spec.rb +3 -3
  145. data/spec/lib/fat_zebra/refund_spec.rb +1 -1
  146. data/spec/support/payloads.rb +42 -0
  147. metadata +13 -4
  148. data/spec/cassettes/FatZebra_DirectDebit/_create/validations/failed_with_non-float/1_1_5_3_1.yml +0 -52
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Tue, 08 May 2018 11:06:39 GMT
26
+ - Mon, 29 Apr 2019 09:16:43 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,31 +35,25 @@ 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.452420'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - e41b7ffa68c4f120435fcf3a
45
- X-Runtime:
46
- - '0.403598'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - 59a13068b4c7d7a04be4e370
51
45
  X-Backend:
52
46
  - sbox-priv-gateway-a
53
47
  body:
54
48
  encoding: UTF-8
55
- string: '{"successful":true,"response":{"token":"fke8ju3k","card_holder":"Matthew
49
+ string: '{"successful":true,"response":{"token":"b5wauetzdlal0zjhj0ji","card_holder":"Matthew
56
50
  Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","card_issuer":"Banco
57
51
  Del Pichincha, C.A.","card_country":"Ecuador","authorized":true,"transaction_count":0,"alias":null},"errors":[],"test":true}'
58
52
  http_version:
59
- recorded_at: Tue, 08 May 2018 11:06:39 GMT
53
+ recorded_at: Mon, 29 Apr 2019 09:16:44 GMT
60
54
  - request:
61
55
  method: put
62
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/credit_cards/fke8ju3k
56
+ uri: https://gateway.sandbox.fatzebra.com.au/v1.0/credit_cards/b5wauetzdlal0zjhj0ji
63
57
  body:
64
58
  encoding: UTF-8
65
59
  string: '{"card_expiry":"02/2050","test":true}'
@@ -80,7 +74,7 @@ http_interactions:
80
74
  message: OK
81
75
  headers:
82
76
  Date:
83
- - Tue, 08 May 2018 11:06:40 GMT
77
+ - Mon, 29 Apr 2019 09:16:44 GMT
84
78
  Content-Type:
85
79
  - application/json; charset=utf-8
86
80
  Transfer-Encoding:
@@ -92,26 +86,20 @@ http_interactions:
92
86
  Cache-Control:
93
87
  - no-store
94
88
  X-Request-Version:
95
- - 1.16.9-3186@7b619da
89
+ - 1.16.9-3941@c1d8236
90
+ X-Runtime:
91
+ - '0.036437'
96
92
  Pragma:
97
93
  - no-cache
98
- X-Xss-Protection:
99
- - 1; mode=block
100
94
  X-Request-Id:
101
- - fb02c0b4bf664a2c451103fe
102
- X-Runtime:
103
- - '0.032666'
104
- X-Frame-Options:
105
- - SAMEORIGIN
106
- X-Content-Type-Options:
107
- - nosniff
95
+ - e7f5c1d8000ae5c4f303fa9c
108
96
  X-Backend:
109
97
  - sbox-priv-gateway-a
110
98
  body:
111
99
  encoding: UTF-8
112
- string: '{"successful":true,"response":{"token":"fke8ju3k","card_holder":"Matthew
100
+ string: '{"successful":true,"response":{"token":"b5wauetzdlal0zjhj0ji","card_holder":"Matthew
113
101
  Savage","card_number":"512345XXXXXX2346","card_expiry":"2050-02-28","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","card_issuer":"Banco
114
102
  Del Pichincha, C.A.","card_country":"Ecuador","authorized":true,"transaction_count":0,"alias":null},"errors":[],"test":true}'
115
103
  http_version:
116
- recorded_at: Tue, 08 May 2018 11:06:40 GMT
104
+ recorded_at: Mon, 29 Apr 2019 09:16:44 GMT
117
105
  recorded_with: VCR 3.0.3
@@ -23,7 +23,7 @@ http_interactions:
23
23
  message: OK
24
24
  headers:
25
25
  Date:
26
- - Tue, 08 May 2018 11:06:40 GMT
26
+ - Mon, 29 Apr 2019 09:16:44 GMT
27
27
  Content-Type:
28
28
  - application/json; charset=utf-8
29
29
  Transfer-Encoding:
@@ -35,26 +35,20 @@ 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.408018'
39
41
  Pragma:
40
42
  - no-cache
41
- X-Xss-Protection:
42
- - 1; mode=block
43
43
  X-Request-Id:
44
- - 2208a0a4398768cae659c438
45
- X-Runtime:
46
- - '0.421438'
47
- X-Frame-Options:
48
- - SAMEORIGIN
49
- X-Content-Type-Options:
50
- - nosniff
44
+ - 393a869bf6099ddc51dbc8ee
51
45
  X-Backend:
52
46
  - sbox-priv-gateway-a
53
47
  body:
54
48
  encoding: UTF-8
55
- string: '{"successful":true,"response":{"token":"fke8n9iw","card_holder":"Matthew
49
+ string: '{"successful":true,"response":{"token":"au6tc75j32i1ewzcs7ot","card_holder":"Matthew
56
50
  Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","card_issuer":"Banco
57
51
  Del Pichincha, C.A.","card_country":"Ecuador","authorized":true,"transaction_count":0,"alias":null},"errors":[],"test":true}'
58
52
  http_version:
59
- recorded_at: Tue, 08 May 2018 11:06:40 GMT
53
+ recorded_at: Mon, 29 Apr 2019 09:16:44 GMT
60
54
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ 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":"6a63c4473e65ba1171000e40b453064e","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"54db6e776bbea112a25bcec04132f82d","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:
@@ -25,7 +25,7 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Date:
28
- - Tue, 08 May 2018 11:06:41 GMT
28
+ - Mon, 29 Apr 2019 09:16:45 GMT
29
29
  Content-Type:
30
30
  - application/json; charset=utf-8
31
31
  Transfer-Encoding:
@@ -37,25 +37,19 @@ http_interactions:
37
37
  Cache-Control:
38
38
  - no-store
39
39
  X-Request-Version:
40
- - 1.16.9-3186@7b619da
40
+ - 1.16.9-3941@c1d8236
41
+ X-Runtime:
42
+ - '0.473187'
41
43
  Pragma:
42
44
  - no-cache
43
- X-Xss-Protection:
44
- - 1; mode=block
45
45
  X-Request-Id:
46
- - bbdb3cb13341c54c8427df04
47
- X-Runtime:
48
- - '0.451920'
49
- X-Frame-Options:
50
- - SAMEORIGIN
51
- X-Content-Type-Options:
52
- - nosniff
46
+ - 13443b8612605ed99e6c9816
53
47
  X-Backend:
54
48
  - sbox-priv-gateway-a
55
49
  body:
56
50
  encoding: UTF-8
57
- string: '{"successful":true,"response":{"id":"071-C-NDJ89VLK","email":null,"reference":"6a63c4473e65ba1171000e40b453064e","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-08T21:06:40.770+10:00","address":{"address":"1
58
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8vb36","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"id":"071-C-BO7K833F","email":null,"reference":"54db6e776bbea112a25bcec04132f82d","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:16:44+10:00","address":{"address":"1
52
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"tf0rp0zy5tjmi7pabocn","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
59
53
  http_version:
60
- recorded_at: Tue, 08 May 2018 11:06:41 GMT
54
+ recorded_at: Mon, 29 Apr 2019 09:16:45 GMT
61
55
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ 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":"f2bd5703395f4af80e7aa7a210e25763","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"3f74accbbf37188bd57da43722517902","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:
@@ -25,7 +25,7 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Date:
28
- - Tue, 08 May 2018 11:06:41 GMT
28
+ - Mon, 29 Apr 2019 09:16:45 GMT
29
29
  Content-Type:
30
30
  - application/json; charset=utf-8
31
31
  Transfer-Encoding:
@@ -37,25 +37,19 @@ http_interactions:
37
37
  Cache-Control:
38
38
  - no-store
39
39
  X-Request-Version:
40
- - 1.16.9-3186@7b619da
40
+ - 1.16.9-3941@c1d8236
41
+ X-Runtime:
42
+ - '0.476438'
41
43
  Pragma:
42
44
  - no-cache
43
- X-Xss-Protection:
44
- - 1; mode=block
45
45
  X-Request-Id:
46
- - e694bd972b365c5684221dba
47
- X-Runtime:
48
- - '0.457454'
49
- X-Frame-Options:
50
- - SAMEORIGIN
51
- X-Content-Type-Options:
52
- - nosniff
46
+ - 736c15cc54e9b67c32c05844
53
47
  X-Backend:
54
48
  - sbox-priv-gateway-a
55
49
  body:
56
50
  encoding: UTF-8
57
- string: '{"successful":true,"response":{"id":"071-C-9VV6KVT4","email":null,"reference":"f2bd5703395f4af80e7aa7a210e25763","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-08T21:06:41.368+10:00","address":{"address":"1
58
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8c92m","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"id":"071-C-T4T2GGZH","email":null,"reference":"3f74accbbf37188bd57da43722517902","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:16:45+10:00","address":{"address":"1
52
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"3zxwmlhbdjzw4mrt30c5","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
59
53
  http_version:
60
- recorded_at: Tue, 08 May 2018 11:06:41 GMT
54
+ recorded_at: Mon, 29 Apr 2019 09:16:45 GMT
61
55
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ 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":"afe8d9fa0a1489578c7c7a085ba9c693","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"cb3f2e4e0c18971cb386e2501fbdc6e8","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:
@@ -25,7 +25,7 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Date:
28
- - Tue, 08 May 2018 11:06:42 GMT
28
+ - Mon, 29 Apr 2019 09:16:46 GMT
29
29
  Content-Type:
30
30
  - application/json; charset=utf-8
31
31
  Transfer-Encoding:
@@ -37,25 +37,19 @@ http_interactions:
37
37
  Cache-Control:
38
38
  - no-store
39
39
  X-Request-Version:
40
- - 1.16.9-3186@7b619da
40
+ - 1.16.9-3941@c1d8236
41
+ X-Runtime:
42
+ - '0.473652'
41
43
  Pragma:
42
44
  - no-cache
43
- X-Xss-Protection:
44
- - 1; mode=block
45
45
  X-Request-Id:
46
- - bacaab9ea70ab84c415295aa
47
- X-Runtime:
48
- - '0.445343'
49
- X-Frame-Options:
50
- - SAMEORIGIN
51
- X-Content-Type-Options:
52
- - nosniff
46
+ - 12dfdfa10a3357335097342f
53
47
  X-Backend:
54
48
  - sbox-priv-gateway-a
55
49
  body:
56
50
  encoding: UTF-8
57
- string: '{"successful":true,"response":{"id":"071-C-35WF9NOT","email":null,"reference":"afe8d9fa0a1489578c7c7a085ba9c693","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-08T21:06:41.967+10:00","address":{"address":"1
58
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke81n24","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"id":"071-C-ZNKRRIT5","email":null,"reference":"cb3f2e4e0c18971cb386e2501fbdc6e8","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:16:45+10:00","address":{"address":"1
52
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"7tflcn3q3bpv09w0xzkd","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
59
53
  http_version:
60
- recorded_at: Tue, 08 May 2018 11:06:42 GMT
54
+ recorded_at: Mon, 29 Apr 2019 09:16:46 GMT
61
55
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ 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":"66b02c73c5743d2e4870249b41a616ec","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"e53046190de3c04ab64c7ee7241c87d7","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:
@@ -25,7 +25,7 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Date:
28
- - Tue, 08 May 2018 11:06:42 GMT
28
+ - Mon, 29 Apr 2019 09:16:46 GMT
29
29
  Content-Type:
30
30
  - application/json; charset=utf-8
31
31
  Transfer-Encoding:
@@ -37,25 +37,19 @@ http_interactions:
37
37
  Cache-Control:
38
38
  - no-store
39
39
  X-Request-Version:
40
- - 1.16.9-3186@7b619da
40
+ - 1.16.9-3941@c1d8236
41
+ X-Runtime:
42
+ - '0.480501'
41
43
  Pragma:
42
44
  - no-cache
43
- X-Xss-Protection:
44
- - 1; mode=block
45
45
  X-Request-Id:
46
- - dd5d6ac8d7c594e6e945513c
47
- X-Runtime:
48
- - '0.424585'
49
- X-Frame-Options:
50
- - SAMEORIGIN
51
- X-Content-Type-Options:
52
- - nosniff
46
+ - 854387540e0d07946be8fdd8
53
47
  X-Backend:
54
48
  - sbox-priv-gateway-a
55
49
  body:
56
50
  encoding: UTF-8
57
- string: '{"successful":true,"response":{"id":"071-C-NLWG61NH","email":null,"reference":"66b02c73c5743d2e4870249b41a616ec","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-08T21:06:42.488+10:00","address":{"address":"1
58
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8959s","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"id":"071-C-CBKT0YC7","email":null,"reference":"e53046190de3c04ab64c7ee7241c87d7","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:16:46+10:00","address":{"address":"1
52
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"bzn5a5365w34hvgwxm5p","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
59
53
  http_version:
60
- recorded_at: Tue, 08 May 2018 11:06:42 GMT
54
+ recorded_at: Mon, 29 Apr 2019 09:16:46 GMT
61
55
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ 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":"39d7e6079c56c0210479d539ca5a73d9","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"75d2058ca47b2db6d025cf42a74a3b9b","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:
@@ -25,7 +25,7 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Date:
28
- - Tue, 08 May 2018 11:06:43 GMT
28
+ - Mon, 29 Apr 2019 09:16:47 GMT
29
29
  Content-Type:
30
30
  - application/json; charset=utf-8
31
31
  Transfer-Encoding:
@@ -37,25 +37,19 @@ http_interactions:
37
37
  Cache-Control:
38
38
  - no-store
39
39
  X-Request-Version:
40
- - 1.16.9-3186@7b619da
40
+ - 1.16.9-3941@c1d8236
41
+ X-Runtime:
42
+ - '0.463382'
41
43
  Pragma:
42
44
  - no-cache
43
- X-Xss-Protection:
44
- - 1; mode=block
45
45
  X-Request-Id:
46
- - 8873e528e1f62ac493b0c8be
47
- X-Runtime:
48
- - '0.424365'
49
- X-Frame-Options:
50
- - SAMEORIGIN
51
- X-Content-Type-Options:
52
- - nosniff
46
+ - 15d11798ec158b80deb04d9c
53
47
  X-Backend:
54
48
  - sbox-priv-gateway-a
55
49
  body:
56
50
  encoding: UTF-8
57
- string: '{"successful":true,"response":{"id":"071-C-ZCFWQ3GE","email":null,"reference":"39d7e6079c56c0210479d539ca5a73d9","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-08T21:06:43.064+10:00","address":{"address":"1
58
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke88u83","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"id":"071-C-QMKP54FZ","email":null,"reference":"75d2058ca47b2db6d025cf42a74a3b9b","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:16:47+10:00","address":{"address":"1
52
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"78xdk1ts66vy46czhfrv","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
59
53
  http_version:
60
- recorded_at: Tue, 08 May 2018 11:06:43 GMT
54
+ recorded_at: Mon, 29 Apr 2019 09:16:47 GMT
61
55
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ 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":"6fda7b526a3ca9e538f0efa6ec4e6fae","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"5104699755480c8c429ee413804ce159","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:
@@ -25,7 +25,7 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Date:
28
- - Tue, 08 May 2018 11:06:44 GMT
28
+ - Mon, 29 Apr 2019 09:16:48 GMT
29
29
  Content-Type:
30
30
  - application/json; charset=utf-8
31
31
  Transfer-Encoding:
@@ -37,25 +37,19 @@ http_interactions:
37
37
  Cache-Control:
38
38
  - no-store
39
39
  X-Request-Version:
40
- - 1.16.9-3186@7b619da
40
+ - 1.16.9-3941@c1d8236
41
+ X-Runtime:
42
+ - '0.464182'
41
43
  Pragma:
42
44
  - no-cache
43
- X-Xss-Protection:
44
- - 1; mode=block
45
45
  X-Request-Id:
46
- - 7946f7b0e28512ace5522746
47
- X-Runtime:
48
- - '0.423763'
49
- X-Frame-Options:
50
- - SAMEORIGIN
51
- X-Content-Type-Options:
52
- - nosniff
46
+ - e35f49e4935b573c379eafac
53
47
  X-Backend:
54
48
  - sbox-priv-gateway-a
55
49
  body:
56
50
  encoding: UTF-8
57
- string: '{"successful":true,"response":{"id":"071-C-EVSIY4YY","email":null,"reference":"6fda7b526a3ca9e538f0efa6ec4e6fae","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-08T21:06:43.610+10:00","address":{"address":"1
58
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8mnnk","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"id":"071-C-5XZ8AEB3","email":null,"reference":"5104699755480c8c429ee413804ce159","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:16:47+10:00","address":{"address":"1
52
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"xbxcfh8kiaorczfj65ea","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
59
53
  http_version:
60
- recorded_at: Tue, 08 May 2018 11:06:44 GMT
54
+ recorded_at: Mon, 29 Apr 2019 09:16:48 GMT
61
55
  recorded_with: VCR 3.0.3
@@ -5,7 +5,7 @@ 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":"83fc595814dfd65ed0f5ced8d63c34ae","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
8
+ string: '{"first_name":"Harrold","last_name":"Humphries","reference":"fce23f145019689146194f38806198ab","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:
@@ -25,7 +25,7 @@ http_interactions:
25
25
  message: OK
26
26
  headers:
27
27
  Date:
28
- - Tue, 08 May 2018 11:06:47 GMT
28
+ - Mon, 29 Apr 2019 09:16:52 GMT
29
29
  Content-Type:
30
30
  - application/json; charset=utf-8
31
31
  Transfer-Encoding:
@@ -37,30 +37,24 @@ http_interactions:
37
37
  Cache-Control:
38
38
  - no-store
39
39
  X-Request-Version:
40
- - 1.16.9-3186@7b619da
40
+ - 1.16.9-3941@c1d8236
41
+ X-Runtime:
42
+ - '0.461589'
41
43
  Pragma:
42
44
  - no-cache
43
- X-Xss-Protection:
44
- - 1; mode=block
45
45
  X-Request-Id:
46
- - 94d3debdb59b94dcb009dea7
47
- X-Runtime:
48
- - '0.465641'
49
- X-Frame-Options:
50
- - SAMEORIGIN
51
- X-Content-Type-Options:
52
- - nosniff
46
+ - 157e1b8343a49b3dd20c5128
53
47
  X-Backend:
54
48
  - sbox-priv-gateway-a
55
49
  body:
56
50
  encoding: UTF-8
57
- string: '{"successful":true,"response":{"id":"071-C-6VQS7GMI","email":null,"reference":"83fc595814dfd65ed0f5ced8d63c34ae","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-08T21:06:47.425+10:00","address":{"address":"1
58
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8890p","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
51
+ string: '{"successful":true,"response":{"id":"071-C-UHQDP7S","email":null,"reference":"fce23f145019689146194f38806198ab","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:16:52+10:00","address":{"address":"1
52
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"uh44gq5tbcn37976aolm","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
59
53
  http_version:
60
- recorded_at: Tue, 08 May 2018 11:06:47 GMT
54
+ recorded_at: Mon, 29 Apr 2019 09:16:52 GMT
61
55
  - request:
62
56
  method: delete
63
- uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers/071-C-6VQS7GMI
57
+ uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers/071-C-UHQDP7S
64
58
  body:
65
59
  encoding: UTF-8
66
60
  string: '{"test":true}'
@@ -79,7 +73,7 @@ http_interactions:
79
73
  message: OK
80
74
  headers:
81
75
  Date:
82
- - Tue, 08 May 2018 11:06:48 GMT
76
+ - Mon, 29 Apr 2019 09:16:52 GMT
83
77
  Content-Type:
84
78
  - application/json; charset=utf-8
85
79
  Transfer-Encoding:
@@ -91,25 +85,19 @@ http_interactions:
91
85
  Cache-Control:
92
86
  - no-store
93
87
  X-Request-Version:
94
- - 1.16.9-3186@7b619da
88
+ - 1.16.9-3941@c1d8236
89
+ X-Runtime:
90
+ - '0.101810'
95
91
  Pragma:
96
92
  - no-cache
97
- X-Xss-Protection:
98
- - 1; mode=block
99
93
  X-Request-Id:
100
- - 4815a409b9c373e0ab9145a9
101
- X-Runtime:
102
- - '0.093345'
103
- X-Frame-Options:
104
- - SAMEORIGIN
105
- X-Content-Type-Options:
106
- - nosniff
94
+ - 7f81a8e4297c6298305d7c38
107
95
  X-Backend:
108
96
  - sbox-priv-gateway-a
109
97
  body:
110
98
  encoding: UTF-8
111
- string: '{"successful":true,"response":{"id":"071-C-6VQS7GMI","email":null,"reference":"83fc595814dfd65ed0f5ced8d63c34ae","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-08T21:06:47.425+10:00","address":{"address":"1
112
- Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8890p","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
99
+ string: '{"successful":true,"response":{"id":"071-C-UHQDP7S","email":null,"reference":"fce23f145019689146194f38806198ab","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:16:52+10:00","address":{"address":"1
100
+ Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"uh44gq5tbcn37976aolm","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
113
101
  http_version:
114
- recorded_at: Tue, 08 May 2018 11:06:48 GMT
102
+ recorded_at: Mon, 29 Apr 2019 09:16:52 GMT
115
103
  recorded_with: VCR 3.0.3