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
@@ -1,238 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"first_name":"Harrold","last_name":"Humphries","reference":"fa5e63f8998c1a7fcce69af1955107be","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
|
9
|
-
Humphries Senior","card_number":"5123456789012346","expiry_date":"05/2023","cvv":"123"},"address":{"address":"1
|
10
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"test":true}'
|
11
|
-
headers:
|
12
|
-
Accept:
|
13
|
-
- application/json
|
14
|
-
Accept-Encoding:
|
15
|
-
- gzip, deflate
|
16
|
-
Content-Type:
|
17
|
-
- application/json
|
18
|
-
Content-Length:
|
19
|
-
- '394'
|
20
|
-
User-Agent:
|
21
|
-
- Ruby
|
22
|
-
Authorization:
|
23
|
-
- Basic VEVTVDpURVNU
|
24
|
-
response:
|
25
|
-
status:
|
26
|
-
code: 200
|
27
|
-
message: OK
|
28
|
-
headers:
|
29
|
-
Date:
|
30
|
-
- Mon, 26 Jun 2017 06:19:18 GMT
|
31
|
-
Content-Type:
|
32
|
-
- application/json; charset=utf-8
|
33
|
-
Transfer-Encoding:
|
34
|
-
- chunked
|
35
|
-
Connection:
|
36
|
-
- keep-alive
|
37
|
-
Status:
|
38
|
-
- 200 OK
|
39
|
-
Cache-Control:
|
40
|
-
- no-store
|
41
|
-
X-Request-Version:
|
42
|
-
- 1.19.41
|
43
|
-
Pragma:
|
44
|
-
- no-cache
|
45
|
-
X-Request-Id:
|
46
|
-
- bdc62afdb9b488184588307321412fc1
|
47
|
-
X-Runtime:
|
48
|
-
- '0.269372'
|
49
|
-
X-Rack-Cache:
|
50
|
-
- invalidate, pass
|
51
|
-
X-Backend:
|
52
|
-
- sbox-priv-gateway-a
|
53
|
-
body:
|
54
|
-
encoding: UTF-8
|
55
|
-
string: '{"successful":true,"response":{"id":"071-C-2IG5S1O4","email":null,"reference":"fa5e63f8998c1a7fcce69af1955107be","first_name":"Harrold","last_name":"Humphries","created_at":"2017-06-26T16:19:18+10:00","address":{"address":"1
|
56
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke86c5u","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},"errors":[],"test":true}'
|
57
|
-
http_version:
|
58
|
-
recorded_at: Mon, 26 Jun 2017 06:19:18 GMT
|
59
|
-
- request:
|
60
|
-
method: post
|
61
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
|
62
|
-
body:
|
63
|
-
encoding: UTF-8
|
64
|
-
string: '{"payment_method":"Credit Card","customer":"071-C-2IG5S1O4","reference":"adf008c418ff85606e7ec3ff1e47dba3","setup_fee":0,"amount":100,"start_date":"2015-07-16","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
|
65
|
-
headers:
|
66
|
-
Accept:
|
67
|
-
- application/json
|
68
|
-
Accept-Encoding:
|
69
|
-
- gzip, deflate
|
70
|
-
Content-Type:
|
71
|
-
- application/json
|
72
|
-
Content-Length:
|
73
|
-
- '244'
|
74
|
-
User-Agent:
|
75
|
-
- Ruby
|
76
|
-
Authorization:
|
77
|
-
- Basic VEVTVDpURVNU
|
78
|
-
response:
|
79
|
-
status:
|
80
|
-
code: 201
|
81
|
-
message: Created
|
82
|
-
headers:
|
83
|
-
Date:
|
84
|
-
- Mon, 26 Jun 2017 06:19:18 GMT
|
85
|
-
Content-Type:
|
86
|
-
- application/json; charset=utf-8
|
87
|
-
Transfer-Encoding:
|
88
|
-
- chunked
|
89
|
-
Connection:
|
90
|
-
- keep-alive
|
91
|
-
Status:
|
92
|
-
- 201 Created
|
93
|
-
Cache-Control:
|
94
|
-
- no-store
|
95
|
-
X-Request-Version:
|
96
|
-
- 1.19.41
|
97
|
-
Pragma:
|
98
|
-
- no-cache
|
99
|
-
X-Request-Id:
|
100
|
-
- 0838d31da0c390c4a8037d2852e0d59d
|
101
|
-
X-Runtime:
|
102
|
-
- '0.209800'
|
103
|
-
X-Rack-Cache:
|
104
|
-
- invalidate, pass
|
105
|
-
X-Backend:
|
106
|
-
- sbox-priv-gateway-a
|
107
|
-
body:
|
108
|
-
encoding: UTF-8
|
109
|
-
string: '{"successful":true,"response":{"id":"071-PP-YAJUS33Y","customer":"071-C-2IG5S1O4","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
|
110
|
-
Card","reference":"adf008c418ff85606e7ec3ff1e47dba3","description":null,"status":"Active","status_reason":"None","created_at":"2017-06-26T16:19:18+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-VOLE17I","payment_plan":"071-PP-YAJUS33Y","reference":"adf008c418ff85606e7ec3ff1e47dba3-0001","amount":100,"currency":null,"scheduled_date":"2017-06-30","payment_method":"Credit
|
111
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-TFEGAPIW","payment_plan":"071-PP-YAJUS33Y","reference":"adf008c418ff85606e7ec3ff1e47dba3-0002","amount":100,"currency":null,"scheduled_date":"2017-07-07","payment_method":"Credit
|
112
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-4ZXI1R70","payment_plan":"071-PP-YAJUS33Y","reference":"adf008c418ff85606e7ec3ff1e47dba3-0003","amount":100,"currency":null,"scheduled_date":"2017-07-14","payment_method":"Credit
|
113
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-O93KHKFT","payment_plan":"071-PP-YAJUS33Y","reference":"adf008c418ff85606e7ec3ff1e47dba3-0004","amount":100,"currency":null,"scheduled_date":"2017-07-21","payment_method":"Credit
|
114
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-NQHXVI64","payment_plan":"071-PP-YAJUS33Y","reference":"adf008c418ff85606e7ec3ff1e47dba3-0005","amount":100,"currency":null,"scheduled_date":"2017-07-28","payment_method":"Credit
|
115
|
-
Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
|
116
|
-
http_version:
|
117
|
-
recorded_at: Mon, 26 Jun 2017 06:19:18 GMT
|
118
|
-
- request:
|
119
|
-
method: put
|
120
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-YAJUS33Y
|
121
|
-
body:
|
122
|
-
encoding: UTF-8
|
123
|
-
string: '{"id":"071-PP-YAJUS33Y","customer":"071-C-2IG5S1O4","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
|
124
|
-
Card","reference":"adf008c418ff85606e7ec3ff1e47dba3","description":null,"status":"Active","status_reason":"None","created_at":"2017-06-26T16:19:18+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-VOLE17I","payment_plan":"071-PP-YAJUS33Y","reference":"adf008c418ff85606e7ec3ff1e47dba3-0001","amount":100,"currency":null,"scheduled_date":"2017-06-30","payment_method":"Credit
|
125
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-TFEGAPIW","payment_plan":"071-PP-YAJUS33Y","reference":"adf008c418ff85606e7ec3ff1e47dba3-0002","amount":100,"currency":null,"scheduled_date":"2017-07-07","payment_method":"Credit
|
126
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-4ZXI1R70","payment_plan":"071-PP-YAJUS33Y","reference":"adf008c418ff85606e7ec3ff1e47dba3-0003","amount":100,"currency":null,"scheduled_date":"2017-07-14","payment_method":"Credit
|
127
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-O93KHKFT","payment_plan":"071-PP-YAJUS33Y","reference":"adf008c418ff85606e7ec3ff1e47dba3-0004","amount":100,"currency":null,"scheduled_date":"2017-07-21","payment_method":"Credit
|
128
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-NQHXVI64","payment_plan":"071-PP-YAJUS33Y","reference":"adf008c418ff85606e7ec3ff1e47dba3-0005","amount":100,"currency":null,"scheduled_date":"2017-07-28","payment_method":"Credit
|
129
|
-
Card","status":"Scheduled","result":null,"records":[]}],"new_status":"Suspended","test":true}'
|
130
|
-
headers:
|
131
|
-
Accept:
|
132
|
-
- application/json
|
133
|
-
Accept-Encoding:
|
134
|
-
- gzip, deflate
|
135
|
-
Content-Type:
|
136
|
-
- application/json
|
137
|
-
Content-Length:
|
138
|
-
- '1745'
|
139
|
-
User-Agent:
|
140
|
-
- Ruby
|
141
|
-
Authorization:
|
142
|
-
- Basic VEVTVDpURVNU
|
143
|
-
response:
|
144
|
-
status:
|
145
|
-
code: 200
|
146
|
-
message: OK
|
147
|
-
headers:
|
148
|
-
Date:
|
149
|
-
- Mon, 26 Jun 2017 06:19:18 GMT
|
150
|
-
Content-Type:
|
151
|
-
- application/json; charset=utf-8
|
152
|
-
Transfer-Encoding:
|
153
|
-
- chunked
|
154
|
-
Connection:
|
155
|
-
- keep-alive
|
156
|
-
Status:
|
157
|
-
- 200 OK
|
158
|
-
X-Rack-Cache:
|
159
|
-
- invalidate, pass
|
160
|
-
Cache-Control:
|
161
|
-
- no-store
|
162
|
-
X-Request-Version:
|
163
|
-
- 1.19.41
|
164
|
-
X-Runtime:
|
165
|
-
- '0.103402'
|
166
|
-
Pragma:
|
167
|
-
- no-cache
|
168
|
-
X-Request-Id:
|
169
|
-
- 41c36c7f89899361a23b32f03beae555
|
170
|
-
X-Backend:
|
171
|
-
- sbox-priv-gateway-a
|
172
|
-
body:
|
173
|
-
encoding: UTF-8
|
174
|
-
string: '{"successful":true,"response":{"id":"071-PP-YAJUS33Y","customer":"071-C-2IG5S1O4","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
|
175
|
-
Card","reference":"adf008c418ff85606e7ec3ff1e47dba3","description":null,"status":"Suspended","status_reason":"Other","created_at":"2017-06-26T16:19:18+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
|
176
|
-
http_version:
|
177
|
-
recorded_at: Mon, 26 Jun 2017 06:19:18 GMT
|
178
|
-
- request:
|
179
|
-
method: put
|
180
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-YAJUS33Y
|
181
|
-
body:
|
182
|
-
encoding: UTF-8
|
183
|
-
string: '{"id":"071-PP-YAJUS33Y","customer":"071-C-2IG5S1O4","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
|
184
|
-
Card","reference":"adf008c418ff85606e7ec3ff1e47dba3","description":null,"status":"Suspended","status_reason":"Other","created_at":"2017-06-26T16:19:18+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[],"new_status":"Active","test":true}'
|
185
|
-
headers:
|
186
|
-
Accept:
|
187
|
-
- application/json
|
188
|
-
Accept-Encoding:
|
189
|
-
- gzip, deflate
|
190
|
-
Content-Type:
|
191
|
-
- application/json
|
192
|
-
Content-Length:
|
193
|
-
- '508'
|
194
|
-
User-Agent:
|
195
|
-
- Ruby
|
196
|
-
Authorization:
|
197
|
-
- Basic VEVTVDpURVNU
|
198
|
-
response:
|
199
|
-
status:
|
200
|
-
code: 200
|
201
|
-
message: OK
|
202
|
-
headers:
|
203
|
-
Date:
|
204
|
-
- Mon, 26 Jun 2017 06:19:19 GMT
|
205
|
-
Content-Type:
|
206
|
-
- application/json; charset=utf-8
|
207
|
-
Transfer-Encoding:
|
208
|
-
- chunked
|
209
|
-
Connection:
|
210
|
-
- keep-alive
|
211
|
-
Status:
|
212
|
-
- 200 OK
|
213
|
-
Cache-Control:
|
214
|
-
- no-store
|
215
|
-
X-Request-Version:
|
216
|
-
- 1.19.41
|
217
|
-
Pragma:
|
218
|
-
- no-cache
|
219
|
-
X-Request-Id:
|
220
|
-
- 06c5ea53a754bd84212ea0de00f2e62d
|
221
|
-
X-Runtime:
|
222
|
-
- '0.185792'
|
223
|
-
X-Rack-Cache:
|
224
|
-
- invalidate, pass
|
225
|
-
X-Backend:
|
226
|
-
- sbox-priv-gateway-a
|
227
|
-
body:
|
228
|
-
encoding: UTF-8
|
229
|
-
string: '{"successful":true,"response":{"id":"071-PP-YAJUS33Y","customer":"071-C-2IG5S1O4","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
|
230
|
-
Card","reference":"adf008c418ff85606e7ec3ff1e47dba3","description":null,"status":"Active","status_reason":"None","created_at":"2017-06-26T16:19:18+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-AEJOVTFE","payment_plan":"071-PP-YAJUS33Y","reference":"adf008c418ff85606e7ec3ff1e47dba3-0001","amount":100,"currency":null,"scheduled_date":"2017-06-30","payment_method":"Credit
|
231
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-1P4RWZHB","payment_plan":"071-PP-YAJUS33Y","reference":"adf008c418ff85606e7ec3ff1e47dba3-0002","amount":100,"currency":null,"scheduled_date":"2017-07-07","payment_method":"Credit
|
232
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-6KP2HUM9","payment_plan":"071-PP-YAJUS33Y","reference":"adf008c418ff85606e7ec3ff1e47dba3-0003","amount":100,"currency":null,"scheduled_date":"2017-07-14","payment_method":"Credit
|
233
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-WIYS3XPL","payment_plan":"071-PP-YAJUS33Y","reference":"adf008c418ff85606e7ec3ff1e47dba3-0004","amount":100,"currency":null,"scheduled_date":"2017-07-21","payment_method":"Credit
|
234
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-J60EOGCK","payment_plan":"071-PP-YAJUS33Y","reference":"adf008c418ff85606e7ec3ff1e47dba3-0005","amount":100,"currency":null,"scheduled_date":"2017-07-28","payment_method":"Credit
|
235
|
-
Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
|
236
|
-
http_version:
|
237
|
-
recorded_at: Mon, 26 Jun 2017 06:19:19 GMT
|
238
|
-
recorded_with: VCR 3.0.3
|
@@ -1,114 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"first_name":"Harrold","last_name":"Humphries","reference":"f3b96cd3d1fb74c565102ea44b359e33","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
|
9
|
-
Humphries Senior","card_number":"5123456789012346","expiry_date":"05/2023","cvv":"123"},"address":{"address":"1
|
10
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"test":true}'
|
11
|
-
headers:
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
-
Accept:
|
15
|
-
- application/json
|
16
|
-
User-Agent:
|
17
|
-
- Ruby
|
18
|
-
Authorization:
|
19
|
-
- Basic VEVTVDpURVNU
|
20
|
-
Content-Type:
|
21
|
-
- application/json
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 200
|
25
|
-
message: OK
|
26
|
-
headers:
|
27
|
-
Date:
|
28
|
-
- Wed, 05 Jul 2017 05:53:12 GMT
|
29
|
-
Content-Type:
|
30
|
-
- application/json; charset=utf-8
|
31
|
-
Transfer-Encoding:
|
32
|
-
- chunked
|
33
|
-
Connection:
|
34
|
-
- keep-alive
|
35
|
-
Status:
|
36
|
-
- 200 OK
|
37
|
-
X-Rack-Cache:
|
38
|
-
- invalidate, pass
|
39
|
-
Cache-Control:
|
40
|
-
- no-store
|
41
|
-
X-Request-Version:
|
42
|
-
- 1.19.41
|
43
|
-
X-Runtime:
|
44
|
-
- '0.238684'
|
45
|
-
Pragma:
|
46
|
-
- no-cache
|
47
|
-
X-Request-Id:
|
48
|
-
- e73ca29523e943d890b66a810f4a6654
|
49
|
-
X-Backend:
|
50
|
-
- sbox-priv-gateway-a
|
51
|
-
body:
|
52
|
-
encoding: UTF-8
|
53
|
-
string: '{"successful":true,"response":{"id":"071-C-IDJ3M2C2","email":null,"reference":"f3b96cd3d1fb74c565102ea44b359e33","first_name":"Harrold","last_name":"Humphries","created_at":"2017-07-05T15:53:12+10:00","address":{"address":"1
|
54
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke86c5u","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},"errors":[],"test":true}'
|
55
|
-
http_version:
|
56
|
-
recorded_at: Wed, 05 Jul 2017 05:53:12 GMT
|
57
|
-
- request:
|
58
|
-
method: post
|
59
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
|
60
|
-
body:
|
61
|
-
encoding: UTF-8
|
62
|
-
string: '{"payment_method":"Credit Card","customer":"071-C-IDJ3M2C2","reference":"913db06f35f07eeb52f483fc24795006","setup_fee":0,"amount":100,"start_date":"2015-07-16","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
|
63
|
-
headers:
|
64
|
-
Accept-Encoding:
|
65
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
66
|
-
Accept:
|
67
|
-
- application/json
|
68
|
-
User-Agent:
|
69
|
-
- Ruby
|
70
|
-
Authorization:
|
71
|
-
- Basic VEVTVDpURVNU
|
72
|
-
Content-Type:
|
73
|
-
- application/json
|
74
|
-
response:
|
75
|
-
status:
|
76
|
-
code: 201
|
77
|
-
message: Created
|
78
|
-
headers:
|
79
|
-
Date:
|
80
|
-
- Wed, 05 Jul 2017 05:53:12 GMT
|
81
|
-
Content-Type:
|
82
|
-
- application/json; charset=utf-8
|
83
|
-
Transfer-Encoding:
|
84
|
-
- chunked
|
85
|
-
Connection:
|
86
|
-
- keep-alive
|
87
|
-
Status:
|
88
|
-
- 201 Created
|
89
|
-
X-Rack-Cache:
|
90
|
-
- invalidate, pass
|
91
|
-
Cache-Control:
|
92
|
-
- no-store
|
93
|
-
X-Request-Version:
|
94
|
-
- 1.19.41
|
95
|
-
X-Runtime:
|
96
|
-
- '0.239218'
|
97
|
-
Pragma:
|
98
|
-
- no-cache
|
99
|
-
X-Request-Id:
|
100
|
-
- 502971cf268bd559c53a577aa54656e4
|
101
|
-
X-Backend:
|
102
|
-
- sbox-priv-gateway-a
|
103
|
-
body:
|
104
|
-
encoding: UTF-8
|
105
|
-
string: '{"successful":true,"response":{"id":"071-PP-V8G1S7M3","customer":"071-C-IDJ3M2C2","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":"913db06f35f07eeb52f483fc24795006","description":null,"status":"Active","status_reason":"None","created_at":"2017-07-05T15:53:12+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-609EMYUD","payment_plan":"071-PP-V8G1S7M3","reference":"913db06f35f07eeb52f483fc24795006-0001","amount":100,"currency":null,"scheduled_date":"2017-07-07","payment_method":"Credit
|
107
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-DYLUS6IY","payment_plan":"071-PP-V8G1S7M3","reference":"913db06f35f07eeb52f483fc24795006-0002","amount":100,"currency":null,"scheduled_date":"2017-07-14","payment_method":"Credit
|
108
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-NUMGCXJ2","payment_plan":"071-PP-V8G1S7M3","reference":"913db06f35f07eeb52f483fc24795006-0003","amount":100,"currency":null,"scheduled_date":"2017-07-21","payment_method":"Credit
|
109
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-4GW7YZRC","payment_plan":"071-PP-V8G1S7M3","reference":"913db06f35f07eeb52f483fc24795006-0004","amount":100,"currency":null,"scheduled_date":"2017-07-28","payment_method":"Credit
|
110
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-CJ0XNFQ6","payment_plan":"071-PP-V8G1S7M3","reference":"913db06f35f07eeb52f483fc24795006-0005","amount":100,"currency":null,"scheduled_date":"2017-08-04","payment_method":"Credit
|
111
|
-
Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
|
112
|
-
http_version:
|
113
|
-
recorded_at: Wed, 05 Jul 2017 05:53:12 GMT
|
114
|
-
recorded_with: VCR 3.0.3
|
@@ -1,55 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"test":true}'
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- application/json
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
Authorization:
|
17
|
-
- Basic VEVTVDpURVNU
|
18
|
-
Content-Type:
|
19
|
-
- application/json
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 404
|
23
|
-
message: Not Found
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Mon, 03 Jul 2017 04:16:10 GMT
|
27
|
-
Content-Type:
|
28
|
-
- application/json; charset=utf-8
|
29
|
-
Transfer-Encoding:
|
30
|
-
- chunked
|
31
|
-
Connection:
|
32
|
-
- keep-alive
|
33
|
-
Status:
|
34
|
-
- 404 Not Found
|
35
|
-
Cache-Control:
|
36
|
-
- no-store
|
37
|
-
X-Request-Version:
|
38
|
-
- 1.19.41
|
39
|
-
Pragma:
|
40
|
-
- no-cache
|
41
|
-
X-Request-Id:
|
42
|
-
- 3b3afdff39f2d0a0ea3d2fc897e11b3b
|
43
|
-
X-Runtime:
|
44
|
-
- '0.035812'
|
45
|
-
X-Rack-Cache:
|
46
|
-
- invalidate, pass
|
47
|
-
X-Backend:
|
48
|
-
- sbox-priv-gateway-a
|
49
|
-
body:
|
50
|
-
encoding: UTF-8
|
51
|
-
string: '{"successful":false,"response":{},"errors":["Customer could not be
|
52
|
-
found"],"test":true}'
|
53
|
-
http_version:
|
54
|
-
recorded_at: Mon, 03 Jul 2017 04:16:10 GMT
|
55
|
-
recorded_with: VCR 3.0.3
|
@@ -1,164 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"first_name":"Harrold","last_name":"Humphries","reference":"5ab372fcee49026e8a802ec0da62ae89","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
|
9
|
-
Humphries Senior","card_number":"5123456789012346","expiry_date":"05/2023","cvv":"123"},"address":{"address":"1
|
10
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"test":true}'
|
11
|
-
headers:
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
-
Accept:
|
15
|
-
- application/json
|
16
|
-
User-Agent:
|
17
|
-
- Ruby
|
18
|
-
Authorization:
|
19
|
-
- Basic VEVTVDpURVNU
|
20
|
-
Content-Type:
|
21
|
-
- application/json
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 200
|
25
|
-
message: OK
|
26
|
-
headers:
|
27
|
-
Date:
|
28
|
-
- Wed, 05 Jul 2017 05:53:14 GMT
|
29
|
-
Content-Type:
|
30
|
-
- application/json; charset=utf-8
|
31
|
-
Transfer-Encoding:
|
32
|
-
- chunked
|
33
|
-
Connection:
|
34
|
-
- keep-alive
|
35
|
-
Status:
|
36
|
-
- 200 OK
|
37
|
-
X-Rack-Cache:
|
38
|
-
- invalidate, pass
|
39
|
-
Cache-Control:
|
40
|
-
- no-store
|
41
|
-
X-Request-Version:
|
42
|
-
- 1.19.41
|
43
|
-
X-Runtime:
|
44
|
-
- '0.236349'
|
45
|
-
Pragma:
|
46
|
-
- no-cache
|
47
|
-
X-Request-Id:
|
48
|
-
- fe54208c1c8843d61911566a1449e604
|
49
|
-
X-Backend:
|
50
|
-
- sbox-priv-gateway-a
|
51
|
-
body:
|
52
|
-
encoding: UTF-8
|
53
|
-
string: '{"successful":true,"response":{"id":"071-C-H7TS8KTH","email":null,"reference":"5ab372fcee49026e8a802ec0da62ae89","first_name":"Harrold","last_name":"Humphries","created_at":"2017-07-05T15:53:14+10:00","address":{"address":"1
|
54
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke86c5u","card_number":"512345XXXXXX2346","bank_account":null,"metadata":{}},"errors":[],"test":true}'
|
55
|
-
http_version:
|
56
|
-
recorded_at: Wed, 05 Jul 2017 05:53:14 GMT
|
57
|
-
- request:
|
58
|
-
method: post
|
59
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
|
60
|
-
body:
|
61
|
-
encoding: UTF-8
|
62
|
-
string: '{"payment_method":"Credit Card","customer":"071-C-H7TS8KTH","reference":"6af75e661e202145d5955ed553107e03","setup_fee":0,"amount":100,"start_date":"2015-07-16","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
|
63
|
-
headers:
|
64
|
-
Accept-Encoding:
|
65
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
66
|
-
Accept:
|
67
|
-
- application/json
|
68
|
-
User-Agent:
|
69
|
-
- Ruby
|
70
|
-
Authorization:
|
71
|
-
- Basic VEVTVDpURVNU
|
72
|
-
Content-Type:
|
73
|
-
- application/json
|
74
|
-
response:
|
75
|
-
status:
|
76
|
-
code: 201
|
77
|
-
message: Created
|
78
|
-
headers:
|
79
|
-
Date:
|
80
|
-
- Wed, 05 Jul 2017 05:53:15 GMT
|
81
|
-
Content-Type:
|
82
|
-
- application/json; charset=utf-8
|
83
|
-
Transfer-Encoding:
|
84
|
-
- chunked
|
85
|
-
Connection:
|
86
|
-
- keep-alive
|
87
|
-
Status:
|
88
|
-
- 201 Created
|
89
|
-
Cache-Control:
|
90
|
-
- no-store
|
91
|
-
X-Request-Version:
|
92
|
-
- 1.19.41
|
93
|
-
Pragma:
|
94
|
-
- no-cache
|
95
|
-
X-Request-Id:
|
96
|
-
- e8265e6b1f20a7f82321757d535da079
|
97
|
-
X-Runtime:
|
98
|
-
- '0.179609'
|
99
|
-
X-Rack-Cache:
|
100
|
-
- invalidate, pass
|
101
|
-
X-Backend:
|
102
|
-
- sbox-priv-gateway-a
|
103
|
-
body:
|
104
|
-
encoding: UTF-8
|
105
|
-
string: '{"successful":true,"response":{"id":"071-PP-UE8EEDHH","customer":"071-C-H7TS8KTH","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":"6af75e661e202145d5955ed553107e03","description":null,"status":"Active","status_reason":"None","created_at":"2017-07-05T15:53:15+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-D5CJOC78","payment_plan":"071-PP-UE8EEDHH","reference":"6af75e661e202145d5955ed553107e03-0001","amount":100,"currency":null,"scheduled_date":"2017-07-07","payment_method":"Credit
|
107
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-1O2L2WIB","payment_plan":"071-PP-UE8EEDHH","reference":"6af75e661e202145d5955ed553107e03-0002","amount":100,"currency":null,"scheduled_date":"2017-07-14","payment_method":"Credit
|
108
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-T9Y79Q2V","payment_plan":"071-PP-UE8EEDHH","reference":"6af75e661e202145d5955ed553107e03-0003","amount":100,"currency":null,"scheduled_date":"2017-07-21","payment_method":"Credit
|
109
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-3DC3LS7B","payment_plan":"071-PP-UE8EEDHH","reference":"6af75e661e202145d5955ed553107e03-0004","amount":100,"currency":null,"scheduled_date":"2017-07-28","payment_method":"Credit
|
110
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-O9Z2PEIT","payment_plan":"071-PP-UE8EEDHH","reference":"6af75e661e202145d5955ed553107e03-0005","amount":100,"currency":null,"scheduled_date":"2017-08-04","payment_method":"Credit
|
111
|
-
Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
|
112
|
-
http_version:
|
113
|
-
recorded_at: Wed, 05 Jul 2017 05:53:15 GMT
|
114
|
-
- request:
|
115
|
-
method: delete
|
116
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-UE8EEDHH
|
117
|
-
body:
|
118
|
-
encoding: UTF-8
|
119
|
-
string: '{"test":true}'
|
120
|
-
headers:
|
121
|
-
Accept-Encoding:
|
122
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
123
|
-
Accept:
|
124
|
-
- "*/*"
|
125
|
-
User-Agent:
|
126
|
-
- Ruby
|
127
|
-
Authorization:
|
128
|
-
- Basic VEVTVDpURVNU
|
129
|
-
response:
|
130
|
-
status:
|
131
|
-
code: 200
|
132
|
-
message: OK
|
133
|
-
headers:
|
134
|
-
Date:
|
135
|
-
- Wed, 05 Jul 2017 05:53:15 GMT
|
136
|
-
Content-Type:
|
137
|
-
- application/json; charset=utf-8
|
138
|
-
Transfer-Encoding:
|
139
|
-
- chunked
|
140
|
-
Connection:
|
141
|
-
- keep-alive
|
142
|
-
Status:
|
143
|
-
- 200 OK
|
144
|
-
Cache-Control:
|
145
|
-
- no-store
|
146
|
-
X-Request-Version:
|
147
|
-
- 1.19.41
|
148
|
-
Pragma:
|
149
|
-
- no-cache
|
150
|
-
X-Request-Id:
|
151
|
-
- c49fce72ff621287ec697686a55384c7
|
152
|
-
X-Runtime:
|
153
|
-
- '0.073555'
|
154
|
-
X-Rack-Cache:
|
155
|
-
- invalidate, pass
|
156
|
-
X-Backend:
|
157
|
-
- sbox-priv-gateway-a
|
158
|
-
body:
|
159
|
-
encoding: UTF-8
|
160
|
-
string: '{"successful":true,"response":{"id":"071-PP-UE8EEDHH","customer":"071-C-H7TS8KTH","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":"6af75e661e202145d5955ed553107e03","description":null,"status":"Cancelled","status_reason":"Other","created_at":"2017-07-05T15:53:15+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
|
162
|
-
http_version:
|
163
|
-
recorded_at: Wed, 05 Jul 2017 05:53:15 GMT
|
164
|
-
recorded_with: VCR 3.0.3
|