fat_zebra 3.1.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +1 -1
- data/lib/fat_zebra.rb +1 -0
- data/lib/fat_zebra/authorise.rb +49 -0
- data/lib/fat_zebra/version.rb +1 -1
- data/spec/cassettes/FatZebra_Authorise/_authorise/with_challenge_response/1_2_3_1.yml +48 -0
- data/spec/cassettes/FatZebra_Authorise/_authorise/with_challenge_response/1_2_3_2.yml +48 -0
- data/spec/cassettes/FatZebra_Authorise/_authorise/with_frictionless_response/1_2_2_1.yml +48 -0
- data/spec/cassettes/FatZebra_Authorise/_authorise/with_frictionless_response/1_2_2_2.yml +48 -0
- data/spec/cassettes/FatZebra_Authorise/_authorise/with_invalid_input/1_2_1_1.yml +50 -0
- data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_given_params.yml +46 -0
- data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_no_params.yml +46 -0
- data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_some_params.yml +46 -0
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_1.yml +8 -14
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_2.yml +8 -14
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_1.yml +30 -30
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_2.yml +30 -30
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_3.yml +30 -30
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_1.yml +11 -17
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_2.yml +11 -17
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_1.yml +11 -17
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_2.yml +11 -17
- data/spec/cassettes/FatZebra_Batch/_find/1_2_1.yml +19 -31
- data/spec/cassettes/FatZebra_Batch/_find/1_2_2.yml +19 -31
- data/spec/cassettes/FatZebra_Batch/_result/1_4_1.yml +26 -44
- data/spec/cassettes/FatZebra_Batch/_search/1_3_1.yml +6 -6
- data/spec/cassettes/FatZebra_Batch/_search/1_3_2.yml +6 -6
- data/spec/cassettes/FatZebra_Batch/_search/1_3_3.yml +6 -6
- data/spec/cassettes/FatZebra_Card/_create/1_1_1.yml +7 -13
- data/spec/cassettes/FatZebra_Card/_create/1_1_2.yml +7 -13
- data/spec/cassettes/FatZebra_Card/_create/1_1_3.yml +7 -13
- data/spec/cassettes/FatZebra_Card/_create/1_1_4.yml +7 -13
- data/spec/cassettes/FatZebra_Card/_create/1_1_5.yml +7 -13
- data/spec/cassettes/FatZebra_Card/_create/1_1_6.yml +7 -13
- data/spec/cassettes/FatZebra_Card/_update/1_2_1.yml +15 -27
- data/spec/cassettes/FatZebra_Card/_update/1_2_2.yml +15 -27
- data/spec/cassettes/FatZebra_Card/_update/1_2_3.yml +15 -27
- data/spec/cassettes/FatZebra_Card/_update/validations/1_2_4_1.yml +7 -13
- data/spec/cassettes/FatZebra_Customer/_create/1_1_1.yml +9 -15
- data/spec/cassettes/FatZebra_Customer/_create/1_1_2.yml +9 -15
- data/spec/cassettes/FatZebra_Customer/_create/1_1_3.yml +9 -15
- data/spec/cassettes/FatZebra_Customer/_create/1_1_4.yml +9 -15
- data/spec/cassettes/FatZebra_Customer/_create/1_1_5.yml +9 -15
- data/spec/cassettes/FatZebra_Customer/_create/1_1_6.yml +9 -15
- data/spec/cassettes/FatZebra_Customer/_delete/1_5_1.yml +18 -30
- data/spec/cassettes/FatZebra_Customer/_find/1_3_1.yml +18 -30
- data/spec/cassettes/FatZebra_Customer/_find/1_3_2.yml +18 -30
- data/spec/cassettes/FatZebra_Customer/_search/1_2_1.yml +12 -16
- data/spec/cassettes/FatZebra_Customer/_search/1_2_2.yml +12 -16
- data/spec/cassettes/FatZebra_Customer/_search/1_2_3.yml +12 -16
- data/spec/cassettes/FatZebra_Customer/_update/1_4_1.yml +19 -31
- data/spec/cassettes/FatZebra_Customer/_update/1_4_2.yml +19 -31
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_1.yml +8 -14
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_2.yml +8 -14
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_3.yml +8 -14
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_4.yml +8 -14
- data/spec/cassettes/FatZebra_DirectCredit/_create/validations/valid/1_1_5_1_1.yml +7 -13
- data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_1.yml +16 -28
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_1.yml +16 -28
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_2.yml +16 -28
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_3.yml +13 -13
- data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_1.yml +20 -20
- data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_2.yml +20 -20
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_1.yml +8 -14
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_2.yml +8 -14
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_3.yml +8 -14
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_4.yml +8 -14
- data/spec/cassettes/FatZebra_DirectDebit/_create/validations/valid/1_1_5_1_1.yml +7 -13
- data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_1.yml +16 -28
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_1.yml +16 -28
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_2.yml +16 -28
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_3.yml +13 -13
- data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_1.yml +20 -20
- data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_2.yml +20 -20
- data/spec/cassettes/FatZebra_Information/_ping/1_1_1.yml +7 -13
- data/spec/cassettes/FatZebra_Information/_ping/1_1_2.yml +7 -13
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_1.yml +48 -48
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_2.yml +48 -48
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_1.yml +20 -20
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_2.yml +20 -20
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_3.yml +20 -20
- data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_1.yml +28 -28
- data/spec/cassettes/FatZebra_PaymentPlan/_destroy/1_6_1.yml +28 -28
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_1.yml +32 -32
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_2.yml +32 -32
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_3.yml +32 -32
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_1.yml +34 -34
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_2.yml +34 -34
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_1.yml +28 -28
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_2.yml +28 -28
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_3.yml +28 -28
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_1.yml +34 -34
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_2.yml +34 -34
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_1.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_10.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_11.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_12.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_13.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_2.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_3.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_4.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_5.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_6.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_7.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_8.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_9.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_1.yml +11 -17
- data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_2.yml +11 -17
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_1.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_2.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_3.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_4.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_1.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_2.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_3.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_4.yml +18 -30
- data/spec/cassettes/FatZebra_Refund/_create/1_1_1.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_10.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_2.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_3.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_4.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_5.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_6.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_7.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_8.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_9.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_find/1_2_1.yml +24 -24
- data/spec/cassettes/FatZebra_Refund/_find/1_2_2.yml +24 -24
- data/spec/cassettes/FatZebra_Refund/_find/1_2_3.yml +24 -24
- data/spec/cassettes/FatZebra_Refund/_search/responds_with_the_newly-created_refunds.yml +40 -40
- data/spec/cassettes/FatZebra_Refund/_void/1_4_1.yml +24 -24
- data/spec/cassettes/FatZebra_Refund/_void/1_4_2.yml +24 -24
- data/spec/cassettes/FatZebra_Refund/_void/1_4_3.yml +24 -24
- data/spec/cassettes/FatZebra_Refund/_void/1_4_4.yml +24 -24
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_1.yml +7 -13
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_2.yml +7 -13
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_3.yml +7 -13
- data/spec/cassettes/FatZebra_WebHook/_delete/1_4_1.yml +15 -27
- data/spec/cassettes/FatZebra_WebHook/_search/1_2_1.yml +160 -133
- data/spec/cassettes/FatZebra_WebHook/_search/1_2_2.yml +162 -135
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_1.yml +15 -27
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_2.yml +15 -27
- data/spec/lib/fat_zebra/authorise_spec.rb +101 -0
- data/spec/lib/fat_zebra/purchase_spec.rb +3 -3
- data/spec/lib/fat_zebra/refund_spec.rb +1 -1
- data/spec/support/payloads.rb +42 -0
- metadata +13 -4
- data/spec/cassettes/FatZebra_DirectDebit/_create/validations/failed_with_non-float/1_1_5_3_1.yml +0 -52
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Mon, 29 Apr 2019 09:16:43 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -35,31 +35,25 @@ http_interactions:
|
|
35
35
|
Cache-Control:
|
36
36
|
- no-store
|
37
37
|
X-Request-Version:
|
38
|
-
- 1.16.9-
|
38
|
+
- 1.16.9-3941@c1d8236
|
39
|
+
X-Runtime:
|
40
|
+
- '0.452420'
|
39
41
|
Pragma:
|
40
42
|
- no-cache
|
41
|
-
X-Xss-Protection:
|
42
|
-
- 1; mode=block
|
43
43
|
X-Request-Id:
|
44
|
-
-
|
45
|
-
X-Runtime:
|
46
|
-
- '0.403598'
|
47
|
-
X-Frame-Options:
|
48
|
-
- SAMEORIGIN
|
49
|
-
X-Content-Type-Options:
|
50
|
-
- nosniff
|
44
|
+
- 59a13068b4c7d7a04be4e370
|
51
45
|
X-Backend:
|
52
46
|
- sbox-priv-gateway-a
|
53
47
|
body:
|
54
48
|
encoding: UTF-8
|
55
|
-
string: '{"successful":true,"response":{"token":"
|
49
|
+
string: '{"successful":true,"response":{"token":"b5wauetzdlal0zjhj0ji","card_holder":"Matthew
|
56
50
|
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","card_issuer":"Banco
|
57
51
|
Del Pichincha, C.A.","card_country":"Ecuador","authorized":true,"transaction_count":0,"alias":null},"errors":[],"test":true}'
|
58
52
|
http_version:
|
59
|
-
recorded_at:
|
53
|
+
recorded_at: Mon, 29 Apr 2019 09:16:44 GMT
|
60
54
|
- request:
|
61
55
|
method: put
|
62
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/credit_cards/
|
56
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/credit_cards/b5wauetzdlal0zjhj0ji
|
63
57
|
body:
|
64
58
|
encoding: UTF-8
|
65
59
|
string: '{"card_expiry":"02/2050","test":true}'
|
@@ -80,7 +74,7 @@ http_interactions:
|
|
80
74
|
message: OK
|
81
75
|
headers:
|
82
76
|
Date:
|
83
|
-
-
|
77
|
+
- Mon, 29 Apr 2019 09:16:44 GMT
|
84
78
|
Content-Type:
|
85
79
|
- application/json; charset=utf-8
|
86
80
|
Transfer-Encoding:
|
@@ -92,26 +86,20 @@ http_interactions:
|
|
92
86
|
Cache-Control:
|
93
87
|
- no-store
|
94
88
|
X-Request-Version:
|
95
|
-
- 1.16.9-
|
89
|
+
- 1.16.9-3941@c1d8236
|
90
|
+
X-Runtime:
|
91
|
+
- '0.036437'
|
96
92
|
Pragma:
|
97
93
|
- no-cache
|
98
|
-
X-Xss-Protection:
|
99
|
-
- 1; mode=block
|
100
94
|
X-Request-Id:
|
101
|
-
-
|
102
|
-
X-Runtime:
|
103
|
-
- '0.032666'
|
104
|
-
X-Frame-Options:
|
105
|
-
- SAMEORIGIN
|
106
|
-
X-Content-Type-Options:
|
107
|
-
- nosniff
|
95
|
+
- e7f5c1d8000ae5c4f303fa9c
|
108
96
|
X-Backend:
|
109
97
|
- sbox-priv-gateway-a
|
110
98
|
body:
|
111
99
|
encoding: UTF-8
|
112
|
-
string: '{"successful":true,"response":{"token":"
|
100
|
+
string: '{"successful":true,"response":{"token":"b5wauetzdlal0zjhj0ji","card_holder":"Matthew
|
113
101
|
Savage","card_number":"512345XXXXXX2346","card_expiry":"2050-02-28","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","card_issuer":"Banco
|
114
102
|
Del Pichincha, C.A.","card_country":"Ecuador","authorized":true,"transaction_count":0,"alias":null},"errors":[],"test":true}'
|
115
103
|
http_version:
|
116
|
-
recorded_at:
|
104
|
+
recorded_at: Mon, 29 Apr 2019 09:16:44 GMT
|
117
105
|
recorded_with: VCR 3.0.3
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Mon, 29 Apr 2019 09:16:44 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -35,26 +35,20 @@ http_interactions:
|
|
35
35
|
Cache-Control:
|
36
36
|
- no-store
|
37
37
|
X-Request-Version:
|
38
|
-
- 1.16.9-
|
38
|
+
- 1.16.9-3941@c1d8236
|
39
|
+
X-Runtime:
|
40
|
+
- '0.408018'
|
39
41
|
Pragma:
|
40
42
|
- no-cache
|
41
|
-
X-Xss-Protection:
|
42
|
-
- 1; mode=block
|
43
43
|
X-Request-Id:
|
44
|
-
-
|
45
|
-
X-Runtime:
|
46
|
-
- '0.421438'
|
47
|
-
X-Frame-Options:
|
48
|
-
- SAMEORIGIN
|
49
|
-
X-Content-Type-Options:
|
50
|
-
- nosniff
|
44
|
+
- 393a869bf6099ddc51dbc8ee
|
51
45
|
X-Backend:
|
52
46
|
- sbox-priv-gateway-a
|
53
47
|
body:
|
54
48
|
encoding: UTF-8
|
55
|
-
string: '{"successful":true,"response":{"token":"
|
49
|
+
string: '{"successful":true,"response":{"token":"au6tc75j32i1ewzcs7ot","card_holder":"Matthew
|
56
50
|
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","card_issuer":"Banco
|
57
51
|
Del Pichincha, C.A.","card_country":"Ecuador","authorized":true,"transaction_count":0,"alias":null},"errors":[],"test":true}'
|
58
52
|
http_version:
|
59
|
-
recorded_at:
|
53
|
+
recorded_at: Mon, 29 Apr 2019 09:16:44 GMT
|
60
54
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"first_name":"Harrold","last_name":"Humphries","reference":"
|
8
|
+
string: '{"first_name":"Harrold","last_name":"Humphries","reference":"54db6e776bbea112a25bcec04132f82d","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
|
9
9
|
Humphries Senior","card_number":"5123456789012346","expiry_date":"05/2023","cvv":"123"},"address":{"address":"1
|
10
10
|
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"test":true}'
|
11
11
|
headers:
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Mon, 29 Apr 2019 09:16:45 GMT
|
29
29
|
Content-Type:
|
30
30
|
- application/json; charset=utf-8
|
31
31
|
Transfer-Encoding:
|
@@ -37,25 +37,19 @@ http_interactions:
|
|
37
37
|
Cache-Control:
|
38
38
|
- no-store
|
39
39
|
X-Request-Version:
|
40
|
-
- 1.16.9-
|
40
|
+
- 1.16.9-3941@c1d8236
|
41
|
+
X-Runtime:
|
42
|
+
- '0.473187'
|
41
43
|
Pragma:
|
42
44
|
- no-cache
|
43
|
-
X-Xss-Protection:
|
44
|
-
- 1; mode=block
|
45
45
|
X-Request-Id:
|
46
|
-
-
|
47
|
-
X-Runtime:
|
48
|
-
- '0.451920'
|
49
|
-
X-Frame-Options:
|
50
|
-
- SAMEORIGIN
|
51
|
-
X-Content-Type-Options:
|
52
|
-
- nosniff
|
46
|
+
- 13443b8612605ed99e6c9816
|
53
47
|
X-Backend:
|
54
48
|
- sbox-priv-gateway-a
|
55
49
|
body:
|
56
50
|
encoding: UTF-8
|
57
|
-
string: '{"successful":true,"response":{"id":"071-C-
|
58
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"
|
51
|
+
string: '{"successful":true,"response":{"id":"071-C-BO7K833F","email":null,"reference":"54db6e776bbea112a25bcec04132f82d","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:16:44+10:00","address":{"address":"1
|
52
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"tf0rp0zy5tjmi7pabocn","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
|
59
53
|
http_version:
|
60
|
-
recorded_at:
|
54
|
+
recorded_at: Mon, 29 Apr 2019 09:16:45 GMT
|
61
55
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"first_name":"Harrold","last_name":"Humphries","reference":"
|
8
|
+
string: '{"first_name":"Harrold","last_name":"Humphries","reference":"3f74accbbf37188bd57da43722517902","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
|
9
9
|
Humphries Senior","card_number":"5123456789012346","expiry_date":"05/2023","cvv":"123"},"address":{"address":"1
|
10
10
|
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"test":true}'
|
11
11
|
headers:
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Mon, 29 Apr 2019 09:16:45 GMT
|
29
29
|
Content-Type:
|
30
30
|
- application/json; charset=utf-8
|
31
31
|
Transfer-Encoding:
|
@@ -37,25 +37,19 @@ http_interactions:
|
|
37
37
|
Cache-Control:
|
38
38
|
- no-store
|
39
39
|
X-Request-Version:
|
40
|
-
- 1.16.9-
|
40
|
+
- 1.16.9-3941@c1d8236
|
41
|
+
X-Runtime:
|
42
|
+
- '0.476438'
|
41
43
|
Pragma:
|
42
44
|
- no-cache
|
43
|
-
X-Xss-Protection:
|
44
|
-
- 1; mode=block
|
45
45
|
X-Request-Id:
|
46
|
-
-
|
47
|
-
X-Runtime:
|
48
|
-
- '0.457454'
|
49
|
-
X-Frame-Options:
|
50
|
-
- SAMEORIGIN
|
51
|
-
X-Content-Type-Options:
|
52
|
-
- nosniff
|
46
|
+
- 736c15cc54e9b67c32c05844
|
53
47
|
X-Backend:
|
54
48
|
- sbox-priv-gateway-a
|
55
49
|
body:
|
56
50
|
encoding: UTF-8
|
57
|
-
string: '{"successful":true,"response":{"id":"071-C-
|
58
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"
|
51
|
+
string: '{"successful":true,"response":{"id":"071-C-T4T2GGZH","email":null,"reference":"3f74accbbf37188bd57da43722517902","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:16:45+10:00","address":{"address":"1
|
52
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"3zxwmlhbdjzw4mrt30c5","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
|
59
53
|
http_version:
|
60
|
-
recorded_at:
|
54
|
+
recorded_at: Mon, 29 Apr 2019 09:16:45 GMT
|
61
55
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"first_name":"Harrold","last_name":"Humphries","reference":"
|
8
|
+
string: '{"first_name":"Harrold","last_name":"Humphries","reference":"cb3f2e4e0c18971cb386e2501fbdc6e8","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
|
9
9
|
Humphries Senior","card_number":"5123456789012346","expiry_date":"05/2023","cvv":"123"},"address":{"address":"1
|
10
10
|
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"test":true}'
|
11
11
|
headers:
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Mon, 29 Apr 2019 09:16:46 GMT
|
29
29
|
Content-Type:
|
30
30
|
- application/json; charset=utf-8
|
31
31
|
Transfer-Encoding:
|
@@ -37,25 +37,19 @@ http_interactions:
|
|
37
37
|
Cache-Control:
|
38
38
|
- no-store
|
39
39
|
X-Request-Version:
|
40
|
-
- 1.16.9-
|
40
|
+
- 1.16.9-3941@c1d8236
|
41
|
+
X-Runtime:
|
42
|
+
- '0.473652'
|
41
43
|
Pragma:
|
42
44
|
- no-cache
|
43
|
-
X-Xss-Protection:
|
44
|
-
- 1; mode=block
|
45
45
|
X-Request-Id:
|
46
|
-
-
|
47
|
-
X-Runtime:
|
48
|
-
- '0.445343'
|
49
|
-
X-Frame-Options:
|
50
|
-
- SAMEORIGIN
|
51
|
-
X-Content-Type-Options:
|
52
|
-
- nosniff
|
46
|
+
- 12dfdfa10a3357335097342f
|
53
47
|
X-Backend:
|
54
48
|
- sbox-priv-gateway-a
|
55
49
|
body:
|
56
50
|
encoding: UTF-8
|
57
|
-
string: '{"successful":true,"response":{"id":"071-C-
|
58
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"
|
51
|
+
string: '{"successful":true,"response":{"id":"071-C-ZNKRRIT5","email":null,"reference":"cb3f2e4e0c18971cb386e2501fbdc6e8","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:16:45+10:00","address":{"address":"1
|
52
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"7tflcn3q3bpv09w0xzkd","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
|
59
53
|
http_version:
|
60
|
-
recorded_at:
|
54
|
+
recorded_at: Mon, 29 Apr 2019 09:16:46 GMT
|
61
55
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"first_name":"Harrold","last_name":"Humphries","reference":"
|
8
|
+
string: '{"first_name":"Harrold","last_name":"Humphries","reference":"e53046190de3c04ab64c7ee7241c87d7","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
|
9
9
|
Humphries Senior","card_number":"5123456789012346","expiry_date":"05/2023","cvv":"123"},"address":{"address":"1
|
10
10
|
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"test":true}'
|
11
11
|
headers:
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Mon, 29 Apr 2019 09:16:46 GMT
|
29
29
|
Content-Type:
|
30
30
|
- application/json; charset=utf-8
|
31
31
|
Transfer-Encoding:
|
@@ -37,25 +37,19 @@ http_interactions:
|
|
37
37
|
Cache-Control:
|
38
38
|
- no-store
|
39
39
|
X-Request-Version:
|
40
|
-
- 1.16.9-
|
40
|
+
- 1.16.9-3941@c1d8236
|
41
|
+
X-Runtime:
|
42
|
+
- '0.480501'
|
41
43
|
Pragma:
|
42
44
|
- no-cache
|
43
|
-
X-Xss-Protection:
|
44
|
-
- 1; mode=block
|
45
45
|
X-Request-Id:
|
46
|
-
-
|
47
|
-
X-Runtime:
|
48
|
-
- '0.424585'
|
49
|
-
X-Frame-Options:
|
50
|
-
- SAMEORIGIN
|
51
|
-
X-Content-Type-Options:
|
52
|
-
- nosniff
|
46
|
+
- 854387540e0d07946be8fdd8
|
53
47
|
X-Backend:
|
54
48
|
- sbox-priv-gateway-a
|
55
49
|
body:
|
56
50
|
encoding: UTF-8
|
57
|
-
string: '{"successful":true,"response":{"id":"071-C-
|
58
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"
|
51
|
+
string: '{"successful":true,"response":{"id":"071-C-CBKT0YC7","email":null,"reference":"e53046190de3c04ab64c7ee7241c87d7","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:16:46+10:00","address":{"address":"1
|
52
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"bzn5a5365w34hvgwxm5p","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
|
59
53
|
http_version:
|
60
|
-
recorded_at:
|
54
|
+
recorded_at: Mon, 29 Apr 2019 09:16:46 GMT
|
61
55
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"first_name":"Harrold","last_name":"Humphries","reference":"
|
8
|
+
string: '{"first_name":"Harrold","last_name":"Humphries","reference":"75d2058ca47b2db6d025cf42a74a3b9b","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
|
9
9
|
Humphries Senior","card_number":"5123456789012346","expiry_date":"05/2023","cvv":"123"},"address":{"address":"1
|
10
10
|
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"test":true}'
|
11
11
|
headers:
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Mon, 29 Apr 2019 09:16:47 GMT
|
29
29
|
Content-Type:
|
30
30
|
- application/json; charset=utf-8
|
31
31
|
Transfer-Encoding:
|
@@ -37,25 +37,19 @@ http_interactions:
|
|
37
37
|
Cache-Control:
|
38
38
|
- no-store
|
39
39
|
X-Request-Version:
|
40
|
-
- 1.16.9-
|
40
|
+
- 1.16.9-3941@c1d8236
|
41
|
+
X-Runtime:
|
42
|
+
- '0.463382'
|
41
43
|
Pragma:
|
42
44
|
- no-cache
|
43
|
-
X-Xss-Protection:
|
44
|
-
- 1; mode=block
|
45
45
|
X-Request-Id:
|
46
|
-
-
|
47
|
-
X-Runtime:
|
48
|
-
- '0.424365'
|
49
|
-
X-Frame-Options:
|
50
|
-
- SAMEORIGIN
|
51
|
-
X-Content-Type-Options:
|
52
|
-
- nosniff
|
46
|
+
- 15d11798ec158b80deb04d9c
|
53
47
|
X-Backend:
|
54
48
|
- sbox-priv-gateway-a
|
55
49
|
body:
|
56
50
|
encoding: UTF-8
|
57
|
-
string: '{"successful":true,"response":{"id":"071-C-
|
58
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"
|
51
|
+
string: '{"successful":true,"response":{"id":"071-C-QMKP54FZ","email":null,"reference":"75d2058ca47b2db6d025cf42a74a3b9b","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:16:47+10:00","address":{"address":"1
|
52
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"78xdk1ts66vy46czhfrv","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
|
59
53
|
http_version:
|
60
|
-
recorded_at:
|
54
|
+
recorded_at: Mon, 29 Apr 2019 09:16:47 GMT
|
61
55
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"first_name":"Harrold","last_name":"Humphries","reference":"
|
8
|
+
string: '{"first_name":"Harrold","last_name":"Humphries","reference":"5104699755480c8c429ee413804ce159","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
|
9
9
|
Humphries Senior","card_number":"5123456789012346","expiry_date":"05/2023","cvv":"123"},"address":{"address":"1
|
10
10
|
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"test":true}'
|
11
11
|
headers:
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Mon, 29 Apr 2019 09:16:48 GMT
|
29
29
|
Content-Type:
|
30
30
|
- application/json; charset=utf-8
|
31
31
|
Transfer-Encoding:
|
@@ -37,25 +37,19 @@ http_interactions:
|
|
37
37
|
Cache-Control:
|
38
38
|
- no-store
|
39
39
|
X-Request-Version:
|
40
|
-
- 1.16.9-
|
40
|
+
- 1.16.9-3941@c1d8236
|
41
|
+
X-Runtime:
|
42
|
+
- '0.464182'
|
41
43
|
Pragma:
|
42
44
|
- no-cache
|
43
|
-
X-Xss-Protection:
|
44
|
-
- 1; mode=block
|
45
45
|
X-Request-Id:
|
46
|
-
-
|
47
|
-
X-Runtime:
|
48
|
-
- '0.423763'
|
49
|
-
X-Frame-Options:
|
50
|
-
- SAMEORIGIN
|
51
|
-
X-Content-Type-Options:
|
52
|
-
- nosniff
|
46
|
+
- e35f49e4935b573c379eafac
|
53
47
|
X-Backend:
|
54
48
|
- sbox-priv-gateway-a
|
55
49
|
body:
|
56
50
|
encoding: UTF-8
|
57
|
-
string: '{"successful":true,"response":{"id":"071-C-
|
58
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"
|
51
|
+
string: '{"successful":true,"response":{"id":"071-C-5XZ8AEB3","email":null,"reference":"5104699755480c8c429ee413804ce159","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:16:47+10:00","address":{"address":"1
|
52
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"xbxcfh8kiaorczfj65ea","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
|
59
53
|
http_version:
|
60
|
-
recorded_at:
|
54
|
+
recorded_at: Mon, 29 Apr 2019 09:16:48 GMT
|
61
55
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"first_name":"Harrold","last_name":"Humphries","reference":"
|
8
|
+
string: '{"first_name":"Harrold","last_name":"Humphries","reference":"fce23f145019689146194f38806198ab","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
|
9
9
|
Humphries Senior","card_number":"5123456789012346","expiry_date":"05/2023","cvv":"123"},"address":{"address":"1
|
10
10
|
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"test":true}'
|
11
11
|
headers:
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Mon, 29 Apr 2019 09:16:52 GMT
|
29
29
|
Content-Type:
|
30
30
|
- application/json; charset=utf-8
|
31
31
|
Transfer-Encoding:
|
@@ -37,30 +37,24 @@ http_interactions:
|
|
37
37
|
Cache-Control:
|
38
38
|
- no-store
|
39
39
|
X-Request-Version:
|
40
|
-
- 1.16.9-
|
40
|
+
- 1.16.9-3941@c1d8236
|
41
|
+
X-Runtime:
|
42
|
+
- '0.461589'
|
41
43
|
Pragma:
|
42
44
|
- no-cache
|
43
|
-
X-Xss-Protection:
|
44
|
-
- 1; mode=block
|
45
45
|
X-Request-Id:
|
46
|
-
-
|
47
|
-
X-Runtime:
|
48
|
-
- '0.465641'
|
49
|
-
X-Frame-Options:
|
50
|
-
- SAMEORIGIN
|
51
|
-
X-Content-Type-Options:
|
52
|
-
- nosniff
|
46
|
+
- 157e1b8343a49b3dd20c5128
|
53
47
|
X-Backend:
|
54
48
|
- sbox-priv-gateway-a
|
55
49
|
body:
|
56
50
|
encoding: UTF-8
|
57
|
-
string: '{"successful":true,"response":{"id":"071-C-
|
58
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"
|
51
|
+
string: '{"successful":true,"response":{"id":"071-C-UHQDP7S","email":null,"reference":"fce23f145019689146194f38806198ab","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:16:52+10:00","address":{"address":"1
|
52
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"uh44gq5tbcn37976aolm","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
|
59
53
|
http_version:
|
60
|
-
recorded_at:
|
54
|
+
recorded_at: Mon, 29 Apr 2019 09:16:52 GMT
|
61
55
|
- request:
|
62
56
|
method: delete
|
63
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers/071-C-
|
57
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers/071-C-UHQDP7S
|
64
58
|
body:
|
65
59
|
encoding: UTF-8
|
66
60
|
string: '{"test":true}'
|
@@ -79,7 +73,7 @@ http_interactions:
|
|
79
73
|
message: OK
|
80
74
|
headers:
|
81
75
|
Date:
|
82
|
-
-
|
76
|
+
- Mon, 29 Apr 2019 09:16:52 GMT
|
83
77
|
Content-Type:
|
84
78
|
- application/json; charset=utf-8
|
85
79
|
Transfer-Encoding:
|
@@ -91,25 +85,19 @@ http_interactions:
|
|
91
85
|
Cache-Control:
|
92
86
|
- no-store
|
93
87
|
X-Request-Version:
|
94
|
-
- 1.16.9-
|
88
|
+
- 1.16.9-3941@c1d8236
|
89
|
+
X-Runtime:
|
90
|
+
- '0.101810'
|
95
91
|
Pragma:
|
96
92
|
- no-cache
|
97
|
-
X-Xss-Protection:
|
98
|
-
- 1; mode=block
|
99
93
|
X-Request-Id:
|
100
|
-
-
|
101
|
-
X-Runtime:
|
102
|
-
- '0.093345'
|
103
|
-
X-Frame-Options:
|
104
|
-
- SAMEORIGIN
|
105
|
-
X-Content-Type-Options:
|
106
|
-
- nosniff
|
94
|
+
- 7f81a8e4297c6298305d7c38
|
107
95
|
X-Backend:
|
108
96
|
- sbox-priv-gateway-a
|
109
97
|
body:
|
110
98
|
encoding: UTF-8
|
111
|
-
string: '{"successful":true,"response":{"id":"071-C-
|
112
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"
|
99
|
+
string: '{"successful":true,"response":{"id":"071-C-UHQDP7S","email":null,"reference":"fce23f145019689146194f38806198ab","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:16:52+10:00","address":{"address":"1
|
100
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"uh44gq5tbcn37976aolm","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
|
113
101
|
http_version:
|
114
|
-
recorded_at:
|
102
|
+
recorded_at: Mon, 29 Apr 2019 09:16:52 GMT
|
115
103
|
recorded_with: VCR 3.0.3
|