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,65 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: "------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"BATCH-v1-PURCHASE-TEST-20170705-016bcc0661feae5d0219ab95fadb7e6b.csv\";
|
9
|
-
filename=\"BATCH-v1-PURCHASE-TEST-20170705-016bcc0661feae5d0219ab95fadb7e6b.csv\"\r\nContent-Length:
|
10
|
-
\r\nContent-Type: text/csv\r\nContent-Transfer-Encoding: binary\r\n\r\n1000,AUD,Order12345,John
|
11
|
-
Doe 1,4444333322221111,12/2020,,Gizmo ABC 1\n2051,AUD,Order22345,John Doe
|
12
|
-
2,4444333322221111,12/2020,,Gizmo ABC 2\n3000,AUD,Order32345,John Doe 3,4444333322221111,12/2020,,Gizmo
|
13
|
-
ABC 3\n4000,AUD,Order42345,John Doe 4,4444333322221111,12/2020,,Gizmo ABC
|
14
|
-
4\n\r\n------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"filename\"\r\n\r\nBATCH-v1-PURCHASE-TEST-20170705-016bcc0661feae5d0219ab95fadb7e6b.csv------FatZebraMultipartPost\r\nContent-Disposition:
|
15
|
-
form-data; name=\"test\"\r\n\r\ntrue------FatZebraMultipartPost--\r\n"
|
16
|
-
headers:
|
17
|
-
Accept-Encoding:
|
18
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
19
|
-
Accept:
|
20
|
-
- "*/*"
|
21
|
-
User-Agent:
|
22
|
-
- Ruby
|
23
|
-
Authorization:
|
24
|
-
- Basic VEVTVDpURVNU
|
25
|
-
Content-Length:
|
26
|
-
- '835'
|
27
|
-
Content-Type:
|
28
|
-
- multipart/form-data; boundary=----FatZebraMultipartPost
|
29
|
-
response:
|
30
|
-
status:
|
31
|
-
code: 201
|
32
|
-
message: Created
|
33
|
-
headers:
|
34
|
-
Date:
|
35
|
-
- Wed, 05 Jul 2017 05:53:07 GMT
|
36
|
-
Content-Type:
|
37
|
-
- application/json; charset=utf-8
|
38
|
-
Transfer-Encoding:
|
39
|
-
- chunked
|
40
|
-
Connection:
|
41
|
-
- keep-alive
|
42
|
-
Status:
|
43
|
-
- 201 Created
|
44
|
-
X-Rack-Cache:
|
45
|
-
- invalidate, pass
|
46
|
-
Cache-Control:
|
47
|
-
- no-store
|
48
|
-
X-Request-Version:
|
49
|
-
- 1.19.41
|
50
|
-
X-Runtime:
|
51
|
-
- '0.064812'
|
52
|
-
Pragma:
|
53
|
-
- no-cache
|
54
|
-
X-Purge-File:
|
55
|
-
- 'false'
|
56
|
-
X-Request-Id:
|
57
|
-
- a9a9e729847e1c03f2447852998a6582
|
58
|
-
X-Backend:
|
59
|
-
- sbox-priv-gateway-a
|
60
|
-
body:
|
61
|
-
encoding: UTF-8
|
62
|
-
string: '{"successful":true,"response":{"id":"071-BF-SU4GOW5I","filename":"BATCH-v1-PURCHASE-TEST-20170705-016bcc0661feae5d0219ab95fadb7e6b.csv","created_at":"2017-07-05T15:53:07+10:00","process_date":"2017-07-05","start_date":null,"completed_date":null,"status":"New","type":"PURCHASE","reference":"016bcc0661feae5d0219ab95fadb7e6b"},"errors":[],"test":false}'
|
63
|
-
http_version:
|
64
|
-
recorded_at: Wed, 05 Jul 2017 05:53:07 GMT
|
65
|
-
recorded_with: VCR 3.0.3
|
@@ -1,65 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: "------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"filename\"\r\n\r\nBATCH-v1-PURCHASE-TEST-20170705-06bde31e33f2417ec7a57eb9f996eaa6.csv------FatZebraMultipartPost\r\nContent-Disposition:
|
9
|
-
form-data; name=\"BATCH-v1-PURCHASE-TEST-20170705-06bde31e33f2417ec7a57eb9f996eaa6.csv\";
|
10
|
-
filename=\"BATCH-v1-PURCHASE-TEST-20170705-06bde31e33f2417ec7a57eb9f996eaa6.csv\"\r\nContent-Length:
|
11
|
-
\r\nContent-Type: text/csv\r\nContent-Transfer-Encoding: binary\r\n\r\n1000,AUD,Order12345,John
|
12
|
-
Doe 1,4444333322221111,12/2020,,Gizmo ABC 1\n2051,AUD,Order22345,John Doe
|
13
|
-
2,4444333322221111,12/2020,,Gizmo ABC 2\n3000,AUD,Order32345,John Doe 3,4444333322221111,12/2020,,Gizmo
|
14
|
-
ABC 3\n4000,AUD,Order42345,John Doe 4,4444333322221111,12/2020,,Gizmo ABC
|
15
|
-
4\n\r\n------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"test\"\r\n\r\ntrue------FatZebraMultipartPost--\r\n"
|
16
|
-
headers:
|
17
|
-
Accept-Encoding:
|
18
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
19
|
-
Accept:
|
20
|
-
- "*/*"
|
21
|
-
User-Agent:
|
22
|
-
- Ruby
|
23
|
-
Authorization:
|
24
|
-
- Basic VEVTVDpURVNU
|
25
|
-
Content-Length:
|
26
|
-
- '835'
|
27
|
-
Content-Type:
|
28
|
-
- multipart/form-data; boundary=----FatZebraMultipartPost
|
29
|
-
response:
|
30
|
-
status:
|
31
|
-
code: 201
|
32
|
-
message: Created
|
33
|
-
headers:
|
34
|
-
Date:
|
35
|
-
- Wed, 05 Jul 2017 05:53:08 GMT
|
36
|
-
Content-Type:
|
37
|
-
- application/json; charset=utf-8
|
38
|
-
Transfer-Encoding:
|
39
|
-
- chunked
|
40
|
-
Connection:
|
41
|
-
- keep-alive
|
42
|
-
Status:
|
43
|
-
- 201 Created
|
44
|
-
Cache-Control:
|
45
|
-
- no-store
|
46
|
-
X-Request-Version:
|
47
|
-
- 1.19.41
|
48
|
-
Pragma:
|
49
|
-
- no-cache
|
50
|
-
X-Request-Id:
|
51
|
-
- 21f2aa35b9f2c324344231a5e81b04f6
|
52
|
-
X-Runtime:
|
53
|
-
- '0.032829'
|
54
|
-
X-Purge-File:
|
55
|
-
- 'false'
|
56
|
-
X-Rack-Cache:
|
57
|
-
- invalidate, pass
|
58
|
-
X-Backend:
|
59
|
-
- sbox-priv-gateway-a
|
60
|
-
body:
|
61
|
-
encoding: UTF-8
|
62
|
-
string: '{"successful":true,"response":{"id":"071-BF-20AR3L72","filename":"BATCH-v1-PURCHASE-TEST-20170705-06bde31e33f2417ec7a57eb9f996eaa6.csv","created_at":"2017-07-05T15:53:08+10:00","process_date":"2017-07-05","start_date":null,"completed_date":null,"status":"New","type":"PURCHASE","reference":"06bde31e33f2417ec7a57eb9f996eaa6"},"errors":[],"test":false}'
|
63
|
-
http_version:
|
64
|
-
recorded_at: Wed, 05 Jul 2017 05:53:08 GMT
|
65
|
-
recorded_with: VCR 3.0.3
|
@@ -1,118 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: "------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"BATCH-v1-PURCHASE-TEST-20170705-084a65b79f5908142324dd6c717a17a8.csv\";
|
9
|
-
filename=\"BATCH-v1-PURCHASE-TEST-20170705-084a65b79f5908142324dd6c717a17a8.csv\"\r\nContent-Length:
|
10
|
-
\r\nContent-Type: text/csv\r\nContent-Transfer-Encoding: binary\r\n\r\n1000,AUD,Order12345,John
|
11
|
-
Doe 1,4444333322221111,12/2020,,Gizmo ABC 1\n2051,AUD,Order22345,John Doe
|
12
|
-
2,4444333322221111,12/2020,,Gizmo ABC 2\n3000,AUD,Order32345,John Doe 3,4444333322221111,12/2020,,Gizmo
|
13
|
-
ABC 3\n4000,AUD,Order42345,John Doe 4,4444333322221111,12/2020,,Gizmo ABC
|
14
|
-
4\n\r\n------FatZebraMultipartPost\r\nContent-Disposition: form-data; name=\"filename\"\r\n\r\nBATCH-v1-PURCHASE-TEST-20170705-084a65b79f5908142324dd6c717a17a8.csv------FatZebraMultipartPost\r\nContent-Disposition:
|
15
|
-
form-data; name=\"test\"\r\n\r\ntrue------FatZebraMultipartPost--\r\n"
|
16
|
-
headers:
|
17
|
-
Accept-Encoding:
|
18
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
19
|
-
Accept:
|
20
|
-
- "*/*"
|
21
|
-
User-Agent:
|
22
|
-
- Ruby
|
23
|
-
Authorization:
|
24
|
-
- Basic VEVTVDpURVNU
|
25
|
-
Content-Length:
|
26
|
-
- '835'
|
27
|
-
Content-Type:
|
28
|
-
- multipart/form-data; boundary=----FatZebraMultipartPost
|
29
|
-
response:
|
30
|
-
status:
|
31
|
-
code: 201
|
32
|
-
message: Created
|
33
|
-
headers:
|
34
|
-
Date:
|
35
|
-
- Wed, 05 Jul 2017 05:53:08 GMT
|
36
|
-
Content-Type:
|
37
|
-
- application/json; charset=utf-8
|
38
|
-
Transfer-Encoding:
|
39
|
-
- chunked
|
40
|
-
Connection:
|
41
|
-
- keep-alive
|
42
|
-
Status:
|
43
|
-
- 201 Created
|
44
|
-
X-Rack-Cache:
|
45
|
-
- invalidate, pass
|
46
|
-
Cache-Control:
|
47
|
-
- no-store
|
48
|
-
X-Request-Version:
|
49
|
-
- 1.19.41
|
50
|
-
X-Runtime:
|
51
|
-
- '0.056840'
|
52
|
-
Pragma:
|
53
|
-
- no-cache
|
54
|
-
X-Purge-File:
|
55
|
-
- 'false'
|
56
|
-
X-Request-Id:
|
57
|
-
- 603050a83c2d676c05fc051657306765
|
58
|
-
X-Backend:
|
59
|
-
- sbox-priv-gateway-a
|
60
|
-
body:
|
61
|
-
encoding: UTF-8
|
62
|
-
string: '{"successful":true,"response":{"id":"071-BF-JJKU6GK2","filename":"BATCH-v1-PURCHASE-TEST-20170705-084a65b79f5908142324dd6c717a17a8.csv","created_at":"2017-07-05T15:53:08+10:00","process_date":"2017-07-05","start_date":null,"completed_date":null,"status":"New","type":"PURCHASE","reference":"084a65b79f5908142324dd6c717a17a8"},"errors":[],"test":false}'
|
63
|
-
http_version:
|
64
|
-
recorded_at: Wed, 05 Jul 2017 05:53:08 GMT
|
65
|
-
- request:
|
66
|
-
method: get
|
67
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/batches/084a65b79f5908142324dd6c717a17a8?test=true
|
68
|
-
body:
|
69
|
-
encoding: US-ASCII
|
70
|
-
string: ''
|
71
|
-
headers:
|
72
|
-
Accept-Encoding:
|
73
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
74
|
-
Accept:
|
75
|
-
- application/json
|
76
|
-
User-Agent:
|
77
|
-
- Ruby
|
78
|
-
Host:
|
79
|
-
- gateway.sandbox.fatzebra.com.au
|
80
|
-
Authorization:
|
81
|
-
- Basic VEVTVDpURVNU
|
82
|
-
Content-Type:
|
83
|
-
- application/json
|
84
|
-
response:
|
85
|
-
status:
|
86
|
-
code: 200
|
87
|
-
message: OK
|
88
|
-
headers:
|
89
|
-
Date:
|
90
|
-
- Wed, 05 Jul 2017 05:53:08 GMT
|
91
|
-
Content-Type:
|
92
|
-
- application/json; charset=utf-8
|
93
|
-
Transfer-Encoding:
|
94
|
-
- chunked
|
95
|
-
Connection:
|
96
|
-
- keep-alive
|
97
|
-
Status:
|
98
|
-
- 200 OK
|
99
|
-
Cache-Control:
|
100
|
-
- no-store, private
|
101
|
-
X-Request-Version:
|
102
|
-
- 1.19.41
|
103
|
-
Pragma:
|
104
|
-
- no-cache
|
105
|
-
X-Request-Id:
|
106
|
-
- 8d9f493e024e693a84daa3c4237b0d45
|
107
|
-
X-Runtime:
|
108
|
-
- '0.023834'
|
109
|
-
X-Rack-Cache:
|
110
|
-
- miss
|
111
|
-
X-Backend:
|
112
|
-
- sbox-priv-gateway-a
|
113
|
-
body:
|
114
|
-
encoding: UTF-8
|
115
|
-
string: '{"successful":true,"response":{"id":"071-BF-JJKU6GK2","filename":"BATCH-v1-PURCHASE-TEST-20170705-084a65b79f5908142324dd6c717a17a8.csv","created_at":"2017-07-05T15:53:08+10:00","process_date":"2017-07-05","start_date":null,"completed_date":null,"status":"IngestError","type":"PURCHASE","reference":"084a65b79f5908142324dd6c717a17a8"},"errors":[],"test":true}'
|
116
|
-
http_version:
|
117
|
-
recorded_at: Wed, 05 Jul 2017 05:53:08 GMT
|
118
|
-
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/credit_cards
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"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: 200
|
23
|
-
message: OK
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Wed, 05 Jul 2017 05:53:08 GMT
|
27
|
-
Content-Type:
|
28
|
-
- application/json; charset=utf-8
|
29
|
-
Transfer-Encoding:
|
30
|
-
- chunked
|
31
|
-
Connection:
|
32
|
-
- keep-alive
|
33
|
-
Status:
|
34
|
-
- 200 OK
|
35
|
-
X-Rack-Cache:
|
36
|
-
- invalidate, pass
|
37
|
-
Cache-Control:
|
38
|
-
- no-store
|
39
|
-
X-Request-Version:
|
40
|
-
- 1.19.41
|
41
|
-
X-Runtime:
|
42
|
-
- '0.218749'
|
43
|
-
Pragma:
|
44
|
-
- no-cache
|
45
|
-
X-Request-Id:
|
46
|
-
- fd166a5cf04cbdb58e3c5e54f50bbf45
|
47
|
-
X-Backend:
|
48
|
-
- sbox-priv-gateway-a
|
49
|
-
body:
|
50
|
-
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":{"token":"fke86c5u","card_holder":"Matthew
|
52
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28T23:59:59+11:00","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","authorized":true,"transaction_count":1013,"alias":null},"errors":[],"test":true}'
|
53
|
-
http_version:
|
54
|
-
recorded_at: Wed, 05 Jul 2017 05:53:08 GMT
|
55
|
-
recorded_with: VCR 3.0.3
|
@@ -1,56 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/credit_cards
|
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: 422
|
23
|
-
message: Unprocessable Entity
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Mon, 03 Jul 2017 04:16:09 GMT
|
27
|
-
Content-Type:
|
28
|
-
- application/json; charset=utf-8
|
29
|
-
Transfer-Encoding:
|
30
|
-
- chunked
|
31
|
-
Connection:
|
32
|
-
- keep-alive
|
33
|
-
Status:
|
34
|
-
- 422 Unprocessable Entity
|
35
|
-
Cache-Control:
|
36
|
-
- no-store
|
37
|
-
X-Request-Version:
|
38
|
-
- 1.19.41
|
39
|
-
Pragma:
|
40
|
-
- no-cache
|
41
|
-
X-Request-Id:
|
42
|
-
- 33b75b8b2e97a9a6af9416c3ccd9aa19
|
43
|
-
X-Runtime:
|
44
|
-
- '0.238130'
|
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":{"token":"fke860ti","card_holder":"","card_number":null,"card_expiry":null,"card_type":null,"card_category":null,"card_subcategory":null,"authorized":false,"transaction_count":0,"alias":null},"errors":["Card
|
52
|
-
holder can''t be blank","Card number can''t be blank","Expiry date is missing
|
53
|
-
or invalid.","CVV is required"," is not an accepted card type"],"test":true}'
|
54
|
-
http_version:
|
55
|
-
recorded_at: Mon, 03 Jul 2017 04:16:09 GMT
|
56
|
-
recorded_with: VCR 3.0.3
|
@@ -1,105 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/credit_cards
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"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: 200
|
23
|
-
message: OK
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Wed, 05 Jul 2017 05:53:08 GMT
|
27
|
-
Content-Type:
|
28
|
-
- application/json; charset=utf-8
|
29
|
-
Transfer-Encoding:
|
30
|
-
- chunked
|
31
|
-
Connection:
|
32
|
-
- keep-alive
|
33
|
-
Status:
|
34
|
-
- 200 OK
|
35
|
-
Cache-Control:
|
36
|
-
- no-store
|
37
|
-
X-Request-Version:
|
38
|
-
- 1.19.41
|
39
|
-
Pragma:
|
40
|
-
- no-cache
|
41
|
-
X-Request-Id:
|
42
|
-
- 2d0b2c35464458c6132b3d6c5260336f
|
43
|
-
X-Runtime:
|
44
|
-
- '0.215553'
|
45
|
-
X-Rack-Cache:
|
46
|
-
- invalidate, pass
|
47
|
-
X-Backend:
|
48
|
-
- sbox-priv-gateway-a
|
49
|
-
body:
|
50
|
-
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":{"token":"fke86c5u","card_holder":"Matthew
|
52
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28T23:59:59+11:00","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","authorized":true,"transaction_count":1013,"alias":null},"errors":[],"test":true}'
|
53
|
-
http_version:
|
54
|
-
recorded_at: Wed, 05 Jul 2017 05:53:08 GMT
|
55
|
-
- request:
|
56
|
-
method: put
|
57
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/credit_cards/fke86c5u
|
58
|
-
body:
|
59
|
-
encoding: UTF-8
|
60
|
-
string: '{"card_expiry":"02/2050","test":true}'
|
61
|
-
headers:
|
62
|
-
Accept-Encoding:
|
63
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
64
|
-
Accept:
|
65
|
-
- "*/*"
|
66
|
-
User-Agent:
|
67
|
-
- Ruby
|
68
|
-
Authorization:
|
69
|
-
- Basic VEVTVDpURVNU
|
70
|
-
response:
|
71
|
-
status:
|
72
|
-
code: 200
|
73
|
-
message: OK
|
74
|
-
headers:
|
75
|
-
Date:
|
76
|
-
- Wed, 05 Jul 2017 05:53:09 GMT
|
77
|
-
Content-Type:
|
78
|
-
- application/json; charset=utf-8
|
79
|
-
Transfer-Encoding:
|
80
|
-
- chunked
|
81
|
-
Connection:
|
82
|
-
- keep-alive
|
83
|
-
Status:
|
84
|
-
- 200 OK
|
85
|
-
X-Rack-Cache:
|
86
|
-
- invalidate, pass
|
87
|
-
Cache-Control:
|
88
|
-
- no-store
|
89
|
-
X-Request-Version:
|
90
|
-
- 1.19.41
|
91
|
-
X-Runtime:
|
92
|
-
- '0.036106'
|
93
|
-
Pragma:
|
94
|
-
- no-cache
|
95
|
-
X-Request-Id:
|
96
|
-
- 4bac34c9cc95f165c111d172cd66ef55
|
97
|
-
X-Backend:
|
98
|
-
- sbox-priv-gateway-a
|
99
|
-
body:
|
100
|
-
encoding: UTF-8
|
101
|
-
string: '{"successful":true,"response":{"token":"fke86c5u","card_holder":"Matthew
|
102
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2050-02-28","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","authorized":true,"transaction_count":1013,"alias":null},"errors":[],"test":true}'
|
103
|
-
http_version:
|
104
|
-
recorded_at: Wed, 05 Jul 2017 05:53:09 GMT
|
105
|
-
recorded_with: VCR 3.0.3
|