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":"2e815f1a746108c0443e2ca8265197c8","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
|
-
- Wed,
|
26
|
+
- Wed, 02 May 2018 23:12:34 GMT
|
29
27
|
Content-Type:
|
30
28
|
- application/json; charset=utf-8
|
31
29
|
Transfer-Encoding:
|
@@ -39,19 +37,19 @@ 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.587322'
|
45
43
|
Pragma:
|
46
44
|
- no-cache
|
47
45
|
X-Request-Id:
|
48
|
-
-
|
46
|
+
- 94419b217f62d4faf06da4f5
|
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":"376544","id":"071-P-7GEXM9W3","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
52
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8sqw5","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"2e815f1a746108c0443e2ca8265197c8","currency":"AUD","transaction_id":"071-P-7GEXM9W3","settlement_date":"2018-05-03","transaction_date":"2018-05-03T09:12:34+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P7GEXM9W3","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
55
53
|
http_version:
|
56
|
-
recorded_at: Wed,
|
54
|
+
recorded_at: Wed, 02 May 2018 23:12:33 GMT
|
57
55
|
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":"62fa061f48d5e607ea3831f0ffb6d5e7","customer_ip":"1.2.3.4","currency":"XXX","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:38 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -32,26 +32,26 @@ 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.419941'
|
39
43
|
Pragma:
|
40
44
|
- no-cache
|
41
45
|
X-Request-Id:
|
42
|
-
-
|
43
|
-
X-Runtime:
|
44
|
-
- '0.261157'
|
45
|
-
X-Rack-Cache:
|
46
|
-
- invalidate, pass
|
46
|
+
- 36fbd8c087b9d180230e3760
|
47
47
|
X-Backend:
|
48
48
|
- sbox-priv-gateway-a
|
49
49
|
body:
|
50
50
|
encoding: UTF-8
|
51
|
-
string: '{"successful":false,"response":{"authorization":null,"id":"071-P-
|
52
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
51
|
+
string: '{"successful":false,"response":{"authorization":null,"id":"071-P-NMQOTE3P","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
52
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8b8fn","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":false,"message":null,"reference":"62fa061f48d5e607ea3831f0ffb6d5e7","currency":"XXX","transaction_id":"071-P-NMQOTE3P","settlement_date":null,"transaction_date":null,"response_code":"99","captured":false,"captured_amount":null,"rrn":null,"cvv_match":"U","metadata":{},"addendum_data":{}},"errors":["Currency
|
53
53
|
XXX is not valid for this merchant. Permitted currencies: USD, AUD, NZD, GBP,
|
54
54
|
EUR, JPY, CHF, CAD, HKD, and SGD"],"test":true}'
|
55
55
|
http_version:
|
56
|
-
recorded_at: Wed,
|
56
|
+
recorded_at: Wed, 02 May 2018 23:12:37 GMT
|
57
57
|
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":"b9de79063533781c7b101bde59efe9b4","customer_ip":"1.2.3.4","currency":"XXX","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:39 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -37,21 +37,21 @@ http_interactions:
|
|
37
37
|
Cache-Control:
|
38
38
|
- no-store
|
39
39
|
X-Request-Version:
|
40
|
-
- 1.
|
40
|
+
- 1.16.9-3156@6c1a40b
|
41
41
|
X-Runtime:
|
42
|
-
- '0.
|
42
|
+
- '0.434029'
|
43
43
|
Pragma:
|
44
44
|
- no-cache
|
45
45
|
X-Request-Id:
|
46
|
-
-
|
46
|
+
- d71510bcddc41a64bb8dac8d
|
47
47
|
X-Backend:
|
48
48
|
- sbox-priv-gateway-a
|
49
49
|
body:
|
50
50
|
encoding: UTF-8
|
51
|
-
string: '{"successful":false,"response":{"authorization":null,"id":"071-P-
|
52
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
51
|
+
string: '{"successful":false,"response":{"authorization":null,"id":"071-P-H8802QF9","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
52
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8jter","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":false,"message":null,"reference":"b9de79063533781c7b101bde59efe9b4","currency":"XXX","transaction_id":"071-P-H8802QF9","settlement_date":null,"transaction_date":null,"response_code":"99","captured":false,"captured_amount":null,"rrn":null,"cvv_match":"U","metadata":{},"addendum_data":{}},"errors":["Currency
|
53
53
|
XXX is not valid for this merchant. Permitted currencies: USD, AUD, NZD, GBP,
|
54
54
|
EUR, JPY, CHF, CAD, HKD, and SGD"],"test":true}'
|
55
55
|
http_version:
|
56
|
-
recorded_at: Wed,
|
56
|
+
recorded_at: Wed, 02 May 2018 23:12:38 GMT
|
57
57
|
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":"cc814a529e985760901385afc4f44d33","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
|
-
- Wed,
|
26
|
+
- Wed, 02 May 2018 23:12:40 GMT
|
29
27
|
Content-Type:
|
30
28
|
- application/json; charset=utf-8
|
31
29
|
Transfer-Encoding:
|
@@ -34,50 +32,52 @@ 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.741217'
|
41
43
|
Pragma:
|
42
44
|
- no-cache
|
43
45
|
X-Request-Id:
|
44
|
-
-
|
45
|
-
X-Runtime:
|
46
|
-
- '0.373026'
|
47
|
-
X-Rack-Cache:
|
48
|
-
- invalidate, pass
|
46
|
+
- 8e4a68401e6959c0a8dd4760
|
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":"288848","id":"071-P-OTC4BUH","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
52
|
+
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":{}},"errors":[],"test":true}'
|
55
53
|
http_version:
|
56
|
-
recorded_at: Wed,
|
54
|
+
recorded_at: Wed, 02 May 2018 23:12:39 GMT
|
57
55
|
- request:
|
58
56
|
method: get
|
59
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/
|
57
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/cc814a529e985760901385afc4f44d33?test=true
|
60
58
|
body:
|
61
59
|
encoding: US-ASCII
|
62
60
|
string: ''
|
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
66
|
User-Agent:
|
71
67
|
- Ruby
|
68
|
+
Host:
|
69
|
+
- gateway.sandbox.fatzebra.com.au
|
72
70
|
Authorization:
|
73
71
|
- Basic VEVTVDpURVNU
|
72
|
+
Content-Type:
|
73
|
+
- application/json
|
74
74
|
response:
|
75
75
|
status:
|
76
76
|
code: 200
|
77
77
|
message: OK
|
78
78
|
headers:
|
79
79
|
Date:
|
80
|
-
- Wed,
|
80
|
+
- Wed, 02 May 2018 23:12:40 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.019350'
|
97
97
|
Pragma:
|
98
98
|
- no-cache
|
99
99
|
X-Request-Id:
|
100
|
-
-
|
100
|
+
- f3450f407337884004ef35a0
|
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":"288848","id":"071-P-OTC4BUH","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
106
|
+
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":{}},"errors":[],"test":true}'
|
107
107
|
http_version:
|
108
|
-
recorded_at: Wed,
|
108
|
+
recorded_at: Wed, 02 May 2018 23:12:39 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":"9f4b99fc04738acd841764b407e4e5b8","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
|
-
- Wed,
|
26
|
+
- Wed, 02 May 2018 23:12:41 GMT
|
29
27
|
Content-Type:
|
30
28
|
- application/json; charset=utf-8
|
31
29
|
Transfer-Encoding:
|
@@ -34,50 +32,52 @@ 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.542421'
|
41
43
|
Pragma:
|
42
44
|
- no-cache
|
43
45
|
X-Request-Id:
|
44
|
-
-
|
45
|
-
X-Runtime:
|
46
|
-
- '0.333590'
|
47
|
-
X-Rack-Cache:
|
48
|
-
- invalidate, pass
|
46
|
+
- 2fed69be5cf886aab10e75a7
|
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":"765356","id":"071-P-21E8ZR1T","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
52
|
+
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":{}},"errors":[],"test":true}'
|
55
53
|
http_version:
|
56
|
-
recorded_at: Wed,
|
54
|
+
recorded_at: Wed, 02 May 2018 23:12:39 GMT
|
57
55
|
- request:
|
58
56
|
method: get
|
59
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/
|
57
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/9f4b99fc04738acd841764b407e4e5b8?test=true
|
60
58
|
body:
|
61
59
|
encoding: US-ASCII
|
62
60
|
string: ''
|
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
66
|
User-Agent:
|
71
67
|
- Ruby
|
68
|
+
Host:
|
69
|
+
- gateway.sandbox.fatzebra.com.au
|
72
70
|
Authorization:
|
73
71
|
- Basic VEVTVDpURVNU
|
72
|
+
Content-Type:
|
73
|
+
- application/json
|
74
74
|
response:
|
75
75
|
status:
|
76
76
|
code: 200
|
77
77
|
message: OK
|
78
78
|
headers:
|
79
79
|
Date:
|
80
|
-
- Wed,
|
80
|
+
- Wed, 02 May 2018 23:12:41 GMT
|
81
81
|
Content-Type:
|
82
82
|
- application/json; charset=utf-8
|
83
83
|
Transfer-Encoding:
|
@@ -86,24 +86,24 @@ http_interactions:
|
|
86
86
|
- keep-alive
|
87
87
|
Status:
|
88
88
|
- 200 OK
|
89
|
+
X-Rack-Cache:
|
90
|
+
- miss
|
89
91
|
Cache-Control:
|
90
92
|
- no-store, private
|
91
93
|
X-Request-Version:
|
92
|
-
- 1.
|
94
|
+
- 1.16.9-3156@6c1a40b
|
95
|
+
X-Runtime:
|
96
|
+
- '0.021373'
|
93
97
|
Pragma:
|
94
98
|
- no-cache
|
95
99
|
X-Request-Id:
|
96
|
-
-
|
97
|
-
X-Runtime:
|
98
|
-
- '0.038150'
|
99
|
-
X-Rack-Cache:
|
100
|
-
- miss
|
100
|
+
- b555309a7be94ef871b36203
|
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":"765356","id":"071-P-21E8ZR1T","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
106
|
+
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":{}},"errors":[],"test":true}'
|
107
107
|
http_version:
|
108
|
-
recorded_at: Wed,
|
108
|
+
recorded_at: Wed, 02 May 2018 23:12:40 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":"0a263d2ff5cb6ca1f954704bfabab6bc","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
|
-
- Wed,
|
26
|
+
- Wed, 02 May 2018 23:12:42 GMT
|
29
27
|
Content-Type:
|
30
28
|
- application/json; charset=utf-8
|
31
29
|
Transfer-Encoding:
|
@@ -39,45 +37,47 @@ 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.590388'
|
45
43
|
Pragma:
|
46
44
|
- no-cache
|
47
45
|
X-Request-Id:
|
48
|
-
-
|
46
|
+
- eb1bf878177eafd15e47cd85
|
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":"977249","id":"071-P-EJAVMTQI","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
52
|
+
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":{}},"errors":[],"test":true}'
|
55
53
|
http_version:
|
56
|
-
recorded_at: Wed,
|
54
|
+
recorded_at: Wed, 02 May 2018 23:12:41 GMT
|
57
55
|
- request:
|
58
56
|
method: get
|
59
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/
|
57
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/0a263d2ff5cb6ca1f954704bfabab6bc?test=true
|
60
58
|
body:
|
61
59
|
encoding: US-ASCII
|
62
60
|
string: ''
|
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
66
|
User-Agent:
|
71
67
|
- Ruby
|
68
|
+
Host:
|
69
|
+
- gateway.sandbox.fatzebra.com.au
|
72
70
|
Authorization:
|
73
71
|
- Basic VEVTVDpURVNU
|
72
|
+
Content-Type:
|
73
|
+
- application/json
|
74
74
|
response:
|
75
75
|
status:
|
76
76
|
code: 200
|
77
77
|
message: OK
|
78
78
|
headers:
|
79
79
|
Date:
|
80
|
-
- Wed,
|
80
|
+
- Wed, 02 May 2018 23:12:42 GMT
|
81
81
|
Content-Type:
|
82
82
|
- application/json; charset=utf-8
|
83
83
|
Transfer-Encoding:
|
@@ -86,24 +86,24 @@ http_interactions:
|
|
86
86
|
- keep-alive
|
87
87
|
Status:
|
88
88
|
- 200 OK
|
89
|
+
X-Rack-Cache:
|
90
|
+
- miss
|
89
91
|
Cache-Control:
|
90
92
|
- no-store, private
|
91
93
|
X-Request-Version:
|
92
|
-
- 1.
|
94
|
+
- 1.16.9-3156@6c1a40b
|
95
|
+
X-Runtime:
|
96
|
+
- '0.036298'
|
93
97
|
Pragma:
|
94
98
|
- no-cache
|
95
99
|
X-Request-Id:
|
96
|
-
-
|
97
|
-
X-Runtime:
|
98
|
-
- '0.024377'
|
99
|
-
X-Rack-Cache:
|
100
|
-
- miss
|
100
|
+
- 661e5140a3c7ff20ea84b960
|
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":"977249","id":"071-P-EJAVMTQI","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
106
|
+
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":{}},"errors":[],"test":true}'
|
107
107
|
http_version:
|
108
|
-
recorded_at: Wed,
|
108
|
+
recorded_at: Wed, 02 May 2018 23:12:41 GMT
|
109
109
|
recorded_with: VCR 3.0.3
|