fat_zebra 3.0.9 → 3.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fat_zebra/api_operation/save.rb +6 -1
- data/lib/fat_zebra/version.rb +1 -1
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_1.yml +14 -16
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_2.yml +11 -13
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_1.yml +50 -52
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_2.yml +47 -49
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_3.yml +50 -52
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_1.yml +25 -18
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_2.yml +25 -18
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_1.yml +25 -18
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_2.yml +25 -18
- data/spec/cassettes/FatZebra_Batch/_find/1_2_1.yml +41 -32
- data/spec/cassettes/FatZebra_Batch/_find/1_2_2.yml +41 -32
- data/spec/cassettes/FatZebra_Batch/_result/1_4_1.yml +56 -45
- data/spec/cassettes/FatZebra_Batch/_search/1_3_1.yml +15 -13
- data/spec/cassettes/FatZebra_Batch/_search/1_3_2.yml +15 -13
- data/spec/cassettes/FatZebra_Batch/_search/1_3_3.yml +15 -13
- data/spec/cassettes/FatZebra_Card/_create/1_1_1.yml +8 -7
- data/spec/cassettes/FatZebra_Card/_create/1_1_2.yml +11 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_3.yml +8 -7
- data/spec/cassettes/FatZebra_Card/_create/1_1_4.yml +11 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_5.yml +11 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_6.yml +11 -10
- data/spec/cassettes/FatZebra_Card/_update/1_2_1.yml +23 -19
- data/spec/cassettes/FatZebra_Card/_update/1_2_2.yml +23 -19
- data/spec/cassettes/FatZebra_Card/_update/1_2_3.yml +23 -19
- data/spec/cassettes/FatZebra_Card/_update/validations/1_2_4_1.yml +8 -7
- data/spec/cassettes/FatZebra_Customer/_create/1_1_1.yml +15 -17
- data/spec/cassettes/FatZebra_Customer/_create/1_1_2.yml +15 -17
- data/spec/cassettes/FatZebra_Customer/_create/1_1_3.yml +15 -17
- data/spec/cassettes/FatZebra_Customer/_create/1_1_4.yml +15 -17
- data/spec/cassettes/FatZebra_Customer/_create/1_1_5.yml +15 -17
- data/spec/cassettes/FatZebra_Customer/_create/1_1_6.yml +15 -17
- data/spec/cassettes/FatZebra_Customer/_delete/1_5_1.yml +29 -35
- data/spec/cassettes/FatZebra_Customer/_find/1_3_1.yml +32 -32
- data/spec/cassettes/FatZebra_Customer/_find/1_3_2.yml +32 -32
- data/spec/cassettes/FatZebra_Customer/_search/1_2_1.yml +26 -16
- data/spec/cassettes/FatZebra_Customer/_search/1_2_2.yml +26 -16
- data/spec/cassettes/FatZebra_Customer/_search/1_2_3.yml +26 -16
- data/spec/cassettes/FatZebra_Customer/_update/1_4_1.yml +31 -35
- data/spec/cassettes/FatZebra_Customer/_update/1_4_2.yml +31 -35
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_1.yml +13 -15
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_2.yml +10 -12
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_3.yml +13 -15
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_4.yml +10 -12
- data/spec/cassettes/FatZebra_DirectCredit/_create/validations/valid/1_1_5_1_1.yml +9 -9
- data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_1.yml +23 -29
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_1.yml +29 -29
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_2.yml +23 -23
- data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_1.yml +38 -40
- data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_2.yml +35 -37
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_1.yml +10 -12
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_2.yml +13 -15
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_3.yml +13 -15
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_4.yml +10 -12
- data/spec/cassettes/FatZebra_DirectDebit/_create/validations/valid/1_1_5_1_1.yml +9 -9
- data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_1.yml +23 -29
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_1.yml +26 -26
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_2.yml +26 -26
- data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_1.yml +38 -40
- data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_2.yml +35 -37
- data/spec/cassettes/FatZebra_Information/_ping/1_1_1.yml +15 -13
- data/spec/cassettes/FatZebra_Information/_ping/1_1_2.yml +12 -10
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_1.yml +70 -78
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_2.yml +70 -78
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_1.yml +31 -35
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_2.yml +31 -35
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_3.yml +31 -35
- data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_1.yml +42 -50
- data/spec/cassettes/FatZebra_PaymentPlan/_destroy/1_6_1.yml +48 -56
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_1.yml +49 -51
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_2.yml +52 -54
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_3.yml +52 -54
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_1.yml +49 -55
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_2.yml +52 -58
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_1.yml +43 -49
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_2.yml +46 -52
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_3.yml +46 -52
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_1.yml +52 -58
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_2.yml +49 -55
- data/spec/cassettes/FatZebra_Purchase/_capture/1_5_1.yml +24 -28
- data/spec/cassettes/FatZebra_Purchase/_capture/1_5_2.yml +24 -28
- data/spec/cassettes/FatZebra_Purchase/_capture/1_5_3.yml +19 -19
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_1.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_10.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_11.yml +15 -17
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_12.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_13.yml +11 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_2.yml +15 -17
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_3.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_4.yml +15 -17
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_5.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_6.yml +15 -17
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_7.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_8.yml +15 -17
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_9.yml +12 -14
- data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_1.yml +11 -11
- data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_2.yml +8 -8
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_1.yml +29 -29
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_2.yml +32 -32
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_3.yml +29 -29
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_4.yml +19 -19
- data/spec/cassettes/FatZebra_Purchase/_refund/1_4_1.yml +24 -28
- data/spec/cassettes/FatZebra_Purchase/_refund/1_4_2.yml +24 -28
- data/spec/cassettes/FatZebra_Purchase/_refund/1_4_3.yml +19 -19
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_1.yml +38 -38
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_2.yml +35 -35
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_3.yml +38 -38
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_1.yml +246 -219
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_2.yml +246 -221
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_3.yml +246 -223
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_1.yml +24 -28
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_2.yml +27 -31
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_3.yml +27 -31
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_4.yml +19 -19
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_1.yml +30 -34
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_2.yml +30 -34
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_3.yml +30 -34
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_4.yml +19 -19
- data/spec/cassettes/FatZebra_Refund/_create/1_1_1.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_10.yml +19 -19
- data/spec/cassettes/FatZebra_Refund/_create/1_1_2.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_3.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_4.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_5.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_6.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_7.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_8.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_create/1_1_9.yml +30 -34
- data/spec/cassettes/FatZebra_Refund/_find/1_2_1.yml +47 -49
- data/spec/cassettes/FatZebra_Refund/_find/1_2_2.yml +47 -49
- data/spec/cassettes/FatZebra_Refund/_find/1_2_3.yml +30 -30
- data/spec/cassettes/FatZebra_Refund/_search/1_3_1.yml +83 -89
- data/spec/cassettes/FatZebra_Refund/_search/1_3_2.yml +83 -89
- data/spec/cassettes/FatZebra_Refund/_void/1_4_1.yml +45 -51
- data/spec/cassettes/FatZebra_Refund/_void/1_4_2.yml +42 -48
- data/spec/cassettes/FatZebra_Refund/_void/1_4_3.yml +39 -45
- data/spec/cassettes/FatZebra_Refund/_void/1_4_4.yml +30 -30
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_1.yml +13 -15
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_2.yml +10 -12
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_3.yml +13 -15
- data/spec/cassettes/FatZebra_WebHook/_delete/1_4_1.yml +23 -29
- data/spec/cassettes/FatZebra_WebHook/_search/1_2_1.yml +59 -103
- data/spec/cassettes/FatZebra_WebHook/_search/1_2_2.yml +55 -99
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_1.yml +25 -29
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_2.yml +25 -29
- metadata +2 -78
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_3.yml +0 -55
- data/spec/cassettes/FatZebra_BankAccount/_create/validations/1_1_3_1.yml +0 -57
- data/spec/cassettes/FatZebra_Batch/_create/1_1_1.yml +0 -58
- data/spec/cassettes/FatZebra_Batch/_create/1_1_2.yml +0 -58
- data/spec/cassettes/FatZebra_Batch/_create/validations/1_1_3_1.yml +0 -57
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_3.yml +0 -65
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_3.yml +0 -65
- data/spec/cassettes/FatZebra_Batch/_find/1_2_3.yml +0 -118
- data/spec/cassettes/FatZebra_Card/_create/1_1_7.yml +0 -55
- data/spec/cassettes/FatZebra_Card/_create/validations/1_1_7_1.yml +0 -56
- data/spec/cassettes/FatZebra_Card/_update/1_2_4.yml +0 -105
- data/spec/cassettes/FatZebra_Card/_update/validations/1_2_5_1.yml +0 -55
- data/spec/cassettes/FatZebra_Customer/_create/1_1_7.yml +0 -57
- data/spec/cassettes/FatZebra_Customer/_create/validations/1_1_7_1.yml +0 -56
- data/spec/cassettes/FatZebra_Customer/_delete/1_4_1.yml +0 -113
- data/spec/cassettes/FatZebra_Customer/_delete/1_5_2.yml +0 -107
- data/spec/cassettes/FatZebra_Customer/_find/1_2_1.yml +0 -111
- data/spec/cassettes/FatZebra_Customer/_find/1_2_2.yml +0 -111
- data/spec/cassettes/FatZebra_Customer/_find/1_3_3.yml +0 -111
- data/spec/cassettes/FatZebra_Customer/_update/1_3_1.yml +0 -114
- data/spec/cassettes/FatZebra_Customer/_update/1_3_2.yml +0 -114
- data/spec/cassettes/FatZebra_Customer/_update/1_4_3.yml +0 -108
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_5.yml +0 -54
- data/spec/cassettes/FatZebra_DirectCredit/_create/validations/1_1_5_1.yml +0 -59
- data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_2.yml +0 -103
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_3.yml +0 -107
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_5.yml +0 -54
- data/spec/cassettes/FatZebra_DirectDebit/_create/validations/1_1_5_1.yml +0 -59
- data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_2.yml +0 -103
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_3.yml +0 -107
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_7_1.yml +0 -238
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_7_2.yml +0 -238
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_4.yml +0 -114
- data/spec/cassettes/FatZebra_PaymentPlan/_create/validations/1_1_4_1.yml +0 -55
- data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_2.yml +0 -164
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_4.yml +0 -173
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_6_1.yml +0 -178
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_6_2.yml +0 -178
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_4.yml +0 -164
- data/spec/cassettes/FatZebra_Purchase/_capture/1_6_1.yml +0 -111
- data/spec/cassettes/FatZebra_Purchase/_capture/1_6_2.yml +0 -111
- data/spec/cassettes/FatZebra_Purchase/_capture/1_6_3.yml +0 -107
- data/spec/cassettes/FatZebra_Purchase/_find/1_3_1.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_find/1_3_2.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_find/1_3_3.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_find/1_3_4.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_find/1_4_1.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_find/1_4_2.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_find/1_4_3.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_refund/1_5_1.yml +0 -111
- data/spec/cassettes/FatZebra_Purchase/_refund/1_5_2.yml +0 -111
- data/spec/cassettes/FatZebra_Purchase/_refund/1_5_3.yml +0 -107
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_4.yml +0 -170
- data/spec/cassettes/FatZebra_Purchase/_search/1_4_1.yml +0 -170
- data/spec/cassettes/FatZebra_Purchase/_search/1_4_2.yml +0 -170
- data/spec/cassettes/FatZebra_Purchase/_search/1_4_3.yml +0 -170
- data/spec/cassettes/FatZebra_Purchase/_search/1_4_4.yml +0 -170
- data/spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_1.yml +0 -164
- data/spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_2.yml +0 -165
- data/spec/cassettes/FatZebra_Purchase/_search/with_data/1_3_2_3.yml +0 -164
- data/spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_1.yml +0 -54
- data/spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_2.yml +0 -54
- data/spec/cassettes/FatZebra_Purchase/_search/without_data/1_3_1_3.yml +0 -54
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_4.yml +0 -842
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_1.yml +0 -828
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_2.yml +0 -830
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_3.yml +0 -832
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_9_4.yml +0 -834
- data/spec/cassettes/FatZebra_Purchase/_void/1_8_1.yml +0 -107
- data/spec/cassettes/FatZebra_Purchase/_void/1_8_2.yml +0 -107
- data/spec/cassettes/FatZebra_Purchase/_void/1_8_3.yml +0 -107
- data/spec/cassettes/FatZebra_Purchase/_void/1_8_4.yml +0 -107
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_4.yml +0 -55
- data/spec/cassettes/FatZebra_WebHook/_create/validations/1_1_4_1.yml +0 -56
- data/spec/cassettes/FatZebra_WebHook/_delete/1_4_2.yml +0 -105
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_3.yml +0 -106
@@ -7,23 +7,25 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
10
|
Accept-Encoding:
|
13
|
-
- gzip,
|
14
|
-
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
15
13
|
- application/json
|
16
14
|
User-Agent:
|
17
15
|
- Ruby
|
16
|
+
Host:
|
17
|
+
- gateway.sandbox.fatzebra.com.au
|
18
18
|
Authorization:
|
19
19
|
- Basic VEVTVDpURVNU
|
20
|
+
Content-Type:
|
21
|
+
- application/json
|
20
22
|
response:
|
21
23
|
status:
|
22
24
|
code: 200
|
23
25
|
message: OK
|
24
26
|
headers:
|
25
27
|
Date:
|
26
|
-
- Wed,
|
28
|
+
- Wed, 02 May 2018 23:12:10 GMT
|
27
29
|
Content-Type:
|
28
30
|
- application/json; charset=utf-8
|
29
31
|
Transfer-Encoding:
|
@@ -32,23 +34,23 @@ http_interactions:
|
|
32
34
|
- keep-alive
|
33
35
|
Status:
|
34
36
|
- 200 OK
|
37
|
+
X-Rack-Cache:
|
38
|
+
- miss
|
35
39
|
Cache-Control:
|
36
40
|
- no-store, private
|
37
41
|
X-Request-Version:
|
38
|
-
- 1.
|
42
|
+
- 1.16.9-3156@6c1a40b
|
43
|
+
X-Runtime:
|
44
|
+
- '0.002775'
|
39
45
|
Pragma:
|
40
46
|
- no-cache
|
41
47
|
X-Request-Id:
|
42
|
-
-
|
43
|
-
X-Runtime:
|
44
|
-
- '0.002568'
|
45
|
-
X-Rack-Cache:
|
46
|
-
- miss
|
48
|
+
- c3b6af000e571020bf7357e0
|
47
49
|
X-Backend:
|
48
50
|
- sbox-priv-gateway-a
|
49
51
|
body:
|
50
52
|
encoding: UTF-8
|
51
|
-
string: '{"timestamp":
|
53
|
+
string: '{"timestamp":1525302730,"echo":"262ca5679c2dd86ac866200a7b57fab0"}'
|
52
54
|
http_version:
|
53
|
-
recorded_at: Wed,
|
55
|
+
recorded_at: Wed, 02 May 2018 23:12:09 GMT
|
54
56
|
recorded_with: VCR 3.0.3
|
@@ -7,23 +7,25 @@ http_interactions:
|
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
10
|
Accept-Encoding:
|
13
|
-
- gzip,
|
14
|
-
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
15
13
|
- application/json
|
16
14
|
User-Agent:
|
17
15
|
- Ruby
|
16
|
+
Host:
|
17
|
+
- gateway.sandbox.fatzebra.com.au
|
18
18
|
Authorization:
|
19
19
|
- Basic VEVTVDpURVNU
|
20
|
+
Content-Type:
|
21
|
+
- application/json
|
20
22
|
response:
|
21
23
|
status:
|
22
24
|
code: 200
|
23
25
|
message: OK
|
24
26
|
headers:
|
25
27
|
Date:
|
26
|
-
- Wed,
|
28
|
+
- Wed, 02 May 2018 23:12:10 GMT
|
27
29
|
Content-Type:
|
28
30
|
- application/json; charset=utf-8
|
29
31
|
Transfer-Encoding:
|
@@ -37,18 +39,18 @@ http_interactions:
|
|
37
39
|
Cache-Control:
|
38
40
|
- no-store, private
|
39
41
|
X-Request-Version:
|
40
|
-
- 1.
|
42
|
+
- 1.16.9-3156@6c1a40b
|
41
43
|
X-Runtime:
|
42
|
-
- '0.
|
44
|
+
- '0.002383'
|
43
45
|
Pragma:
|
44
46
|
- no-cache
|
45
47
|
X-Request-Id:
|
46
|
-
-
|
48
|
+
- c42edcfddc86f1641255f12c
|
47
49
|
X-Backend:
|
48
50
|
- sbox-priv-gateway-a
|
49
51
|
body:
|
50
52
|
encoding: UTF-8
|
51
|
-
string: '{"timestamp":
|
53
|
+
string: '{"timestamp":1525302730,"echo":"262ca5679c2dd86ac866200a7b57fab0"}'
|
52
54
|
http_version:
|
53
|
-
recorded_at: Wed,
|
55
|
+
recorded_at: Wed, 02 May 2018 23:12:09 GMT
|
54
56
|
recorded_with: VCR 3.0.3
|
@@ -5,29 +5,27 @@ 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":"6ed8fea0245edaf5e54fbe9fcbf7ccf3","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:
|
12
|
-
Accept:
|
13
|
-
- application/json
|
14
12
|
Accept-Encoding:
|
15
|
-
- gzip,
|
16
|
-
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
17
15
|
- application/json
|
18
|
-
Content-Length:
|
19
|
-
- '394'
|
20
16
|
User-Agent:
|
21
17
|
- Ruby
|
22
18
|
Authorization:
|
23
19
|
- Basic VEVTVDpURVNU
|
20
|
+
Content-Type:
|
21
|
+
- application/json
|
24
22
|
response:
|
25
23
|
status:
|
26
24
|
code: 200
|
27
25
|
message: OK
|
28
26
|
headers:
|
29
27
|
Date:
|
30
|
-
-
|
28
|
+
- Wed, 02 May 2018 23:12:26 GMT
|
31
29
|
Content-Type:
|
32
30
|
- application/json; charset=utf-8
|
33
31
|
Transfer-Encoding:
|
@@ -36,52 +34,50 @@ http_interactions:
|
|
36
34
|
- keep-alive
|
37
35
|
Status:
|
38
36
|
- 200 OK
|
37
|
+
X-Rack-Cache:
|
38
|
+
- invalidate, pass
|
39
39
|
Cache-Control:
|
40
40
|
- no-store
|
41
41
|
X-Request-Version:
|
42
|
-
- 1.
|
42
|
+
- 1.16.9-3156@6c1a40b
|
43
|
+
X-Runtime:
|
44
|
+
- '0.467508'
|
43
45
|
Pragma:
|
44
46
|
- no-cache
|
45
47
|
X-Request-Id:
|
46
|
-
-
|
47
|
-
X-Runtime:
|
48
|
-
- '0.248156'
|
49
|
-
X-Rack-Cache:
|
50
|
-
- invalidate, pass
|
48
|
+
- c0a4ec5cd8d80ee17f346c46
|
51
49
|
X-Backend:
|
52
50
|
- sbox-priv-gateway-a
|
53
51
|
body:
|
54
52
|
encoding: UTF-8
|
55
|
-
string: '{"successful":true,"response":{"id":"071-C-
|
56
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"
|
53
|
+
string: '{"successful":true,"response":{"id":"071-C-ICRFB8FL","email":null,"reference":"6ed8fea0245edaf5e54fbe9fcbf7ccf3","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:25+10:00","address":{"address":"1
|
54
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke84kh3","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},"errors":[],"test":true}'
|
57
55
|
http_version:
|
58
|
-
recorded_at:
|
56
|
+
recorded_at: Wed, 02 May 2018 23:12:25 GMT
|
59
57
|
- request:
|
60
58
|
method: post
|
61
59
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
|
62
60
|
body:
|
63
61
|
encoding: UTF-8
|
64
|
-
string: '{"payment_method":"Credit Card","customer":"071-C-
|
62
|
+
string: '{"payment_method":"Credit Card","customer":"071-C-ICRFB8FL","reference":"c1096f819ad67084e016d0c7e77b0108","setup_fee":0,"amount":100,"start_date":"2015-07-16","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
|
65
63
|
headers:
|
66
|
-
Accept:
|
67
|
-
- application/json
|
68
64
|
Accept-Encoding:
|
69
|
-
- gzip,
|
70
|
-
|
65
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
66
|
+
Accept:
|
71
67
|
- application/json
|
72
|
-
Content-Length:
|
73
|
-
- '244'
|
74
68
|
User-Agent:
|
75
69
|
- Ruby
|
76
70
|
Authorization:
|
77
71
|
- Basic VEVTVDpURVNU
|
72
|
+
Content-Type:
|
73
|
+
- application/json
|
78
74
|
response:
|
79
75
|
status:
|
80
76
|
code: 201
|
81
77
|
message: Created
|
82
78
|
headers:
|
83
79
|
Date:
|
84
|
-
-
|
80
|
+
- Wed, 02 May 2018 23:12:26 GMT
|
85
81
|
Content-Type:
|
86
82
|
- application/json; charset=utf-8
|
87
83
|
Transfer-Encoding:
|
@@ -95,58 +91,56 @@ http_interactions:
|
|
95
91
|
Cache-Control:
|
96
92
|
- no-store
|
97
93
|
X-Request-Version:
|
98
|
-
- 1.
|
94
|
+
- 1.16.9-3156@6c1a40b
|
99
95
|
X-Runtime:
|
100
|
-
- '0.
|
96
|
+
- '0.234066'
|
101
97
|
Pragma:
|
102
98
|
- no-cache
|
103
99
|
X-Request-Id:
|
104
|
-
-
|
100
|
+
- f020a5803bff9740feff8640
|
105
101
|
X-Backend:
|
106
102
|
- sbox-priv-gateway-a
|
107
103
|
body:
|
108
104
|
encoding: UTF-8
|
109
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
110
|
-
Card","reference":"
|
111
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
112
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
113
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
114
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
105
|
+
string: '{"successful":true,"response":{"id":"071-PP-48UP3CN1","customer":"071-C-ICRFB8FL","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
106
|
+
Card","reference":"c1096f819ad67084e016d0c7e77b0108","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-03T09:12:26+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-W7A3VZ2J","payment_plan":"071-PP-48UP3CN1","reference":"c1096f819ad67084e016d0c7e77b0108-0001","amount":100,"currency":null,"scheduled_date":"2018-05-04","payment_method":"Credit
|
107
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-7CT6WAL5","payment_plan":"071-PP-48UP3CN1","reference":"c1096f819ad67084e016d0c7e77b0108-0002","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
|
108
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-VH2ANCY8","payment_plan":"071-PP-48UP3CN1","reference":"c1096f819ad67084e016d0c7e77b0108-0003","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
|
109
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-JYESSMBW","payment_plan":"071-PP-48UP3CN1","reference":"c1096f819ad67084e016d0c7e77b0108-0004","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
|
110
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-7A3F5FDR","payment_plan":"071-PP-48UP3CN1","reference":"c1096f819ad67084e016d0c7e77b0108-0005","amount":100,"currency":null,"scheduled_date":"2018-06-01","payment_method":"Credit
|
115
111
|
Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
|
116
112
|
http_version:
|
117
|
-
recorded_at:
|
113
|
+
recorded_at: Wed, 02 May 2018 23:12:25 GMT
|
118
114
|
- request:
|
119
115
|
method: put
|
120
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-
|
116
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-48UP3CN1
|
121
117
|
body:
|
122
118
|
encoding: UTF-8
|
123
|
-
string: '{"
|
124
|
-
Card","reference":"
|
125
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
126
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
127
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
128
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
119
|
+
string: '{"customer":"071-C-ICRFB8FL","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
120
|
+
Card","reference":"c1096f819ad67084e016d0c7e77b0108","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-03T09:12:26+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-W7A3VZ2J","payment_plan":"071-PP-48UP3CN1","reference":"c1096f819ad67084e016d0c7e77b0108-0001","amount":100,"currency":null,"scheduled_date":"2018-05-04","payment_method":"Credit
|
121
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-7CT6WAL5","payment_plan":"071-PP-48UP3CN1","reference":"c1096f819ad67084e016d0c7e77b0108-0002","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
|
122
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-VH2ANCY8","payment_plan":"071-PP-48UP3CN1","reference":"c1096f819ad67084e016d0c7e77b0108-0003","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
|
123
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-JYESSMBW","payment_plan":"071-PP-48UP3CN1","reference":"c1096f819ad67084e016d0c7e77b0108-0004","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
|
124
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-7A3F5FDR","payment_plan":"071-PP-48UP3CN1","reference":"c1096f819ad67084e016d0c7e77b0108-0005","amount":100,"currency":null,"scheduled_date":"2018-06-01","payment_method":"Credit
|
129
125
|
Card","status":"Scheduled","result":null,"records":[]}],"new_status":"Suspended","test":true}'
|
130
126
|
headers:
|
131
|
-
Accept:
|
132
|
-
- application/json
|
133
127
|
Accept-Encoding:
|
134
|
-
- gzip,
|
135
|
-
|
128
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
129
|
+
Accept:
|
136
130
|
- application/json
|
137
|
-
Content-Length:
|
138
|
-
- '1746'
|
139
131
|
User-Agent:
|
140
132
|
- Ruby
|
141
133
|
Authorization:
|
142
134
|
- Basic VEVTVDpURVNU
|
135
|
+
Content-Type:
|
136
|
+
- application/json
|
143
137
|
response:
|
144
138
|
status:
|
145
139
|
code: 200
|
146
140
|
message: OK
|
147
141
|
headers:
|
148
142
|
Date:
|
149
|
-
-
|
143
|
+
- Wed, 02 May 2018 23:12:26 GMT
|
150
144
|
Content-Type:
|
151
145
|
- application/json; charset=utf-8
|
152
146
|
Transfer-Encoding:
|
@@ -160,48 +154,46 @@ http_interactions:
|
|
160
154
|
Cache-Control:
|
161
155
|
- no-store
|
162
156
|
X-Request-Version:
|
163
|
-
- 1.
|
157
|
+
- 1.16.9-3156@6c1a40b
|
164
158
|
X-Runtime:
|
165
|
-
- '0.
|
159
|
+
- '0.095508'
|
166
160
|
Pragma:
|
167
161
|
- no-cache
|
168
162
|
X-Request-Id:
|
169
|
-
-
|
163
|
+
- 6c946b828567c6dc9ef07e2d
|
170
164
|
X-Backend:
|
171
165
|
- sbox-priv-gateway-a
|
172
166
|
body:
|
173
167
|
encoding: UTF-8
|
174
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
175
|
-
Card","reference":"
|
168
|
+
string: '{"successful":true,"response":{"id":"071-PP-48UP3CN1","customer":"071-C-ICRFB8FL","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
169
|
+
Card","reference":"c1096f819ad67084e016d0c7e77b0108","description":null,"status":"Suspended","status_reason":"Other","created_at":"2018-05-03T09:12:26+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
|
176
170
|
http_version:
|
177
|
-
recorded_at:
|
171
|
+
recorded_at: Wed, 02 May 2018 23:12:25 GMT
|
178
172
|
- request:
|
179
173
|
method: put
|
180
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-
|
174
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-48UP3CN1
|
181
175
|
body:
|
182
176
|
encoding: UTF-8
|
183
|
-
string: '{"
|
184
|
-
Card","reference":"
|
177
|
+
string: '{"customer":"071-C-ICRFB8FL","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
178
|
+
Card","reference":"c1096f819ad67084e016d0c7e77b0108","description":null,"status":"Suspended","status_reason":"Other","created_at":"2018-05-03T09:12:26+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[],"new_status":"Active","test":true}'
|
185
179
|
headers:
|
186
|
-
Accept:
|
187
|
-
- application/json
|
188
180
|
Accept-Encoding:
|
189
|
-
- gzip,
|
190
|
-
|
181
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
182
|
+
Accept:
|
191
183
|
- application/json
|
192
|
-
Content-Length:
|
193
|
-
- '508'
|
194
184
|
User-Agent:
|
195
185
|
- Ruby
|
196
186
|
Authorization:
|
197
187
|
- Basic VEVTVDpURVNU
|
188
|
+
Content-Type:
|
189
|
+
- application/json
|
198
190
|
response:
|
199
191
|
status:
|
200
192
|
code: 200
|
201
193
|
message: OK
|
202
194
|
headers:
|
203
195
|
Date:
|
204
|
-
-
|
196
|
+
- Wed, 02 May 2018 23:12:26 GMT
|
205
197
|
Content-Type:
|
206
198
|
- application/json; charset=utf-8
|
207
199
|
Transfer-Encoding:
|
@@ -210,29 +202,29 @@ http_interactions:
|
|
210
202
|
- keep-alive
|
211
203
|
Status:
|
212
204
|
- 200 OK
|
205
|
+
X-Rack-Cache:
|
206
|
+
- invalidate, pass
|
213
207
|
Cache-Control:
|
214
208
|
- no-store
|
215
209
|
X-Request-Version:
|
216
|
-
- 1.
|
210
|
+
- 1.16.9-3156@6c1a40b
|
211
|
+
X-Runtime:
|
212
|
+
- '0.223046'
|
217
213
|
Pragma:
|
218
214
|
- no-cache
|
219
215
|
X-Request-Id:
|
220
|
-
-
|
221
|
-
X-Runtime:
|
222
|
-
- '0.213622'
|
223
|
-
X-Rack-Cache:
|
224
|
-
- invalidate, pass
|
216
|
+
- 196ed900a3bb6ec0b9bca4c0
|
225
217
|
X-Backend:
|
226
218
|
- sbox-priv-gateway-a
|
227
219
|
body:
|
228
220
|
encoding: UTF-8
|
229
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
230
|
-
Card","reference":"
|
231
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
232
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
233
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
234
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
221
|
+
string: '{"successful":true,"response":{"id":"071-PP-48UP3CN1","customer":"071-C-ICRFB8FL","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
222
|
+
Card","reference":"c1096f819ad67084e016d0c7e77b0108","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-03T09:12:26+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-FS1BT3G8","payment_plan":"071-PP-48UP3CN1","reference":"c1096f819ad67084e016d0c7e77b0108-0001","amount":100,"currency":null,"scheduled_date":"2018-05-04","payment_method":"Credit
|
223
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-7R8ZX1TO","payment_plan":"071-PP-48UP3CN1","reference":"c1096f819ad67084e016d0c7e77b0108-0002","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
|
224
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-ADITR323","payment_plan":"071-PP-48UP3CN1","reference":"c1096f819ad67084e016d0c7e77b0108-0003","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
|
225
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-2VJCLYF1","payment_plan":"071-PP-48UP3CN1","reference":"c1096f819ad67084e016d0c7e77b0108-0004","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
|
226
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-8RWOKCQ3","payment_plan":"071-PP-48UP3CN1","reference":"c1096f819ad67084e016d0c7e77b0108-0005","amount":100,"currency":null,"scheduled_date":"2018-06-01","payment_method":"Credit
|
235
227
|
Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
|
236
228
|
http_version:
|
237
|
-
recorded_at:
|
229
|
+
recorded_at: Wed, 02 May 2018 23:12:25 GMT
|
238
230
|
recorded_with: VCR 3.0.3
|
@@ -5,29 +5,27 @@ 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":"9ce827e9e81d518e3e34596c1d7079e1","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:
|
12
|
-
Accept:
|
13
|
-
- application/json
|
14
12
|
Accept-Encoding:
|
15
|
-
- gzip,
|
16
|
-
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
17
15
|
- application/json
|
18
|
-
Content-Length:
|
19
|
-
- '394'
|
20
16
|
User-Agent:
|
21
17
|
- Ruby
|
22
18
|
Authorization:
|
23
19
|
- Basic VEVTVDpURVNU
|
20
|
+
Content-Type:
|
21
|
+
- application/json
|
24
22
|
response:
|
25
23
|
status:
|
26
24
|
code: 200
|
27
25
|
message: OK
|
28
26
|
headers:
|
29
27
|
Date:
|
30
|
-
-
|
28
|
+
- Wed, 02 May 2018 23:12:27 GMT
|
31
29
|
Content-Type:
|
32
30
|
- application/json; charset=utf-8
|
33
31
|
Transfer-Encoding:
|
@@ -41,47 +39,45 @@ http_interactions:
|
|
41
39
|
Cache-Control:
|
42
40
|
- no-store
|
43
41
|
X-Request-Version:
|
44
|
-
- 1.
|
42
|
+
- 1.16.9-3156@6c1a40b
|
45
43
|
X-Runtime:
|
46
|
-
- '0.
|
44
|
+
- '0.471320'
|
47
45
|
Pragma:
|
48
46
|
- no-cache
|
49
47
|
X-Request-Id:
|
50
|
-
-
|
48
|
+
- 85cec5e0a80c68209f1de200
|
51
49
|
X-Backend:
|
52
50
|
- sbox-priv-gateway-a
|
53
51
|
body:
|
54
52
|
encoding: UTF-8
|
55
|
-
string: '{"successful":true,"response":{"id":"071-C-
|
56
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"
|
53
|
+
string: '{"successful":true,"response":{"id":"071-C-76R8OO0V","email":null,"reference":"9ce827e9e81d518e3e34596c1d7079e1","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:27+10:00","address":{"address":"1
|
54
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke832kz","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},"errors":[],"test":true}'
|
57
55
|
http_version:
|
58
|
-
recorded_at:
|
56
|
+
recorded_at: Wed, 02 May 2018 23:12:26 GMT
|
59
57
|
- request:
|
60
58
|
method: post
|
61
59
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
|
62
60
|
body:
|
63
61
|
encoding: UTF-8
|
64
|
-
string: '{"payment_method":"Credit Card","customer":"071-C-
|
62
|
+
string: '{"payment_method":"Credit Card","customer":"071-C-76R8OO0V","reference":"85baaef07cda3d20f12e99a2f7c42af4","setup_fee":0,"amount":100,"start_date":"2015-07-16","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
|
65
63
|
headers:
|
66
|
-
Accept:
|
67
|
-
- application/json
|
68
64
|
Accept-Encoding:
|
69
|
-
- gzip,
|
70
|
-
|
65
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
66
|
+
Accept:
|
71
67
|
- application/json
|
72
|
-
Content-Length:
|
73
|
-
- '244'
|
74
68
|
User-Agent:
|
75
69
|
- Ruby
|
76
70
|
Authorization:
|
77
71
|
- Basic VEVTVDpURVNU
|
72
|
+
Content-Type:
|
73
|
+
- application/json
|
78
74
|
response:
|
79
75
|
status:
|
80
76
|
code: 201
|
81
77
|
message: Created
|
82
78
|
headers:
|
83
79
|
Date:
|
84
|
-
-
|
80
|
+
- Wed, 02 May 2018 23:12:27 GMT
|
85
81
|
Content-Type:
|
86
82
|
- application/json; charset=utf-8
|
87
83
|
Transfer-Encoding:
|
@@ -90,63 +86,61 @@ http_interactions:
|
|
90
86
|
- keep-alive
|
91
87
|
Status:
|
92
88
|
- 201 Created
|
89
|
+
X-Rack-Cache:
|
90
|
+
- invalidate, pass
|
93
91
|
Cache-Control:
|
94
92
|
- no-store
|
95
93
|
X-Request-Version:
|
96
|
-
- 1.
|
94
|
+
- 1.16.9-3156@6c1a40b
|
95
|
+
X-Runtime:
|
96
|
+
- '0.227884'
|
97
97
|
Pragma:
|
98
98
|
- no-cache
|
99
99
|
X-Request-Id:
|
100
|
-
-
|
101
|
-
X-Runtime:
|
102
|
-
- '0.185160'
|
103
|
-
X-Rack-Cache:
|
104
|
-
- invalidate, pass
|
100
|
+
- 5c11ee40574e8f8096af3e20
|
105
101
|
X-Backend:
|
106
102
|
- sbox-priv-gateway-a
|
107
103
|
body:
|
108
104
|
encoding: UTF-8
|
109
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
110
|
-
Card","reference":"
|
111
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
112
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
113
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
114
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
105
|
+
string: '{"successful":true,"response":{"id":"071-PP-UE2QTJ20","customer":"071-C-76R8OO0V","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
106
|
+
Card","reference":"85baaef07cda3d20f12e99a2f7c42af4","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-03T09:12:27+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-VAO4C0Z9","payment_plan":"071-PP-UE2QTJ20","reference":"85baaef07cda3d20f12e99a2f7c42af4-0001","amount":100,"currency":null,"scheduled_date":"2018-05-04","payment_method":"Credit
|
107
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-19PF4HJ3","payment_plan":"071-PP-UE2QTJ20","reference":"85baaef07cda3d20f12e99a2f7c42af4-0002","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
|
108
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-TAHFUGFZ","payment_plan":"071-PP-UE2QTJ20","reference":"85baaef07cda3d20f12e99a2f7c42af4-0003","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
|
109
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-AGA04O2C","payment_plan":"071-PP-UE2QTJ20","reference":"85baaef07cda3d20f12e99a2f7c42af4-0004","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
|
110
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-YBSO4AHA","payment_plan":"071-PP-UE2QTJ20","reference":"85baaef07cda3d20f12e99a2f7c42af4-0005","amount":100,"currency":null,"scheduled_date":"2018-06-01","payment_method":"Credit
|
115
111
|
Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
|
116
112
|
http_version:
|
117
|
-
recorded_at:
|
113
|
+
recorded_at: Wed, 02 May 2018 23:12:26 GMT
|
118
114
|
- request:
|
119
115
|
method: put
|
120
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-
|
116
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-UE2QTJ20
|
121
117
|
body:
|
122
118
|
encoding: UTF-8
|
123
|
-
string: '{"
|
124
|
-
Card","reference":"
|
125
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
126
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
127
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
128
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
119
|
+
string: '{"customer":"071-C-76R8OO0V","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
120
|
+
Card","reference":"85baaef07cda3d20f12e99a2f7c42af4","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-03T09:12:27+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-VAO4C0Z9","payment_plan":"071-PP-UE2QTJ20","reference":"85baaef07cda3d20f12e99a2f7c42af4-0001","amount":100,"currency":null,"scheduled_date":"2018-05-04","payment_method":"Credit
|
121
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-19PF4HJ3","payment_plan":"071-PP-UE2QTJ20","reference":"85baaef07cda3d20f12e99a2f7c42af4-0002","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
|
122
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-TAHFUGFZ","payment_plan":"071-PP-UE2QTJ20","reference":"85baaef07cda3d20f12e99a2f7c42af4-0003","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
|
123
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-AGA04O2C","payment_plan":"071-PP-UE2QTJ20","reference":"85baaef07cda3d20f12e99a2f7c42af4-0004","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
|
124
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-YBSO4AHA","payment_plan":"071-PP-UE2QTJ20","reference":"85baaef07cda3d20f12e99a2f7c42af4-0005","amount":100,"currency":null,"scheduled_date":"2018-06-01","payment_method":"Credit
|
129
125
|
Card","status":"Scheduled","result":null,"records":[]}],"new_status":"Suspended","test":true}'
|
130
126
|
headers:
|
131
|
-
Accept:
|
132
|
-
- application/json
|
133
127
|
Accept-Encoding:
|
134
|
-
- gzip,
|
135
|
-
|
128
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
129
|
+
Accept:
|
136
130
|
- application/json
|
137
|
-
Content-Length:
|
138
|
-
- '1746'
|
139
131
|
User-Agent:
|
140
132
|
- Ruby
|
141
133
|
Authorization:
|
142
134
|
- Basic VEVTVDpURVNU
|
135
|
+
Content-Type:
|
136
|
+
- application/json
|
143
137
|
response:
|
144
138
|
status:
|
145
139
|
code: 200
|
146
140
|
message: OK
|
147
141
|
headers:
|
148
142
|
Date:
|
149
|
-
-
|
143
|
+
- Wed, 02 May 2018 23:12:28 GMT
|
150
144
|
Content-Type:
|
151
145
|
- application/json; charset=utf-8
|
152
146
|
Transfer-Encoding:
|
@@ -155,53 +149,51 @@ http_interactions:
|
|
155
149
|
- keep-alive
|
156
150
|
Status:
|
157
151
|
- 200 OK
|
152
|
+
X-Rack-Cache:
|
153
|
+
- invalidate, pass
|
158
154
|
Cache-Control:
|
159
155
|
- no-store
|
160
156
|
X-Request-Version:
|
161
|
-
- 1.
|
157
|
+
- 1.16.9-3156@6c1a40b
|
158
|
+
X-Runtime:
|
159
|
+
- '0.089350'
|
162
160
|
Pragma:
|
163
161
|
- no-cache
|
164
162
|
X-Request-Id:
|
165
|
-
-
|
166
|
-
X-Runtime:
|
167
|
-
- '0.099420'
|
168
|
-
X-Rack-Cache:
|
169
|
-
- invalidate, pass
|
163
|
+
- e59539a064fa5ce054ce2e80
|
170
164
|
X-Backend:
|
171
165
|
- sbox-priv-gateway-a
|
172
166
|
body:
|
173
167
|
encoding: UTF-8
|
174
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
175
|
-
Card","reference":"
|
168
|
+
string: '{"successful":true,"response":{"id":"071-PP-UE2QTJ20","customer":"071-C-76R8OO0V","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
169
|
+
Card","reference":"85baaef07cda3d20f12e99a2f7c42af4","description":null,"status":"Suspended","status_reason":"Other","created_at":"2018-05-03T09:12:27+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
|
176
170
|
http_version:
|
177
|
-
recorded_at:
|
171
|
+
recorded_at: Wed, 02 May 2018 23:12:26 GMT
|
178
172
|
- request:
|
179
173
|
method: put
|
180
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-
|
174
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-UE2QTJ20
|
181
175
|
body:
|
182
176
|
encoding: UTF-8
|
183
|
-
string: '{"
|
184
|
-
Card","reference":"
|
177
|
+
string: '{"customer":"071-C-76R8OO0V","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
178
|
+
Card","reference":"85baaef07cda3d20f12e99a2f7c42af4","description":null,"status":"Suspended","status_reason":"Other","created_at":"2018-05-03T09:12:27+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[],"new_status":"Active","test":true}'
|
185
179
|
headers:
|
186
|
-
Accept:
|
187
|
-
- application/json
|
188
180
|
Accept-Encoding:
|
189
|
-
- gzip,
|
190
|
-
|
181
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
182
|
+
Accept:
|
191
183
|
- application/json
|
192
|
-
Content-Length:
|
193
|
-
- '508'
|
194
184
|
User-Agent:
|
195
185
|
- Ruby
|
196
186
|
Authorization:
|
197
187
|
- Basic VEVTVDpURVNU
|
188
|
+
Content-Type:
|
189
|
+
- application/json
|
198
190
|
response:
|
199
191
|
status:
|
200
192
|
code: 200
|
201
193
|
message: OK
|
202
194
|
headers:
|
203
195
|
Date:
|
204
|
-
-
|
196
|
+
- Wed, 02 May 2018 23:12:28 GMT
|
205
197
|
Content-Type:
|
206
198
|
- application/json; charset=utf-8
|
207
199
|
Transfer-Encoding:
|
@@ -215,24 +207,24 @@ http_interactions:
|
|
215
207
|
Cache-Control:
|
216
208
|
- no-store
|
217
209
|
X-Request-Version:
|
218
|
-
- 1.
|
210
|
+
- 1.16.9-3156@6c1a40b
|
219
211
|
X-Runtime:
|
220
|
-
- '0.
|
212
|
+
- '0.203632'
|
221
213
|
Pragma:
|
222
214
|
- no-cache
|
223
215
|
X-Request-Id:
|
224
|
-
-
|
216
|
+
- b874fb8072d9420030902cc0
|
225
217
|
X-Backend:
|
226
218
|
- sbox-priv-gateway-a
|
227
219
|
body:
|
228
220
|
encoding: UTF-8
|
229
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
230
|
-
Card","reference":"
|
231
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
232
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
233
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
234
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
221
|
+
string: '{"successful":true,"response":{"id":"071-PP-UE2QTJ20","customer":"071-C-76R8OO0V","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2015-07-16","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
222
|
+
Card","reference":"85baaef07cda3d20f12e99a2f7c42af4","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-03T09:12:27+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-9RLRNST2","payment_plan":"071-PP-UE2QTJ20","reference":"85baaef07cda3d20f12e99a2f7c42af4-0001","amount":100,"currency":null,"scheduled_date":"2018-05-04","payment_method":"Credit
|
223
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-HGRPLDIR","payment_plan":"071-PP-UE2QTJ20","reference":"85baaef07cda3d20f12e99a2f7c42af4-0002","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
|
224
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-AOGBVOIF","payment_plan":"071-PP-UE2QTJ20","reference":"85baaef07cda3d20f12e99a2f7c42af4-0003","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
|
225
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-4Z13ANRA","payment_plan":"071-PP-UE2QTJ20","reference":"85baaef07cda3d20f12e99a2f7c42af4-0004","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
|
226
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-DE2KILZQ","payment_plan":"071-PP-UE2QTJ20","reference":"85baaef07cda3d20f12e99a2f7c42af4-0005","amount":100,"currency":null,"scheduled_date":"2018-06-01","payment_method":"Credit
|
235
227
|
Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
|
236
228
|
http_version:
|
237
|
-
recorded_at:
|
229
|
+
recorded_at: Wed, 02 May 2018 23:12:27 GMT
|
238
230
|
recorded_with: VCR 3.0.3
|