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
@@ -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":"2fd9c09364967b008856264546896452","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:11 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.454413'
|
43
45
|
Pragma:
|
44
46
|
- no-cache
|
45
47
|
X-Request-Id:
|
46
|
-
-
|
47
|
-
X-Runtime:
|
48
|
-
- '0.248653'
|
49
|
-
X-Rack-Cache:
|
50
|
-
- invalidate, pass
|
48
|
+
- c7b755801b3a48a0906be940
|
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-LZ2Y8AVE","email":null,"reference":"2fd9c09364967b008856264546896452","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:10+10:00","address":{"address":"1
|
54
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke894vm","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:10 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-LZ2Y8AVE","reference":"7d44de9001360471a76b4c3cdb800f94","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
|
-
- '261'
|
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:11 GMT
|
85
81
|
Content-Type:
|
86
82
|
- application/json; charset=utf-8
|
87
83
|
Transfer-Encoding:
|
@@ -95,24 +91,24 @@ 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.214727'
|
101
97
|
Pragma:
|
102
98
|
- no-cache
|
103
99
|
X-Request-Id:
|
104
|
-
-
|
100
|
+
- 5fe5e2576413658c8a7dd348
|
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-67PPH2KE","customer":"071-C-LZ2Y8AVE","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":"7d44de9001360471a76b4c3cdb800f94","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-03T09:12:11+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-5EYKD5ZH","payment_plan":"071-PP-67PPH2KE","reference":"7d44de9001360471a76b4c3cdb800f94-0001","amount":100,"currency":null,"scheduled_date":"2018-05-04","payment_method":"Credit
|
107
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-TE2RFRKI","payment_plan":"071-PP-67PPH2KE","reference":"7d44de9001360471a76b4c3cdb800f94-0002","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
|
108
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-DATZAEC6","payment_plan":"071-PP-67PPH2KE","reference":"7d44de9001360471a76b4c3cdb800f94-0003","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
|
109
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-IMFEXDSG","payment_plan":"071-PP-67PPH2KE","reference":"7d44de9001360471a76b4c3cdb800f94-0004","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
|
110
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-K0JRXB10","payment_plan":"071-PP-67PPH2KE","reference":"7d44de9001360471a76b4c3cdb800f94-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:10 GMT
|
118
114
|
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":"e2b04c4a9ff4907b1700a707cf9a1b33","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:12 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.471843'
|
43
45
|
Pragma:
|
44
46
|
- no-cache
|
45
47
|
X-Request-Id:
|
46
|
-
-
|
47
|
-
X-Runtime:
|
48
|
-
- '0.249011'
|
49
|
-
X-Rack-Cache:
|
50
|
-
- invalidate, pass
|
48
|
+
- 4311b9609c9521e02aa3d4a0
|
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-P0DALD4N","email":null,"reference":"e2b04c4a9ff4907b1700a707cf9a1b33","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:11+10:00","address":{"address":"1
|
54
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8ehuz","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:11 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-P0DALD4N","reference":"5772d355177bc0d041d256a0da439830","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
|
-
- '261'
|
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:12 GMT
|
85
81
|
Content-Type:
|
86
82
|
- application/json; charset=utf-8
|
87
83
|
Transfer-Encoding:
|
@@ -95,24 +91,24 @@ 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.232405'
|
101
97
|
Pragma:
|
102
98
|
- no-cache
|
103
99
|
X-Request-Id:
|
104
|
-
-
|
100
|
+
- 69e2f160aaf12e0012301ee0
|
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-ZEAOW2HC","customer":"071-C-P0DALD4N","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":"5772d355177bc0d041d256a0da439830","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-03T09:12:12+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-RW19LPES","payment_plan":"071-PP-ZEAOW2HC","reference":"5772d355177bc0d041d256a0da439830-0001","amount":100,"currency":null,"scheduled_date":"2018-05-04","payment_method":"Credit
|
107
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-96COQJ6J","payment_plan":"071-PP-ZEAOW2HC","reference":"5772d355177bc0d041d256a0da439830-0002","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
|
108
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-XMR5Q5MQ","payment_plan":"071-PP-ZEAOW2HC","reference":"5772d355177bc0d041d256a0da439830-0003","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
|
109
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-MOQDW5Y8","payment_plan":"071-PP-ZEAOW2HC","reference":"5772d355177bc0d041d256a0da439830-0004","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
|
110
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-V7LW04JP","payment_plan":"071-PP-ZEAOW2HC","reference":"5772d355177bc0d041d256a0da439830-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:11 GMT
|
118
114
|
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":"9a202fa828fc929243e230760680d4aa","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:13 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.461913'
|
43
45
|
Pragma:
|
44
46
|
- no-cache
|
45
47
|
X-Request-Id:
|
46
|
-
-
|
47
|
-
X-Runtime:
|
48
|
-
- '0.256957'
|
49
|
-
X-Rack-Cache:
|
50
|
-
- invalidate, pass
|
48
|
+
- b34023005e69a600c68d9440
|
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-7UXTW7DB","email":null,"reference":"9a202fa828fc929243e230760680d4aa","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:12+10:00","address":{"address":"1
|
54
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8ojw5","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:12 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-7UXTW7DB","reference":"ed501c9f26785f9bd53f8a47b876b45e","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
|
-
- '261'
|
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:13 GMT
|
85
81
|
Content-Type:
|
86
82
|
- application/json; charset=utf-8
|
87
83
|
Transfer-Encoding:
|
@@ -95,24 +91,24 @@ 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.220902'
|
101
97
|
Pragma:
|
102
98
|
- no-cache
|
103
99
|
X-Request-Id:
|
104
|
-
-
|
100
|
+
- 495c2c600032cda01da30de0
|
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-FJVJSVXA","customer":"071-C-7UXTW7DB","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":"ed501c9f26785f9bd53f8a47b876b45e","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-03T09:12:13+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-D0TE3H0V","payment_plan":"071-PP-FJVJSVXA","reference":"ed501c9f26785f9bd53f8a47b876b45e-0001","amount":100,"currency":null,"scheduled_date":"2018-05-04","payment_method":"Credit
|
107
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-FWQZC6L4","payment_plan":"071-PP-FJVJSVXA","reference":"ed501c9f26785f9bd53f8a47b876b45e-0002","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
|
108
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-VO3O4TWQ","payment_plan":"071-PP-FJVJSVXA","reference":"ed501c9f26785f9bd53f8a47b876b45e-0003","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
|
109
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-FX3R7QL5","payment_plan":"071-PP-FJVJSVXA","reference":"ed501c9f26785f9bd53f8a47b876b45e-0004","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
|
110
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-VZFJWFFD","payment_plan":"071-PP-FJVJSVXA","reference":"ed501c9f26785f9bd53f8a47b876b45e-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:12 GMT
|
118
114
|
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":"c22b7252afb3c8ef6161a5ae5db2d104","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:22 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.461603'
|
47
45
|
Pragma:
|
48
46
|
- no-cache
|
49
47
|
X-Request-Id:
|
50
|
-
-
|
48
|
+
- 0dde9b00dbc1fe4089834b60
|
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-6WWYY6IM","email":null,"reference":"c22b7252afb3c8ef6161a5ae5db2d104","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-03T09:12:21+10:00","address":{"address":"1
|
54
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8t1pf","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:20 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-6WWYY6IM","reference":"fd8ebbc03ef1ecc5d66ec35533e3997d","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
|
-
- '261'
|
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:22 GMT
|
85
81
|
Content-Type:
|
86
82
|
- application/json; charset=utf-8
|
87
83
|
Transfer-Encoding:
|
@@ -90,46 +86,42 @@ 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.202229'
|
97
97
|
Pragma:
|
98
98
|
- no-cache
|
99
99
|
X-Request-Id:
|
100
|
-
-
|
101
|
-
X-Runtime:
|
102
|
-
- '0.214963'
|
103
|
-
X-Rack-Cache:
|
104
|
-
- invalidate, pass
|
100
|
+
- 7d49362023acf820d2df77c0
|
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-T82RT58T","customer":"071-C-6WWYY6IM","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":"fd8ebbc03ef1ecc5d66ec35533e3997d","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-03T09:12:22+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-BYRB38KK","payment_plan":"071-PP-T82RT58T","reference":"fd8ebbc03ef1ecc5d66ec35533e3997d-0001","amount":100,"currency":null,"scheduled_date":"2018-05-04","payment_method":"Credit
|
107
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-LR7BX5UE","payment_plan":"071-PP-T82RT58T","reference":"fd8ebbc03ef1ecc5d66ec35533e3997d-0002","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
|
108
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-EMH3C7JI","payment_plan":"071-PP-T82RT58T","reference":"fd8ebbc03ef1ecc5d66ec35533e3997d-0003","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
|
109
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-5HNJOH10","payment_plan":"071-PP-T82RT58T","reference":"fd8ebbc03ef1ecc5d66ec35533e3997d-0004","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
|
110
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-X2FXLNRN","payment_plan":"071-PP-T82RT58T","reference":"fd8ebbc03ef1ecc5d66ec35533e3997d-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:21 GMT
|
118
114
|
- request:
|
119
115
|
method: delete
|
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-T82RT58T
|
121
117
|
body:
|
122
118
|
encoding: UTF-8
|
123
119
|
string: '{"test":true}'
|
124
120
|
headers:
|
125
|
-
Accept:
|
126
|
-
- application/json
|
127
121
|
Accept-Encoding:
|
128
|
-
- gzip,
|
129
|
-
|
130
|
-
-
|
131
|
-
Content-Length:
|
132
|
-
- '13'
|
122
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
123
|
+
Accept:
|
124
|
+
- "*/*"
|
133
125
|
User-Agent:
|
134
126
|
- Ruby
|
135
127
|
Authorization:
|
@@ -140,7 +132,7 @@ http_interactions:
|
|
140
132
|
message: OK
|
141
133
|
headers:
|
142
134
|
Date:
|
143
|
-
-
|
135
|
+
- Wed, 02 May 2018 23:12:22 GMT
|
144
136
|
Content-Type:
|
145
137
|
- application/json; charset=utf-8
|
146
138
|
Transfer-Encoding:
|
@@ -154,19 +146,19 @@ http_interactions:
|
|
154
146
|
Cache-Control:
|
155
147
|
- no-store
|
156
148
|
X-Request-Version:
|
157
|
-
- 1.
|
149
|
+
- 1.16.9-3156@6c1a40b
|
158
150
|
X-Runtime:
|
159
|
-
- '0.
|
151
|
+
- '0.097748'
|
160
152
|
Pragma:
|
161
153
|
- no-cache
|
162
154
|
X-Request-Id:
|
163
|
-
-
|
155
|
+
- 013e87c049a042e0587877c0
|
164
156
|
X-Backend:
|
165
157
|
- sbox-priv-gateway-a
|
166
158
|
body:
|
167
159
|
encoding: UTF-8
|
168
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
169
|
-
Card","reference":"
|
160
|
+
string: '{"successful":true,"response":{"id":"071-PP-T82RT58T","customer":"071-C-6WWYY6IM","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
|
161
|
+
Card","reference":"fd8ebbc03ef1ecc5d66ec35533e3997d","description":null,"status":"Cancelled","status_reason":"Other","created_at":"2018-05-03T09:12:22+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
|
170
162
|
http_version:
|
171
|
-
recorded_at:
|
163
|
+
recorded_at: Wed, 02 May 2018 23:12:21 GMT
|
172
164
|
recorded_with: VCR 3.0.3
|