fat_zebra 3.0.10 → 3.0.11
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/batch.rb +3 -1
- data/lib/fat_zebra/version.rb +1 -1
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_1.yml +14 -10
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_2.yml +14 -10
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_1.yml +52 -40
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_2.yml +52 -40
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_3.yml +52 -40
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_1.yml +17 -15
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_2.yml +17 -15
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_1.yml +17 -15
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_2.yml +17 -15
- data/spec/cassettes/FatZebra_Batch/_find/1_2_1.yml +32 -26
- data/spec/cassettes/FatZebra_Batch/_find/1_2_2.yml +32 -26
- data/spec/cassettes/FatZebra_Batch/_result/1_4_1.yml +47 -37
- data/spec/cassettes/FatZebra_Batch/_search/1_3_1.yml +14 -10
- data/spec/cassettes/FatZebra_Batch/_search/1_3_2.yml +14 -10
- data/spec/cassettes/FatZebra_Batch/_search/1_3_3.yml +14 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_1.yml +14 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_2.yml +14 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_3.yml +14 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_4.yml +14 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_5.yml +14 -10
- data/spec/cassettes/FatZebra_Card/_create/1_1_6.yml +14 -10
- data/spec/cassettes/FatZebra_Card/_update/1_2_1.yml +28 -20
- data/spec/cassettes/FatZebra_Card/_update/1_2_2.yml +28 -20
- data/spec/cassettes/FatZebra_Card/_update/1_2_3.yml +28 -20
- data/spec/cassettes/FatZebra_Card/_update/validations/1_2_4_1.yml +14 -10
- data/spec/cassettes/FatZebra_Customer/_create/1_1_1.yml +15 -11
- data/spec/cassettes/FatZebra_Customer/_create/1_1_2.yml +15 -11
- data/spec/cassettes/FatZebra_Customer/_create/1_1_3.yml +15 -11
- data/spec/cassettes/FatZebra_Customer/_create/1_1_4.yml +15 -11
- data/spec/cassettes/FatZebra_Customer/_create/1_1_5.yml +15 -11
- data/spec/cassettes/FatZebra_Customer/_create/1_1_6.yml +15 -11
- data/spec/cassettes/FatZebra_Customer/_delete/1_5_1.yml +30 -22
- data/spec/cassettes/FatZebra_Customer/_find/1_3_1.yml +31 -23
- data/spec/cassettes/FatZebra_Customer/_find/1_3_2.yml +31 -23
- data/spec/cassettes/FatZebra_Customer/_search/1_2_1.yml +24 -20
- data/spec/cassettes/FatZebra_Customer/_search/1_2_2.yml +24 -20
- data/spec/cassettes/FatZebra_Customer/_search/1_2_3.yml +24 -20
- data/spec/cassettes/FatZebra_Customer/_update/1_4_1.yml +31 -23
- data/spec/cassettes/FatZebra_Customer/_update/1_4_2.yml +31 -23
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_1.yml +13 -9
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_2.yml +13 -9
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_3.yml +13 -9
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_4.yml +13 -9
- data/spec/cassettes/FatZebra_DirectCredit/_create/validations/valid/1_1_5_1_1.yml +13 -9
- data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_1.yml +27 -19
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_1.yml +28 -20
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_2.yml +28 -20
- data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_1.yml +40 -28
- data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_2.yml +40 -28
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_1.yml +13 -9
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_2.yml +13 -9
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_3.yml +13 -9
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_4.yml +13 -9
- data/spec/cassettes/FatZebra_DirectDebit/_create/validations/valid/1_1_5_1_1.yml +13 -9
- data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_1.yml +27 -19
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_1.yml +28 -20
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_2.yml +28 -20
- data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_1.yml +40 -28
- data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_2.yml +40 -28
- data/spec/cassettes/FatZebra_Information/_ping/1_1_1.yml +14 -10
- data/spec/cassettes/FatZebra_Information/_ping/1_1_2.yml +14 -10
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_1.yml +76 -60
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_2.yml +76 -60
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_1.yml +34 -26
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_2.yml +34 -26
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_3.yml +34 -26
- data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_1.yml +49 -37
- data/spec/cassettes/FatZebra_PaymentPlan/_destroy/1_6_1.yml +49 -37
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_1.yml +54 -42
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_2.yml +54 -42
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_3.yml +54 -42
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_1.yml +55 -43
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_2.yml +55 -43
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_1.yml +49 -37
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_2.yml +49 -37
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_3.yml +49 -37
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_1.yml +55 -43
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_2.yml +55 -43
- data/spec/cassettes/FatZebra_Purchase/_capture/1_5_1.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_capture/1_5_2.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_capture/1_5_3.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_1.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_10.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_11.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_12.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_13.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_2.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_3.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_4.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_5.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_6.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_7.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_8.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_9.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_1.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_2.yml +15 -11
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_1.yml +31 -23
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_2.yml +31 -23
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_3.yml +31 -23
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_4.yml +31 -23
- data/spec/cassettes/FatZebra_Purchase/_refund/1_4_1.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_refund/1_4_2.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_refund/1_4_3.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_1.yml +54 -42
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_2.yml +54 -42
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_3.yml +54 -42
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_1.yml +523 -511
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_2.yml +523 -511
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_3.yml +523 -511
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_1.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_2.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_3.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_4.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_1.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_2.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_3.yml +30 -22
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_4.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_create/1_1_1.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_create/1_1_10.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_create/1_1_2.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_create/1_1_3.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_create/1_1_4.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_create/1_1_5.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_create/1_1_6.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_create/1_1_7.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_create/1_1_8.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_create/1_1_9.yml +30 -22
- data/spec/cassettes/FatZebra_Refund/_find/1_2_1.yml +46 -34
- data/spec/cassettes/FatZebra_Refund/_find/1_2_2.yml +46 -34
- data/spec/cassettes/FatZebra_Refund/_find/1_2_3.yml +46 -34
- data/spec/cassettes/FatZebra_Refund/_search/1_3_1.yml +82 -62
- data/spec/cassettes/FatZebra_Refund/_search/1_3_2.yml +82 -62
- data/spec/cassettes/FatZebra_Refund/_void/1_4_1.yml +45 -33
- data/spec/cassettes/FatZebra_Refund/_void/1_4_2.yml +45 -33
- data/spec/cassettes/FatZebra_Refund/_void/1_4_3.yml +45 -33
- data/spec/cassettes/FatZebra_Refund/_void/1_4_4.yml +45 -33
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_1.yml +13 -9
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_2.yml +13 -9
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_3.yml +13 -9
- data/spec/cassettes/FatZebra_WebHook/_delete/1_4_1.yml +27 -19
- data/spec/cassettes/FatZebra_WebHook/_search/1_2_1.yml +93 -45
- data/spec/cassettes/FatZebra_WebHook/_search/1_2_2.yml +95 -47
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_1.yml +27 -19
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_2.yml +27 -19
- metadata +2 -2
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/customers
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"first_name":"Harrold","last_name":"Humphries","reference":"
|
8
|
+
string: '{"first_name":"Harrold","last_name":"Humphries","reference":"98cc4d4c3540af7e59a7abc8f2971d03","email":"hhump@test.com","ip_address":"180.200.33.181","card":{"card_holder":"Harrold
|
9
9
|
Humphries Senior","card_number":"5123456789012346","expiry_date":"05/2023","cvv":"123"},"address":{"address":"1
|
10
10
|
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"test":true}'
|
11
11
|
headers:
|
@@ -25,7 +25,7 @@ http_interactions:
|
|
25
25
|
message: OK
|
26
26
|
headers:
|
27
27
|
Date:
|
28
|
-
-
|
28
|
+
- Tue, 08 May 2018 11:07:03 GMT
|
29
29
|
Content-Type:
|
30
30
|
- application/json; charset=utf-8
|
31
31
|
Transfer-Encoding:
|
@@ -34,32 +34,36 @@ http_interactions:
|
|
34
34
|
- keep-alive
|
35
35
|
Status:
|
36
36
|
- 200 OK
|
37
|
-
X-Rack-Cache:
|
38
|
-
- invalidate, pass
|
39
37
|
Cache-Control:
|
40
38
|
- no-store
|
41
39
|
X-Request-Version:
|
42
|
-
- 1.16.9-
|
43
|
-
X-Runtime:
|
44
|
-
- '0.442431'
|
40
|
+
- 1.16.9-3186@7b619da
|
45
41
|
Pragma:
|
46
42
|
- no-cache
|
43
|
+
X-Xss-Protection:
|
44
|
+
- 1; mode=block
|
47
45
|
X-Request-Id:
|
48
|
-
-
|
46
|
+
- 0047181e1e656b7fd84c6076
|
47
|
+
X-Runtime:
|
48
|
+
- '0.433256'
|
49
|
+
X-Frame-Options:
|
50
|
+
- SAMEORIGIN
|
51
|
+
X-Content-Type-Options:
|
52
|
+
- nosniff
|
49
53
|
X-Backend:
|
50
54
|
- sbox-priv-gateway-a
|
51
55
|
body:
|
52
56
|
encoding: UTF-8
|
53
|
-
string: '{"successful":true,"response":{"id":"071-C-
|
54
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"
|
57
|
+
string: '{"successful":true,"response":{"id":"071-C-FIJHJCYN","email":null,"reference":"98cc4d4c3540af7e59a7abc8f2971d03","first_name":"Harrold","last_name":"Humphries","created_at":"2018-05-08T21:07:02.614+10:00","address":{"address":"1
|
58
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"fke8dgeq","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
|
55
59
|
http_version:
|
56
|
-
recorded_at:
|
60
|
+
recorded_at: Tue, 08 May 2018 11:07:03 GMT
|
57
61
|
- request:
|
58
62
|
method: post
|
59
63
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
|
60
64
|
body:
|
61
65
|
encoding: UTF-8
|
62
|
-
string: '{"payment_method":"Credit Card","customer":"071-C-
|
66
|
+
string: '{"payment_method":"Credit Card","customer":"071-C-FIJHJCYN","reference":"080cd90809b76166b8e922a52a5bed8e","setup_fee":0,"amount":100,"start_date":"2015-07-16","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
|
63
67
|
headers:
|
64
68
|
Accept-Encoding:
|
65
69
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -77,7 +81,7 @@ http_interactions:
|
|
77
81
|
message: Created
|
78
82
|
headers:
|
79
83
|
Date:
|
80
|
-
-
|
84
|
+
- Tue, 08 May 2018 11:07:03 GMT
|
81
85
|
Content-Type:
|
82
86
|
- application/json; charset=utf-8
|
83
87
|
Transfer-Encoding:
|
@@ -86,42 +90,46 @@ http_interactions:
|
|
86
90
|
- keep-alive
|
87
91
|
Status:
|
88
92
|
- 201 Created
|
89
|
-
X-Rack-Cache:
|
90
|
-
- invalidate, pass
|
91
93
|
Cache-Control:
|
92
94
|
- no-store
|
93
95
|
X-Request-Version:
|
94
|
-
- 1.16.9-
|
95
|
-
X-Runtime:
|
96
|
-
- '0.223438'
|
96
|
+
- 1.16.9-3186@7b619da
|
97
97
|
Pragma:
|
98
98
|
- no-cache
|
99
|
+
X-Xss-Protection:
|
100
|
+
- 1; mode=block
|
99
101
|
X-Request-Id:
|
100
|
-
-
|
102
|
+
- d9b646caf6742ec81d5a258c
|
103
|
+
X-Runtime:
|
104
|
+
- '0.223201'
|
105
|
+
X-Frame-Options:
|
106
|
+
- SAMEORIGIN
|
107
|
+
X-Content-Type-Options:
|
108
|
+
- nosniff
|
101
109
|
X-Backend:
|
102
110
|
- sbox-priv-gateway-a
|
103
111
|
body:
|
104
112
|
encoding: UTF-8
|
105
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
106
|
-
Card","reference":"
|
107
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
108
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
109
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
110
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
113
|
+
string: '{"successful":true,"response":{"id":"071-PP-QEIWPJ26","customer":"071-C-FIJHJCYN","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
|
114
|
+
Card","reference":"080cd90809b76166b8e922a52a5bed8e","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-08T21:07:03.124+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-I6HOB3QC","payment_plan":"071-PP-QEIWPJ26","reference":"080cd90809b76166b8e922a52a5bed8e-0001","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
|
115
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-1CYH6EY9","payment_plan":"071-PP-QEIWPJ26","reference":"080cd90809b76166b8e922a52a5bed8e-0002","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
|
116
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-4OLBYM59","payment_plan":"071-PP-QEIWPJ26","reference":"080cd90809b76166b8e922a52a5bed8e-0003","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
|
117
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-LOB2SUE7","payment_plan":"071-PP-QEIWPJ26","reference":"080cd90809b76166b8e922a52a5bed8e-0004","amount":100,"currency":null,"scheduled_date":"2018-06-01","payment_method":"Credit
|
118
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-FW93IWIJ","payment_plan":"071-PP-QEIWPJ26","reference":"080cd90809b76166b8e922a52a5bed8e-0005","amount":100,"currency":null,"scheduled_date":"2018-06-08","payment_method":"Credit
|
111
119
|
Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
|
112
120
|
http_version:
|
113
|
-
recorded_at:
|
121
|
+
recorded_at: Tue, 08 May 2018 11:07:03 GMT
|
114
122
|
- request:
|
115
123
|
method: put
|
116
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-
|
124
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-QEIWPJ26
|
117
125
|
body:
|
118
126
|
encoding: UTF-8
|
119
|
-
string: '{"customer":"071-C-
|
120
|
-
Card","reference":"
|
121
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
122
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
123
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
124
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
127
|
+
string: '{"customer":"071-C-FIJHJCYN","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
|
128
|
+
Card","reference":"080cd90809b76166b8e922a52a5bed8e","description":null,"status":"Active","status_reason":"None","created_at":"2018-05-08T21:07:03.124+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-I6HOB3QC","payment_plan":"071-PP-QEIWPJ26","reference":"080cd90809b76166b8e922a52a5bed8e-0001","amount":100,"currency":null,"scheduled_date":"2018-05-11","payment_method":"Credit
|
129
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-1CYH6EY9","payment_plan":"071-PP-QEIWPJ26","reference":"080cd90809b76166b8e922a52a5bed8e-0002","amount":100,"currency":null,"scheduled_date":"2018-05-18","payment_method":"Credit
|
130
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-4OLBYM59","payment_plan":"071-PP-QEIWPJ26","reference":"080cd90809b76166b8e922a52a5bed8e-0003","amount":100,"currency":null,"scheduled_date":"2018-05-25","payment_method":"Credit
|
131
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-LOB2SUE7","payment_plan":"071-PP-QEIWPJ26","reference":"080cd90809b76166b8e922a52a5bed8e-0004","amount":100,"currency":null,"scheduled_date":"2018-06-01","payment_method":"Credit
|
132
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-FW93IWIJ","payment_plan":"071-PP-QEIWPJ26","reference":"080cd90809b76166b8e922a52a5bed8e-0005","amount":100,"currency":null,"scheduled_date":"2018-06-08","payment_method":"Credit
|
125
133
|
Card","status":"Scheduled","result":null,"records":[]}],"new_status":"Suspended","test":true}'
|
126
134
|
headers:
|
127
135
|
Accept-Encoding:
|
@@ -140,7 +148,7 @@ http_interactions:
|
|
140
148
|
message: OK
|
141
149
|
headers:
|
142
150
|
Date:
|
143
|
-
-
|
151
|
+
- Tue, 08 May 2018 11:07:03 GMT
|
144
152
|
Content-Type:
|
145
153
|
- application/json; charset=utf-8
|
146
154
|
Transfer-Encoding:
|
@@ -149,24 +157,28 @@ http_interactions:
|
|
149
157
|
- keep-alive
|
150
158
|
Status:
|
151
159
|
- 200 OK
|
152
|
-
X-Rack-Cache:
|
153
|
-
- invalidate, pass
|
154
160
|
Cache-Control:
|
155
161
|
- no-store
|
156
162
|
X-Request-Version:
|
157
|
-
- 1.16.9-
|
158
|
-
X-Runtime:
|
159
|
-
- '0.106916'
|
163
|
+
- 1.16.9-3186@7b619da
|
160
164
|
Pragma:
|
161
165
|
- no-cache
|
166
|
+
X-Xss-Protection:
|
167
|
+
- 1; mode=block
|
162
168
|
X-Request-Id:
|
163
|
-
-
|
169
|
+
- 9b174eaa34aadce46f96f93e
|
170
|
+
X-Runtime:
|
171
|
+
- '0.120724'
|
172
|
+
X-Frame-Options:
|
173
|
+
- SAMEORIGIN
|
174
|
+
X-Content-Type-Options:
|
175
|
+
- nosniff
|
164
176
|
X-Backend:
|
165
177
|
- sbox-priv-gateway-a
|
166
178
|
body:
|
167
179
|
encoding: UTF-8
|
168
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
169
|
-
Card","reference":"
|
180
|
+
string: '{"successful":true,"response":{"id":"071-PP-QEIWPJ26","customer":"071-C-FIJHJCYN","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
|
181
|
+
Card","reference":"080cd90809b76166b8e922a52a5bed8e","description":null,"status":"Suspended","status_reason":"Other","created_at":"2018-05-08T21:07:03.124+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
|
170
182
|
http_version:
|
171
|
-
recorded_at:
|
183
|
+
recorded_at: Tue, 08 May 2018 11:07:03 GMT
|
172
184
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"
|
8
|
+
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"4a395a60de25bccd8ee9f884178b2e4f","customer_ip":"1.2.3.4","capture":false,"currency":"AUD","test":true}'
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
11
11
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Tue, 08 May 2018 11:07:31 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -32,29 +32,33 @@ http_interactions:
|
|
32
32
|
- keep-alive
|
33
33
|
Status:
|
34
34
|
- 200 OK
|
35
|
-
X-Rack-Cache:
|
36
|
-
- invalidate, pass
|
37
35
|
Cache-Control:
|
38
36
|
- no-store
|
39
37
|
X-Request-Version:
|
40
|
-
- 1.16.9-
|
41
|
-
X-Runtime:
|
42
|
-
- '0.529090'
|
38
|
+
- 1.16.9-3186@7b619da
|
43
39
|
Pragma:
|
44
40
|
- no-cache
|
41
|
+
X-Xss-Protection:
|
42
|
+
- 1; mode=block
|
45
43
|
X-Request-Id:
|
46
|
-
-
|
44
|
+
- 27efad845a3e26a69c2ec666
|
45
|
+
X-Runtime:
|
46
|
+
- '0.553949'
|
47
|
+
X-Frame-Options:
|
48
|
+
- SAMEORIGIN
|
49
|
+
X-Content-Type-Options:
|
50
|
+
- nosniff
|
47
51
|
X-Backend:
|
48
52
|
- sbox-priv-gateway-a
|
49
53
|
body:
|
50
54
|
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":{"authorization":"
|
52
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
55
|
+
string: '{"successful":true,"response":{"authorization":"513689","id":"071-P-OLIA44E1","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8drvv","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"4a395a60de25bccd8ee9f884178b2e4f","currency":"AUD","transaction_id":"071-P-OLIA44E1","settlement_date":null,"transaction_date":"2018-05-08T21:07:31.073+10:00","response_code":"00","captured":false,"captured_amount":0,"rrn":"071POLIA44E1","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
53
57
|
http_version:
|
54
|
-
recorded_at:
|
58
|
+
recorded_at: Tue, 08 May 2018 11:07:31 GMT
|
55
59
|
- request:
|
56
60
|
method: post
|
57
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/071-P-
|
61
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/071-P-OLIA44E1/capture
|
58
62
|
body:
|
59
63
|
encoding: UTF-8
|
60
64
|
string: '{"amount":10000,"test":true}'
|
@@ -75,7 +79,7 @@ http_interactions:
|
|
75
79
|
message: OK
|
76
80
|
headers:
|
77
81
|
Date:
|
78
|
-
-
|
82
|
+
- Tue, 08 May 2018 11:07:31 GMT
|
79
83
|
Content-Type:
|
80
84
|
- application/json; charset=utf-8
|
81
85
|
Transfer-Encoding:
|
@@ -84,24 +88,28 @@ http_interactions:
|
|
84
88
|
- keep-alive
|
85
89
|
Status:
|
86
90
|
- 200 OK
|
87
|
-
X-Rack-Cache:
|
88
|
-
- invalidate, pass
|
89
91
|
Cache-Control:
|
90
92
|
- no-store
|
91
93
|
X-Request-Version:
|
92
|
-
- 1.16.9-
|
93
|
-
X-Runtime:
|
94
|
-
- '0.084700'
|
94
|
+
- 1.16.9-3186@7b619da
|
95
95
|
Pragma:
|
96
96
|
- no-cache
|
97
|
+
X-Xss-Protection:
|
98
|
+
- 1; mode=block
|
97
99
|
X-Request-Id:
|
98
|
-
-
|
100
|
+
- fb53c099ca52835396a29bdb
|
101
|
+
X-Runtime:
|
102
|
+
- '0.076073'
|
103
|
+
X-Frame-Options:
|
104
|
+
- SAMEORIGIN
|
105
|
+
X-Content-Type-Options:
|
106
|
+
- nosniff
|
99
107
|
X-Backend:
|
100
108
|
- sbox-priv-gateway-a
|
101
109
|
body:
|
102
110
|
encoding: UTF-8
|
103
|
-
string: '{"successful":true,"response":{"authorization":"
|
104
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
111
|
+
string: '{"successful":true,"response":{"authorization":"513689","id":"071-P-OLIA44E1","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
112
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8drvv","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"4a395a60de25bccd8ee9f884178b2e4f","currency":"AUD","transaction_id":"071-P-OLIA44E1","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:31.073+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"81fd7f767352","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
105
113
|
http_version:
|
106
|
-
recorded_at:
|
114
|
+
recorded_at: Tue, 08 May 2018 11:07:31 GMT
|
107
115
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"
|
8
|
+
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"a2f6c6bca64464346c963aca68d240d7","customer_ip":"1.2.3.4","capture":false,"currency":"AUD","test":true}'
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
11
11
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Tue, 08 May 2018 11:07:32 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -32,29 +32,33 @@ http_interactions:
|
|
32
32
|
- keep-alive
|
33
33
|
Status:
|
34
34
|
- 200 OK
|
35
|
-
X-Rack-Cache:
|
36
|
-
- invalidate, pass
|
37
35
|
Cache-Control:
|
38
36
|
- no-store
|
39
37
|
X-Request-Version:
|
40
|
-
- 1.16.9-
|
41
|
-
X-Runtime:
|
42
|
-
- '0.516393'
|
38
|
+
- 1.16.9-3186@7b619da
|
43
39
|
Pragma:
|
44
40
|
- no-cache
|
41
|
+
X-Xss-Protection:
|
42
|
+
- 1; mode=block
|
45
43
|
X-Request-Id:
|
46
|
-
-
|
44
|
+
- 6e9d1aead68999847357f116
|
45
|
+
X-Runtime:
|
46
|
+
- '0.546269'
|
47
|
+
X-Frame-Options:
|
48
|
+
- SAMEORIGIN
|
49
|
+
X-Content-Type-Options:
|
50
|
+
- nosniff
|
47
51
|
X-Backend:
|
48
52
|
- sbox-priv-gateway-a
|
49
53
|
body:
|
50
54
|
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":{"authorization":"
|
52
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
55
|
+
string: '{"successful":true,"response":{"authorization":"755108","id":"071-P-Q4RSPIL8","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8fxuq","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"a2f6c6bca64464346c963aca68d240d7","currency":"AUD","transaction_id":"071-P-Q4RSPIL8","settlement_date":null,"transaction_date":"2018-05-08T21:07:32.244+10:00","response_code":"00","captured":false,"captured_amount":0,"rrn":"071PQ4RSPIL8","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
53
57
|
http_version:
|
54
|
-
recorded_at:
|
58
|
+
recorded_at: Tue, 08 May 2018 11:07:32 GMT
|
55
59
|
- request:
|
56
60
|
method: post
|
57
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/071-P-
|
61
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/071-P-Q4RSPIL8/capture
|
58
62
|
body:
|
59
63
|
encoding: UTF-8
|
60
64
|
string: '{"amount":10000,"test":true}'
|
@@ -75,7 +79,7 @@ http_interactions:
|
|
75
79
|
message: OK
|
76
80
|
headers:
|
77
81
|
Date:
|
78
|
-
-
|
82
|
+
- Tue, 08 May 2018 11:07:32 GMT
|
79
83
|
Content-Type:
|
80
84
|
- application/json; charset=utf-8
|
81
85
|
Transfer-Encoding:
|
@@ -84,24 +88,28 @@ http_interactions:
|
|
84
88
|
- keep-alive
|
85
89
|
Status:
|
86
90
|
- 200 OK
|
87
|
-
X-Rack-Cache:
|
88
|
-
- invalidate, pass
|
89
91
|
Cache-Control:
|
90
92
|
- no-store
|
91
93
|
X-Request-Version:
|
92
|
-
- 1.16.9-
|
93
|
-
X-Runtime:
|
94
|
-
- '0.083142'
|
94
|
+
- 1.16.9-3186@7b619da
|
95
95
|
Pragma:
|
96
96
|
- no-cache
|
97
|
+
X-Xss-Protection:
|
98
|
+
- 1; mode=block
|
97
99
|
X-Request-Id:
|
98
|
-
-
|
100
|
+
- 714a2940879f45b0f9e3eee8
|
101
|
+
X-Runtime:
|
102
|
+
- '0.073930'
|
103
|
+
X-Frame-Options:
|
104
|
+
- SAMEORIGIN
|
105
|
+
X-Content-Type-Options:
|
106
|
+
- nosniff
|
99
107
|
X-Backend:
|
100
108
|
- sbox-priv-gateway-a
|
101
109
|
body:
|
102
110
|
encoding: UTF-8
|
103
|
-
string: '{"successful":true,"response":{"authorization":"
|
104
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
111
|
+
string: '{"successful":true,"response":{"authorization":"755108","id":"071-P-Q4RSPIL8","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
112
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8fxuq","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"a2f6c6bca64464346c963aca68d240d7","currency":"AUD","transaction_id":"071-P-Q4RSPIL8","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:32.244+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"c15961adf1b7","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
105
113
|
http_version:
|
106
|
-
recorded_at:
|
114
|
+
recorded_at: Tue, 08 May 2018 11:07:32 GMT
|
107
115
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"
|
8
|
+
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"9ed8e5971280b7afb120d9ef3677de71","customer_ip":"1.2.3.4","capture":false,"currency":"AUD","test":true}'
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
11
11
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Tue, 08 May 2018 11:07:33 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -32,29 +32,33 @@ http_interactions:
|
|
32
32
|
- keep-alive
|
33
33
|
Status:
|
34
34
|
- 200 OK
|
35
|
-
X-Rack-Cache:
|
36
|
-
- invalidate, pass
|
37
35
|
Cache-Control:
|
38
36
|
- no-store
|
39
37
|
X-Request-Version:
|
40
|
-
- 1.16.9-
|
41
|
-
X-Runtime:
|
42
|
-
- '0.578542'
|
38
|
+
- 1.16.9-3186@7b619da
|
43
39
|
Pragma:
|
44
40
|
- no-cache
|
41
|
+
X-Xss-Protection:
|
42
|
+
- 1; mode=block
|
45
43
|
X-Request-Id:
|
46
|
-
-
|
44
|
+
- 5006f27718d0508c34a2cb2c
|
45
|
+
X-Runtime:
|
46
|
+
- '0.513197'
|
47
|
+
X-Frame-Options:
|
48
|
+
- SAMEORIGIN
|
49
|
+
X-Content-Type-Options:
|
50
|
+
- nosniff
|
47
51
|
X-Backend:
|
48
52
|
- sbox-priv-gateway-a
|
49
53
|
body:
|
50
54
|
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":{"authorization":"
|
52
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
55
|
+
string: '{"successful":true,"response":{"authorization":"575807","id":"071-P-2V6990H7","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8yz8z","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"9ed8e5971280b7afb120d9ef3677de71","currency":"AUD","transaction_id":"071-P-2V6990H7","settlement_date":null,"transaction_date":"2018-05-08T21:07:32.984+10:00","response_code":"00","captured":false,"captured_amount":0,"rrn":"071P2V6990H7","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
53
57
|
http_version:
|
54
|
-
recorded_at:
|
58
|
+
recorded_at: Tue, 08 May 2018 11:07:33 GMT
|
55
59
|
- request:
|
56
60
|
method: post
|
57
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/071-P-
|
61
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/071-P-2V6990H7/capture
|
58
62
|
body:
|
59
63
|
encoding: UTF-8
|
60
64
|
string: '{"amount":10000,"test":true}'
|
@@ -75,7 +79,7 @@ http_interactions:
|
|
75
79
|
message: OK
|
76
80
|
headers:
|
77
81
|
Date:
|
78
|
-
-
|
82
|
+
- Tue, 08 May 2018 11:07:33 GMT
|
79
83
|
Content-Type:
|
80
84
|
- application/json; charset=utf-8
|
81
85
|
Transfer-Encoding:
|
@@ -84,24 +88,28 @@ http_interactions:
|
|
84
88
|
- keep-alive
|
85
89
|
Status:
|
86
90
|
- 200 OK
|
87
|
-
X-Rack-Cache:
|
88
|
-
- invalidate, pass
|
89
91
|
Cache-Control:
|
90
92
|
- no-store
|
91
93
|
X-Request-Version:
|
92
|
-
- 1.16.9-
|
93
|
-
X-Runtime:
|
94
|
-
- '0.082979'
|
94
|
+
- 1.16.9-3186@7b619da
|
95
95
|
Pragma:
|
96
96
|
- no-cache
|
97
|
+
X-Xss-Protection:
|
98
|
+
- 1; mode=block
|
97
99
|
X-Request-Id:
|
98
|
-
-
|
100
|
+
- 40eca60ca06be99812188ffe
|
101
|
+
X-Runtime:
|
102
|
+
- '0.084060'
|
103
|
+
X-Frame-Options:
|
104
|
+
- SAMEORIGIN
|
105
|
+
X-Content-Type-Options:
|
106
|
+
- nosniff
|
99
107
|
X-Backend:
|
100
108
|
- sbox-priv-gateway-a
|
101
109
|
body:
|
102
110
|
encoding: UTF-8
|
103
|
-
string: '{"successful":true,"response":{"authorization":"
|
104
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
111
|
+
string: '{"successful":true,"response":{"authorization":"575807","id":"071-P-2V6990H7","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
112
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8yz8z","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"9ed8e5971280b7afb120d9ef3677de71","currency":"AUD","transaction_id":"071-P-2V6990H7","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:32.984+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"c7c295e90801","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
105
113
|
http_version:
|
106
|
-
recorded_at:
|
114
|
+
recorded_at: Tue, 08 May 2018 11:07:33 GMT
|
107
115
|
recorded_with: VCR 3.0.3
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"
|
8
|
+
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"cddba16cb920bd82e017fd930bfa574d","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
|
9
9
|
headers:
|
10
10
|
Accept-Encoding:
|
11
11
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -23,7 +23,7 @@ http_interactions:
|
|
23
23
|
message: OK
|
24
24
|
headers:
|
25
25
|
Date:
|
26
|
-
-
|
26
|
+
- Tue, 08 May 2018 11:07:11 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -32,24 +32,28 @@ http_interactions:
|
|
32
32
|
- keep-alive
|
33
33
|
Status:
|
34
34
|
- 200 OK
|
35
|
-
X-Rack-Cache:
|
36
|
-
- invalidate, pass
|
37
35
|
Cache-Control:
|
38
36
|
- no-store
|
39
37
|
X-Request-Version:
|
40
|
-
- 1.16.9-
|
41
|
-
X-Runtime:
|
42
|
-
- '0.590145'
|
38
|
+
- 1.16.9-3186@7b619da
|
43
39
|
Pragma:
|
44
40
|
- no-cache
|
41
|
+
X-Xss-Protection:
|
42
|
+
- 1; mode=block
|
45
43
|
X-Request-Id:
|
46
|
-
-
|
44
|
+
- 5041a1ea95ecbdfa4c223038
|
45
|
+
X-Runtime:
|
46
|
+
- '0.558264'
|
47
|
+
X-Frame-Options:
|
48
|
+
- SAMEORIGIN
|
49
|
+
X-Content-Type-Options:
|
50
|
+
- nosniff
|
47
51
|
X-Backend:
|
48
52
|
- sbox-priv-gateway-a
|
49
53
|
body:
|
50
54
|
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":{"authorization":"
|
52
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
55
|
+
string: '{"successful":true,"response":{"authorization":"743462","id":"071-P-IQNQ61YJ","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
56
|
+
Savage","card_expiry":"2030-02-28","card_token":"fke8mwv5","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"cddba16cb920bd82e017fd930bfa574d","currency":"AUD","transaction_id":"071-P-IQNQ61YJ","settlement_date":"2018-05-08","transaction_date":"2018-05-08T21:07:11.238+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PIQNQ61YJ","cvv_match":"M","metadata":{},"addendum_data":{}},"errors":[],"test":true}'
|
53
57
|
http_version:
|
54
|
-
recorded_at:
|
58
|
+
recorded_at: Tue, 08 May 2018 11:07:11 GMT
|
55
59
|
recorded_with: VCR 3.0.3
|