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
@@ -2,28 +2,30 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/
|
5
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers?limit=10&offets=0&test=true
|
6
6
|
body:
|
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
|
-
-
|
28
|
+
- Wed, 02 May 2018 23:12:04 GMT
|
27
29
|
Content-Type:
|
28
30
|
- application/json; charset=utf-8
|
29
31
|
Transfer-Encoding:
|
@@ -32,25 +34,33 @@ 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.036856'
|
39
45
|
Pragma:
|
40
46
|
- no-cache
|
41
47
|
X-Request-Id:
|
42
|
-
-
|
43
|
-
X-Runtime:
|
44
|
-
- '0.117655'
|
45
|
-
X-Rack-Cache:
|
46
|
-
- miss
|
48
|
+
- 59611420df1d6200307a6e20
|
47
49
|
X-Backend:
|
48
50
|
- sbox-priv-gateway-a
|
49
51
|
body:
|
50
52
|
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":[{"
|
52
|
-
|
53
|
-
|
53
|
+
string: '{"successful":true,"response":[{"id":"071-C-5MYKUG13","email":null,"reference":"26902925bfb4ddc6be6a3052afb764d9","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:03+10:00","address":{"address":"1
|
54
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8to35","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-1OA62EVF","email":null,"reference":"f0d2b09604fb6aa950b2be0cacf439fd","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:02+10:00","address":{"address":"1
|
55
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8c39m","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-XPT2YR1","email":null,"reference":"44f4269e9f571a063a79a9be804786ed","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:02+10:00","address":{"address":"1
|
56
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke83axk","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-E7JZVNON","email":null,"reference":"58236d86f108e5af0652c5d8e8869bf7","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:01+10:00","address":{"address":"1
|
57
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke88a6n","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-A47GRFGL","email":null,"reference":"7313ae5301aaa8a4a35fcf7e983712d1","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:01+10:00","address":{"address":"1
|
58
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8qfu8","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-UEJKPPN4","email":null,"reference":"8404be1195978caf4a2618a91d548d7a","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:00+10:00","address":{"address":"1
|
59
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8uvum","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-VQO03QCF","email":null,"reference":"314c2023c9b7cefb41cdc1d2e838b302","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:08:22+10:00","address":{"address":"1
|
60
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke87ef0","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-3P5THJ4U","email":null,"reference":"3755be58dc320209cbd55babab3b92ab","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:08:21+10:00","address":{"address":"1
|
61
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8gtlc","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-PM060T5X","email":null,"reference":"0a3c0390e2e2582725cb23a1c47d26a6","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:08:20+10:00","address":{"address":"1
|
62
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8wfax","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-LZEB1F2B","email":null,"reference":"3f8c7e96e7776bd3287c9f8292c83c77","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:08:20+10:00","address":{"address":"1
|
63
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8id4a","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}}],"errors":[],"test":true,"records":10,"total_records":1534,"page":1,"total_pages":154}'
|
54
64
|
http_version:
|
55
|
-
recorded_at:
|
65
|
+
recorded_at: Wed, 02 May 2018 23:12:02 GMT
|
56
66
|
recorded_with: VCR 3.0.3
|
@@ -2,28 +2,30 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/
|
5
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers?limit=10&offets=0&test=true
|
6
6
|
body:
|
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
|
-
-
|
28
|
+
- Wed, 02 May 2018 23:12:04 GMT
|
27
29
|
Content-Type:
|
28
30
|
- application/json; charset=utf-8
|
29
31
|
Transfer-Encoding:
|
@@ -32,25 +34,33 @@ 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.030998'
|
39
45
|
Pragma:
|
40
46
|
- no-cache
|
41
47
|
X-Request-Id:
|
42
|
-
-
|
43
|
-
X-Runtime:
|
44
|
-
- '0.105438'
|
45
|
-
X-Rack-Cache:
|
46
|
-
- miss
|
48
|
+
- 735600d7478139587040222c
|
47
49
|
X-Backend:
|
48
50
|
- sbox-priv-gateway-a
|
49
51
|
body:
|
50
52
|
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":[{"
|
52
|
-
|
53
|
-
|
53
|
+
string: '{"successful":true,"response":[{"id":"071-C-5MYKUG13","email":null,"reference":"26902925bfb4ddc6be6a3052afb764d9","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:03+10:00","address":{"address":"1
|
54
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8to35","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-1OA62EVF","email":null,"reference":"f0d2b09604fb6aa950b2be0cacf439fd","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:02+10:00","address":{"address":"1
|
55
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8c39m","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-XPT2YR1","email":null,"reference":"44f4269e9f571a063a79a9be804786ed","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:02+10:00","address":{"address":"1
|
56
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke83axk","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-E7JZVNON","email":null,"reference":"58236d86f108e5af0652c5d8e8869bf7","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:01+10:00","address":{"address":"1
|
57
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke88a6n","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-A47GRFGL","email":null,"reference":"7313ae5301aaa8a4a35fcf7e983712d1","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:01+10:00","address":{"address":"1
|
58
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8qfu8","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-UEJKPPN4","email":null,"reference":"8404be1195978caf4a2618a91d548d7a","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:00+10:00","address":{"address":"1
|
59
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8uvum","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-VQO03QCF","email":null,"reference":"314c2023c9b7cefb41cdc1d2e838b302","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:08:22+10:00","address":{"address":"1
|
60
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke87ef0","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-3P5THJ4U","email":null,"reference":"3755be58dc320209cbd55babab3b92ab","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:08:21+10:00","address":{"address":"1
|
61
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8gtlc","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-PM060T5X","email":null,"reference":"0a3c0390e2e2582725cb23a1c47d26a6","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:08:20+10:00","address":{"address":"1
|
62
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8wfax","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-LZEB1F2B","email":null,"reference":"3f8c7e96e7776bd3287c9f8292c83c77","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:08:20+10:00","address":{"address":"1
|
63
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8id4a","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}}],"errors":[],"test":true,"records":10,"total_records":1534,"page":1,"total_pages":154}'
|
54
64
|
http_version:
|
55
|
-
recorded_at:
|
65
|
+
recorded_at: Wed, 02 May 2018 23:12:02 GMT
|
56
66
|
recorded_with: VCR 3.0.3
|
@@ -2,28 +2,30 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/
|
5
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers?limit=10&offets=0&test=true
|
6
6
|
body:
|
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
|
-
-
|
28
|
+
- Wed, 02 May 2018 23:12:04 GMT
|
27
29
|
Content-Type:
|
28
30
|
- application/json; charset=utf-8
|
29
31
|
Transfer-Encoding:
|
@@ -32,25 +34,33 @@ 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.032612'
|
39
45
|
Pragma:
|
40
46
|
- no-cache
|
41
47
|
X-Request-Id:
|
42
|
-
-
|
43
|
-
X-Runtime:
|
44
|
-
- '0.127556'
|
45
|
-
X-Rack-Cache:
|
46
|
-
- miss
|
48
|
+
- 3d05bb80d7e48d40e08df280
|
47
49
|
X-Backend:
|
48
50
|
- sbox-priv-gateway-a
|
49
51
|
body:
|
50
52
|
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":[{"
|
52
|
-
|
53
|
-
|
53
|
+
string: '{"successful":true,"response":[{"id":"071-C-5MYKUG13","email":null,"reference":"26902925bfb4ddc6be6a3052afb764d9","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:03+10:00","address":{"address":"1
|
54
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8to35","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-1OA62EVF","email":null,"reference":"f0d2b09604fb6aa950b2be0cacf439fd","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:02+10:00","address":{"address":"1
|
55
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8c39m","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-XPT2YR1","email":null,"reference":"44f4269e9f571a063a79a9be804786ed","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:02+10:00","address":{"address":"1
|
56
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke83axk","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-E7JZVNON","email":null,"reference":"58236d86f108e5af0652c5d8e8869bf7","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:01+10:00","address":{"address":"1
|
57
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke88a6n","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-A47GRFGL","email":null,"reference":"7313ae5301aaa8a4a35fcf7e983712d1","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:01+10:00","address":{"address":"1
|
58
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8qfu8","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-UEJKPPN4","email":null,"reference":"8404be1195978caf4a2618a91d548d7a","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:00+10:00","address":{"address":"1
|
59
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8uvum","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-VQO03QCF","email":null,"reference":"314c2023c9b7cefb41cdc1d2e838b302","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:08:22+10:00","address":{"address":"1
|
60
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke87ef0","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-3P5THJ4U","email":null,"reference":"3755be58dc320209cbd55babab3b92ab","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:08:21+10:00","address":{"address":"1
|
61
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8gtlc","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-PM060T5X","email":null,"reference":"0a3c0390e2e2582725cb23a1c47d26a6","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:08:20+10:00","address":{"address":"1
|
62
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8wfax","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},{"id":"071-C-LZEB1F2B","email":null,"reference":"3f8c7e96e7776bd3287c9f8292c83c77","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:08:20+10:00","address":{"address":"1
|
63
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8id4a","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}}],"errors":[],"test":true,"records":10,"total_records":1534,"page":1,"total_pages":154}'
|
54
64
|
http_version:
|
55
|
-
recorded_at:
|
65
|
+
recorded_at: Wed, 02 May 2018 23:12:03 GMT
|
56
66
|
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":"35f61b06c55bd4cc3a1f7222ccb59164","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:06 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.515128'
|
43
45
|
Pragma:
|
44
46
|
- no-cache
|
45
47
|
X-Request-Id:
|
46
|
-
-
|
47
|
-
X-Runtime:
|
48
|
-
- '0.280324'
|
49
|
-
X-Rack-Cache:
|
50
|
-
- invalidate, pass
|
48
|
+
- '08a719009f765260b3a18640'
|
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-V9UNJQS2","email":null,"reference":"35f61b06c55bd4cc3a1f7222ccb59164","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:05+10:00","address":{"address":"1
|
54
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke82ebn","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:05 GMT
|
59
57
|
- request:
|
60
58
|
method: put
|
61
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers/071-C-
|
59
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers/071-C-V9UNJQS2
|
62
60
|
body:
|
63
61
|
encoding: UTF-8
|
64
62
|
string: '{"first_name":"New Name","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
|
-
- '37'
|
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: 200
|
81
77
|
message: OK
|
82
78
|
headers:
|
83
79
|
Date:
|
84
|
-
-
|
80
|
+
- Wed, 02 May 2018 23:12:06 GMT
|
85
81
|
Content-Type:
|
86
82
|
- application/json; charset=utf-8
|
87
83
|
Transfer-Encoding:
|
@@ -90,25 +86,25 @@ http_interactions:
|
|
90
86
|
- keep-alive
|
91
87
|
Status:
|
92
88
|
- 200 OK
|
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.041210'
|
97
97
|
Pragma:
|
98
98
|
- no-cache
|
99
99
|
X-Request-Id:
|
100
|
-
-
|
101
|
-
X-Runtime:
|
102
|
-
- '0.043723'
|
103
|
-
X-Rack-Cache:
|
104
|
-
- invalidate, pass
|
100
|
+
- 88d631e013d1bf40b1dc2d20
|
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-C-
|
110
|
-
Name","last_name":"Humphries","created_at":"
|
111
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"
|
105
|
+
string: '{"successful":true,"response":{"id":"071-C-V9UNJQS2","email":null,"reference":"35f61b06c55bd4cc3a1f7222ccb59164","first_name":"New
|
106
|
+
Name","last_name":"Humphries","created_at":"2018-05-03T09:12:05+10:00","address":{"address":"1
|
107
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke82ebn","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},"errors":[],"test":true}'
|
112
108
|
http_version:
|
113
|
-
recorded_at:
|
109
|
+
recorded_at: Wed, 02 May 2018 23:12:05 GMT
|
114
110
|
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":"da36f0c1ba29deff61d4dd42346bd900","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:06 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.488039'
|
43
45
|
Pragma:
|
44
46
|
- no-cache
|
45
47
|
X-Request-Id:
|
46
|
-
-
|
47
|
-
X-Runtime:
|
48
|
-
- '0.350314'
|
49
|
-
X-Rack-Cache:
|
50
|
-
- invalidate, pass
|
48
|
+
- 7127a1dfd8785e01a8633abb
|
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-YAHRC74Q","email":null,"reference":"da36f0c1ba29deff61d4dd42346bd900","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:06+10:00","address":{"address":"1
|
54
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8bezb","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:05 GMT
|
59
57
|
- request:
|
60
58
|
method: put
|
61
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers/071-C-
|
59
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers/071-C-YAHRC74Q
|
62
60
|
body:
|
63
61
|
encoding: UTF-8
|
64
62
|
string: '{"first_name":"New Name","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
|
-
- '37'
|
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: 200
|
81
77
|
message: OK
|
82
78
|
headers:
|
83
79
|
Date:
|
84
|
-
-
|
80
|
+
- Wed, 02 May 2018 23:12:07 GMT
|
85
81
|
Content-Type:
|
86
82
|
- application/json; charset=utf-8
|
87
83
|
Transfer-Encoding:
|
@@ -90,25 +86,25 @@ http_interactions:
|
|
90
86
|
- keep-alive
|
91
87
|
Status:
|
92
88
|
- 200 OK
|
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.052733'
|
97
97
|
Pragma:
|
98
98
|
- no-cache
|
99
99
|
X-Request-Id:
|
100
|
-
-
|
101
|
-
X-Runtime:
|
102
|
-
- '0.041934'
|
103
|
-
X-Rack-Cache:
|
104
|
-
- invalidate, pass
|
100
|
+
- 9bc2956e49e563412f7408cb
|
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-C-
|
110
|
-
Name","last_name":"Humphries","created_at":"
|
111
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"
|
105
|
+
string: '{"successful":true,"response":{"id":"071-C-YAHRC74Q","email":null,"reference":"da36f0c1ba29deff61d4dd42346bd900","first_name":"New
|
106
|
+
Name","last_name":"Humphries","created_at":"2018-05-03T09:12:06+10:00","address":{"address":"1
|
107
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8bezb","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},"errors":[],"test":true}'
|
112
108
|
http_version:
|
113
|
-
recorded_at:
|
109
|
+
recorded_at: Wed, 02 May 2018 23:12:05 GMT
|
114
110
|
recorded_with: VCR 3.0.3
|