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,109 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"9e2d5aa2296bec6222805dcd3634ab98","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
Content-Type:
|
15
|
-
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '214'
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
20
|
-
Authorization:
|
21
|
-
- Basic VEVTVDpURVNU
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 200
|
25
|
-
message: OK
|
26
|
-
headers:
|
27
|
-
Date:
|
28
|
-
- Wed, 21 Jun 2017 05:02:57 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.341025'
|
45
|
-
Pragma:
|
46
|
-
- no-cache
|
47
|
-
X-Request-Id:
|
48
|
-
- 94f81161470a259e61c0f39f17cba440
|
49
|
-
X-Backend:
|
50
|
-
- sbox-priv-gateway-a
|
51
|
-
body:
|
52
|
-
encoding: UTF-8
|
53
|
-
string: '{"successful":true,"response":{"authorization":"974761","id":"071-P-WKT37B6I","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
54
|
-
Savage","card_expiry":"2030-02-28","card_token":"fke86c5u","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"9e2d5aa2296bec6222805dcd3634ab98","currency":"AUD","transaction_id":"071-P-WKT37B6I","settlement_date":"2017-06-21","transaction_date":"2017-06-21T15:02:56+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PWKT37B6I","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
55
|
-
http_version:
|
56
|
-
recorded_at: Wed, 21 Jun 2017 05:02:57 GMT
|
57
|
-
- request:
|
58
|
-
method: get
|
59
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/9e2d5aa2296bec6222805dcd3634ab98?test=true
|
60
|
-
body:
|
61
|
-
encoding: US-ASCII
|
62
|
-
string: ''
|
63
|
-
headers:
|
64
|
-
Accept:
|
65
|
-
- application/json
|
66
|
-
Accept-Encoding:
|
67
|
-
- gzip, deflate
|
68
|
-
Content-Type:
|
69
|
-
- application/json
|
70
|
-
User-Agent:
|
71
|
-
- Ruby
|
72
|
-
Authorization:
|
73
|
-
- Basic VEVTVDpURVNU
|
74
|
-
response:
|
75
|
-
status:
|
76
|
-
code: 200
|
77
|
-
message: OK
|
78
|
-
headers:
|
79
|
-
Date:
|
80
|
-
- Wed, 21 Jun 2017 05:02:57 GMT
|
81
|
-
Content-Type:
|
82
|
-
- application/json; charset=utf-8
|
83
|
-
Transfer-Encoding:
|
84
|
-
- chunked
|
85
|
-
Connection:
|
86
|
-
- keep-alive
|
87
|
-
Status:
|
88
|
-
- 200 OK
|
89
|
-
Cache-Control:
|
90
|
-
- no-store, private
|
91
|
-
X-Request-Version:
|
92
|
-
- 1.19.41
|
93
|
-
Pragma:
|
94
|
-
- no-cache
|
95
|
-
X-Request-Id:
|
96
|
-
- 92ba59a76fffe99d6fea66a4bc407004
|
97
|
-
X-Runtime:
|
98
|
-
- '0.025775'
|
99
|
-
X-Rack-Cache:
|
100
|
-
- miss
|
101
|
-
X-Backend:
|
102
|
-
- sbox-priv-gateway-a
|
103
|
-
body:
|
104
|
-
encoding: UTF-8
|
105
|
-
string: '{"successful":true,"response":{"authorization":"974761","id":"071-P-WKT37B6I","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
106
|
-
Savage","card_expiry":"2030-02-28","card_token":"fke86c5u","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"9e2d5aa2296bec6222805dcd3634ab98","currency":"AUD","transaction_id":"071-P-WKT37B6I","settlement_date":"2017-06-21","transaction_date":"2017-06-21T15:02:56+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PWKT37B6I","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
107
|
-
http_version:
|
108
|
-
recorded_at: Wed, 21 Jun 2017 05:02:57 GMT
|
109
|
-
recorded_with: VCR 3.0.3
|
@@ -1,109 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"d0edfda89bdf23e4b49bfb4740f514d6","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
Content-Type:
|
15
|
-
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '214'
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
20
|
-
Authorization:
|
21
|
-
- Basic VEVTVDpURVNU
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 200
|
25
|
-
message: OK
|
26
|
-
headers:
|
27
|
-
Date:
|
28
|
-
- Wed, 21 Jun 2017 05:02:57 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.302358'
|
45
|
-
Pragma:
|
46
|
-
- no-cache
|
47
|
-
X-Request-Id:
|
48
|
-
- b2c1e0fdb87eead4bc35165d18451cfd
|
49
|
-
X-Backend:
|
50
|
-
- sbox-priv-gateway-a
|
51
|
-
body:
|
52
|
-
encoding: UTF-8
|
53
|
-
string: '{"successful":true,"response":{"authorization":"687923","id":"071-P-9BS3ATRV","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
54
|
-
Savage","card_expiry":"2030-02-28","card_token":"fke86c5u","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"d0edfda89bdf23e4b49bfb4740f514d6","currency":"AUD","transaction_id":"071-P-9BS3ATRV","settlement_date":"2017-06-21","transaction_date":"2017-06-21T15:02:57+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P9BS3ATRV","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
55
|
-
http_version:
|
56
|
-
recorded_at: Wed, 21 Jun 2017 05:02:57 GMT
|
57
|
-
- request:
|
58
|
-
method: get
|
59
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/d0edfda89bdf23e4b49bfb4740f514d6?test=true
|
60
|
-
body:
|
61
|
-
encoding: US-ASCII
|
62
|
-
string: ''
|
63
|
-
headers:
|
64
|
-
Accept:
|
65
|
-
- application/json
|
66
|
-
Accept-Encoding:
|
67
|
-
- gzip, deflate
|
68
|
-
Content-Type:
|
69
|
-
- application/json
|
70
|
-
User-Agent:
|
71
|
-
- Ruby
|
72
|
-
Authorization:
|
73
|
-
- Basic VEVTVDpURVNU
|
74
|
-
response:
|
75
|
-
status:
|
76
|
-
code: 200
|
77
|
-
message: OK
|
78
|
-
headers:
|
79
|
-
Date:
|
80
|
-
- Wed, 21 Jun 2017 05:02:57 GMT
|
81
|
-
Content-Type:
|
82
|
-
- application/json; charset=utf-8
|
83
|
-
Transfer-Encoding:
|
84
|
-
- chunked
|
85
|
-
Connection:
|
86
|
-
- keep-alive
|
87
|
-
Status:
|
88
|
-
- 200 OK
|
89
|
-
Cache-Control:
|
90
|
-
- no-store, private
|
91
|
-
X-Request-Version:
|
92
|
-
- 1.19.41
|
93
|
-
Pragma:
|
94
|
-
- no-cache
|
95
|
-
X-Request-Id:
|
96
|
-
- a5a28c905bb0b86f6d680056d2a8f770
|
97
|
-
X-Runtime:
|
98
|
-
- '0.024833'
|
99
|
-
X-Rack-Cache:
|
100
|
-
- miss
|
101
|
-
X-Backend:
|
102
|
-
- sbox-priv-gateway-a
|
103
|
-
body:
|
104
|
-
encoding: UTF-8
|
105
|
-
string: '{"successful":true,"response":{"authorization":"687923","id":"071-P-9BS3ATRV","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
106
|
-
Savage","card_expiry":"2030-02-28","card_token":"fke86c5u","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"d0edfda89bdf23e4b49bfb4740f514d6","currency":"AUD","transaction_id":"071-P-9BS3ATRV","settlement_date":"2017-06-21","transaction_date":"2017-06-21T15:02:57+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P9BS3ATRV","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
107
|
-
http_version:
|
108
|
-
recorded_at: Wed, 21 Jun 2017 05:02:57 GMT
|
109
|
-
recorded_with: VCR 3.0.3
|
@@ -1,111 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"0edcdad64254e379c8e081cd8aaa3515","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
Content-Type:
|
15
|
-
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '214'
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
20
|
-
Authorization:
|
21
|
-
- Basic VEVTVDpURVNU
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 200
|
25
|
-
message: OK
|
26
|
-
headers:
|
27
|
-
Date:
|
28
|
-
- Wed, 21 Jun 2017 05:02:57 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.324297'
|
45
|
-
Pragma:
|
46
|
-
- no-cache
|
47
|
-
X-Request-Id:
|
48
|
-
- ed0d558cb2e7d6fe0e1a2b8172b411cd
|
49
|
-
X-Backend:
|
50
|
-
- sbox-priv-gateway-a
|
51
|
-
body:
|
52
|
-
encoding: UTF-8
|
53
|
-
string: '{"successful":true,"response":{"authorization":"161134","id":"071-P-GSA1FO3G","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
54
|
-
Savage","card_expiry":"2030-02-28","card_token":"fke86c5u","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"0edcdad64254e379c8e081cd8aaa3515","currency":"AUD","transaction_id":"071-P-GSA1FO3G","settlement_date":"2017-06-21","transaction_date":"2017-06-21T15:02:57+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PGSA1FO3G","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
55
|
-
http_version:
|
56
|
-
recorded_at: Wed, 21 Jun 2017 05:02:57 GMT
|
57
|
-
- request:
|
58
|
-
method: post
|
59
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
|
60
|
-
body:
|
61
|
-
encoding: UTF-8
|
62
|
-
string: '{"transaction_id":"071-P-GSA1FO3G","amount":10000,"reference":"0edcdad64254e379c8e081cd8aaa3515","test":true}'
|
63
|
-
headers:
|
64
|
-
Accept:
|
65
|
-
- application/json
|
66
|
-
Accept-Encoding:
|
67
|
-
- gzip, deflate
|
68
|
-
Content-Type:
|
69
|
-
- application/json
|
70
|
-
Content-Length:
|
71
|
-
- '109'
|
72
|
-
User-Agent:
|
73
|
-
- Ruby
|
74
|
-
Authorization:
|
75
|
-
- Basic VEVTVDpURVNU
|
76
|
-
response:
|
77
|
-
status:
|
78
|
-
code: 200
|
79
|
-
message: OK
|
80
|
-
headers:
|
81
|
-
Date:
|
82
|
-
- Wed, 21 Jun 2017 05:02:58 GMT
|
83
|
-
Content-Type:
|
84
|
-
- application/json; charset=utf-8
|
85
|
-
Transfer-Encoding:
|
86
|
-
- chunked
|
87
|
-
Connection:
|
88
|
-
- keep-alive
|
89
|
-
Status:
|
90
|
-
- 200 OK
|
91
|
-
Cache-Control:
|
92
|
-
- no-store
|
93
|
-
X-Request-Version:
|
94
|
-
- 1.19.41
|
95
|
-
Pragma:
|
96
|
-
- no-cache
|
97
|
-
X-Request-Id:
|
98
|
-
- 452792ee155d97642ea1b07616bea63f
|
99
|
-
X-Runtime:
|
100
|
-
- '0.153043'
|
101
|
-
X-Rack-Cache:
|
102
|
-
- invalidate, pass
|
103
|
-
X-Backend:
|
104
|
-
- sbox-priv-gateway-a
|
105
|
-
body:
|
106
|
-
encoding: UTF-8
|
107
|
-
string: '{"successful":true,"response":{"authorization":1498021378,"id":"071-R-U4FN8CCI","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
108
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-U4FN8CCI","reference":"0edcdad64254e379c8e081cd8aaa3515","currency":"AUD","successful":true,"transaction_date":"2017-06-21T15:02:58+10:00","response_code":"00","settlement_date":"2017-06-22","metadata":{},"standalone":false,"rrn":"071RU4FN8CCI"},"errors":[],"test":true}'
|
109
|
-
http_version:
|
110
|
-
recorded_at: Wed, 21 Jun 2017 05:02:58 GMT
|
111
|
-
recorded_with: VCR 3.0.3
|
@@ -1,111 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"62b412f6f078c179a9f717c253f8af8f","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
|
9
|
-
headers:
|
10
|
-
Accept:
|
11
|
-
- application/json
|
12
|
-
Accept-Encoding:
|
13
|
-
- gzip, deflate
|
14
|
-
Content-Type:
|
15
|
-
- application/json
|
16
|
-
Content-Length:
|
17
|
-
- '214'
|
18
|
-
User-Agent:
|
19
|
-
- Ruby
|
20
|
-
Authorization:
|
21
|
-
- Basic VEVTVDpURVNU
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 200
|
25
|
-
message: OK
|
26
|
-
headers:
|
27
|
-
Date:
|
28
|
-
- Wed, 21 Jun 2017 05:02:58 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.294009'
|
45
|
-
Pragma:
|
46
|
-
- no-cache
|
47
|
-
X-Request-Id:
|
48
|
-
- c7e66443143a4b335fd1e351a957fc38
|
49
|
-
X-Backend:
|
50
|
-
- sbox-priv-gateway-a
|
51
|
-
body:
|
52
|
-
encoding: UTF-8
|
53
|
-
string: '{"successful":true,"response":{"authorization":"489792","id":"071-P-M5NDMBFF","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
54
|
-
Savage","card_expiry":"2030-02-28","card_token":"fke86c5u","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"62b412f6f078c179a9f717c253f8af8f","currency":"AUD","transaction_id":"071-P-M5NDMBFF","settlement_date":"2017-06-21","transaction_date":"2017-06-21T15:02:58+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PM5NDMBFF","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
55
|
-
http_version:
|
56
|
-
recorded_at: Wed, 21 Jun 2017 05:02:58 GMT
|
57
|
-
- request:
|
58
|
-
method: post
|
59
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
|
60
|
-
body:
|
61
|
-
encoding: UTF-8
|
62
|
-
string: '{"transaction_id":"071-P-M5NDMBFF","amount":10000,"reference":"62b412f6f078c179a9f717c253f8af8f","test":true}'
|
63
|
-
headers:
|
64
|
-
Accept:
|
65
|
-
- application/json
|
66
|
-
Accept-Encoding:
|
67
|
-
- gzip, deflate
|
68
|
-
Content-Type:
|
69
|
-
- application/json
|
70
|
-
Content-Length:
|
71
|
-
- '109'
|
72
|
-
User-Agent:
|
73
|
-
- Ruby
|
74
|
-
Authorization:
|
75
|
-
- Basic VEVTVDpURVNU
|
76
|
-
response:
|
77
|
-
status:
|
78
|
-
code: 200
|
79
|
-
message: OK
|
80
|
-
headers:
|
81
|
-
Date:
|
82
|
-
- Wed, 21 Jun 2017 05:02:58 GMT
|
83
|
-
Content-Type:
|
84
|
-
- application/json; charset=utf-8
|
85
|
-
Transfer-Encoding:
|
86
|
-
- chunked
|
87
|
-
Connection:
|
88
|
-
- keep-alive
|
89
|
-
Status:
|
90
|
-
- 200 OK
|
91
|
-
Cache-Control:
|
92
|
-
- no-store
|
93
|
-
X-Request-Version:
|
94
|
-
- 1.19.41
|
95
|
-
Pragma:
|
96
|
-
- no-cache
|
97
|
-
X-Request-Id:
|
98
|
-
- ded4415b1fc0dd16e0da3c6ea6d4954c
|
99
|
-
X-Runtime:
|
100
|
-
- '0.182360'
|
101
|
-
X-Rack-Cache:
|
102
|
-
- invalidate, pass
|
103
|
-
X-Backend:
|
104
|
-
- sbox-priv-gateway-a
|
105
|
-
body:
|
106
|
-
encoding: UTF-8
|
107
|
-
string: '{"successful":true,"response":{"authorization":1498021378,"id":"071-R-CT2MQ4TL","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
108
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-CT2MQ4TL","reference":"62b412f6f078c179a9f717c253f8af8f","currency":"AUD","successful":true,"transaction_date":"2017-06-21T15:02:58+10:00","response_code":"00","settlement_date":"2017-06-22","metadata":{},"standalone":false,"rrn":"071RCT2MQ4TL"},"errors":[],"test":true}'
|
109
|
-
http_version:
|
110
|
-
recorded_at: Wed, 21 Jun 2017 05:02:58 GMT
|
111
|
-
recorded_with: VCR 3.0.3
|
@@ -1,107 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"fac4baafc0c12c4f5012ccb3e27ed3f1","customer_ip":"1.2.3.4","currency":"AUD","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:43:53 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.350637'
|
43
|
-
Pragma:
|
44
|
-
- no-cache
|
45
|
-
X-Request-Id:
|
46
|
-
- fed6555fd7e8c90decf95f6ffaa3b60a
|
47
|
-
X-Backend:
|
48
|
-
- sbox-priv-gateway-a
|
49
|
-
body:
|
50
|
-
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":{"authorization":"579571","id":"071-P-D6HR85W1","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
52
|
-
Savage","card_expiry":"2030-02-28","card_token":"fke86c5u","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"fac4baafc0c12c4f5012ccb3e27ed3f1","currency":"AUD","transaction_id":"071-P-D6HR85W1","settlement_date":"2017-07-05","transaction_date":"2017-07-05T15:43:53+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PD6HR85W1","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
53
|
-
http_version:
|
54
|
-
recorded_at: Wed, 05 Jul 2017 05:43:53 GMT
|
55
|
-
- request:
|
56
|
-
method: post
|
57
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
|
58
|
-
body:
|
59
|
-
encoding: UTF-8
|
60
|
-
string: '{"transaction_id":"071-P-D6HR85W1","amount":10000,"reference":"fac4baafc0c12c4f5012ccb3e27ed3f1","test":true}'
|
61
|
-
headers:
|
62
|
-
Accept-Encoding:
|
63
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
64
|
-
Accept:
|
65
|
-
- application/json
|
66
|
-
User-Agent:
|
67
|
-
- Ruby
|
68
|
-
Authorization:
|
69
|
-
- Basic VEVTVDpURVNU
|
70
|
-
Content-Type:
|
71
|
-
- application/json
|
72
|
-
response:
|
73
|
-
status:
|
74
|
-
code: 200
|
75
|
-
message: OK
|
76
|
-
headers:
|
77
|
-
Date:
|
78
|
-
- Wed, 05 Jul 2017 05:43:53 GMT
|
79
|
-
Content-Type:
|
80
|
-
- application/json; charset=utf-8
|
81
|
-
Transfer-Encoding:
|
82
|
-
- chunked
|
83
|
-
Connection:
|
84
|
-
- keep-alive
|
85
|
-
Status:
|
86
|
-
- 200 OK
|
87
|
-
Cache-Control:
|
88
|
-
- no-store
|
89
|
-
X-Request-Version:
|
90
|
-
- 1.19.41
|
91
|
-
Pragma:
|
92
|
-
- no-cache
|
93
|
-
X-Request-Id:
|
94
|
-
- 6178e9074c7c036354ef8c389ffb8301
|
95
|
-
X-Runtime:
|
96
|
-
- '0.204872'
|
97
|
-
X-Rack-Cache:
|
98
|
-
- invalidate, pass
|
99
|
-
X-Backend:
|
100
|
-
- sbox-priv-gateway-a
|
101
|
-
body:
|
102
|
-
encoding: UTF-8
|
103
|
-
string: '{"successful":true,"response":{"authorization":1499233433,"id":"071-R-S79ADKVG","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
|
104
|
-
Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-S79ADKVG","reference":"fac4baafc0c12c4f5012ccb3e27ed3f1","currency":"AUD","successful":true,"transaction_date":"2017-07-05T15:43:53+10:00","response_code":"00","settlement_date":"2017-07-06","metadata":{},"standalone":false,"rrn":"071RS79ADKVG"},"errors":[],"test":true}'
|
105
|
-
http_version:
|
106
|
-
recorded_at: Wed, 05 Jul 2017 05:43:53 GMT
|
107
|
-
recorded_with: VCR 3.0.3
|