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,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":"f4ca740023d441d946acdae4c319ae7f","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:12:43 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -32,29 +32,29 @@ 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.563467'
|
39
43
|
Pragma:
|
40
44
|
- no-cache
|
41
45
|
X-Request-Id:
|
42
|
-
-
|
43
|
-
X-Runtime:
|
44
|
-
- '0.302187'
|
45
|
-
X-Rack-Cache:
|
46
|
-
- invalidate, pass
|
46
|
+
- 5640c960f8052400a2f9b4e0
|
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":"361980","id":"071-P-9KTRP8GK","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
52
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8xyg9","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"f4ca740023d441d946acdae4c319ae7f","currency":"AUD","transaction_id":"071-P-9KTRP8GK","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:12:43+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P9KTRP8GK","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:12:42 GMT
|
55
55
|
- request:
|
56
56
|
method: get
|
57
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/
|
57
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/f4ca740023d441d946acdae4c319ae7f?test=true
|
58
58
|
body:
|
59
59
|
encoding: US-ASCII
|
60
60
|
string: ''
|
@@ -77,7 +77,7 @@ http_interactions:
|
|
77
77
|
message: OK
|
78
78
|
headers:
|
79
79
|
Date:
|
80
|
-
- Wed,
|
80
|
+
- Wed, 02 May 2018 23:12:43 GMT
|
81
81
|
Content-Type:
|
82
82
|
- application/json; charset=utf-8
|
83
83
|
Transfer-Encoding:
|
@@ -91,19 +91,19 @@ http_interactions:
|
|
91
91
|
Cache-Control:
|
92
92
|
- no-store, private
|
93
93
|
X-Request-Version:
|
94
|
-
- 1.
|
94
|
+
- 1.16.9-3156@6c1a40b
|
95
95
|
X-Runtime:
|
96
|
-
- '0.
|
96
|
+
- '0.020777'
|
97
97
|
Pragma:
|
98
98
|
- no-cache
|
99
99
|
X-Request-Id:
|
100
|
-
-
|
100
|
+
- 47a2136095e2d5e0b3e72820
|
101
101
|
X-Backend:
|
102
102
|
- sbox-priv-gateway-a
|
103
103
|
body:
|
104
104
|
encoding: UTF-8
|
105
|
-
string: '{"successful":true,"response":{"authorization":"
|
106
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
105
|
+
string: '{"successful":true,"response":{"authorization":"361980","id":"071-P-9KTRP8GK","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
106
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8xyg9","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"f4ca740023d441d946acdae4c319ae7f","currency":"AUD","transaction_id":"071-P-9KTRP8GK","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:12:43+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P9KTRP8GK","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
107
107
|
http_version:
|
108
|
-
recorded_at: Wed,
|
108
|
+
recorded_at: Wed, 02 May 2018 23:12:42 GMT
|
109
109
|
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":"cfbaa00c4ada83d61839a1dc211411bb","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:12:50 GMT
|
29
27
|
Content-Type:
|
30
28
|
- application/json; charset=utf-8
|
31
29
|
Transfer-Encoding:
|
@@ -39,47 +37,45 @@ http_interactions:
|
|
39
37
|
Cache-Control:
|
40
38
|
- no-store
|
41
39
|
X-Request-Version:
|
42
|
-
- 1.
|
40
|
+
- 1.16.9-3156@6c1a40b
|
43
41
|
X-Runtime:
|
44
|
-
- '0.
|
42
|
+
- '0.535868'
|
45
43
|
Pragma:
|
46
44
|
- no-cache
|
47
45
|
X-Request-Id:
|
48
|
-
-
|
46
|
+
- f7d7125e31cc8e8ea48c4777
|
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":"516042","id":"071-P-IIY5ELME","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
52
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8b6ph","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"cfbaa00c4ada83d61839a1dc211411bb","currency":"AUD","transaction_id":"071-P-IIY5ELME","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:12:50+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PIIY5ELME","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
55
53
|
http_version:
|
56
|
-
recorded_at:
|
54
|
+
recorded_at: Wed, 02 May 2018 23:12:49 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-IIY5ELME","amount":10000,"reference":"cfbaa00c4ada83d61839a1dc211411bb","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:12:51 GMT
|
83
79
|
Content-Type:
|
84
80
|
- application/json; charset=utf-8
|
85
81
|
Transfer-Encoding:
|
@@ -93,19 +89,19 @@ http_interactions:
|
|
93
89
|
Cache-Control:
|
94
90
|
- no-store
|
95
91
|
X-Request-Version:
|
96
|
-
- 1.
|
92
|
+
- 1.16.9-3156@6c1a40b
|
97
93
|
X-Runtime:
|
98
|
-
- '0.
|
94
|
+
- '0.145287'
|
99
95
|
Pragma:
|
100
96
|
- no-cache
|
101
97
|
X-Request-Id:
|
102
|
-
-
|
98
|
+
- f73a3179223a7da4b940f442
|
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":1525302770,"id":"071-R-ZNVOVX4L","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-ZNVOVX4L","reference":"cfbaa00c4ada83d61839a1dc211411bb","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:12:50+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RZNVOVX4L"},"errors":[],"test":true}'
|
109
105
|
http_version:
|
110
|
-
recorded_at:
|
106
|
+
recorded_at: Wed, 02 May 2018 23:12:49 GMT
|
111
107
|
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":"d3aa7101bed32ec1f78ac8eb89aa6821","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:12:51 GMT
|
29
27
|
Content-Type:
|
30
28
|
- application/json; charset=utf-8
|
31
29
|
Transfer-Encoding:
|
@@ -39,47 +37,45 @@ http_interactions:
|
|
39
37
|
Cache-Control:
|
40
38
|
- no-store
|
41
39
|
X-Request-Version:
|
42
|
-
- 1.
|
40
|
+
- 1.16.9-3156@6c1a40b
|
43
41
|
X-Runtime:
|
44
|
-
- '0.
|
42
|
+
- '0.574003'
|
45
43
|
Pragma:
|
46
44
|
- no-cache
|
47
45
|
X-Request-Id:
|
48
|
-
-
|
46
|
+
- 394d700f503c1b404d828f63
|
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":"360217","id":"071-P-AYZ5XSWX","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
52
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8mk5p","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"d3aa7101bed32ec1f78ac8eb89aa6821","currency":"AUD","transaction_id":"071-P-AYZ5XSWX","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:12:51+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PAYZ5XSWX","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
55
53
|
http_version:
|
56
|
-
recorded_at:
|
54
|
+
recorded_at: Wed, 02 May 2018 23:12:50 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-AYZ5XSWX","amount":10000,"reference":"d3aa7101bed32ec1f78ac8eb89aa6821","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:12:51 GMT
|
83
79
|
Content-Type:
|
84
80
|
- application/json; charset=utf-8
|
85
81
|
Transfer-Encoding:
|
@@ -93,19 +89,19 @@ http_interactions:
|
|
93
89
|
Cache-Control:
|
94
90
|
- no-store
|
95
91
|
X-Request-Version:
|
96
|
-
- 1.
|
92
|
+
- 1.16.9-3156@6c1a40b
|
97
93
|
X-Runtime:
|
98
|
-
- '0.
|
94
|
+
- '0.131395'
|
99
95
|
Pragma:
|
100
96
|
- no-cache
|
101
97
|
X-Request-Id:
|
102
|
-
-
|
98
|
+
- cf796b4bb382b04b7cba1a3d
|
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":1525302771,"id":"071-R-ZEJY8B65","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-ZEJY8B65","reference":"d3aa7101bed32ec1f78ac8eb89aa6821","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:12:51+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RZEJY8B65"},"errors":[],"test":true}'
|
109
105
|
http_version:
|
110
|
-
recorded_at:
|
106
|
+
recorded_at: Wed, 02 May 2018 23:12:50 GMT
|
111
107
|
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":"bbedb98666ea84a9775b945afa841dbf","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:12:52 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.553570'
|
39
43
|
Pragma:
|
40
44
|
- no-cache
|
41
45
|
X-Request-Id:
|
42
|
-
-
|
43
|
-
X-Runtime:
|
44
|
-
- '0.367665'
|
45
|
-
X-Rack-Cache:
|
46
|
-
- invalidate, pass
|
46
|
+
- ad3d85af6f105cd8538e28f9
|
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":"654310","id":"071-P-QWJHQKWJ","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
52
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8u1pa","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"bbedb98666ea84a9775b945afa841dbf","currency":"AUD","transaction_id":"071-P-QWJHQKWJ","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:12:52+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PQWJHQKWJ","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:12:51 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-QWJHQKWJ","amount":10000,"reference":"bbedb98666ea84a9775b945afa841dbf","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:12:52 GMT
|
79
79
|
Content-Type:
|
80
80
|
- application/json; charset=utf-8
|
81
81
|
Transfer-Encoding:
|
@@ -89,19 +89,19 @@ http_interactions:
|
|
89
89
|
Cache-Control:
|
90
90
|
- no-store
|
91
91
|
X-Request-Version:
|
92
|
-
- 1.
|
92
|
+
- 1.16.9-3156@6c1a40b
|
93
93
|
X-Runtime:
|
94
|
-
- '0.
|
94
|
+
- '0.146359'
|
95
95
|
Pragma:
|
96
96
|
- no-cache
|
97
97
|
X-Request-Id:
|
98
|
-
-
|
98
|
+
- a751384099a1838063e0ab20
|
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":1525302772,"id":"071-R-IHWEBWTJ","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-IHWEBWTJ","reference":"bbedb98666ea84a9775b945afa841dbf","currency":"AUD","successful":true,"transaction_date":"2018-05-03T09:12:52+10:00","response_code":"00","settlement_date":"2018-05-04","metadata":{},"standalone":false,"rrn":"071RIHWEBWTJ"},"errors":[],"test":true}'
|
105
105
|
http_version:
|
106
|
-
recorded_at: Wed,
|
106
|
+
recorded_at: Wed, 02 May 2018 23:12:51 GMT
|
107
107
|
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":"01938863b4102e9c868990d939b0d6af-0","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
|
+
- Wed, 02 May 2018 23:12:44 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.570810'
|
39
43
|
Pragma:
|
40
44
|
- no-cache
|
41
45
|
X-Request-Id:
|
42
|
-
-
|
43
|
-
X-Runtime:
|
44
|
-
- '0.325148'
|
45
|
-
X-Rack-Cache:
|
46
|
-
- invalidate, pass
|
46
|
+
- a2d386e0302e78e0c2488e20
|
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":"202497","id":"071-P-BPR15ZDO","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
52
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8bqg2","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"01938863b4102e9c868990d939b0d6af-0","currency":"AUD","transaction_id":"071-P-BPR15ZDO","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:12:44+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PBPR15ZDO","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
53
53
|
http_version:
|
54
|
-
recorded_at:
|
54
|
+
recorded_at: Wed, 02 May 2018 23:12:43 GMT
|
55
55
|
- request:
|
56
56
|
method: post
|
57
57
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
|
58
58
|
body:
|
59
59
|
encoding: UTF-8
|
60
|
-
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"
|
60
|
+
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"18fe40bb6a428863034023db501945d1-1","customer_ip":"1.2.3.4","currency":"AUD","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
|
-
-
|
78
|
+
- Wed, 02 May 2018 23:12:46 GMT
|
79
79
|
Content-Type:
|
80
80
|
- application/json; charset=utf-8
|
81
81
|
Transfer-Encoding:
|
@@ -84,26 +84,26 @@ 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.547403'
|
91
95
|
Pragma:
|
92
96
|
- no-cache
|
93
97
|
X-Request-Id:
|
94
|
-
-
|
95
|
-
X-Runtime:
|
96
|
-
- '0.366856'
|
97
|
-
X-Rack-Cache:
|
98
|
-
- invalidate, pass
|
98
|
+
- d2b34b60bb236a4081fe5c20
|
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_expiry":"2030-02-28","card_token":"
|
103
|
+
string: '{"successful":true,"response":{"authorization":"721411","id":"071-P-DIQKKCN7","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
104
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke89xqr","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"18fe40bb6a428863034023db501945d1-1","currency":"AUD","transaction_id":"071-P-DIQKKCN7","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:12:46+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PDIQKKCN7","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
105
105
|
http_version:
|
106
|
-
recorded_at:
|
106
|
+
recorded_at: Wed, 02 May 2018 23:12:45 GMT
|
107
107
|
- request:
|
108
108
|
method: get
|
109
109
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases?from=2017/07/03&limit=10&offets=0&test=true
|
@@ -129,7 +129,7 @@ http_interactions:
|
|
129
129
|
message: OK
|
130
130
|
headers:
|
131
131
|
Date:
|
132
|
-
-
|
132
|
+
- Wed, 02 May 2018 23:12:46 GMT
|
133
133
|
Content-Type:
|
134
134
|
- application/json; charset=utf-8
|
135
135
|
Transfer-Encoding:
|
@@ -143,28 +143,28 @@ 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.226587'
|
149
149
|
Pragma:
|
150
150
|
- no-cache
|
151
151
|
X-Request-Id:
|
152
|
-
-
|
152
|
+
- '01924c00d4a26d4031323280'
|
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_expiry":"2030-02-28","card_token":"
|
159
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
160
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
161
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
162
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
163
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
164
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
165
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
166
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
167
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
157
|
+
string: '{"successful":true,"response":[{"authorization":"721411","id":"071-P-DIQKKCN7","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
158
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke89xqr","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"18fe40bb6a428863034023db501945d1-1","currency":"AUD","transaction_id":"071-P-DIQKKCN7","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:12:46+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PDIQKKCN7","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"202497","id":"071-P-BPR15ZDO","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
159
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8bqg2","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"01938863b4102e9c868990d939b0d6af-0","currency":"AUD","transaction_id":"071-P-BPR15ZDO","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:12:44+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PBPR15ZDO","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"361980","id":"071-P-9KTRP8GK","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
160
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8xyg9","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"f4ca740023d441d946acdae4c319ae7f","currency":"AUD","transaction_id":"071-P-9KTRP8GK","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:12:43+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P9KTRP8GK","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"977249","id":"071-P-EJAVMTQI","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
161
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8dyde","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"0a263d2ff5cb6ca1f954704bfabab6bc","currency":"AUD","transaction_id":"071-P-EJAVMTQI","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:12:42+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PEJAVMTQI","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"765356","id":"071-P-21E8ZR1T","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
162
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke81k0e","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"9f4b99fc04738acd841764b407e4e5b8","currency":"AUD","transaction_id":"071-P-21E8ZR1T","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:12:41+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P21E8ZR1T","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"288848","id":"071-P-OTC4BUH","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
163
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke865n5","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"cc814a529e985760901385afc4f44d33","currency":"AUD","transaction_id":"071-P-OTC4BUH","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:12:39+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071POTC4BUH","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"301326","id":"071-P-OK6QG3M0","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
164
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke86dzp","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"21d687fc7f1ff3510034cd1687a8801c","currency":"AUD","transaction_id":"071-P-OK6QG3M0","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:12:37+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071POK6QG3M0","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"578101","id":"071-P-QNUR9M1O","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
165
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke84ezz","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"1840e02c9b1b50fcbd30b21922293b06","currency":"AUD","transaction_id":"071-P-QNUR9M1O","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:12:37+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PQNUR9M1O","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"865282","id":"071-P-O81BL25D","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
166
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8otoi","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"6b9645136b52b407a09b232093997366","currency":"AUD","transaction_id":"071-P-O81BL25D","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:12:36+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PO81BL25D","cvv_match":"M","metadata":{},"addendum_data":{}},{"authorization":"675787","id":"071-P-48K3WUJY","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
167
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke85ha5","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"d5f4b035850bbf0a1f02464db2ed7a64","currency":"AUD","transaction_id":"071-P-48K3WUJY","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:12:35+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P48K3WUJY","cvv_match":"M","metadata":{},"addendum_data":{}}],"errors":[],"test":true,"records":10,"total_records":649837,"page":1,"total_pages":64984}'
|
168
168
|
http_version:
|
169
|
-
recorded_at:
|
169
|
+
recorded_at: Wed, 02 May 2018 23:12:45 GMT
|
170
170
|
recorded_with: VCR 3.0.3
|