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":"5164dd80ed56b30e472cd076babc1957","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:22 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -32,29 +32,33 @@ 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.563467'
|
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
|
+
- 026a49f227b0671065e21814
|
45
|
+
X-Runtime:
|
46
|
+
- '0.519657'
|
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":"433556","id":"071-P-QYNJ2TWP","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8uqfy","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"5164dd80ed56b30e472cd076babc1957","currency":"AUD","transaction_id":"071-P-QYNJ2TWP","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:22.585+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PQYNJ2TWP","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:22 GMT
|
55
59
|
- request:
|
56
60
|
method: get
|
57
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/
|
61
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/5164dd80ed56b30e472cd076babc1957?test=true
|
58
62
|
body:
|
59
63
|
encoding: US-ASCII
|
60
64
|
string: ''
|
@@ -77,7 +81,7 @@ http_interactions:
|
|
77
81
|
message: OK
|
78
82
|
headers:
|
79
83
|
Date:
|
80
|
-
-
|
84
|
+
- Tue, 08 May 2018 11:07:22 GMT
|
81
85
|
Content-Type:
|
82
86
|
- application/json; charset=utf-8
|
83
87
|
Transfer-Encoding:
|
@@ -86,24 +90,28 @@ http_interactions:
|
|
86
90
|
- keep-alive
|
87
91
|
Status:
|
88
92
|
- 200 OK
|
89
|
-
X-Rack-Cache:
|
90
|
-
- miss
|
91
93
|
Cache-Control:
|
92
|
-
- no-store
|
94
|
+
- no-store
|
93
95
|
X-Request-Version:
|
94
|
-
- 1.16.9-
|
95
|
-
X-Runtime:
|
96
|
-
- '0.020777'
|
96
|
+
- 1.16.9-3186@7b619da
|
97
97
|
Pragma:
|
98
98
|
- no-cache
|
99
|
+
X-Xss-Protection:
|
100
|
+
- 1; mode=block
|
99
101
|
X-Request-Id:
|
100
|
-
-
|
102
|
+
- 6454c674b9f61c019bbe5f09
|
103
|
+
X-Runtime:
|
104
|
+
- '0.027184'
|
105
|
+
X-Frame-Options:
|
106
|
+
- SAMEORIGIN
|
107
|
+
X-Content-Type-Options:
|
108
|
+
- nosniff
|
101
109
|
X-Backend:
|
102
110
|
- sbox-priv-gateway-a
|
103
111
|
body:
|
104
112
|
encoding: UTF-8
|
105
|
-
string: '{"successful":true,"response":{"authorization":"
|
106
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
113
|
+
string: '{"successful":true,"response":{"authorization":"433556","id":"071-P-QYNJ2TWP","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
114
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8uqfy","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"5164dd80ed56b30e472cd076babc1957","currency":"AUD","transaction_id":"071-P-QYNJ2TWP","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:22.585+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PQYNJ2TWP","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
107
115
|
http_version:
|
108
|
-
recorded_at:
|
116
|
+
recorded_at: Tue, 08 May 2018 11:07:22 GMT
|
109
117
|
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":"edef2ab3c0958f471c94c6698061aba1","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:28 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.535868'
|
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
|
+
- 81e0228b9e9876444aad5db0
|
45
|
+
X-Runtime:
|
46
|
+
- '0.513070'
|
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":"902454","id":"071-P-DK3DQONB","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8bp7p","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"edef2ab3c0958f471c94c6698061aba1","currency":"AUD","transaction_id":"071-P-DK3DQONB","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:28.425+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PDK3DQONB","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:28 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-DK3DQONB","amount":10000,"reference":"edef2ab3c0958f471c94c6698061aba1","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:28 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.145287'
|
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
|
+
- b6983dbd0d69faa19a0c3651
|
101
|
+
X-Runtime:
|
102
|
+
- '0.193021'
|
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":"1525777648","id":"071-R-VBTUDCLK","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-VBTUDCLK","reference":"edef2ab3c0958f471c94c6698061aba1","currency":"AUD","successful":true,"transaction_date":"2018-05-08T21:07:28.703+10:00","response_code":"00","settlement_date":"2018-05-09","metadata":{},"standalone":false,"rrn":"071RVBTUDCLK"},"errors":[],"test":true}'
|
105
113
|
http_version:
|
106
|
-
recorded_at:
|
114
|
+
recorded_at: Tue, 08 May 2018 11:07:28 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":"c6a2fc0a3af60097d7785a246464cc83","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:29 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.574003'
|
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
|
+
- aee5c82669d43710eeccaca6
|
45
|
+
X-Runtime:
|
46
|
+
- '0.531728'
|
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":"410528","id":"071-P-U2XVH8XR","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8b9e8","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"c6a2fc0a3af60097d7785a246464cc83","currency":"AUD","transaction_id":"071-P-U2XVH8XR","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:29.371+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PU2XVH8XR","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:29 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-U2XVH8XR","amount":10000,"reference":"c6a2fc0a3af60097d7785a246464cc83","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:29 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.131395'
|
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
|
+
- 83ed191c6c3e8102167d13b6
|
101
|
+
X-Runtime:
|
102
|
+
- '0.149309'
|
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":"1525777649","id":"071-R-1RP3UD72","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-1RP3UD72","reference":"c6a2fc0a3af60097d7785a246464cc83","currency":"AUD","successful":true,"transaction_date":"2018-05-08T21:07:29.613+10:00","response_code":"00","settlement_date":"2018-05-09","metadata":{},"standalone":false,"rrn":"071R1RP3UD72"},"errors":[],"test":true}'
|
105
113
|
http_version:
|
106
|
-
recorded_at:
|
114
|
+
recorded_at: Tue, 08 May 2018 11:07:29 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":"9ebbb5aa3a1d9b306c4c34be7753df2d","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:30 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.553570'
|
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
|
+
- 8ae1ce09e336ccda06f086ca
|
45
|
+
X-Runtime:
|
46
|
+
- '0.557156'
|
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":"812131","id":"071-P-FRGFG2PH","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke81sqn","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"9ebbb5aa3a1d9b306c4c34be7753df2d","currency":"AUD","transaction_id":"071-P-FRGFG2PH","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:30.225+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PFRGFG2PH","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:30 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-FRGFG2PH","amount":10000,"reference":"9ebbb5aa3a1d9b306c4c34be7753df2d","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:30 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.146359'
|
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
|
+
- 44d7ea0afef52be31f231d06
|
101
|
+
X-Runtime:
|
102
|
+
- '0.121555'
|
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":"1525777650","id":"071-R-8UQJFFZ","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-8UQJFFZ","reference":"9ebbb5aa3a1d9b306c4c34be7753df2d","currency":"AUD","successful":true,"transaction_date":"2018-05-08T21:07:30.474+10:00","response_code":"00","settlement_date":"2018-05-09","metadata":{},"standalone":false,"rrn":"071R8UQJFFZ"},"errors":[],"test":true}'
|
105
113
|
http_version:
|
106
|
-
recorded_at:
|
114
|
+
recorded_at: Tue, 08 May 2018 11:07:30 GMT
|
107
115
|
recorded_with: VCR 3.0.3
|