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: Created
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Mon, 29 Apr 2019 09:16:53 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -35,23 +35,23 @@ 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
39
|
X-Runtime:
|
40
|
-
- '0.
|
40
|
+
- '0.041071'
|
41
41
|
Pragma:
|
42
42
|
- no-cache
|
43
43
|
X-Request-Id:
|
44
|
-
-
|
44
|
+
- 7eacbe384b6007b4654e4a34
|
45
45
|
X-Backend:
|
46
46
|
- sbox-priv-gateway-a
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
|
-
string: '{"successful":true,"response":{"id":"071-DC-
|
49
|
+
string: '{"successful":true,"response":{"id":"071-DC-Y07D03WQ","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-Y07D03WQ","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Mon, 29 Apr 2019 09:16:53 GMT
|
52
52
|
- request:
|
53
53
|
method: get
|
54
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_credits/071-DC-
|
54
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_credits/071-DC-Y07D03WQ?test=true
|
55
55
|
body:
|
56
56
|
encoding: US-ASCII
|
57
57
|
string: ''
|
@@ -74,7 +74,7 @@ http_interactions:
|
|
74
74
|
message: OK
|
75
75
|
headers:
|
76
76
|
Date:
|
77
|
-
-
|
77
|
+
- Mon, 29 Apr 2019 09:16:53 GMT
|
78
78
|
Content-Type:
|
79
79
|
- application/json; charset=utf-8
|
80
80
|
Transfer-Encoding:
|
@@ -86,18 +86,18 @@ http_interactions:
|
|
86
86
|
Cache-Control:
|
87
87
|
- no-store
|
88
88
|
X-Request-Version:
|
89
|
-
- 1.16.9-
|
89
|
+
- 1.16.9-3941@c1d8236
|
90
90
|
X-Runtime:
|
91
|
-
- '0.
|
91
|
+
- '0.020405'
|
92
92
|
Pragma:
|
93
93
|
- no-cache
|
94
94
|
X-Request-Id:
|
95
|
-
- '
|
95
|
+
- '0595f53e5b912300b48fc2a8'
|
96
96
|
X-Backend:
|
97
97
|
- sbox-priv-gateway-a
|
98
98
|
body:
|
99
99
|
encoding: UTF-8
|
100
|
-
string: '{"successful":true,"response":{"id":"071-DC-
|
100
|
+
string: '{"successful":true,"response":{"id":"071-DC-Y07D03WQ","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-Y07D03WQ","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
|
101
101
|
http_version:
|
102
|
-
recorded_at:
|
102
|
+
recorded_at: Mon, 29 Apr 2019 09:16:53 GMT
|
103
103
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_credits
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"description":"Confirmation","amount":42,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
|
8
|
+
string: '{"description":"Confirmation","amount":42.0,"bsb":"123-123","account_name":"Test","account_number":"012345678","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: Created
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Mon, 29 Apr 2019 09:16:53 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -35,26 +35,26 @@ 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
39
|
X-Runtime:
|
40
|
-
- '0.
|
40
|
+
- '0.046065'
|
41
41
|
Pragma:
|
42
42
|
- no-cache
|
43
43
|
X-Request-Id:
|
44
|
-
-
|
44
|
+
- f2e8167f9ffd99239d46d827
|
45
45
|
X-Backend:
|
46
46
|
- sbox-priv-gateway-a
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
|
-
string: '{"successful":true,"response":{"id":"071-DC-
|
49
|
+
string: '{"successful":true,"response":{"id":"071-DC-6F2IQ4TY","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-6F2IQ4TY","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Mon, 29 Apr 2019 09:16:53 GMT
|
52
52
|
- request:
|
53
53
|
method: post
|
54
54
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_credits
|
55
55
|
body:
|
56
56
|
encoding: UTF-8
|
57
|
-
string: '{"description":"Confirmation","amount":42,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
|
57
|
+
string: '{"description":"Confirmation","amount":42.0,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
|
58
58
|
headers:
|
59
59
|
Accept-Encoding:
|
60
60
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -72,7 +72,7 @@ http_interactions:
|
|
72
72
|
message: Created
|
73
73
|
headers:
|
74
74
|
Date:
|
75
|
-
-
|
75
|
+
- Mon, 29 Apr 2019 09:16:53 GMT
|
76
76
|
Content-Type:
|
77
77
|
- application/json; charset=utf-8
|
78
78
|
Transfer-Encoding:
|
@@ -84,20 +84,20 @@ http_interactions:
|
|
84
84
|
Cache-Control:
|
85
85
|
- no-store
|
86
86
|
X-Request-Version:
|
87
|
-
- 1.16.9-
|
87
|
+
- 1.16.9-3941@c1d8236
|
88
88
|
X-Runtime:
|
89
|
-
- '0.
|
89
|
+
- '0.041091'
|
90
90
|
Pragma:
|
91
91
|
- no-cache
|
92
92
|
X-Request-Id:
|
93
|
-
-
|
93
|
+
- 8272352c30f781c08c1fc44c
|
94
94
|
X-Backend:
|
95
95
|
- sbox-priv-gateway-a
|
96
96
|
body:
|
97
97
|
encoding: UTF-8
|
98
|
-
string: '{"successful":true,"response":{"id":"071-DC-
|
98
|
+
string: '{"successful":true,"response":{"id":"071-DC-4JSZRIZ6","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-4JSZRIZ6","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
|
99
99
|
http_version:
|
100
|
-
recorded_at:
|
100
|
+
recorded_at: Mon, 29 Apr 2019 09:16:53 GMT
|
101
101
|
- request:
|
102
102
|
method: get
|
103
103
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_credits?limit=10&offset=0&test=true
|
@@ -123,7 +123,7 @@ http_interactions:
|
|
123
123
|
message: OK
|
124
124
|
headers:
|
125
125
|
Date:
|
126
|
-
-
|
126
|
+
- Mon, 29 Apr 2019 09:16:54 GMT
|
127
127
|
Content-Type:
|
128
128
|
- application/json; charset=utf-8
|
129
129
|
Transfer-Encoding:
|
@@ -135,18 +135,18 @@ http_interactions:
|
|
135
135
|
Cache-Control:
|
136
136
|
- no-store
|
137
137
|
X-Request-Version:
|
138
|
-
- 1.16.9-
|
138
|
+
- 1.16.9-3941@c1d8236
|
139
139
|
X-Runtime:
|
140
|
-
- '0.
|
140
|
+
- '0.759273'
|
141
141
|
Pragma:
|
142
142
|
- no-cache
|
143
143
|
X-Request-Id:
|
144
|
-
-
|
144
|
+
- 4c519744b605d2186e9886d4
|
145
145
|
X-Backend:
|
146
146
|
- sbox-priv-gateway-a
|
147
147
|
body:
|
148
148
|
encoding: UTF-8
|
149
|
-
string: '{"successful":true,"response":[{"id":"071-DC-
|
149
|
+
string: '{"successful":true,"response":[{"id":"071-DC-4JSZRIZ6","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-4JSZRIZ6","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-6F2IQ4TY","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-6F2IQ4TY","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-Y07D03WQ","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-Y07D03WQ","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-GHU3RL7S","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-GHU3RL7S","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-PDWJGQ2K","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-PDWJGQ2K","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-13GDTHOR","amount":42.42,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-13GDTHOR","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-DCBB87CN","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-DCBB87CN","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-OU02RPD8","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-OU02RPD8","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-B3I04FAH","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-B3I04FAH","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-SVP84M4F","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-SVP84M4F","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null}],"errors":[],"test":true,"records":10,"total_records":802,"page":0,"total_pages":81}'
|
150
150
|
http_version:
|
151
|
-
recorded_at:
|
151
|
+
recorded_at: Mon, 29 Apr 2019 09:16:54 GMT
|
152
152
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_credits
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"description":"Confirmation","amount":42,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
|
8
|
+
string: '{"description":"Confirmation","amount":42.0,"bsb":"123-123","account_name":"Test","account_number":"012345678","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: Created
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Mon, 29 Apr 2019 09:16:54 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -35,26 +35,26 @@ 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
39
|
X-Runtime:
|
40
|
-
- '0.
|
40
|
+
- '0.046284'
|
41
41
|
Pragma:
|
42
42
|
- no-cache
|
43
43
|
X-Request-Id:
|
44
|
-
-
|
44
|
+
- 96e74aab5ecf4c704fc546bd
|
45
45
|
X-Backend:
|
46
46
|
- sbox-priv-gateway-a
|
47
47
|
body:
|
48
48
|
encoding: UTF-8
|
49
|
-
string: '{"successful":true,"response":{"id":"071-DC-
|
49
|
+
string: '{"successful":true,"response":{"id":"071-DC-FY8B6V3","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-FY8B6V3","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
|
50
50
|
http_version:
|
51
|
-
recorded_at:
|
51
|
+
recorded_at: Mon, 29 Apr 2019 09:16:54 GMT
|
52
52
|
- request:
|
53
53
|
method: post
|
54
54
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_credits
|
55
55
|
body:
|
56
56
|
encoding: UTF-8
|
57
|
-
string: '{"description":"Confirmation","amount":42,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
|
57
|
+
string: '{"description":"Confirmation","amount":42.0,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
|
58
58
|
headers:
|
59
59
|
Accept-Encoding:
|
60
60
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -72,7 +72,7 @@ http_interactions:
|
|
72
72
|
message: Created
|
73
73
|
headers:
|
74
74
|
Date:
|
75
|
-
-
|
75
|
+
- Mon, 29 Apr 2019 09:16:54 GMT
|
76
76
|
Content-Type:
|
77
77
|
- application/json; charset=utf-8
|
78
78
|
Transfer-Encoding:
|
@@ -84,20 +84,20 @@ http_interactions:
|
|
84
84
|
Cache-Control:
|
85
85
|
- no-store
|
86
86
|
X-Request-Version:
|
87
|
-
- 1.16.9-
|
87
|
+
- 1.16.9-3941@c1d8236
|
88
88
|
X-Runtime:
|
89
|
-
- '0.
|
89
|
+
- '0.061947'
|
90
90
|
Pragma:
|
91
91
|
- no-cache
|
92
92
|
X-Request-Id:
|
93
|
-
-
|
93
|
+
- b3b82c08bb54168012a4bf5c
|
94
94
|
X-Backend:
|
95
95
|
- sbox-priv-gateway-a
|
96
96
|
body:
|
97
97
|
encoding: UTF-8
|
98
|
-
string: '{"successful":true,"response":{"id":"071-DC-
|
98
|
+
string: '{"successful":true,"response":{"id":"071-DC-UVAFKRJ2","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-UVAFKRJ2","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
|
99
99
|
http_version:
|
100
|
-
recorded_at:
|
100
|
+
recorded_at: Mon, 29 Apr 2019 09:16:54 GMT
|
101
101
|
- request:
|
102
102
|
method: get
|
103
103
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_credits?limit=10&offset=0&test=true
|
@@ -123,7 +123,7 @@ http_interactions:
|
|
123
123
|
message: OK
|
124
124
|
headers:
|
125
125
|
Date:
|
126
|
-
-
|
126
|
+
- Mon, 29 Apr 2019 09:16:54 GMT
|
127
127
|
Content-Type:
|
128
128
|
- application/json; charset=utf-8
|
129
129
|
Transfer-Encoding:
|
@@ -135,18 +135,18 @@ http_interactions:
|
|
135
135
|
Cache-Control:
|
136
136
|
- no-store
|
137
137
|
X-Request-Version:
|
138
|
-
- 1.16.9-
|
138
|
+
- 1.16.9-3941@c1d8236
|
139
139
|
X-Runtime:
|
140
|
-
- '0.
|
140
|
+
- '0.033381'
|
141
141
|
Pragma:
|
142
142
|
- no-cache
|
143
143
|
X-Request-Id:
|
144
|
-
-
|
144
|
+
- 57e57487f429fd667c1ca224
|
145
145
|
X-Backend:
|
146
146
|
- sbox-priv-gateway-a
|
147
147
|
body:
|
148
148
|
encoding: UTF-8
|
149
|
-
string: '{"successful":true,"response":[{"id":"071-DC-
|
149
|
+
string: '{"successful":true,"response":[{"id":"071-DC-UVAFKRJ2","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-UVAFKRJ2","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-FY8B6V3","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-FY8B6V3","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-4JSZRIZ6","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-4JSZRIZ6","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-6F2IQ4TY","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-6F2IQ4TY","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-Y07D03WQ","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-Y07D03WQ","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-GHU3RL7S","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-GHU3RL7S","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-PDWJGQ2K","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-PDWJGQ2K","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-13GDTHOR","amount":42.42,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-13GDTHOR","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-DCBB87CN","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-DCBB87CN","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DC-OU02RPD8","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DC-OU02RPD8","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null}],"errors":[],"test":true,"records":10,"total_records":804,"page":0,"total_pages":81}'
|
150
150
|
http_version:
|
151
|
-
recorded_at:
|
151
|
+
recorded_at: Mon, 29 Apr 2019 09:16:54 GMT
|
152
152
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_debits
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"description":"Confirmation","amount":42,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
|
8
|
+
string: '{"description":"Confirmation","amount":42.0,"bsb":"123-123","account_name":"Test","account_number":"012345678","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: Created
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Mon, 29 Apr 2019 09:16:55 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -35,24 +35,18 @@ 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.052851'
|
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.040616'
|
47
|
-
X-Frame-Options:
|
48
|
-
- SAMEORIGIN
|
49
|
-
X-Content-Type-Options:
|
50
|
-
- nosniff
|
44
|
+
- 0022ecc4acdd8de8722daff8
|
51
45
|
X-Backend:
|
52
46
|
- sbox-priv-gateway-a
|
53
47
|
body:
|
54
48
|
encoding: UTF-8
|
55
|
-
string: '{"successful":true,"response":{"id":"071-DD-
|
49
|
+
string: '{"successful":true,"response":{"id":"071-DD-GU5GLRR3","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-GU5GLRR3","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
|
56
50
|
http_version:
|
57
|
-
recorded_at:
|
51
|
+
recorded_at: Mon, 29 Apr 2019 09:16:55 GMT
|
58
52
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_debits
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"description":"Confirmation","amount":42,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
|
8
|
+
string: '{"description":"Confirmation","amount":42.0,"bsb":"123-123","account_name":"Test","account_number":"012345678","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: Created
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Mon, 29 Apr 2019 09:16:55 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -35,24 +35,18 @@ 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.039930'
|
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.035994'
|
47
|
-
X-Frame-Options:
|
48
|
-
- SAMEORIGIN
|
49
|
-
X-Content-Type-Options:
|
50
|
-
- nosniff
|
44
|
+
- f4e08c0a534fdfe3490ad81d
|
51
45
|
X-Backend:
|
52
46
|
- sbox-priv-gateway-a
|
53
47
|
body:
|
54
48
|
encoding: UTF-8
|
55
|
-
string: '{"successful":true,"response":{"id":"071-DD-
|
49
|
+
string: '{"successful":true,"response":{"id":"071-DD-4V0H40KD","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-4V0H40KD","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
|
56
50
|
http_version:
|
57
|
-
recorded_at:
|
51
|
+
recorded_at: Mon, 29 Apr 2019 09:16:55 GMT
|
58
52
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_debits
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"description":"Confirmation","amount":42,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
|
8
|
+
string: '{"description":"Confirmation","amount":42.0,"bsb":"123-123","account_name":"Test","account_number":"012345678","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: Created
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Mon, 29 Apr 2019 09:16:55 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -35,24 +35,18 @@ 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.046134'
|
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.060627'
|
47
|
-
X-Frame-Options:
|
48
|
-
- SAMEORIGIN
|
49
|
-
X-Content-Type-Options:
|
50
|
-
- nosniff
|
44
|
+
- 32bff6147cfa40b0f7b3eb80
|
51
45
|
X-Backend:
|
52
46
|
- sbox-priv-gateway-a
|
53
47
|
body:
|
54
48
|
encoding: UTF-8
|
55
|
-
string: '{"successful":true,"response":{"id":"071-DD-
|
49
|
+
string: '{"successful":true,"response":{"id":"071-DD-ZJAB2HUC","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-ZJAB2HUC","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
|
56
50
|
http_version:
|
57
|
-
recorded_at:
|
51
|
+
recorded_at: Mon, 29 Apr 2019 09:16:55 GMT
|
58
52
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_debits
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"description":"Confirmation","amount":42,"bsb":"123-123","account_name":"Test","account_number":"012345678","test":true}'
|
8
|
+
string: '{"description":"Confirmation","amount":42.0,"bsb":"123-123","account_name":"Test","account_number":"012345678","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: Created
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Mon, 29 Apr 2019 09:16:55 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -35,24 +35,18 @@ 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.040053'
|
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.035621'
|
47
|
-
X-Frame-Options:
|
48
|
-
- SAMEORIGIN
|
49
|
-
X-Content-Type-Options:
|
50
|
-
- nosniff
|
44
|
+
- b8a876dce8beb5b455952ac0
|
51
45
|
X-Backend:
|
52
46
|
- sbox-priv-gateway-a
|
53
47
|
body:
|
54
48
|
encoding: UTF-8
|
55
|
-
string: '{"successful":true,"response":{"id":"071-DD-
|
49
|
+
string: '{"successful":true,"response":{"id":"071-DD-AN92IPK2","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-AN92IPK2","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},"errors":[],"test":true}'
|
56
50
|
http_version:
|
57
|
-
recorded_at:
|
51
|
+
recorded_at: Mon, 29 Apr 2019 09:16:55 GMT
|
58
52
|
recorded_with: VCR 3.0.3
|