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":"4e894abe9cda921bf7ed0023a80ea933","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:01 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.701034'
|
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
|
+
- 38da38a0060fe20ada373600
|
45
|
+
X-Runtime:
|
46
|
+
- '0.586796'
|
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":"461545","id":"071-P-OZOLWDI2","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8idhk","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"4e894abe9cda921bf7ed0023a80ea933","currency":"AUD","transaction_id":"071-P-OZOLWDI2","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:08:01.098+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071POZOLWDI2","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:01 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-OZOLWDI2","amount":10000,"reference":"4e894abe9cda921bf7ed0023a80ea933","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:01 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.121743'
|
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
|
+
- 74cdf5e8cac8f03b69521271
|
101
|
+
X-Runtime:
|
102
|
+
- '0.127091'
|
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":"1525777681","id":"071-R-J7E3189V","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-J7E3189V","reference":"4e894abe9cda921bf7ed0023a80ea933","currency":"AUD","successful":true,"transaction_date":"2018-05-08T21:08:01.331+10:00","response_code":"00","settlement_date":"2018-05-09","metadata":{},"standalone":false,"rrn":"071RJ7E3189V"},"errors":[],"test":true}'
|
105
113
|
http_version:
|
106
|
-
recorded_at:
|
114
|
+
recorded_at: Tue, 08 May 2018 11:08:01 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":"36f95cc64575a9756ae7cb18cd1f030e","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:02 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.566122'
|
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
|
+
- e66fca9fb000ad7dc5fc842f
|
45
|
+
X-Runtime:
|
46
|
+
- '0.553891'
|
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":"972254","id":"071-P-HZ9HQ5S9","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8ets6","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"36f95cc64575a9756ae7cb18cd1f030e","currency":"AUD","transaction_id":"071-P-HZ9HQ5S9","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:08:01.914+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PHZ9HQ5S9","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:02 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-HZ9HQ5S9","amount":10000,"reference":"36f95cc64575a9756ae7cb18cd1f030e","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:02 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.102982'
|
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
|
+
- 0bb9c99a904e3bb643d13d06
|
101
|
+
X-Runtime:
|
102
|
+
- '0.145492'
|
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":"1525777682","id":"071-R-6MLNK0NJ","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-6MLNK0NJ","reference":"36f95cc64575a9756ae7cb18cd1f030e","currency":"AUD","successful":true,"transaction_date":"2018-05-08T21:08:02.171+10:00","response_code":"00","settlement_date":"2018-05-09","metadata":{},"standalone":false,"rrn":"071R6MLNK0NJ"},"errors":[],"test":true}'
|
105
113
|
http_version:
|
106
|
-
recorded_at:
|
114
|
+
recorded_at: Tue, 08 May 2018 11:08:02 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":"e56d34b9a22d37127987a22aad567542","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:02 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.535244'
|
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
|
+
- a85e3c6e37bafc45e3728c4a
|
45
|
+
X-Runtime:
|
46
|
+
- '0.555386'
|
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":"767448","id":"071-P-LE7BLOHP","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke85r9t","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"e56d34b9a22d37127987a22aad567542","currency":"AUD","transaction_id":"071-P-LE7BLOHP","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:08:02.854+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PLE7BLOHP","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:02 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-LE7BLOHP","amount":10000,"reference":"e56d34b9a22d37127987a22aad567542","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:03 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.104659'
|
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
|
+
- 112e330c8b8aa43ec4073c22
|
101
|
+
X-Runtime:
|
102
|
+
- '0.136146'
|
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":"1525777683","id":"071-R-W0U688BQ","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-W0U688BQ","reference":"e56d34b9a22d37127987a22aad567542","currency":"AUD","successful":true,"transaction_date":"2018-05-08T21:08:03.094+10:00","response_code":"00","settlement_date":"2018-05-09","metadata":{},"standalone":false,"rrn":"071RW0U688BQ"},"errors":[],"test":true}'
|
105
113
|
http_version:
|
106
|
-
recorded_at:
|
114
|
+
recorded_at: Tue, 08 May 2018 11:08:03 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":"331251231068a31e79fcc952e4a1fa00","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:03 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.549214'
|
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
|
+
- a9bbeeac4f4be3a6b7573a80
|
45
|
+
X-Runtime:
|
46
|
+
- '0.522967'
|
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":"617101","id":"071-P-KJKFQPGR","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8dmj4","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"331251231068a31e79fcc952e4a1fa00","currency":"AUD","transaction_id":"071-P-KJKFQPGR","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:08:03.710+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PKJKFQPGR","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:03 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-KJKFQPGR","amount":10000,"reference":"331251231068a31e79fcc952e4a1fa00","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:04 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.129895'
|
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
|
+
- 6c4bd535b2288ac2d0185d66
|
101
|
+
X-Runtime:
|
102
|
+
- '0.146651'
|
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":"1525777683","id":"071-R-FUR9XQPL","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-FUR9XQPL","reference":"331251231068a31e79fcc952e4a1fa00","currency":"AUD","successful":true,"transaction_date":"2018-05-08T21:08:03.923+10:00","response_code":"00","settlement_date":"2018-05-09","metadata":{},"standalone":false,"rrn":"071RFUR9XQPL"},"errors":[],"test":true}'
|
105
113
|
http_version:
|
106
|
-
recorded_at:
|
114
|
+
recorded_at: Tue, 08 May 2018 11:08:04 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":"448f9dbc503dc14bd355522ec8727c4b","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:04 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.586958'
|
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
|
+
- 75cee612edaa1a02bc290de2
|
45
|
+
X-Runtime:
|
46
|
+
- '0.541651'
|
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":"744099","id":"071-P-S0KW0E9G","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8gqcl","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"448f9dbc503dc14bd355522ec8727c4b","currency":"AUD","transaction_id":"071-P-S0KW0E9G","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:08:04.525+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PS0KW0E9G","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:04 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-S0KW0E9G","amount":10000,"reference":"448f9dbc503dc14bd355522ec8727c4b","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:04 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.125432'
|
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
|
+
- dc9141c67b0dc4515701a005
|
101
|
+
X-Runtime:
|
102
|
+
- '0.138287'
|
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":"1525777684","id":"071-R-8001963D","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-8001963D","reference":"448f9dbc503dc14bd355522ec8727c4b","currency":"AUD","successful":true,"transaction_date":"2018-05-08T21:08:04.818+10:00","response_code":"00","settlement_date":"2018-05-09","metadata":{},"standalone":false,"rrn":"071R8001963D"},"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
|