fat_zebra 3.0.9 → 3.0.10
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/api_operation/save.rb +6 -1
- data/lib/fat_zebra/version.rb +1 -1
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_1.yml +14 -16
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_2.yml +11 -13
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_1.yml +50 -52
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_2.yml +47 -49
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_3.yml +50 -52
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_1.yml +25 -18
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_2.yml +25 -18
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_1.yml +25 -18
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_2.yml +25 -18
- data/spec/cassettes/FatZebra_Batch/_find/1_2_1.yml +41 -32
- data/spec/cassettes/FatZebra_Batch/_find/1_2_2.yml +41 -32
- data/spec/cassettes/FatZebra_Batch/_result/1_4_1.yml +56 -45
- data/spec/cassettes/FatZebra_Batch/_search/1_3_1.yml +15 -13
- data/spec/cassettes/FatZebra_Batch/_search/1_3_2.yml +15 -13
- data/spec/cassettes/FatZebra_Batch/_search/1_3_3.yml +15 -13
- data/spec/cassettes/FatZebra_Card/_create/1_1_1.yml +8 -7
- data/spec/cassettes/FatZebra_Card/_create/1_1_2.yml +11 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_3.yml +8 -7
- data/spec/cassettes/FatZebra_Card/_create/1_1_4.yml +11 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_5.yml +11 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_6.yml +11 -10
- data/spec/cassettes/FatZebra_Card/_update/1_2_1.yml +23 -19
- data/spec/cassettes/FatZebra_Card/_update/1_2_2.yml +23 -19
- data/spec/cassettes/FatZebra_Card/_update/1_2_3.yml +23 -19
- data/spec/cassettes/FatZebra_Card/_update/validations/1_2_4_1.yml +8 -7
- data/spec/cassettes/FatZebra_Customer/_create/1_1_1.yml +15 -17
- data/spec/cassettes/FatZebra_Customer/_create/1_1_2.yml +15 -17
- data/spec/cassettes/FatZebra_Customer/_create/1_1_3.yml +15 -17
- data/spec/cassettes/FatZebra_Customer/_create/1_1_4.yml +15 -17
- data/spec/cassettes/FatZebra_Customer/_create/1_1_5.yml +15 -17
- data/spec/cassettes/FatZebra_Customer/_create/1_1_6.yml +15 -17
- data/spec/cassettes/FatZebra_Customer/_delete/1_5_1.yml +29 -35
- data/spec/cassettes/FatZebra_Customer/_find/1_3_1.yml +32 -32
- data/spec/cassettes/FatZebra_Customer/_find/1_3_2.yml +32 -32
- data/spec/cassettes/FatZebra_Customer/_search/1_2_1.yml +26 -16
- data/spec/cassettes/FatZebra_Customer/_search/1_2_2.yml +26 -16
- data/spec/cassettes/FatZebra_Customer/_search/1_2_3.yml +26 -16
- data/spec/cassettes/FatZebra_Customer/_update/1_4_1.yml +31 -35
- data/spec/cassettes/FatZebra_Customer/_update/1_4_2.yml +31 -35
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_1.yml +13 -15
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_2.yml +10 -12
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_3.yml +13 -15
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_4.yml +10 -12
- data/spec/cassettes/FatZebra_DirectCredit/_create/validations/valid/1_1_5_1_1.yml +9 -9
- data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_1.yml +23 -29
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_1.yml +29 -29
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_2.yml +23 -23
- data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_1.yml +38 -40
- data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_2.yml +35 -37
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_1.yml +10 -12
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_2.yml +13 -15
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_3.yml +13 -15
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_4.yml +10 -12
- data/spec/cassettes/FatZebra_DirectDebit/_create/validations/valid/1_1_5_1_1.yml +9 -9
- data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_1.yml +23 -29
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_1.yml +26 -26
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_2.yml +26 -26
- data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_1.yml +38 -40
- data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_2.yml +35 -37
- data/spec/cassettes/FatZebra_Information/_ping/1_1_1.yml +15 -13
- data/spec/cassettes/FatZebra_Information/_ping/1_1_2.yml +12 -10
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_1.yml +70 -78
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_2.yml +70 -78
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_1.yml +31 -35
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_2.yml +31 -35
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_3.yml +31 -35
- data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_1.yml +42 -50
- data/spec/cassettes/FatZebra_PaymentPlan/_destroy/1_6_1.yml +48 -56
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_1.yml +49 -51
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_2.yml +52 -54
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_3.yml +52 -54
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_1.yml +49 -55
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_2.yml +52 -58
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_1.yml +43 -49
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_2.yml +46 -52
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_3.yml +46 -52
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_1.yml +52 -58
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_2.yml +49 -55
- data/spec/cassettes/FatZebra_Purchase/_capture/1_5_1.yml +24 -28
- data/spec/cassettes/FatZebra_Purchase/_capture/1_5_2.yml +24 -28
- data/spec/cassettes/FatZebra_Purchase/_capture/1_5_3.yml +19 -19
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_1.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_10.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_11.yml +15 -17
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_12.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_13.yml +11 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_2.yml +15 -17
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_3.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_4.yml +15 -17
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_5.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_6.yml +15 -17
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_7.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_8.yml +15 -17
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_9.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_1.yml +11 -11
- data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_2.yml +8 -8
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_1.yml +29 -29
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_2.yml +32 -32
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_3.yml +29 -29
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_4.yml +19 -19
- data/spec/cassettes/FatZebra_Purchase/_refund/1_4_1.yml +24 -28
- data/spec/cassettes/FatZebra_Purchase/_refund/1_4_2.yml +24 -28
- data/spec/cassettes/FatZebra_Purchase/_refund/1_4_3.yml +19 -19
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_1.yml +38 -38
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_2.yml +35 -35
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_3.yml +38 -38
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_1.yml +246 -219
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_2.yml +246 -221
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_3.yml +246 -223
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_1.yml +24 -28
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_2.yml +27 -31
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_3.yml +27 -31
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_4.yml +19 -19
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_1.yml +30 -34
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_2.yml +30 -34
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_3.yml +30 -34
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_4.yml +19 -19
- data/spec/cassettes/FatZebra_Refund/_create/1_1_1.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_10.yml +19 -19
- data/spec/cassettes/FatZebra_Refund/_create/1_1_2.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_3.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_4.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_5.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_6.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_7.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_8.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_9.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_find/1_2_1.yml +47 -49
- data/spec/cassettes/FatZebra_Refund/_find/1_2_2.yml +47 -49
- data/spec/cassettes/FatZebra_Refund/_find/1_2_3.yml +30 -30
- data/spec/cassettes/FatZebra_Refund/_search/1_3_1.yml +83 -89
- data/spec/cassettes/FatZebra_Refund/_search/1_3_2.yml +83 -89
- data/spec/cassettes/FatZebra_Refund/_void/1_4_1.yml +45 -51
- data/spec/cassettes/FatZebra_Refund/_void/1_4_2.yml +42 -48
- data/spec/cassettes/FatZebra_Refund/_void/1_4_3.yml +39 -45
- data/spec/cassettes/FatZebra_Refund/_void/1_4_4.yml +30 -30
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_1.yml +13 -15
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_2.yml +10 -12
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_3.yml +13 -15
- data/spec/cassettes/FatZebra_WebHook/_delete/1_4_1.yml +23 -29
- data/spec/cassettes/FatZebra_WebHook/_search/1_2_1.yml +59 -103
- data/spec/cassettes/FatZebra_WebHook/_search/1_2_2.yml +55 -99
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_1.yml +25 -29
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_2.yml +25 -29
- metadata +2 -78
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_3.yml +0 -55
- data/spec/cassettes/FatZebra_BankAccount/_create/validations/1_1_3_1.yml +0 -57
- data/spec/cassettes/FatZebra_Batch/_create/1_1_1.yml +0 -58
- data/spec/cassettes/FatZebra_Batch/_create/1_1_2.yml +0 -58
- data/spec/cassettes/FatZebra_Batch/_create/validations/1_1_3_1.yml +0 -57
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_3.yml +0 -65
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_3.yml +0 -65
- data/spec/cassettes/FatZebra_Batch/_find/1_2_3.yml +0 -118
- data/spec/cassettes/FatZebra_Card/_create/1_1_7.yml +0 -55
- data/spec/cassettes/FatZebra_Card/_create/validations/1_1_7_1.yml +0 -56
- data/spec/cassettes/FatZebra_Card/_update/1_2_4.yml +0 -105
- data/spec/cassettes/FatZebra_Card/_update/validations/1_2_5_1.yml +0 -55
- data/spec/cassettes/FatZebra_Customer/_create/1_1_7.yml +0 -57
- data/spec/cassettes/FatZebra_Customer/_create/validations/1_1_7_1.yml +0 -56
- data/spec/cassettes/FatZebra_Customer/_delete/1_4_1.yml +0 -113
- data/spec/cassettes/FatZebra_Customer/_delete/1_5_2.yml +0 -107
- data/spec/cassettes/FatZebra_Customer/_find/1_2_1.yml +0 -111
- data/spec/cassettes/FatZebra_Customer/_find/1_2_2.yml +0 -111
- data/spec/cassettes/FatZebra_Customer/_find/1_3_3.yml +0 -111
- data/spec/cassettes/FatZebra_Customer/_update/1_3_1.yml +0 -114
- data/spec/cassettes/FatZebra_Customer/_update/1_3_2.yml +0 -114
- data/spec/cassettes/FatZebra_Customer/_update/1_4_3.yml +0 -108
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_5.yml +0 -54
- data/spec/cassettes/FatZebra_DirectCredit/_create/validations/1_1_5_1.yml +0 -59
- data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_2.yml +0 -103
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_3.yml +0 -107
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_5.yml +0 -54
- data/spec/cassettes/FatZebra_DirectDebit/_create/validations/1_1_5_1.yml +0 -59
- data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_2.yml +0 -103
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_3.yml +0 -107
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_7_1.yml +0 -238
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_7_2.yml +0 -238
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_4.yml +0 -114
- data/spec/cassettes/FatZebra_PaymentPlan/_create/validations/1_1_4_1.yml +0 -55
- data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_2.yml +0 -164
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_4.yml +0 -173
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_6_1.yml +0 -178
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_6_2.yml +0 -178
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_4.yml +0 -164
- data/spec/cassettes/FatZebra_Purchase/_capture/1_6_1.yml +0 -111
- data/spec/cassettes/FatZebra_Purchase/_capture/1_6_2.yml +0 -111
- data/spec/cassettes/FatZebra_Purchase/_capture/1_6_3.yml +0 -107
- data/spec/cassettes/FatZebra_Purchase/_find/1_3_1.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_find/1_3_2.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_find/1_3_3.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_find/1_3_4.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_find/1_4_1.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_find/1_4_2.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_find/1_4_3.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_refund/1_5_1.yml +0 -111
- data/spec/cassettes/FatZebra_Purchase/_refund/1_5_2.yml +0 -111
- data/spec/cassettes/FatZebra_Purchase/_refund/1_5_3.yml +0 -107
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_4.yml +0 -170
- data/spec/cassettes/FatZebra_Purchase/_search/1_4_1.yml +0 -170
- data/spec/cassettes/FatZebra_Purchase/_search/1_4_2.yml +0 -170
- data/spec/cassettes/FatZebra_Purchase/_search/1_4_3.yml +0 -170
- data/spec/cassettes/FatZebra_Purchase/_search/1_4_4.yml +0 -170
- data/spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_1.yml +0 -164
- data/spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_2.yml +0 -165
- data/spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_3.yml +0 -164
- data/spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_1.yml +0 -54
- data/spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_2.yml +0 -54
- data/spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_3.yml +0 -54
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_4.yml +0 -842
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_1.yml +0 -828
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_2.yml +0 -830
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_3.yml +0 -832
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_4.yml +0 -834
- data/spec/cassettes/FatZebra_Purchase/_void/1_8_1.yml +0 -107
- data/spec/cassettes/FatZebra_Purchase/_void/1_8_2.yml +0 -107
- data/spec/cassettes/FatZebra_Purchase/_void/1_8_3.yml +0 -107
- data/spec/cassettes/FatZebra_Purchase/_void/1_8_4.yml +0 -107
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_4.yml +0 -55
- data/spec/cassettes/FatZebra_WebHook/_create/validations/1_1_4_1.yml +0 -56
- data/spec/cassettes/FatZebra_WebHook/_delete/1_4_2.yml +0 -105
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_3.yml +0 -106
@@ -5,27 +5,25 @@ 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":"b3c236dfc49a92bbd8c87de2fad6c442","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
|
9
9
|
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
10
|
Accept-Encoding:
|
13
|
-
- gzip,
|
14
|
-
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
15
13
|
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '214'
|
18
14
|
User-Agent:
|
19
15
|
- Ruby
|
20
16
|
Authorization:
|
21
17
|
- Basic VEVTVDpURVNU
|
18
|
+
Content-Type:
|
19
|
+
- application/json
|
22
20
|
response:
|
23
21
|
status:
|
24
22
|
code: 200
|
25
23
|
message: OK
|
26
24
|
headers:
|
27
25
|
Date:
|
28
|
-
-
|
26
|
+
- Wed, 02 May 2018 23:13:30 GMT
|
29
27
|
Content-Type:
|
30
28
|
- application/json; charset=utf-8
|
31
29
|
Transfer-Encoding:
|
@@ -34,52 +32,50 @@ http_interactions:
|
|
34
32
|
- keep-alive
|
35
33
|
Status:
|
36
34
|
- 200 OK
|
35
|
+
X-Rack-Cache:
|
36
|
+
- invalidate, pass
|
37
37
|
Cache-Control:
|
38
38
|
- no-store
|
39
39
|
X-Request-Version:
|
40
|
-
- 1.
|
40
|
+
- 1.16.9-3156@6c1a40b
|
41
|
+
X-Runtime:
|
42
|
+
- '0.540443'
|
41
43
|
Pragma:
|
42
44
|
- no-cache
|
43
45
|
X-Request-Id:
|
44
|
-
-
|
45
|
-
X-Runtime:
|
46
|
-
- '0.367637'
|
47
|
-
X-Rack-Cache:
|
48
|
-
- invalidate, pass
|
46
|
+
- d2e28e38baf1d73c669118ab
|
49
47
|
X-Backend:
|
50
48
|
- sbox-priv-gateway-a
|
51
49
|
body:
|
52
50
|
encoding: UTF-8
|
53
|
-
string: '{"successful":true,"response":{"authorization":"
|
54
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
51
|
+
string: '{"successful":true,"response":{"authorization":"997492","id":"071-P-HVL44AEL","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
52
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8op6p","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"b3c236dfc49a92bbd8c87de2fad6c442","currency":"AUD","transaction_id":"071-P-HVL44AEL","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:13:30+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PHVL44AEL","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
55
53
|
http_version:
|
56
|
-
recorded_at:
|
54
|
+
recorded_at: Wed, 02 May 2018 23:13:29 GMT
|
57
55
|
- request:
|
58
56
|
method: post
|
59
57
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
|
60
58
|
body:
|
61
59
|
encoding: UTF-8
|
62
|
-
string: '{"transaction_id":"071-P-
|
60
|
+
string: '{"transaction_id":"071-P-HVL44AEL","amount":10000,"reference":"b3c236dfc49a92bbd8c87de2fad6c442","test":true}'
|
63
61
|
headers:
|
64
|
-
Accept:
|
65
|
-
- application/json
|
66
62
|
Accept-Encoding:
|
67
|
-
- gzip,
|
68
|
-
|
63
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
64
|
+
Accept:
|
69
65
|
- application/json
|
70
|
-
Content-Length:
|
71
|
-
- '109'
|
72
66
|
User-Agent:
|
73
67
|
- Ruby
|
74
68
|
Authorization:
|
75
69
|
- Basic VEVTVDpURVNU
|
70
|
+
Content-Type:
|
71
|
+
- application/json
|
76
72
|
response:
|
77
73
|
status:
|
78
74
|
code: 200
|
79
75
|
message: OK
|
80
76
|
headers:
|
81
77
|
Date:
|
82
|
-
-
|
78
|
+
- Wed, 02 May 2018 23:13:31 GMT
|
83
79
|
Content-Type:
|
84
80
|
- application/json; charset=utf-8
|
85
81
|
Transfer-Encoding:
|
@@ -88,50 +84,52 @@ http_interactions:
|
|
88
84
|
- keep-alive
|
89
85
|
Status:
|
90
86
|
- 200 OK
|
87
|
+
X-Rack-Cache:
|
88
|
+
- invalidate, pass
|
91
89
|
Cache-Control:
|
92
90
|
- no-store
|
93
91
|
X-Request-Version:
|
94
|
-
- 1.
|
92
|
+
- 1.16.9-3156@6c1a40b
|
93
|
+
X-Runtime:
|
94
|
+
- '0.110468'
|
95
95
|
Pragma:
|
96
96
|
- no-cache
|
97
97
|
X-Request-Id:
|
98
|
-
-
|
99
|
-
X-Runtime:
|
100
|
-
- '0.167650'
|
101
|
-
X-Rack-Cache:
|
102
|
-
- invalidate, pass
|
98
|
+
- 9b0c6fc20b8958797a9c08e8
|
103
99
|
X-Backend:
|
104
100
|
- sbox-priv-gateway-a
|
105
101
|
body:
|
106
102
|
encoding: UTF-8
|
107
|
-
string: '{"successful":true,"response":{"authorization":
|
108
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-
|
103
|
+
string: '{"successful":true,"response":{"authorization":1525302811,"id":"071-R-OF4X5BAG","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
104
|
+
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-OF4X5BAG","reference":"b3c236dfc49a92bbd8c87de2fad6c442","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:31+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071ROF4X5BAG"},"errors":[],"test":true}'
|
109
105
|
http_version:
|
110
|
-
recorded_at:
|
106
|
+
recorded_at: Wed, 02 May 2018 23:13:29 GMT
|
111
107
|
- request:
|
112
108
|
method: get
|
113
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds/
|
109
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds/b3c236dfc49a92bbd8c87de2fad6c442?test=true
|
114
110
|
body:
|
115
111
|
encoding: US-ASCII
|
116
112
|
string: ''
|
117
113
|
headers:
|
118
|
-
Accept:
|
119
|
-
- application/json
|
120
114
|
Accept-Encoding:
|
121
|
-
- gzip,
|
122
|
-
|
115
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
116
|
+
Accept:
|
123
117
|
- application/json
|
124
118
|
User-Agent:
|
125
119
|
- Ruby
|
120
|
+
Host:
|
121
|
+
- gateway.sandbox.fatzebra.com.au
|
126
122
|
Authorization:
|
127
123
|
- Basic VEVTVDpURVNU
|
124
|
+
Content-Type:
|
125
|
+
- application/json
|
128
126
|
response:
|
129
127
|
status:
|
130
128
|
code: 200
|
131
129
|
message: OK
|
132
130
|
headers:
|
133
131
|
Date:
|
134
|
-
-
|
132
|
+
- Wed, 02 May 2018 23:13:31 GMT
|
135
133
|
Content-Type:
|
136
134
|
- application/json; charset=utf-8
|
137
135
|
Transfer-Encoding:
|
@@ -140,24 +138,24 @@ http_interactions:
|
|
140
138
|
- keep-alive
|
141
139
|
Status:
|
142
140
|
- 200 OK
|
141
|
+
X-Rack-Cache:
|
142
|
+
- miss
|
143
143
|
Cache-Control:
|
144
144
|
- no-store, private
|
145
145
|
X-Request-Version:
|
146
|
-
- 1.
|
146
|
+
- 1.16.9-3156@6c1a40b
|
147
|
+
X-Runtime:
|
148
|
+
- '0.017948'
|
147
149
|
Pragma:
|
148
150
|
- no-cache
|
149
151
|
X-Request-Id:
|
150
|
-
-
|
151
|
-
X-Runtime:
|
152
|
-
- '0.023993'
|
153
|
-
X-Rack-Cache:
|
154
|
-
- miss
|
152
|
+
- 752cb39633faafd31d2ab899
|
155
153
|
X-Backend:
|
156
154
|
- sbox-priv-gateway-a
|
157
155
|
body:
|
158
156
|
encoding: UTF-8
|
159
|
-
string: '{"successful":true,"response":{"authorization":"
|
160
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-
|
157
|
+
string: '{"successful":true,"response":{"authorization":"1525302811","id":"071-R-OF4X5BAG","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
158
|
+
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-OF4X5BAG","reference":"b3c236dfc49a92bbd8c87de2fad6c442","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:31+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071ROF4X5BAG"},"errors":[],"test":true}'
|
161
159
|
http_version:
|
162
|
-
recorded_at:
|
160
|
+
recorded_at: Wed, 02 May 2018 23:13:30 GMT
|
163
161
|
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":"a1bd477784b77caec48fc6d90b587e19","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
|
-
- Wed,
|
26
|
+
- Wed, 02 May 2018 23:13:32 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -32,32 +32,32 @@ http_interactions:
|
|
32
32
|
- keep-alive
|
33
33
|
Status:
|
34
34
|
- 200 OK
|
35
|
+
X-Rack-Cache:
|
36
|
+
- invalidate, pass
|
35
37
|
Cache-Control:
|
36
38
|
- no-store
|
37
39
|
X-Request-Version:
|
38
|
-
- 1.
|
40
|
+
- 1.16.9-3156@6c1a40b
|
41
|
+
X-Runtime:
|
42
|
+
- '0.708249'
|
39
43
|
Pragma:
|
40
44
|
- no-cache
|
41
45
|
X-Request-Id:
|
42
|
-
-
|
43
|
-
X-Runtime:
|
44
|
-
- '0.382646'
|
45
|
-
X-Rack-Cache:
|
46
|
-
- invalidate, pass
|
46
|
+
- f1bca75ea1c700ad0c030d55
|
47
47
|
X-Backend:
|
48
48
|
- sbox-priv-gateway-a
|
49
49
|
body:
|
50
50
|
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":{"authorization":"
|
52
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
51
|
+
string: '{"successful":true,"response":{"authorization":"869673","id":"071-P-UDR68NWG","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
52
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8nrkc","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"a1bd477784b77caec48fc6d90b587e19","currency":"AUD","transaction_id":"071-P-UDR68NWG","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:13:31+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PUDR68NWG","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
53
53
|
http_version:
|
54
|
-
recorded_at: Wed,
|
54
|
+
recorded_at: Wed, 02 May 2018 23:13:30 GMT
|
55
55
|
- request:
|
56
56
|
method: post
|
57
57
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
|
58
58
|
body:
|
59
59
|
encoding: UTF-8
|
60
|
-
string: '{"transaction_id":"071-P-
|
60
|
+
string: '{"transaction_id":"071-P-UDR68NWG","amount":10000,"reference":"a1bd477784b77caec48fc6d90b587e19","test":true}'
|
61
61
|
headers:
|
62
62
|
Accept-Encoding:
|
63
63
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -75,7 +75,7 @@ http_interactions:
|
|
75
75
|
message: OK
|
76
76
|
headers:
|
77
77
|
Date:
|
78
|
-
- Wed,
|
78
|
+
- Wed, 02 May 2018 23:13:32 GMT
|
79
79
|
Content-Type:
|
80
80
|
- application/json; charset=utf-8
|
81
81
|
Transfer-Encoding:
|
@@ -84,29 +84,29 @@ http_interactions:
|
|
84
84
|
- keep-alive
|
85
85
|
Status:
|
86
86
|
- 200 OK
|
87
|
+
X-Rack-Cache:
|
88
|
+
- invalidate, pass
|
87
89
|
Cache-Control:
|
88
90
|
- no-store
|
89
91
|
X-Request-Version:
|
90
|
-
- 1.
|
92
|
+
- 1.16.9-3156@6c1a40b
|
93
|
+
X-Runtime:
|
94
|
+
- '0.135287'
|
91
95
|
Pragma:
|
92
96
|
- no-cache
|
93
97
|
X-Request-Id:
|
94
|
-
-
|
95
|
-
X-Runtime:
|
96
|
-
- '0.173219'
|
97
|
-
X-Rack-Cache:
|
98
|
-
- invalidate, pass
|
98
|
+
- 34f5b7c2e57d16fcf0239a7a
|
99
99
|
X-Backend:
|
100
100
|
- sbox-priv-gateway-a
|
101
101
|
body:
|
102
102
|
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-
|
103
|
+
string: '{"successful":true,"response":{"authorization":1525302812,"id":"071-R-NRAUGC9C","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
104
|
+
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-NRAUGC9C","reference":"a1bd477784b77caec48fc6d90b587e19","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:32+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RNRAUGC9C"},"errors":[],"test":true}'
|
105
105
|
http_version:
|
106
|
-
recorded_at: Wed,
|
106
|
+
recorded_at: Wed, 02 May 2018 23:13:31 GMT
|
107
107
|
- request:
|
108
108
|
method: get
|
109
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds/
|
109
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds/a1bd477784b77caec48fc6d90b587e19?test=true
|
110
110
|
body:
|
111
111
|
encoding: US-ASCII
|
112
112
|
string: ''
|
@@ -129,7 +129,7 @@ http_interactions:
|
|
129
129
|
message: OK
|
130
130
|
headers:
|
131
131
|
Date:
|
132
|
-
- Wed,
|
132
|
+
- Wed, 02 May 2018 23:13:32 GMT
|
133
133
|
Content-Type:
|
134
134
|
- application/json; charset=utf-8
|
135
135
|
Transfer-Encoding:
|
@@ -143,19 +143,19 @@ http_interactions:
|
|
143
143
|
Cache-Control:
|
144
144
|
- no-store, private
|
145
145
|
X-Request-Version:
|
146
|
-
- 1.
|
146
|
+
- 1.16.9-3156@6c1a40b
|
147
147
|
X-Runtime:
|
148
|
-
- '0.
|
148
|
+
- '0.018997'
|
149
149
|
Pragma:
|
150
150
|
- no-cache
|
151
151
|
X-Request-Id:
|
152
|
-
-
|
152
|
+
- 500fe4dedad30bbc8fa0a6d6
|
153
153
|
X-Backend:
|
154
154
|
- sbox-priv-gateway-a
|
155
155
|
body:
|
156
156
|
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-
|
157
|
+
string: '{"successful":true,"response":{"authorization":"1525302812","id":"071-R-NRAUGC9C","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
158
|
+
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-NRAUGC9C","reference":"a1bd477784b77caec48fc6d90b587e19","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:32+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RNRAUGC9C"},"errors":[],"test":true}'
|
159
159
|
http_version:
|
160
|
-
recorded_at: Wed,
|
160
|
+
recorded_at: Wed, 02 May 2018 23:13:31 GMT
|
161
161
|
recorded_with: VCR 3.0.3
|
@@ -5,27 +5,25 @@ 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":"0a2a2cf679ab92372c2300e3db961664","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
|
9
9
|
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
10
|
Accept-Encoding:
|
13
|
-
- gzip,
|
14
|
-
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
15
13
|
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '214'
|
18
14
|
User-Agent:
|
19
15
|
- Ruby
|
20
16
|
Authorization:
|
21
17
|
- Basic VEVTVDpURVNU
|
18
|
+
Content-Type:
|
19
|
+
- application/json
|
22
20
|
response:
|
23
21
|
status:
|
24
22
|
code: 200
|
25
23
|
message: OK
|
26
24
|
headers:
|
27
25
|
Date:
|
28
|
-
-
|
26
|
+
- Wed, 02 May 2018 23:13:33 GMT
|
29
27
|
Content-Type:
|
30
28
|
- application/json; charset=utf-8
|
31
29
|
Transfer-Encoding:
|
@@ -34,52 +32,50 @@ http_interactions:
|
|
34
32
|
- keep-alive
|
35
33
|
Status:
|
36
34
|
- 200 OK
|
35
|
+
X-Rack-Cache:
|
36
|
+
- invalidate, pass
|
37
37
|
Cache-Control:
|
38
38
|
- no-store
|
39
39
|
X-Request-Version:
|
40
|
-
- 1.
|
40
|
+
- 1.16.9-3156@6c1a40b
|
41
|
+
X-Runtime:
|
42
|
+
- '0.593862'
|
41
43
|
Pragma:
|
42
44
|
- no-cache
|
43
45
|
X-Request-Id:
|
44
|
-
-
|
45
|
-
X-Runtime:
|
46
|
-
- '0.449303'
|
47
|
-
X-Rack-Cache:
|
48
|
-
- invalidate, pass
|
46
|
+
- 7c94d70cdfc1f70949b71654
|
49
47
|
X-Backend:
|
50
48
|
- sbox-priv-gateway-a
|
51
49
|
body:
|
52
50
|
encoding: UTF-8
|
53
|
-
string: '{"successful":true,"response":{"authorization":"
|
54
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
51
|
+
string: '{"successful":true,"response":{"authorization":"129112","id":"071-P-EFDF5FR","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
52
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8lfjp","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"0a2a2cf679ab92372c2300e3db961664","currency":"AUD","transaction_id":"071-P-EFDF5FR","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:13:32+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PEFDF5FR","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
55
53
|
http_version:
|
56
|
-
recorded_at:
|
54
|
+
recorded_at: Wed, 02 May 2018 23:13:31 GMT
|
57
55
|
- request:
|
58
56
|
method: post
|
59
57
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
|
60
58
|
body:
|
61
59
|
encoding: UTF-8
|
62
|
-
string: '{"amount":10000,"reference":"
|
60
|
+
string: '{"amount":10000,"reference":"0a2a2cf679ab92372c2300e3db961664","transaction_id":"071-P-EFDF5FR","test":true}'
|
63
61
|
headers:
|
64
|
-
Accept:
|
65
|
-
- application/json
|
66
62
|
Accept-Encoding:
|
67
|
-
- gzip,
|
68
|
-
|
63
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
64
|
+
Accept:
|
69
65
|
- application/json
|
70
|
-
Content-Length:
|
71
|
-
- '109'
|
72
66
|
User-Agent:
|
73
67
|
- Ruby
|
74
68
|
Authorization:
|
75
69
|
- Basic VEVTVDpURVNU
|
70
|
+
Content-Type:
|
71
|
+
- application/json
|
76
72
|
response:
|
77
73
|
status:
|
78
74
|
code: 200
|
79
75
|
message: OK
|
80
76
|
headers:
|
81
77
|
Date:
|
82
|
-
-
|
78
|
+
- Wed, 02 May 2018 23:13:33 GMT
|
83
79
|
Content-Type:
|
84
80
|
- application/json; charset=utf-8
|
85
81
|
Transfer-Encoding:
|
@@ -88,52 +84,50 @@ http_interactions:
|
|
88
84
|
- keep-alive
|
89
85
|
Status:
|
90
86
|
- 200 OK
|
87
|
+
X-Rack-Cache:
|
88
|
+
- invalidate, pass
|
91
89
|
Cache-Control:
|
92
90
|
- no-store
|
93
91
|
X-Request-Version:
|
94
|
-
- 1.
|
92
|
+
- 1.16.9-3156@6c1a40b
|
93
|
+
X-Runtime:
|
94
|
+
- '0.113498'
|
95
95
|
Pragma:
|
96
96
|
- no-cache
|
97
97
|
X-Request-Id:
|
98
|
-
-
|
99
|
-
X-Runtime:
|
100
|
-
- '0.142685'
|
101
|
-
X-Rack-Cache:
|
102
|
-
- invalidate, pass
|
98
|
+
- 54665178147147f678e73555
|
103
99
|
X-Backend:
|
104
100
|
- sbox-priv-gateway-a
|
105
101
|
body:
|
106
102
|
encoding: UTF-8
|
107
|
-
string: '{"successful":true,"response":{"authorization":
|
108
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-
|
103
|
+
string: '{"successful":true,"response":{"authorization":1525302813,"id":"071-R-TPW6T6QT","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
104
|
+
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-TPW6T6QT","reference":"0a2a2cf679ab92372c2300e3db961664","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:33+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RTPW6T6QT"},"errors":[],"test":true}'
|
109
105
|
http_version:
|
110
|
-
recorded_at:
|
106
|
+
recorded_at: Wed, 02 May 2018 23:13:32 GMT
|
111
107
|
- request:
|
112
108
|
method: post
|
113
109
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
|
114
110
|
body:
|
115
111
|
encoding: UTF-8
|
116
|
-
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"
|
112
|
+
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"0a2a2cf679ab92372c2300e3db961664","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
|
117
113
|
headers:
|
118
|
-
Accept:
|
119
|
-
- application/json
|
120
114
|
Accept-Encoding:
|
121
|
-
- gzip,
|
122
|
-
|
115
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
116
|
+
Accept:
|
123
117
|
- application/json
|
124
|
-
Content-Length:
|
125
|
-
- '214'
|
126
118
|
User-Agent:
|
127
119
|
- Ruby
|
128
120
|
Authorization:
|
129
121
|
- Basic VEVTVDpURVNU
|
122
|
+
Content-Type:
|
123
|
+
- application/json
|
130
124
|
response:
|
131
125
|
status:
|
132
126
|
code: 200
|
133
127
|
message: OK
|
134
128
|
headers:
|
135
129
|
Date:
|
136
|
-
-
|
130
|
+
- Wed, 02 May 2018 23:13:33 GMT
|
137
131
|
Content-Type:
|
138
132
|
- application/json; charset=utf-8
|
139
133
|
Transfer-Encoding:
|
@@ -142,53 +136,51 @@ http_interactions:
|
|
142
136
|
- keep-alive
|
143
137
|
Status:
|
144
138
|
- 200 OK
|
139
|
+
X-Rack-Cache:
|
140
|
+
- invalidate, pass
|
145
141
|
Cache-Control:
|
146
142
|
- no-store
|
147
143
|
X-Request-Version:
|
148
|
-
- 1.
|
144
|
+
- 1.16.9-3156@6c1a40b
|
145
|
+
X-Runtime:
|
146
|
+
- '0.430060'
|
149
147
|
Pragma:
|
150
148
|
- no-cache
|
151
149
|
X-Request-Id:
|
152
|
-
-
|
153
|
-
X-Runtime:
|
154
|
-
- '0.234343'
|
155
|
-
X-Rack-Cache:
|
156
|
-
- invalidate, pass
|
150
|
+
- f6c13a80504af7861e406b92
|
157
151
|
X-Backend:
|
158
152
|
- sbox-priv-gateway-a
|
159
153
|
body:
|
160
154
|
encoding: UTF-8
|
161
|
-
string: '{"successful":false,"response":{"authorization":null,"id":"071-P-
|
162
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
155
|
+
string: '{"successful":false,"response":{"authorization":null,"id":"071-P-MKAZTCK7","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
156
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8xggj","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":false,"message":null,"reference":"0a2a2cf679ab92372c2300e3db961664","currency":"AUD","transaction_id":"071-P-MKAZTCK7","settlement_date":null,"transaction_date":null,"response_code":"99","captured":false,"captured_amount":null,"rrn":null,"cvv_match":"U","metadata":{},"addendum_data":{}},"errors":["Reference
|
163
157
|
is already taken"],"test":true}'
|
164
158
|
http_version:
|
165
|
-
recorded_at:
|
159
|
+
recorded_at: Wed, 02 May 2018 23:13:32 GMT
|
166
160
|
- request:
|
167
161
|
method: post
|
168
162
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
|
169
163
|
body:
|
170
164
|
encoding: UTF-8
|
171
|
-
string: '{"amount":10000,"reference":"
|
165
|
+
string: '{"amount":10000,"reference":"0a2a2cf679ab92372c2300e3db961664","transaction_id":"071-P-MKAZTCK7","test":true}'
|
172
166
|
headers:
|
173
|
-
Accept:
|
174
|
-
- application/json
|
175
167
|
Accept-Encoding:
|
176
|
-
- gzip,
|
177
|
-
|
168
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
169
|
+
Accept:
|
178
170
|
- application/json
|
179
|
-
Content-Length:
|
180
|
-
- '109'
|
181
171
|
User-Agent:
|
182
172
|
- Ruby
|
183
173
|
Authorization:
|
184
174
|
- Basic VEVTVDpURVNU
|
175
|
+
Content-Type:
|
176
|
+
- application/json
|
185
177
|
response:
|
186
178
|
status:
|
187
179
|
code: 200
|
188
180
|
message: OK
|
189
181
|
headers:
|
190
182
|
Date:
|
191
|
-
-
|
183
|
+
- Wed, 02 May 2018 23:13:33 GMT
|
192
184
|
Content-Type:
|
193
185
|
- application/json; charset=utf-8
|
194
186
|
Transfer-Encoding:
|
@@ -197,18 +189,18 @@ http_interactions:
|
|
197
189
|
- keep-alive
|
198
190
|
Status:
|
199
191
|
- 200 OK
|
192
|
+
X-Rack-Cache:
|
193
|
+
- invalidate, pass
|
200
194
|
Cache-Control:
|
201
195
|
- no-store
|
202
196
|
X-Request-Version:
|
203
|
-
- 1.
|
197
|
+
- 1.16.9-3156@6c1a40b
|
198
|
+
X-Runtime:
|
199
|
+
- '0.016515'
|
204
200
|
Pragma:
|
205
201
|
- no-cache
|
206
202
|
X-Request-Id:
|
207
|
-
-
|
208
|
-
X-Runtime:
|
209
|
-
- '0.025040'
|
210
|
-
X-Rack-Cache:
|
211
|
-
- invalidate, pass
|
203
|
+
- 58508e95a74e9daea19bdcf7
|
212
204
|
X-Backend:
|
213
205
|
- sbox-priv-gateway-a
|
214
206
|
body:
|
@@ -216,7 +208,7 @@ http_interactions:
|
|
216
208
|
string: '{"successful":false,"response":{},"errors":["Original transaction could
|
217
209
|
not be found"],"test":true}'
|
218
210
|
http_version:
|
219
|
-
recorded_at:
|
211
|
+
recorded_at: Wed, 02 May 2018 23:13:32 GMT
|
220
212
|
- request:
|
221
213
|
method: get
|
222
214
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds?limit=10&offets=0&test=true
|
@@ -224,23 +216,25 @@ http_interactions:
|
|
224
216
|
encoding: US-ASCII
|
225
217
|
string: ''
|
226
218
|
headers:
|
227
|
-
Accept:
|
228
|
-
- application/json
|
229
219
|
Accept-Encoding:
|
230
|
-
- gzip,
|
231
|
-
|
220
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
221
|
+
Accept:
|
232
222
|
- application/json
|
233
223
|
User-Agent:
|
234
224
|
- Ruby
|
225
|
+
Host:
|
226
|
+
- gateway.sandbox.fatzebra.com.au
|
235
227
|
Authorization:
|
236
228
|
- Basic VEVTVDpURVNU
|
229
|
+
Content-Type:
|
230
|
+
- application/json
|
237
231
|
response:
|
238
232
|
status:
|
239
233
|
code: 200
|
240
234
|
message: OK
|
241
235
|
headers:
|
242
236
|
Date:
|
243
|
-
-
|
237
|
+
- Wed, 02 May 2018 23:13:34 GMT
|
244
238
|
Content-Type:
|
245
239
|
- application/json; charset=utf-8
|
246
240
|
Transfer-Encoding:
|
@@ -249,33 +243,33 @@ http_interactions:
|
|
249
243
|
- keep-alive
|
250
244
|
Status:
|
251
245
|
- 200 OK
|
246
|
+
X-Rack-Cache:
|
247
|
+
- miss
|
252
248
|
Cache-Control:
|
253
249
|
- no-store, private
|
254
250
|
X-Request-Version:
|
255
|
-
- 1.
|
251
|
+
- 1.16.9-3156@6c1a40b
|
252
|
+
X-Runtime:
|
253
|
+
- '0.074672'
|
256
254
|
Pragma:
|
257
255
|
- no-cache
|
258
256
|
X-Request-Id:
|
259
|
-
-
|
260
|
-
X-Runtime:
|
261
|
-
- '0.071320'
|
262
|
-
X-Rack-Cache:
|
263
|
-
- miss
|
257
|
+
- '05872e34d311642605558016'
|
264
258
|
X-Backend:
|
265
259
|
- sbox-priv-gateway-a
|
266
260
|
body:
|
267
261
|
encoding: UTF-8
|
268
|
-
string: '{"successful":true,"response":[{"authorization":"
|
269
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-
|
270
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-
|
271
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-
|
272
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-
|
273
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-
|
274
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-
|
275
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-
|
276
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-
|
277
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-
|
278
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-
|
262
|
+
string: '{"successful":true,"response":[{"authorization":"1525302813","id":"071-R-TPW6T6QT","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
263
|
+
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-TPW6T6QT","reference":"0a2a2cf679ab92372c2300e3db961664","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:33+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RTPW6T6QT"},{"authorization":"1525302812","id":"071-R-NRAUGC9C","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
264
|
+
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-NRAUGC9C","reference":"a1bd477784b77caec48fc6d90b587e19","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:32+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RNRAUGC9C"},{"authorization":"1525302811","id":"071-R-OF4X5BAG","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
265
|
+
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-OF4X5BAG","reference":"b3c236dfc49a92bbd8c87de2fad6c442","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:31+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071ROF4X5BAG"},{"authorization":"1525302810","id":"071-R-6HGWYTA7","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
266
|
+
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-6HGWYTA7","reference":"995605156163594e4c1d7686843de273","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:30+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071R6HGWYTA7"},{"authorization":"1525302809","id":"071-R-HV39K95F","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
267
|
+
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-HV39K95F","reference":"efb1e7e17a2a706373473646a301bdc9","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:29+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RHV39K95F"},{"authorization":"1525302808","id":"071-R-H7KWXTZ9","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
268
|
+
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-H7KWXTZ9","reference":"9c2d237edd9e97bd6b93810d97a13f83","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:28+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RH7KWXTZ9"},{"authorization":"1525302807","id":"071-R-FRQXQ21D","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
269
|
+
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-FRQXQ21D","reference":"c0c8155ad3e0b4a66f3b0777dd20aa0b","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:27+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RFRQXQ21D"},{"authorization":"1525302806","id":"071-R-AL9LMCOF","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
270
|
+
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-AL9LMCOF","reference":"d98068c89fee7ba68877ca41d3edb166","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:26+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RAL9LMCOF"},{"authorization":"1525302805","id":"071-R-M66J056Q","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
271
|
+
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-M66J056Q","reference":"755cce12e7b9a2fdc95da3db60dae05b","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:25+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RM66J056Q"},{"authorization":"1525302804","id":"071-R-HPZIRHMH","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
272
|
+
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-HPZIRHMH","reference":"d235cb7584bec1a8a7fcf1be1c146f3b","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:13:24+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RHPZIRHMH"}],"errors":[],"test":true,"records":10,"total_records":21708,"page":1,"total_pages":2171}'
|
279
273
|
http_version:
|
280
|
-
recorded_at:
|
274
|
+
recorded_at: Wed, 02 May 2018 23:13:32 GMT
|
281
275
|
recorded_with: VCR 3.0.3
|