fat_zebra 3.0.10 → 3.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fat_zebra/batch.rb +3 -1
- data/lib/fat_zebra/version.rb +1 -1
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_1.yml +14 -10
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_2.yml +14 -10
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_1.yml +52 -40
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_2.yml +52 -40
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_3.yml +52 -40
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_1.yml +17 -15
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_2.yml +17 -15
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_1.yml +17 -15
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_2.yml +17 -15
- data/spec/cassettes/FatZebra_Batch/_find/1_2_1.yml +32 -26
- data/spec/cassettes/FatZebra_Batch/_find/1_2_2.yml +32 -26
- data/spec/cassettes/FatZebra_Batch/_result/1_4_1.yml +47 -37
- data/spec/cassettes/FatZebra_Batch/_search/1_3_1.yml +14 -10
- data/spec/cassettes/FatZebra_Batch/_search/1_3_2.yml +14 -10
- data/spec/cassettes/FatZebra_Batch/_search/1_3_3.yml +14 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_1.yml +14 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_2.yml +14 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_3.yml +14 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_4.yml +14 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_5.yml +14 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_6.yml +14 -10
- data/spec/cassettes/FatZebra_Card/_update/1_2_1.yml +28 -20
- data/spec/cassettes/FatZebra_Card/_update/1_2_2.yml +28 -20
- data/spec/cassettes/FatZebra_Card/_update/1_2_3.yml +28 -20
- data/spec/cassettes/FatZebra_Card/_update/validations/1_2_4_1.yml +14 -10
- data/spec/cassettes/FatZebra_Customer/_create/1_1_1.yml +15 -11
- data/spec/cassettes/FatZebra_Customer/_create/1_1_2.yml +15 -11
- data/spec/cassettes/FatZebra_Customer/_create/1_1_3.yml +15 -11
- data/spec/cassettes/FatZebra_Customer/_create/1_1_4.yml +15 -11
- data/spec/cassettes/FatZebra_Customer/_create/1_1_5.yml +15 -11
- data/spec/cassettes/FatZebra_Customer/_create/1_1_6.yml +15 -11
- data/spec/cassettes/FatZebra_Customer/_delete/1_5_1.yml +30 -22
- data/spec/cassettes/FatZebra_Customer/_find/1_3_1.yml +31 -23
- data/spec/cassettes/FatZebra_Customer/_find/1_3_2.yml +31 -23
- data/spec/cassettes/FatZebra_Customer/_search/1_2_1.yml +24 -20
- data/spec/cassettes/FatZebra_Customer/_search/1_2_2.yml +24 -20
- data/spec/cassettes/FatZebra_Customer/_search/1_2_3.yml +24 -20
- data/spec/cassettes/FatZebra_Customer/_update/1_4_1.yml +31 -23
- data/spec/cassettes/FatZebra_Customer/_update/1_4_2.yml +31 -23
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_1.yml +13 -9
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_2.yml +13 -9
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_3.yml +13 -9
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_4.yml +13 -9
- data/spec/cassettes/FatZebra_DirectCredit/_create/validations/valid/1_1_5_1_1.yml +13 -9
- data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_1.yml +27 -19
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_1.yml +28 -20
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_2.yml +28 -20
- data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_1.yml +40 -28
- data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_2.yml +40 -28
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_1.yml +13 -9
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_2.yml +13 -9
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_3.yml +13 -9
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_4.yml +13 -9
- data/spec/cassettes/FatZebra_DirectDebit/_create/validations/valid/1_1_5_1_1.yml +13 -9
- data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_1.yml +27 -19
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_1.yml +28 -20
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_2.yml +28 -20
- data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_1.yml +40 -28
- data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_2.yml +40 -28
- data/spec/cassettes/FatZebra_Information/_ping/1_1_1.yml +14 -10
- data/spec/cassettes/FatZebra_Information/_ping/1_1_2.yml +14 -10
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_1.yml +76 -60
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_2.yml +76 -60
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_1.yml +34 -26
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_2.yml +34 -26
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_3.yml +34 -26
- data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_1.yml +49 -37
- data/spec/cassettes/FatZebra_PaymentPlan/_destroy/1_6_1.yml +49 -37
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_1.yml +54 -42
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_2.yml +54 -42
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_3.yml +54 -42
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_1.yml +55 -43
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_2.yml +55 -43
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_1.yml +49 -37
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_2.yml +49 -37
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_3.yml +49 -37
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_1.yml +55 -43
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_2.yml +55 -43
- data/spec/cassettes/FatZebra_Purchase/_capture/1_5_1.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_capture/1_5_2.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_capture/1_5_3.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_1.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_10.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_11.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_12.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_13.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_2.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_3.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_4.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_5.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_6.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_7.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_8.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_9.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_1.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_2.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_1.yml +31 -23
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_2.yml +31 -23
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_3.yml +31 -23
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_4.yml +31 -23
- data/spec/cassettes/FatZebra_Purchase/_refund/1_4_1.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_refund/1_4_2.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_refund/1_4_3.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_1.yml +54 -42
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_2.yml +54 -42
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_3.yml +54 -42
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_1.yml +523 -511
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_2.yml +523 -511
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_3.yml +523 -511
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_1.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_2.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_3.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_4.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_1.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_2.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_3.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_4.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_create/1_1_1.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_create/1_1_10.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_create/1_1_2.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_create/1_1_3.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_create/1_1_4.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_create/1_1_5.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_create/1_1_6.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_create/1_1_7.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_create/1_1_8.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_create/1_1_9.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_find/1_2_1.yml +46 -34
- data/spec/cassettes/FatZebra_Refund/_find/1_2_2.yml +46 -34
- data/spec/cassettes/FatZebra_Refund/_find/1_2_3.yml +46 -34
- data/spec/cassettes/FatZebra_Refund/_search/1_3_1.yml +82 -62
- data/spec/cassettes/FatZebra_Refund/_search/1_3_2.yml +82 -62
- data/spec/cassettes/FatZebra_Refund/_void/1_4_1.yml +45 -33
- data/spec/cassettes/FatZebra_Refund/_void/1_4_2.yml +45 -33
- data/spec/cassettes/FatZebra_Refund/_void/1_4_3.yml +45 -33
- data/spec/cassettes/FatZebra_Refund/_void/1_4_4.yml +45 -33
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_1.yml +13 -9
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_2.yml +13 -9
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_3.yml +13 -9
- data/spec/cassettes/FatZebra_WebHook/_delete/1_4_1.yml +27 -19
- data/spec/cassettes/FatZebra_WebHook/_search/1_2_1.yml +93 -45
- data/spec/cassettes/FatZebra_WebHook/_search/1_2_2.yml +95 -47
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_1.yml +27 -19
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_2.yml +27 -19
- metadata +2 -2
@@ -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":"
|
8
|
+
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"c0e3af0ad90456a5be7b0df85224ceeb","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
|
-
-
|
26
|
+
- Tue, 08 May 2018 11:07:38 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -32,32 +32,36 @@ http_interactions:
|
|
32
32
|
- keep-alive
|
33
33
|
Status:
|
34
34
|
- 200 OK
|
35
|
-
X-Rack-Cache:
|
36
|
-
- invalidate, pass
|
37
35
|
Cache-Control:
|
38
36
|
- no-store
|
39
37
|
X-Request-Version:
|
40
|
-
- 1.16.9-
|
41
|
-
X-Runtime:
|
42
|
-
- '0.552681'
|
38
|
+
- 1.16.9-3186@7b619da
|
43
39
|
Pragma:
|
44
40
|
- no-cache
|
41
|
+
X-Xss-Protection:
|
42
|
+
- 1; mode=block
|
45
43
|
X-Request-Id:
|
46
|
-
-
|
44
|
+
- b843b77cd2d0934093324b2e
|
45
|
+
X-Runtime:
|
46
|
+
- '0.522886'
|
47
|
+
X-Frame-Options:
|
48
|
+
- SAMEORIGIN
|
49
|
+
X-Content-Type-Options:
|
50
|
+
- nosniff
|
47
51
|
X-Backend:
|
48
52
|
- sbox-priv-gateway-a
|
49
53
|
body:
|
50
54
|
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":{"authorization":"
|
52
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
55
|
+
string: '{"successful":true,"response":{"authorization":"347628","id":"071-P-7ETMLQ17","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8kf1b","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"c0e3af0ad90456a5be7b0df85224ceeb","currency":"AUD","transaction_id":"071-P-7ETMLQ17","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:37.968+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P7ETMLQ17","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
53
57
|
http_version:
|
54
|
-
recorded_at:
|
58
|
+
recorded_at: Tue, 08 May 2018 11:07:38 GMT
|
55
59
|
- request:
|
56
60
|
method: post
|
57
61
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/void
|
58
62
|
body:
|
59
63
|
encoding: UTF-8
|
60
|
-
string: '{"id":"071-P-
|
64
|
+
string: '{"id":"071-P-7ETMLQ17","test":true}'
|
61
65
|
headers:
|
62
66
|
Accept-Encoding:
|
63
67
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -75,7 +79,7 @@ http_interactions:
|
|
75
79
|
message: OK
|
76
80
|
headers:
|
77
81
|
Date:
|
78
|
-
-
|
82
|
+
- Tue, 08 May 2018 11:07:38 GMT
|
79
83
|
Content-Type:
|
80
84
|
- application/json; charset=utf-8
|
81
85
|
Transfer-Encoding:
|
@@ -84,24 +88,28 @@ http_interactions:
|
|
84
88
|
- keep-alive
|
85
89
|
Status:
|
86
90
|
- 200 OK
|
87
|
-
X-Rack-Cache:
|
88
|
-
- invalidate, pass
|
89
91
|
Cache-Control:
|
90
92
|
- no-store
|
91
93
|
X-Request-Version:
|
92
|
-
- 1.16.9-
|
93
|
-
X-Runtime:
|
94
|
-
- '0.101576'
|
94
|
+
- 1.16.9-3186@7b619da
|
95
95
|
Pragma:
|
96
96
|
- no-cache
|
97
|
+
X-Xss-Protection:
|
98
|
+
- 1; mode=block
|
97
99
|
X-Request-Id:
|
98
|
-
-
|
100
|
+
- d17430940dec476b925eafd6
|
101
|
+
X-Runtime:
|
102
|
+
- '0.078625'
|
103
|
+
X-Frame-Options:
|
104
|
+
- SAMEORIGIN
|
105
|
+
X-Content-Type-Options:
|
106
|
+
- nosniff
|
99
107
|
X-Backend:
|
100
108
|
- sbox-priv-gateway-a
|
101
109
|
body:
|
102
110
|
encoding: UTF-8
|
103
|
-
string: '{"successful":true,"response":{"authorization":"
|
104
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
111
|
+
string: '{"successful":true,"response":{"authorization":"347628","id":"071-P-7ETMLQ17","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
112
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8kf1b","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":false,"message":"Voided","reference":"c0e3af0ad90456a5be7b0df85224ceeb","currency":"AUD","transaction_id":"071-P-7ETMLQ17","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:37.968+10:00","response_code":"00","captured":true,"captured_amount":0,"rrn":"071P7ETMLQ17","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
105
113
|
http_version:
|
106
|
-
recorded_at:
|
114
|
+
recorded_at: Tue, 08 May 2018 11:07:38 GMT
|
107
115
|
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":"
|
8
|
+
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"877ef1fa45452ca044d9ba256adc0aa2","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
|
-
-
|
26
|
+
- Tue, 08 May 2018 11:07:38 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -32,32 +32,36 @@ http_interactions:
|
|
32
32
|
- keep-alive
|
33
33
|
Status:
|
34
34
|
- 200 OK
|
35
|
-
X-Rack-Cache:
|
36
|
-
- invalidate, pass
|
37
35
|
Cache-Control:
|
38
36
|
- no-store
|
39
37
|
X-Request-Version:
|
40
|
-
- 1.16.9-
|
41
|
-
X-Runtime:
|
42
|
-
- '0.595694'
|
38
|
+
- 1.16.9-3186@7b619da
|
43
39
|
Pragma:
|
44
40
|
- no-cache
|
41
|
+
X-Xss-Protection:
|
42
|
+
- 1; mode=block
|
45
43
|
X-Request-Id:
|
46
|
-
-
|
44
|
+
- 0214797a91649ace573699e0
|
45
|
+
X-Runtime:
|
46
|
+
- '0.558360'
|
47
|
+
X-Frame-Options:
|
48
|
+
- SAMEORIGIN
|
49
|
+
X-Content-Type-Options:
|
50
|
+
- nosniff
|
47
51
|
X-Backend:
|
48
52
|
- sbox-priv-gateway-a
|
49
53
|
body:
|
50
54
|
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":{"authorization":"
|
52
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
55
|
+
string: '{"successful":true,"response":{"authorization":"204617","id":"071-P-9DMRXIDR","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8ruk6","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"877ef1fa45452ca044d9ba256adc0aa2","currency":"AUD","transaction_id":"071-P-9DMRXIDR","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:38.795+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P9DMRXIDR","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
53
57
|
http_version:
|
54
|
-
recorded_at:
|
58
|
+
recorded_at: Tue, 08 May 2018 11:07:38 GMT
|
55
59
|
- request:
|
56
60
|
method: post
|
57
61
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/void
|
58
62
|
body:
|
59
63
|
encoding: UTF-8
|
60
|
-
string: '{"id":"071-P-
|
64
|
+
string: '{"id":"071-P-9DMRXIDR","test":true}'
|
61
65
|
headers:
|
62
66
|
Accept-Encoding:
|
63
67
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -75,7 +79,7 @@ http_interactions:
|
|
75
79
|
message: OK
|
76
80
|
headers:
|
77
81
|
Date:
|
78
|
-
-
|
82
|
+
- Tue, 08 May 2018 11:07:39 GMT
|
79
83
|
Content-Type:
|
80
84
|
- application/json; charset=utf-8
|
81
85
|
Transfer-Encoding:
|
@@ -84,24 +88,28 @@ http_interactions:
|
|
84
88
|
- keep-alive
|
85
89
|
Status:
|
86
90
|
- 200 OK
|
87
|
-
X-Rack-Cache:
|
88
|
-
- invalidate, pass
|
89
91
|
Cache-Control:
|
90
92
|
- no-store
|
91
93
|
X-Request-Version:
|
92
|
-
- 1.16.9-
|
93
|
-
X-Runtime:
|
94
|
-
- '0.099676'
|
94
|
+
- 1.16.9-3186@7b619da
|
95
95
|
Pragma:
|
96
96
|
- no-cache
|
97
|
+
X-Xss-Protection:
|
98
|
+
- 1; mode=block
|
97
99
|
X-Request-Id:
|
98
|
-
-
|
100
|
+
- 9318e244c88466f67319ff42
|
101
|
+
X-Runtime:
|
102
|
+
- '0.069130'
|
103
|
+
X-Frame-Options:
|
104
|
+
- SAMEORIGIN
|
105
|
+
X-Content-Type-Options:
|
106
|
+
- nosniff
|
99
107
|
X-Backend:
|
100
108
|
- sbox-priv-gateway-a
|
101
109
|
body:
|
102
110
|
encoding: UTF-8
|
103
|
-
string: '{"successful":true,"response":{"authorization":"
|
104
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
111
|
+
string: '{"successful":true,"response":{"authorization":"204617","id":"071-P-9DMRXIDR","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
112
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8ruk6","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":false,"message":"Voided","reference":"877ef1fa45452ca044d9ba256adc0aa2","currency":"AUD","transaction_id":"071-P-9DMRXIDR","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:38.795+10:00","response_code":"00","captured":true,"captured_amount":0,"rrn":"071P9DMRXIDR","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
105
113
|
http_version:
|
106
|
-
recorded_at:
|
114
|
+
recorded_at: Tue, 08 May 2018 11:07:39 GMT
|
107
115
|
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":"
|
8
|
+
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"db7437eab34bcc2c8f4ca660dbc34f49","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
|
-
-
|
26
|
+
- Tue, 08 May 2018 11:07:39 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -32,32 +32,36 @@ http_interactions:
|
|
32
32
|
- keep-alive
|
33
33
|
Status:
|
34
34
|
- 200 OK
|
35
|
-
X-Rack-Cache:
|
36
|
-
- invalidate, pass
|
37
35
|
Cache-Control:
|
38
36
|
- no-store
|
39
37
|
X-Request-Version:
|
40
|
-
- 1.16.9-
|
41
|
-
X-Runtime:
|
42
|
-
- '0.596607'
|
38
|
+
- 1.16.9-3186@7b619da
|
43
39
|
Pragma:
|
44
40
|
- no-cache
|
41
|
+
X-Xss-Protection:
|
42
|
+
- 1; mode=block
|
45
43
|
X-Request-Id:
|
46
|
-
-
|
44
|
+
- 33853bc6da9d66de1181651a
|
45
|
+
X-Runtime:
|
46
|
+
- '0.571340'
|
47
|
+
X-Frame-Options:
|
48
|
+
- SAMEORIGIN
|
49
|
+
X-Content-Type-Options:
|
50
|
+
- nosniff
|
47
51
|
X-Backend:
|
48
52
|
- sbox-priv-gateway-a
|
49
53
|
body:
|
50
54
|
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":{"authorization":"
|
52
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
55
|
+
string: '{"successful":true,"response":{"authorization":"946002","id":"071-P-PJ572Z0P","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8n1re","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"db7437eab34bcc2c8f4ca660dbc34f49","currency":"AUD","transaction_id":"071-P-PJ572Z0P","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:39.552+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PPJ572Z0P","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
53
57
|
http_version:
|
54
|
-
recorded_at:
|
58
|
+
recorded_at: Tue, 08 May 2018 11:07:39 GMT
|
55
59
|
- request:
|
56
60
|
method: post
|
57
61
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/void
|
58
62
|
body:
|
59
63
|
encoding: UTF-8
|
60
|
-
string: '{"id":"071-P-
|
64
|
+
string: '{"id":"071-P-PJ572Z0P","test":true}'
|
61
65
|
headers:
|
62
66
|
Accept-Encoding:
|
63
67
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -75,7 +79,7 @@ http_interactions:
|
|
75
79
|
message: OK
|
76
80
|
headers:
|
77
81
|
Date:
|
78
|
-
-
|
82
|
+
- Tue, 08 May 2018 11:07:39 GMT
|
79
83
|
Content-Type:
|
80
84
|
- application/json; charset=utf-8
|
81
85
|
Transfer-Encoding:
|
@@ -84,24 +88,28 @@ http_interactions:
|
|
84
88
|
- keep-alive
|
85
89
|
Status:
|
86
90
|
- 200 OK
|
87
|
-
X-Rack-Cache:
|
88
|
-
- invalidate, pass
|
89
91
|
Cache-Control:
|
90
92
|
- no-store
|
91
93
|
X-Request-Version:
|
92
|
-
- 1.16.9-
|
93
|
-
X-Runtime:
|
94
|
-
- '0.082958'
|
94
|
+
- 1.16.9-3186@7b619da
|
95
95
|
Pragma:
|
96
96
|
- no-cache
|
97
|
+
X-Xss-Protection:
|
98
|
+
- 1; mode=block
|
97
99
|
X-Request-Id:
|
98
|
-
-
|
100
|
+
- 4c66fccd280736a9a646b1be
|
101
|
+
X-Runtime:
|
102
|
+
- '0.070981'
|
103
|
+
X-Frame-Options:
|
104
|
+
- SAMEORIGIN
|
105
|
+
X-Content-Type-Options:
|
106
|
+
- nosniff
|
99
107
|
X-Backend:
|
100
108
|
- sbox-priv-gateway-a
|
101
109
|
body:
|
102
110
|
encoding: UTF-8
|
103
|
-
string: '{"successful":true,"response":{"authorization":"
|
104
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
111
|
+
string: '{"successful":true,"response":{"authorization":"946002","id":"071-P-PJ572Z0P","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
112
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8n1re","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":false,"message":"Voided","reference":"db7437eab34bcc2c8f4ca660dbc34f49","currency":"AUD","transaction_id":"071-P-PJ572Z0P","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:39.552+10:00","response_code":"00","captured":true,"captured_amount":0,"rrn":"071PPJ572Z0P","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
105
113
|
http_version:
|
106
|
-
recorded_at:
|
114
|
+
recorded_at: Tue, 08 May 2018 11:07:39 GMT
|
107
115
|
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":"
|
8
|
+
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"07b61cb6e66be27f57ffa18bb6d9a6a6","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
|
-
-
|
26
|
+
- Tue, 08 May 2018 11:08:00 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -32,32 +32,36 @@ http_interactions:
|
|
32
32
|
- keep-alive
|
33
33
|
Status:
|
34
34
|
- 200 OK
|
35
|
-
X-Rack-Cache:
|
36
|
-
- invalidate, pass
|
37
35
|
Cache-Control:
|
38
36
|
- no-store
|
39
37
|
X-Request-Version:
|
40
|
-
- 1.16.9-
|
41
|
-
X-Runtime:
|
42
|
-
- '0.496188'
|
38
|
+
- 1.16.9-3186@7b619da
|
43
39
|
Pragma:
|
44
40
|
- no-cache
|
41
|
+
X-Xss-Protection:
|
42
|
+
- 1; mode=block
|
45
43
|
X-Request-Id:
|
46
|
-
-
|
44
|
+
- 533383917e61f36e414adbc8
|
45
|
+
X-Runtime:
|
46
|
+
- '0.527868'
|
47
|
+
X-Frame-Options:
|
48
|
+
- SAMEORIGIN
|
49
|
+
X-Content-Type-Options:
|
50
|
+
- nosniff
|
47
51
|
X-Backend:
|
48
52
|
- sbox-priv-gateway-a
|
49
53
|
body:
|
50
54
|
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":{"authorization":"
|
52
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
55
|
+
string: '{"successful":true,"response":{"authorization":"168730","id":"071-P-VA8LF26S","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8s7pv","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"07b61cb6e66be27f57ffa18bb6d9a6a6","currency":"AUD","transaction_id":"071-P-VA8LF26S","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:08:00.208+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PVA8LF26S","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
53
57
|
http_version:
|
54
|
-
recorded_at:
|
58
|
+
recorded_at: Tue, 08 May 2018 11:08:00 GMT
|
55
59
|
- request:
|
56
60
|
method: post
|
57
61
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
|
58
62
|
body:
|
59
63
|
encoding: UTF-8
|
60
|
-
string: '{"transaction_id":"071-P-
|
64
|
+
string: '{"transaction_id":"071-P-VA8LF26S","amount":10000,"reference":"07b61cb6e66be27f57ffa18bb6d9a6a6","test":true}'
|
61
65
|
headers:
|
62
66
|
Accept-Encoding:
|
63
67
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -75,7 +79,7 @@ http_interactions:
|
|
75
79
|
message: OK
|
76
80
|
headers:
|
77
81
|
Date:
|
78
|
-
-
|
82
|
+
- Tue, 08 May 2018 11:08:00 GMT
|
79
83
|
Content-Type:
|
80
84
|
- application/json; charset=utf-8
|
81
85
|
Transfer-Encoding:
|
@@ -84,24 +88,28 @@ http_interactions:
|
|
84
88
|
- keep-alive
|
85
89
|
Status:
|
86
90
|
- 200 OK
|
87
|
-
X-Rack-Cache:
|
88
|
-
- invalidate, pass
|
89
91
|
Cache-Control:
|
90
92
|
- no-store
|
91
93
|
X-Request-Version:
|
92
|
-
- 1.16.9-
|
93
|
-
X-Runtime:
|
94
|
-
- '0.161797'
|
94
|
+
- 1.16.9-3186@7b619da
|
95
95
|
Pragma:
|
96
96
|
- no-cache
|
97
|
+
X-Xss-Protection:
|
98
|
+
- 1; mode=block
|
97
99
|
X-Request-Id:
|
98
|
-
-
|
100
|
+
- 692e9264d0dccbcc9f3e9d86
|
101
|
+
X-Runtime:
|
102
|
+
- '0.116843'
|
103
|
+
X-Frame-Options:
|
104
|
+
- SAMEORIGIN
|
105
|
+
X-Content-Type-Options:
|
106
|
+
- nosniff
|
99
107
|
X-Backend:
|
100
108
|
- sbox-priv-gateway-a
|
101
109
|
body:
|
102
110
|
encoding: UTF-8
|
103
|
-
string: '{"successful":true,"response":{"authorization":
|
104
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-
|
111
|
+
string: '{"successful":true,"response":{"authorization":"1525777680","id":"071-R-NMAOYB4O","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
112
|
+
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-NMAOYB4O","reference":"07b61cb6e66be27f57ffa18bb6d9a6a6","currency":"AUD","successful":true,"transaction_date":"2018-05-08T21:08:00.465+10:00","response_code":"00","settlement_date":"2018-05-09","metadata":{},"standalone":false,"rrn":"071RNMAOYB4O"},"errors":[],"test":true}'
|
105
113
|
http_version:
|
106
|
-
recorded_at:
|
114
|
+
recorded_at: Tue, 08 May 2018 11:08:00 GMT
|
107
115
|
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":"
|
8
|
+
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"32b2fb72529154d47f1a777ff21b0346","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
|
-
-
|
26
|
+
- Tue, 08 May 2018 11:08:08 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -32,32 +32,36 @@ http_interactions:
|
|
32
32
|
- keep-alive
|
33
33
|
Status:
|
34
34
|
- 200 OK
|
35
|
-
X-Rack-Cache:
|
36
|
-
- invalidate, pass
|
37
35
|
Cache-Control:
|
38
36
|
- no-store
|
39
37
|
X-Request-Version:
|
40
|
-
- 1.16.9-
|
41
|
-
X-Runtime:
|
42
|
-
- '0.627137'
|
38
|
+
- 1.16.9-3186@7b619da
|
43
39
|
Pragma:
|
44
40
|
- no-cache
|
41
|
+
X-Xss-Protection:
|
42
|
+
- 1; mode=block
|
45
43
|
X-Request-Id:
|
46
|
-
-
|
44
|
+
- d3990580e944bd54ed2a6c62
|
45
|
+
X-Runtime:
|
46
|
+
- '0.516671'
|
47
|
+
X-Frame-Options:
|
48
|
+
- SAMEORIGIN
|
49
|
+
X-Content-Type-Options:
|
50
|
+
- nosniff
|
47
51
|
X-Backend:
|
48
52
|
- sbox-priv-gateway-a
|
49
53
|
body:
|
50
54
|
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":{"authorization":"
|
52
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
55
|
+
string: '{"successful":true,"response":{"authorization":"107156","id":"071-P-UQEXQN0S","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke88h2d","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"32b2fb72529154d47f1a777ff21b0346","currency":"AUD","transaction_id":"071-P-UQEXQN0S","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:08:08.286+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PUQEXQN0S","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
53
57
|
http_version:
|
54
|
-
recorded_at:
|
58
|
+
recorded_at: Tue, 08 May 2018 11:08:08 GMT
|
55
59
|
- request:
|
56
60
|
method: post
|
57
61
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
|
58
62
|
body:
|
59
63
|
encoding: UTF-8
|
60
|
-
string: '{"transaction_id":"071-P-
|
64
|
+
string: '{"transaction_id":"071-P-UQEXQN0S","amount":10000,"reference":"32b2fb72529154d47f1a777ff21b0346","test":true}'
|
61
65
|
headers:
|
62
66
|
Accept-Encoding:
|
63
67
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -75,7 +79,7 @@ http_interactions:
|
|
75
79
|
message: OK
|
76
80
|
headers:
|
77
81
|
Date:
|
78
|
-
-
|
82
|
+
- Tue, 08 May 2018 11:08:08 GMT
|
79
83
|
Content-Type:
|
80
84
|
- application/json; charset=utf-8
|
81
85
|
Transfer-Encoding:
|
@@ -84,24 +88,28 @@ http_interactions:
|
|
84
88
|
- keep-alive
|
85
89
|
Status:
|
86
90
|
- 200 OK
|
87
|
-
X-Rack-Cache:
|
88
|
-
- invalidate, pass
|
89
91
|
Cache-Control:
|
90
92
|
- no-store
|
91
93
|
X-Request-Version:
|
92
|
-
- 1.16.9-
|
93
|
-
X-Runtime:
|
94
|
-
- '0.128141'
|
94
|
+
- 1.16.9-3186@7b619da
|
95
95
|
Pragma:
|
96
96
|
- no-cache
|
97
|
+
X-Xss-Protection:
|
98
|
+
- 1; mode=block
|
97
99
|
X-Request-Id:
|
98
|
-
-
|
100
|
+
- da73cd4e4169a9cc58d74821
|
101
|
+
X-Runtime:
|
102
|
+
- '0.131087'
|
103
|
+
X-Frame-Options:
|
104
|
+
- SAMEORIGIN
|
105
|
+
X-Content-Type-Options:
|
106
|
+
- nosniff
|
99
107
|
X-Backend:
|
100
108
|
- sbox-priv-gateway-a
|
101
109
|
body:
|
102
110
|
encoding: UTF-8
|
103
|
-
string: '{"successful":true,"response":{"authorization":
|
104
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-
|
111
|
+
string: '{"successful":true,"response":{"authorization":"1525777688","id":"071-R-C9LWIOFS","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
112
|
+
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-C9LWIOFS","reference":"32b2fb72529154d47f1a777ff21b0346","currency":"AUD","successful":true,"transaction_date":"2018-05-08T21:08:08.501+10:00","response_code":"00","settlement_date":"2018-05-09","metadata":{},"standalone":false,"rrn":"071RC9LWIOFS"},"errors":[],"test":true}'
|
105
113
|
http_version:
|
106
|
-
recorded_at:
|
114
|
+
recorded_at: Tue, 08 May 2018 11:08:08 GMT
|
107
115
|
recorded_with: VCR 3.0.3
|