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
@@ -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:17:00 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.041239'
|
41
41
|
Pragma:
|
42
42
|
- no-cache
|
43
43
|
X-Request-Id:
|
44
|
-
-
|
44
|
+
- 9debecd103db939f71b5753d
|
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-DD-
|
49
|
+
string: '{"successful":true,"response":{"id":"071-DD-4UCBFBXC","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-4UCBFBXC","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:17:00 GMT
|
52
52
|
- request:
|
53
53
|
method: post
|
54
54
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_debits
|
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:17:00 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.046735'
|
90
90
|
Pragma:
|
91
91
|
- no-cache
|
92
92
|
X-Request-Id:
|
93
|
-
-
|
93
|
+
- e5e6d45c4ac9f6ecc27ba8c8
|
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-DD-
|
98
|
+
string: '{"successful":true,"response":{"id":"071-DD-UCLRCP8I","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-UCLRCP8I","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:17:00 GMT
|
101
101
|
- request:
|
102
102
|
method: get
|
103
103
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/direct_debits?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:17:00 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.032962'
|
141
141
|
Pragma:
|
142
142
|
- no-cache
|
143
143
|
X-Request-Id:
|
144
|
-
-
|
144
|
+
- adaedb804ad0d7d0e8896aec
|
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-DD-
|
149
|
+
string: '{"successful":true,"response":[{"id":"071-DD-UCLRCP8I","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-UCLRCP8I","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DD-4UCBFBXC","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-4UCBFBXC","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DD-DKO3ROOU","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-DKO3ROOU","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DD-DDPCOFS0","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-DDPCOFS0","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DD-GOOH7XBB","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-GOOH7XBB","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DD-SGHKW4JK","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-SGHKW4JK","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DD-R9RJFC4O","amount":42.0,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-R9RJFC4O","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"id":"071-DD-29P42POQ","amount":42.42,"bsb":"123-123","account_number":"012345678","account_name":"Test","description":"Confirmation","reference":"071-DD-29P42POQ","date":"2019-04-30","process_date":null,"status":"New","result":null,"metadata":null},{"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},{"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,"records":10,"total_records":16741,"page":0,"total_pages":1675}'
|
150
150
|
http_version:
|
151
|
-
recorded_at:
|
151
|
+
recorded_at: Mon, 29 Apr 2019 09:17:00 GMT
|
152
152
|
recorded_with: VCR 3.0.3
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Mon, 29 Apr 2019 09:17:01 GMT
|
29
29
|
Content-Type:
|
30
30
|
- application/json; charset=utf-8
|
31
31
|
Transfer-Encoding:
|
@@ -37,24 +37,18 @@ 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.003178'
|
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.003087'
|
49
|
-
X-Frame-Options:
|
50
|
-
- SAMEORIGIN
|
51
|
-
X-Content-Type-Options:
|
52
|
-
- nosniff
|
46
|
+
- a1432968239cff0c8487dd54
|
53
47
|
X-Backend:
|
54
48
|
- sbox-priv-gateway-a
|
55
49
|
body:
|
56
50
|
encoding: UTF-8
|
57
|
-
string: '{"timestamp":
|
51
|
+
string: '{"timestamp":1556529421,"echo":"262ca5679c2dd86ac866200a7b57fab0"}'
|
58
52
|
http_version:
|
59
|
-
recorded_at:
|
53
|
+
recorded_at: Mon, 29 Apr 2019 09:17:01 GMT
|
60
54
|
recorded_with: VCR 3.0.3
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Mon, 29 Apr 2019 09:17:01 GMT
|
29
29
|
Content-Type:
|
30
30
|
- application/json; charset=utf-8
|
31
31
|
Transfer-Encoding:
|
@@ -37,24 +37,18 @@ 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.003012'
|
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.002556'
|
49
|
-
X-Frame-Options:
|
50
|
-
- SAMEORIGIN
|
51
|
-
X-Content-Type-Options:
|
52
|
-
- nosniff
|
46
|
+
- 5d6b333833eff62c17824960
|
53
47
|
X-Backend:
|
54
48
|
- sbox-priv-gateway-a
|
55
49
|
body:
|
56
50
|
encoding: UTF-8
|
57
|
-
string: '{"timestamp":
|
51
|
+
string: '{"timestamp":1556529421,"echo":"262ca5679c2dd86ac866200a7b57fab0"}'
|
58
52
|
http_version:
|
59
|
-
recorded_at:
|
53
|
+
recorded_at: Mon, 29 Apr 2019 09:17:01 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":"9e43d242230da128b0cc2f78f4e3c8be","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:17:18 GMT
|
29
29
|
Content-Type:
|
30
30
|
- application/json; charset=utf-8
|
31
31
|
Transfer-Encoding:
|
@@ -37,27 +37,27 @@ 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
41
|
X-Runtime:
|
42
|
-
- '0.
|
42
|
+
- '0.472348'
|
43
43
|
Pragma:
|
44
44
|
- no-cache
|
45
45
|
X-Request-Id:
|
46
|
-
-
|
46
|
+
- b9400fa44e0a80dc9ba6c4e8
|
47
47
|
X-Backend:
|
48
48
|
- sbox-priv-gateway-a
|
49
49
|
body:
|
50
50
|
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":{"id":"071-C-
|
52
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"
|
51
|
+
string: '{"successful":true,"response":{"id":"071-C-FR8Z7MRO","email":null,"reference":"9e43d242230da128b0cc2f78f4e3c8be","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:17:17+10:00","address":{"address":"1
|
52
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"hnzyok6f6a4udfdwvcr1","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
|
53
53
|
http_version:
|
54
|
-
recorded_at:
|
54
|
+
recorded_at: Mon, 29 Apr 2019 09:17:18 GMT
|
55
55
|
- request:
|
56
56
|
method: post
|
57
57
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
|
58
58
|
body:
|
59
59
|
encoding: UTF-8
|
60
|
-
string: '{"payment_method":"Credit Card","customer":"071-C-
|
60
|
+
string: '{"payment_method":"Credit Card","customer":"071-C-FR8Z7MRO","reference":"766557476c1061d9bac18dbea33db453","setup_fee":0,"amount":100,"start_date":"2019-07-28","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
|
61
61
|
headers:
|
62
62
|
Accept-Encoding:
|
63
63
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -75,7 +75,7 @@ http_interactions:
|
|
75
75
|
message: Created
|
76
76
|
headers:
|
77
77
|
Date:
|
78
|
-
-
|
78
|
+
- Mon, 29 Apr 2019 09:17:18 GMT
|
79
79
|
Content-Type:
|
80
80
|
- application/json; charset=utf-8
|
81
81
|
Transfer-Encoding:
|
@@ -87,37 +87,37 @@ http_interactions:
|
|
87
87
|
Cache-Control:
|
88
88
|
- no-store
|
89
89
|
X-Request-Version:
|
90
|
-
- 1.16.9-
|
90
|
+
- 1.16.9-3941@c1d8236
|
91
91
|
X-Runtime:
|
92
|
-
- '0.
|
92
|
+
- '0.287750'
|
93
93
|
Pragma:
|
94
94
|
- no-cache
|
95
95
|
X-Request-Id:
|
96
|
-
-
|
96
|
+
- de4cddc10e4ed9e1032c9aa7
|
97
97
|
X-Backend:
|
98
98
|
- sbox-priv-gateway-a
|
99
99
|
body:
|
100
100
|
encoding: UTF-8
|
101
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
102
|
-
Card","reference":"
|
103
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
104
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
105
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
106
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
101
|
+
string: '{"successful":true,"response":{"id":"071-PP-8BBDOTAC","customer":"071-C-FR8Z7MRO","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
102
|
+
Card","reference":"766557476c1061d9bac18dbea33db453","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:18+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-CFQHTFFF","payment_plan":"071-PP-8BBDOTAC","reference":"766557476c1061d9bac18dbea33db453-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
|
103
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-P8TB4CKY","payment_plan":"071-PP-8BBDOTAC","reference":"766557476c1061d9bac18dbea33db453-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
|
104
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-UJJHM5N2","payment_plan":"071-PP-8BBDOTAC","reference":"766557476c1061d9bac18dbea33db453-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
|
105
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-QAFR0507","payment_plan":"071-PP-8BBDOTAC","reference":"766557476c1061d9bac18dbea33db453-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
|
106
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-PDHK51CY","payment_plan":"071-PP-8BBDOTAC","reference":"766557476c1061d9bac18dbea33db453-0005","amount":100,"currency":null,"scheduled_date":"2019-08-30","payment_method":"Credit
|
107
107
|
Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
|
108
108
|
http_version:
|
109
|
-
recorded_at:
|
109
|
+
recorded_at: Mon, 29 Apr 2019 09:17:18 GMT
|
110
110
|
- request:
|
111
111
|
method: put
|
112
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-
|
112
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-8BBDOTAC
|
113
113
|
body:
|
114
114
|
encoding: UTF-8
|
115
|
-
string: '{"customer":"071-C-
|
116
|
-
Card","reference":"
|
117
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
118
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
119
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
120
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
115
|
+
string: '{"customer":"071-C-FR8Z7MRO","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
116
|
+
Card","reference":"766557476c1061d9bac18dbea33db453","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:18+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-CFQHTFFF","payment_plan":"071-PP-8BBDOTAC","reference":"766557476c1061d9bac18dbea33db453-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
|
117
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-P8TB4CKY","payment_plan":"071-PP-8BBDOTAC","reference":"766557476c1061d9bac18dbea33db453-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
|
118
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-UJJHM5N2","payment_plan":"071-PP-8BBDOTAC","reference":"766557476c1061d9bac18dbea33db453-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
|
119
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-QAFR0507","payment_plan":"071-PP-8BBDOTAC","reference":"766557476c1061d9bac18dbea33db453-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
|
120
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-PDHK51CY","payment_plan":"071-PP-8BBDOTAC","reference":"766557476c1061d9bac18dbea33db453-0005","amount":100,"currency":null,"scheduled_date":"2019-08-30","payment_method":"Credit
|
121
121
|
Card","status":"Scheduled","result":null,"records":[]}],"new_status":"Suspended","test":true}'
|
122
122
|
headers:
|
123
123
|
Accept-Encoding:
|
@@ -136,7 +136,7 @@ http_interactions:
|
|
136
136
|
message: OK
|
137
137
|
headers:
|
138
138
|
Date:
|
139
|
-
-
|
139
|
+
- Mon, 29 Apr 2019 09:17:18 GMT
|
140
140
|
Content-Type:
|
141
141
|
- application/json; charset=utf-8
|
142
142
|
Transfer-Encoding:
|
@@ -148,28 +148,28 @@ http_interactions:
|
|
148
148
|
Cache-Control:
|
149
149
|
- no-store
|
150
150
|
X-Request-Version:
|
151
|
-
- 1.16.9-
|
151
|
+
- 1.16.9-3941@c1d8236
|
152
152
|
X-Runtime:
|
153
|
-
- '0.
|
153
|
+
- '0.134678'
|
154
154
|
Pragma:
|
155
155
|
- no-cache
|
156
156
|
X-Request-Id:
|
157
|
-
-
|
157
|
+
- 3ce0483c040c972323c479f2
|
158
158
|
X-Backend:
|
159
159
|
- sbox-priv-gateway-a
|
160
160
|
body:
|
161
161
|
encoding: UTF-8
|
162
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
163
|
-
Card","reference":"
|
162
|
+
string: '{"successful":true,"response":{"id":"071-PP-8BBDOTAC","customer":"071-C-FR8Z7MRO","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
163
|
+
Card","reference":"766557476c1061d9bac18dbea33db453","description":null,"status":"Suspended","status_reason":"Other","created_at":"2019-04-29T19:17:18+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
|
164
164
|
http_version:
|
165
|
-
recorded_at:
|
165
|
+
recorded_at: Mon, 29 Apr 2019 09:17:18 GMT
|
166
166
|
- request:
|
167
167
|
method: put
|
168
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-
|
168
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-8BBDOTAC
|
169
169
|
body:
|
170
170
|
encoding: UTF-8
|
171
|
-
string: '{"customer":"071-C-
|
172
|
-
Card","reference":"
|
171
|
+
string: '{"customer":"071-C-FR8Z7MRO","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
172
|
+
Card","reference":"766557476c1061d9bac18dbea33db453","description":null,"status":"Suspended","status_reason":"Other","created_at":"2019-04-29T19:17:18+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[],"new_status":"Active","test":true}'
|
173
173
|
headers:
|
174
174
|
Accept-Encoding:
|
175
175
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -187,7 +187,7 @@ http_interactions:
|
|
187
187
|
message: OK
|
188
188
|
headers:
|
189
189
|
Date:
|
190
|
-
-
|
190
|
+
- Mon, 29 Apr 2019 09:17:19 GMT
|
191
191
|
Content-Type:
|
192
192
|
- application/json; charset=utf-8
|
193
193
|
Transfer-Encoding:
|
@@ -199,24 +199,24 @@ http_interactions:
|
|
199
199
|
Cache-Control:
|
200
200
|
- no-store
|
201
201
|
X-Request-Version:
|
202
|
-
- 1.16.9-
|
202
|
+
- 1.16.9-3941@c1d8236
|
203
203
|
X-Runtime:
|
204
|
-
- '0.
|
204
|
+
- '0.260278'
|
205
205
|
Pragma:
|
206
206
|
- no-cache
|
207
207
|
X-Request-Id:
|
208
|
-
-
|
208
|
+
- 4d82474d16d567ea58ed5481
|
209
209
|
X-Backend:
|
210
210
|
- sbox-priv-gateway-a
|
211
211
|
body:
|
212
212
|
encoding: UTF-8
|
213
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
214
|
-
Card","reference":"
|
215
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
216
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
217
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
218
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
213
|
+
string: '{"successful":true,"response":{"id":"071-PP-8BBDOTAC","customer":"071-C-FR8Z7MRO","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
214
|
+
Card","reference":"766557476c1061d9bac18dbea33db453","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:18+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-6L5KZSFX","payment_plan":"071-PP-8BBDOTAC","reference":"766557476c1061d9bac18dbea33db453-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
|
215
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-1PT6360","payment_plan":"071-PP-8BBDOTAC","reference":"766557476c1061d9bac18dbea33db453-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
|
216
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-F6ZLUJ2G","payment_plan":"071-PP-8BBDOTAC","reference":"766557476c1061d9bac18dbea33db453-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
|
217
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-IZA8FLJ8","payment_plan":"071-PP-8BBDOTAC","reference":"766557476c1061d9bac18dbea33db453-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
|
218
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-8YGPSVBL","payment_plan":"071-PP-8BBDOTAC","reference":"766557476c1061d9bac18dbea33db453-0005","amount":100,"currency":null,"scheduled_date":"2019-08-30","payment_method":"Credit
|
219
219
|
Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
|
220
220
|
http_version:
|
221
|
-
recorded_at:
|
221
|
+
recorded_at: Mon, 29 Apr 2019 09:17:19 GMT
|
222
222
|
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":"b3c3f2a61450265364896ddff6f36f50","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:17:19 GMT
|
29
29
|
Content-Type:
|
30
30
|
- application/json; charset=utf-8
|
31
31
|
Transfer-Encoding:
|
@@ -37,27 +37,27 @@ 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
41
|
X-Runtime:
|
42
|
-
- '0.
|
42
|
+
- '0.499629'
|
43
43
|
Pragma:
|
44
44
|
- no-cache
|
45
45
|
X-Request-Id:
|
46
|
-
-
|
46
|
+
- 36678034a8e44a8fc67f1d3f
|
47
47
|
X-Backend:
|
48
48
|
- sbox-priv-gateway-a
|
49
49
|
body:
|
50
50
|
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":{"id":"071-C-
|
52
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"
|
51
|
+
string: '{"successful":true,"response":{"id":"071-C-7ZG2G8L0","email":null,"reference":"b3c3f2a61450265364896ddff6f36f50","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:17:19+10:00","address":{"address":"1
|
52
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"hh8sqlx7bdpuhs4snq3t","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
|
53
53
|
http_version:
|
54
|
-
recorded_at:
|
54
|
+
recorded_at: Mon, 29 Apr 2019 09:17:19 GMT
|
55
55
|
- request:
|
56
56
|
method: post
|
57
57
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
|
58
58
|
body:
|
59
59
|
encoding: UTF-8
|
60
|
-
string: '{"payment_method":"Credit Card","customer":"071-C-
|
60
|
+
string: '{"payment_method":"Credit Card","customer":"071-C-7ZG2G8L0","reference":"2f1589154ed09082edbc8e564507482d","setup_fee":0,"amount":100,"start_date":"2019-07-28","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
|
61
61
|
headers:
|
62
62
|
Accept-Encoding:
|
63
63
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -75,7 +75,7 @@ http_interactions:
|
|
75
75
|
message: Created
|
76
76
|
headers:
|
77
77
|
Date:
|
78
|
-
-
|
78
|
+
- Mon, 29 Apr 2019 09:17:20 GMT
|
79
79
|
Content-Type:
|
80
80
|
- application/json; charset=utf-8
|
81
81
|
Transfer-Encoding:
|
@@ -87,37 +87,37 @@ http_interactions:
|
|
87
87
|
Cache-Control:
|
88
88
|
- no-store
|
89
89
|
X-Request-Version:
|
90
|
-
- 1.16.9-
|
90
|
+
- 1.16.9-3941@c1d8236
|
91
91
|
X-Runtime:
|
92
|
-
- '0.
|
92
|
+
- '0.287325'
|
93
93
|
Pragma:
|
94
94
|
- no-cache
|
95
95
|
X-Request-Id:
|
96
|
-
-
|
96
|
+
- 0ec1e528ce7c39484b9020a0
|
97
97
|
X-Backend:
|
98
98
|
- sbox-priv-gateway-a
|
99
99
|
body:
|
100
100
|
encoding: UTF-8
|
101
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
102
|
-
Card","reference":"
|
103
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
104
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
105
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
106
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
101
|
+
string: '{"successful":true,"response":{"id":"071-PP-ERIK4POR","customer":"071-C-7ZG2G8L0","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
102
|
+
Card","reference":"2f1589154ed09082edbc8e564507482d","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:19+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-NBP1H81E","payment_plan":"071-PP-ERIK4POR","reference":"2f1589154ed09082edbc8e564507482d-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
|
103
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-KHXOJ68M","payment_plan":"071-PP-ERIK4POR","reference":"2f1589154ed09082edbc8e564507482d-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
|
104
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-CT1RFPTI","payment_plan":"071-PP-ERIK4POR","reference":"2f1589154ed09082edbc8e564507482d-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
|
105
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-6HV3FW1K","payment_plan":"071-PP-ERIK4POR","reference":"2f1589154ed09082edbc8e564507482d-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
|
106
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-OLC4ZZXK","payment_plan":"071-PP-ERIK4POR","reference":"2f1589154ed09082edbc8e564507482d-0005","amount":100,"currency":null,"scheduled_date":"2019-08-30","payment_method":"Credit
|
107
107
|
Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
|
108
108
|
http_version:
|
109
|
-
recorded_at:
|
109
|
+
recorded_at: Mon, 29 Apr 2019 09:17:20 GMT
|
110
110
|
- request:
|
111
111
|
method: put
|
112
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-
|
112
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-ERIK4POR
|
113
113
|
body:
|
114
114
|
encoding: UTF-8
|
115
|
-
string: '{"customer":"071-C-
|
116
|
-
Card","reference":"
|
117
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
118
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
119
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
120
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
115
|
+
string: '{"customer":"071-C-7ZG2G8L0","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
116
|
+
Card","reference":"2f1589154ed09082edbc8e564507482d","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:19+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-NBP1H81E","payment_plan":"071-PP-ERIK4POR","reference":"2f1589154ed09082edbc8e564507482d-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
|
117
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-KHXOJ68M","payment_plan":"071-PP-ERIK4POR","reference":"2f1589154ed09082edbc8e564507482d-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
|
118
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-CT1RFPTI","payment_plan":"071-PP-ERIK4POR","reference":"2f1589154ed09082edbc8e564507482d-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
|
119
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-6HV3FW1K","payment_plan":"071-PP-ERIK4POR","reference":"2f1589154ed09082edbc8e564507482d-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
|
120
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-OLC4ZZXK","payment_plan":"071-PP-ERIK4POR","reference":"2f1589154ed09082edbc8e564507482d-0005","amount":100,"currency":null,"scheduled_date":"2019-08-30","payment_method":"Credit
|
121
121
|
Card","status":"Scheduled","result":null,"records":[]}],"new_status":"Suspended","test":true}'
|
122
122
|
headers:
|
123
123
|
Accept-Encoding:
|
@@ -136,7 +136,7 @@ http_interactions:
|
|
136
136
|
message: OK
|
137
137
|
headers:
|
138
138
|
Date:
|
139
|
-
-
|
139
|
+
- Mon, 29 Apr 2019 09:17:20 GMT
|
140
140
|
Content-Type:
|
141
141
|
- application/json; charset=utf-8
|
142
142
|
Transfer-Encoding:
|
@@ -148,28 +148,28 @@ http_interactions:
|
|
148
148
|
Cache-Control:
|
149
149
|
- no-store
|
150
150
|
X-Request-Version:
|
151
|
-
- 1.16.9-
|
151
|
+
- 1.16.9-3941@c1d8236
|
152
152
|
X-Runtime:
|
153
|
-
- '0.
|
153
|
+
- '0.142179'
|
154
154
|
Pragma:
|
155
155
|
- no-cache
|
156
156
|
X-Request-Id:
|
157
|
-
-
|
157
|
+
- 8fa806b8ad0d9e7ce4068ec8
|
158
158
|
X-Backend:
|
159
159
|
- sbox-priv-gateway-a
|
160
160
|
body:
|
161
161
|
encoding: UTF-8
|
162
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
163
|
-
Card","reference":"
|
162
|
+
string: '{"successful":true,"response":{"id":"071-PP-ERIK4POR","customer":"071-C-7ZG2G8L0","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
163
|
+
Card","reference":"2f1589154ed09082edbc8e564507482d","description":null,"status":"Suspended","status_reason":"Other","created_at":"2019-04-29T19:17:19+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
|
164
164
|
http_version:
|
165
|
-
recorded_at:
|
165
|
+
recorded_at: Mon, 29 Apr 2019 09:17:20 GMT
|
166
166
|
- request:
|
167
167
|
method: put
|
168
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-
|
168
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-ERIK4POR
|
169
169
|
body:
|
170
170
|
encoding: UTF-8
|
171
|
-
string: '{"customer":"071-C-
|
172
|
-
Card","reference":"
|
171
|
+
string: '{"customer":"071-C-7ZG2G8L0","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
172
|
+
Card","reference":"2f1589154ed09082edbc8e564507482d","description":null,"status":"Suspended","status_reason":"Other","created_at":"2019-04-29T19:17:19+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[],"new_status":"Active","test":true}'
|
173
173
|
headers:
|
174
174
|
Accept-Encoding:
|
175
175
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -187,7 +187,7 @@ http_interactions:
|
|
187
187
|
message: OK
|
188
188
|
headers:
|
189
189
|
Date:
|
190
|
-
-
|
190
|
+
- Mon, 29 Apr 2019 09:17:20 GMT
|
191
191
|
Content-Type:
|
192
192
|
- application/json; charset=utf-8
|
193
193
|
Transfer-Encoding:
|
@@ -199,24 +199,24 @@ http_interactions:
|
|
199
199
|
Cache-Control:
|
200
200
|
- no-store
|
201
201
|
X-Request-Version:
|
202
|
-
- 1.16.9-
|
202
|
+
- 1.16.9-3941@c1d8236
|
203
203
|
X-Runtime:
|
204
|
-
- '0.
|
204
|
+
- '0.313627'
|
205
205
|
Pragma:
|
206
206
|
- no-cache
|
207
207
|
X-Request-Id:
|
208
|
-
-
|
208
|
+
- c710589ed68c672fe6d6d8df
|
209
209
|
X-Backend:
|
210
210
|
- sbox-priv-gateway-a
|
211
211
|
body:
|
212
212
|
encoding: UTF-8
|
213
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
214
|
-
Card","reference":"
|
215
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
216
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
217
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
218
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
213
|
+
string: '{"successful":true,"response":{"id":"071-PP-ERIK4POR","customer":"071-C-7ZG2G8L0","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
214
|
+
Card","reference":"2f1589154ed09082edbc8e564507482d","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:19+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-JXXN8O7X","payment_plan":"071-PP-ERIK4POR","reference":"2f1589154ed09082edbc8e564507482d-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
|
215
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-8DJO50QS","payment_plan":"071-PP-ERIK4POR","reference":"2f1589154ed09082edbc8e564507482d-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
|
216
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-SCMFRU3G","payment_plan":"071-PP-ERIK4POR","reference":"2f1589154ed09082edbc8e564507482d-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
|
217
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-H62IKF8T","payment_plan":"071-PP-ERIK4POR","reference":"2f1589154ed09082edbc8e564507482d-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
|
218
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-B4MINY8I","payment_plan":"071-PP-ERIK4POR","reference":"2f1589154ed09082edbc8e564507482d-0005","amount":100,"currency":null,"scheduled_date":"2019-08-30","payment_method":"Credit
|
219
219
|
Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
|
220
220
|
http_version:
|
221
|
-
recorded_at:
|
221
|
+
recorded_at: Mon, 29 Apr 2019 09:17:20 GMT
|
222
222
|
recorded_with: VCR 3.0.3
|