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":"34c068b48d3c551d937b96773b862249","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:05 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.585326'
|
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
|
+
- 34eb8675ae3e937b92dcb63e
|
45
|
+
X-Runtime:
|
46
|
+
- '0.527114'
|
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":"882674","id":"071-P-SRXRNTTX","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8fcth","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"34c068b48d3c551d937b96773b862249","currency":"AUD","transaction_id":"071-P-SRXRNTTX","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:08:05.503+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PSRXRNTTX","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:05 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-SRXRNTTX","amount":10000,"reference":"34c068b48d3c551d937b96773b862249","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:05 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.104359'
|
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
|
+
- 91138182501de0248c9de91e
|
101
|
+
X-Runtime:
|
102
|
+
- '0.110826'
|
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":"1525777685","id":"071-R-6H7L7SZE","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-6H7L7SZE","reference":"34c068b48d3c551d937b96773b862249","currency":"AUD","successful":true,"transaction_date":"2018-05-08T21:08:05.756+10:00","response_code":"00","settlement_date":"2018-05-09","metadata":{},"standalone":false,"rrn":"071R6H7L7SZE"},"errors":[],"test":true}'
|
105
113
|
http_version:
|
106
|
-
recorded_at:
|
114
|
+
recorded_at: Tue, 08 May 2018 11:08:05 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":"5af6d2ada82e8698826fb6aeb9cba46e","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:06 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.605839'
|
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
|
+
- 61f0bd38ef5c7daa3ddb6f7a
|
45
|
+
X-Runtime:
|
46
|
+
- '0.555065'
|
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":"397781","id":"071-P-G8C7T79M","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke887jw","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"5af6d2ada82e8698826fb6aeb9cba46e","currency":"AUD","transaction_id":"071-P-G8C7T79M","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:08:06.420+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PG8C7T79M","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:06 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-G8C7T79M","amount":10000,"reference":"5af6d2ada82e8698826fb6aeb9cba46e","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:06 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.127615'
|
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
|
+
- 6bc25e3649a27368a70a01de
|
101
|
+
X-Runtime:
|
102
|
+
- '0.165589'
|
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":"1525777686","id":"071-R-DQ1AEZZI","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-DQ1AEZZI","reference":"5af6d2ada82e8698826fb6aeb9cba46e","currency":"AUD","successful":true,"transaction_date":"2018-05-08T21:08:06.685+10:00","response_code":"00","settlement_date":"2018-05-09","metadata":{},"standalone":false,"rrn":"071RDQ1AEZZI"},"errors":[],"test":true}'
|
105
113
|
http_version:
|
106
|
-
recorded_at:
|
114
|
+
recorded_at: Tue, 08 May 2018 11:08:06 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":"90e3097078f2bf999df0f3ef47d3e36a","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:07 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.544338'
|
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
|
+
- dfc45fec50388d0a56343e5b
|
45
|
+
X-Runtime:
|
46
|
+
- '0.535030'
|
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":"226785","id":"071-P-1UITIE1Z","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8dfcb","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"90e3097078f2bf999df0f3ef47d3e36a","currency":"AUD","transaction_id":"071-P-1UITIE1Z","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:08:07.380+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P1UITIE1Z","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:07 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-1UITIE1Z","amount":10000,"reference":"90e3097078f2bf999df0f3ef47d3e36a","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:07 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.113543'
|
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
|
+
- 5c11d9e0001ece04abea764e
|
101
|
+
X-Runtime:
|
102
|
+
- '0.136313'
|
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":"1525777687","id":"071-R-G8R0DFW7","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-G8R0DFW7","reference":"90e3097078f2bf999df0f3ef47d3e36a","currency":"AUD","successful":true,"transaction_date":"2018-05-08T21:08:07.672+10:00","response_code":"00","settlement_date":"2018-05-09","metadata":{},"standalone":false,"rrn":"071RG8R0DFW7"},"errors":[],"test":true}'
|
105
113
|
http_version:
|
106
|
-
recorded_at:
|
114
|
+
recorded_at: Tue, 08 May 2018 11:08:07 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":"13f7fcbfcc375959df2da4209aa09f79","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:09 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.650351'
|
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
|
+
- 253cbd892abc2c26ac0b3b9b
|
45
|
+
X-Runtime:
|
46
|
+
- '0.503908'
|
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":"913039","id":"071-P-201Q3P8Q","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8arit","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"13f7fcbfcc375959df2da4209aa09f79","currency":"AUD","transaction_id":"071-P-201Q3P8Q","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:08:09.103+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P201Q3P8Q","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:09 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-201Q3P8Q","amount":10000,"reference":"13f7fcbfcc375959df2da4209aa09f79","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:09 GMT
|
79
83
|
Content-Type:
|
80
84
|
- application/json; charset=utf-8
|
81
85
|
Transfer-Encoding:
|
@@ -84,29 +88,33 @@ 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.143835'
|
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
|
+
- 63e741362d15fa5a3352c9b6
|
101
|
+
X-Runtime:
|
102
|
+
- '0.143976'
|
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":"1525777689","id":"071-R-DZAJ0WA8","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-DZAJ0WA8","reference":"13f7fcbfcc375959df2da4209aa09f79","currency":"AUD","successful":true,"transaction_date":"2018-05-08T21:08:09.331+10:00","response_code":"00","settlement_date":"2018-05-09","metadata":{},"standalone":false,"rrn":"071RDZAJ0WA8"},"errors":[],"test":true}'
|
105
113
|
http_version:
|
106
|
-
recorded_at:
|
114
|
+
recorded_at: Tue, 08 May 2018 11:08:09 GMT
|
107
115
|
- request:
|
108
116
|
method: get
|
109
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds/
|
117
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds/13f7fcbfcc375959df2da4209aa09f79?test=true
|
110
118
|
body:
|
111
119
|
encoding: US-ASCII
|
112
120
|
string: ''
|
@@ -129,7 +137,7 @@ http_interactions:
|
|
129
137
|
message: OK
|
130
138
|
headers:
|
131
139
|
Date:
|
132
|
-
-
|
140
|
+
- Tue, 08 May 2018 11:08:09 GMT
|
133
141
|
Content-Type:
|
134
142
|
- application/json; charset=utf-8
|
135
143
|
Transfer-Encoding:
|
@@ -138,24 +146,28 @@ http_interactions:
|
|
138
146
|
- keep-alive
|
139
147
|
Status:
|
140
148
|
- 200 OK
|
141
|
-
X-Rack-Cache:
|
142
|
-
- miss
|
143
149
|
Cache-Control:
|
144
|
-
- no-store
|
150
|
+
- no-store
|
145
151
|
X-Request-Version:
|
146
|
-
- 1.16.9-
|
147
|
-
X-Runtime:
|
148
|
-
- '0.022090'
|
152
|
+
- 1.16.9-3186@7b619da
|
149
153
|
Pragma:
|
150
154
|
- no-cache
|
155
|
+
X-Xss-Protection:
|
156
|
+
- 1; mode=block
|
151
157
|
X-Request-Id:
|
152
|
-
-
|
158
|
+
- d53d6b06f0b8b055a0d93183
|
159
|
+
X-Runtime:
|
160
|
+
- '0.020708'
|
161
|
+
X-Frame-Options:
|
162
|
+
- SAMEORIGIN
|
163
|
+
X-Content-Type-Options:
|
164
|
+
- nosniff
|
153
165
|
X-Backend:
|
154
166
|
- sbox-priv-gateway-a
|
155
167
|
body:
|
156
168
|
encoding: UTF-8
|
157
|
-
string: '{"successful":true,"response":{"authorization":"
|
158
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-
|
169
|
+
string: '{"successful":true,"response":{"authorization":"1525777689","id":"071-R-DZAJ0WA8","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
170
|
+
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-DZAJ0WA8","reference":"13f7fcbfcc375959df2da4209aa09f79","currency":"AUD","successful":true,"transaction_date":"2018-05-08T21:08:09.331+10:00","response_code":"00","settlement_date":"2018-05-09","metadata":{},"standalone":false,"rrn":"071RDZAJ0WA8"},"errors":[],"test":true}'
|
159
171
|
http_version:
|
160
|
-
recorded_at:
|
172
|
+
recorded_at: Tue, 08 May 2018 11:08:09 GMT
|
161
173
|
recorded_with: VCR 3.0.3
|