fat_zebra 3.1.0 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +1 -1
- data/lib/fat_zebra.rb +1 -0
- data/lib/fat_zebra/authorise.rb +49 -0
- data/lib/fat_zebra/version.rb +1 -1
- data/spec/cassettes/FatZebra_Authorise/_authorise/with_challenge_response/1_2_3_1.yml +48 -0
- data/spec/cassettes/FatZebra_Authorise/_authorise/with_challenge_response/1_2_3_2.yml +48 -0
- data/spec/cassettes/FatZebra_Authorise/_authorise/with_frictionless_response/1_2_2_1.yml +48 -0
- data/spec/cassettes/FatZebra_Authorise/_authorise/with_frictionless_response/1_2_2_2.yml +48 -0
- data/spec/cassettes/FatZebra_Authorise/_authorise/with_invalid_input/1_2_1_1.yml +50 -0
- data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_given_params.yml +46 -0
- data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_no_params.yml +46 -0
- data/spec/cassettes/FatZebra_Authorise/_jwt_token/returns_JWT_with_some_params.yml +46 -0
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_1.yml +8 -14
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_2.yml +8 -14
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_1.yml +30 -30
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_2.yml +30 -30
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_3.yml +30 -30
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_1.yml +11 -17
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_2.yml +11 -17
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_1.yml +11 -17
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_2.yml +11 -17
- data/spec/cassettes/FatZebra_Batch/_find/1_2_1.yml +19 -31
- data/spec/cassettes/FatZebra_Batch/_find/1_2_2.yml +19 -31
- data/spec/cassettes/FatZebra_Batch/_result/1_4_1.yml +26 -44
- data/spec/cassettes/FatZebra_Batch/_search/1_3_1.yml +6 -6
- data/spec/cassettes/FatZebra_Batch/_search/1_3_2.yml +6 -6
- data/spec/cassettes/FatZebra_Batch/_search/1_3_3.yml +6 -6
- data/spec/cassettes/FatZebra_Card/_create/1_1_1.yml +7 -13
- data/spec/cassettes/FatZebra_Card/_create/1_1_2.yml +7 -13
- data/spec/cassettes/FatZebra_Card/_create/1_1_3.yml +7 -13
- data/spec/cassettes/FatZebra_Card/_create/1_1_4.yml +7 -13
- data/spec/cassettes/FatZebra_Card/_create/1_1_5.yml +7 -13
- data/spec/cassettes/FatZebra_Card/_create/1_1_6.yml +7 -13
- data/spec/cassettes/FatZebra_Card/_update/1_2_1.yml +15 -27
- data/spec/cassettes/FatZebra_Card/_update/1_2_2.yml +15 -27
- data/spec/cassettes/FatZebra_Card/_update/1_2_3.yml +15 -27
- data/spec/cassettes/FatZebra_Card/_update/validations/1_2_4_1.yml +7 -13
- data/spec/cassettes/FatZebra_Customer/_create/1_1_1.yml +9 -15
- data/spec/cassettes/FatZebra_Customer/_create/1_1_2.yml +9 -15
- data/spec/cassettes/FatZebra_Customer/_create/1_1_3.yml +9 -15
- data/spec/cassettes/FatZebra_Customer/_create/1_1_4.yml +9 -15
- data/spec/cassettes/FatZebra_Customer/_create/1_1_5.yml +9 -15
- data/spec/cassettes/FatZebra_Customer/_create/1_1_6.yml +9 -15
- data/spec/cassettes/FatZebra_Customer/_delete/1_5_1.yml +18 -30
- data/spec/cassettes/FatZebra_Customer/_find/1_3_1.yml +18 -30
- data/spec/cassettes/FatZebra_Customer/_find/1_3_2.yml +18 -30
- data/spec/cassettes/FatZebra_Customer/_search/1_2_1.yml +12 -16
- data/spec/cassettes/FatZebra_Customer/_search/1_2_2.yml +12 -16
- data/spec/cassettes/FatZebra_Customer/_search/1_2_3.yml +12 -16
- data/spec/cassettes/FatZebra_Customer/_update/1_4_1.yml +19 -31
- data/spec/cassettes/FatZebra_Customer/_update/1_4_2.yml +19 -31
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_1.yml +8 -14
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_2.yml +8 -14
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_3.yml +8 -14
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_4.yml +8 -14
- data/spec/cassettes/FatZebra_DirectCredit/_create/validations/valid/1_1_5_1_1.yml +7 -13
- data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_1.yml +16 -28
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_1.yml +16 -28
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_2.yml +16 -28
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_3.yml +13 -13
- data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_1.yml +20 -20
- data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_2.yml +20 -20
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_1.yml +8 -14
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_2.yml +8 -14
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_3.yml +8 -14
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_4.yml +8 -14
- data/spec/cassettes/FatZebra_DirectDebit/_create/validations/valid/1_1_5_1_1.yml +7 -13
- data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_1.yml +16 -28
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_1.yml +16 -28
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_2.yml +16 -28
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_3.yml +13 -13
- data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_1.yml +20 -20
- data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_2.yml +20 -20
- data/spec/cassettes/FatZebra_Information/_ping/1_1_1.yml +7 -13
- data/spec/cassettes/FatZebra_Information/_ping/1_1_2.yml +7 -13
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_1.yml +48 -48
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_2.yml +48 -48
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_1.yml +20 -20
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_2.yml +20 -20
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_3.yml +20 -20
- data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_1.yml +28 -28
- data/spec/cassettes/FatZebra_PaymentPlan/_destroy/1_6_1.yml +28 -28
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_1.yml +32 -32
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_2.yml +32 -32
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_3.yml +32 -32
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_1.yml +34 -34
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_2.yml +34 -34
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_1.yml +28 -28
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_2.yml +28 -28
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_3.yml +28 -28
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_1.yml +34 -34
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_2.yml +34 -34
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_1.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_10.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_11.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_12.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_13.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_2.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_3.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_4.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_5.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_6.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_7.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_8.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_9.yml +9 -15
- data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_1.yml +11 -17
- data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_2.yml +11 -17
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_1.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_2.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_3.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_4.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_1.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_2.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_3.yml +18 -30
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_4.yml +18 -30
- data/spec/cassettes/FatZebra_Refund/_create/1_1_1.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_10.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_2.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_3.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_4.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_5.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_6.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_7.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_8.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_create/1_1_9.yml +16 -16
- data/spec/cassettes/FatZebra_Refund/_find/1_2_1.yml +24 -24
- data/spec/cassettes/FatZebra_Refund/_find/1_2_2.yml +24 -24
- data/spec/cassettes/FatZebra_Refund/_find/1_2_3.yml +24 -24
- data/spec/cassettes/FatZebra_Refund/_search/responds_with_the_newly-created_refunds.yml +40 -40
- data/spec/cassettes/FatZebra_Refund/_void/1_4_1.yml +24 -24
- data/spec/cassettes/FatZebra_Refund/_void/1_4_2.yml +24 -24
- data/spec/cassettes/FatZebra_Refund/_void/1_4_3.yml +24 -24
- data/spec/cassettes/FatZebra_Refund/_void/1_4_4.yml +24 -24
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_1.yml +7 -13
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_2.yml +7 -13
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_3.yml +7 -13
- data/spec/cassettes/FatZebra_WebHook/_delete/1_4_1.yml +15 -27
- data/spec/cassettes/FatZebra_WebHook/_search/1_2_1.yml +160 -133
- data/spec/cassettes/FatZebra_WebHook/_search/1_2_2.yml +162 -135
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_1.yml +15 -27
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_2.yml +15 -27
- data/spec/lib/fat_zebra/authorise_spec.rb +101 -0
- data/spec/lib/fat_zebra/purchase_spec.rb +3 -3
- data/spec/lib/fat_zebra/refund_spec.rb +1 -1
- data/spec/support/payloads.rb +42 -0
- metadata +13 -4
- data/spec/cassettes/FatZebra_DirectDebit/_create/validations/failed_with_non-float/1_1_5_3_1.yml +0 -52
@@ -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":"3472659a03c57ef18df2463aeb75d648","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
|
+
- Mon, 29 Apr 2019 09:17:11 GMT
|
29
29
|
Content-Type:
|
30
30
|
- application/json; charset=utf-8
|
31
31
|
Transfer-Encoding:
|
@@ -37,27 +37,27 @@ http_interactions:
|
|
37
37
|
Cache-Control:
|
38
38
|
- no-store
|
39
39
|
X-Request-Version:
|
40
|
-
- 1.16.9-
|
40
|
+
- 1.16.9-3941@c1d8236
|
41
41
|
X-Runtime:
|
42
|
-
- '0.
|
42
|
+
- '0.495698'
|
43
43
|
Pragma:
|
44
44
|
- no-cache
|
45
45
|
X-Request-Id:
|
46
|
-
-
|
46
|
+
- 3647e468c0072ae829b9e3c4
|
47
47
|
X-Backend:
|
48
48
|
- sbox-priv-gateway-a
|
49
49
|
body:
|
50
50
|
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":{"id":"071-C-
|
52
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"
|
51
|
+
string: '{"successful":true,"response":{"id":"071-C-A20E609V","email":null,"reference":"3472659a03c57ef18df2463aeb75d648","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:17:10+10:00","address":{"address":"1
|
52
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"izmvogr78tvsz9jjaaum","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
|
53
53
|
http_version:
|
54
|
-
recorded_at:
|
54
|
+
recorded_at: Mon, 29 Apr 2019 09:17:11 GMT
|
55
55
|
- request:
|
56
56
|
method: post
|
57
57
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
|
58
58
|
body:
|
59
59
|
encoding: UTF-8
|
60
|
-
string: '{"payment_method":"Credit Card","customer":"071-C-
|
60
|
+
string: '{"payment_method":"Credit Card","customer":"071-C-A20E609V","reference":"474a4758f3f466316e07f1b1155ba803","setup_fee":0,"amount":100,"start_date":"2019-07-28","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
|
61
61
|
headers:
|
62
62
|
Accept-Encoding:
|
63
63
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -75,7 +75,7 @@ http_interactions:
|
|
75
75
|
message: Created
|
76
76
|
headers:
|
77
77
|
Date:
|
78
|
-
-
|
78
|
+
- Mon, 29 Apr 2019 09:17:11 GMT
|
79
79
|
Content-Type:
|
80
80
|
- application/json; charset=utf-8
|
81
81
|
Transfer-Encoding:
|
@@ -87,37 +87,37 @@ http_interactions:
|
|
87
87
|
Cache-Control:
|
88
88
|
- no-store
|
89
89
|
X-Request-Version:
|
90
|
-
- 1.16.9-
|
90
|
+
- 1.16.9-3941@c1d8236
|
91
91
|
X-Runtime:
|
92
|
-
- '0.
|
92
|
+
- '0.264134'
|
93
93
|
Pragma:
|
94
94
|
- no-cache
|
95
95
|
X-Request-Id:
|
96
|
-
-
|
96
|
+
- ea7464c0f3cce8a0209cd054
|
97
97
|
X-Backend:
|
98
98
|
- sbox-priv-gateway-a
|
99
99
|
body:
|
100
100
|
encoding: UTF-8
|
101
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
102
|
-
Card","reference":"
|
103
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
104
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
105
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
106
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
101
|
+
string: '{"successful":true,"response":{"id":"071-PP-T5RYXDK4","customer":"071-C-A20E609V","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
102
|
+
Card","reference":"474a4758f3f466316e07f1b1155ba803","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:11+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-9MLGENY5","payment_plan":"071-PP-T5RYXDK4","reference":"474a4758f3f466316e07f1b1155ba803-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
|
103
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-G1JJ56YM","payment_plan":"071-PP-T5RYXDK4","reference":"474a4758f3f466316e07f1b1155ba803-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
|
104
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-NZXK2U4G","payment_plan":"071-PP-T5RYXDK4","reference":"474a4758f3f466316e07f1b1155ba803-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
|
105
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-6HNR79Q9","payment_plan":"071-PP-T5RYXDK4","reference":"474a4758f3f466316e07f1b1155ba803-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
|
106
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-LJ76UQNA","payment_plan":"071-PP-T5RYXDK4","reference":"474a4758f3f466316e07f1b1155ba803-0005","amount":100,"currency":null,"scheduled_date":"2019-08-30","payment_method":"Credit
|
107
107
|
Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
|
108
108
|
http_version:
|
109
|
-
recorded_at:
|
109
|
+
recorded_at: Mon, 29 Apr 2019 09:17:11 GMT
|
110
110
|
- request:
|
111
111
|
method: put
|
112
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-
|
112
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-T5RYXDK4
|
113
113
|
body:
|
114
114
|
encoding: UTF-8
|
115
|
-
string: '{"customer":"071-C-
|
116
|
-
Card","reference":"
|
117
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
118
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
119
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
120
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
115
|
+
string: '{"customer":"071-C-A20E609V","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
116
|
+
Card","reference":"474a4758f3f466316e07f1b1155ba803","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:11+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-9MLGENY5","payment_plan":"071-PP-T5RYXDK4","reference":"474a4758f3f466316e07f1b1155ba803-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
|
117
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-G1JJ56YM","payment_plan":"071-PP-T5RYXDK4","reference":"474a4758f3f466316e07f1b1155ba803-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
|
118
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-NZXK2U4G","payment_plan":"071-PP-T5RYXDK4","reference":"474a4758f3f466316e07f1b1155ba803-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
|
119
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-6HNR79Q9","payment_plan":"071-PP-T5RYXDK4","reference":"474a4758f3f466316e07f1b1155ba803-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
|
120
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-LJ76UQNA","payment_plan":"071-PP-T5RYXDK4","reference":"474a4758f3f466316e07f1b1155ba803-0005","amount":100,"currency":null,"scheduled_date":"2019-08-30","payment_method":"Credit
|
121
121
|
Card","status":"Scheduled","result":null,"records":[]}],"new_status":"Suspended","test":true}'
|
122
122
|
headers:
|
123
123
|
Accept-Encoding:
|
@@ -136,7 +136,7 @@ http_interactions:
|
|
136
136
|
message: OK
|
137
137
|
headers:
|
138
138
|
Date:
|
139
|
-
-
|
139
|
+
- Mon, 29 Apr 2019 09:17:12 GMT
|
140
140
|
Content-Type:
|
141
141
|
- application/json; charset=utf-8
|
142
142
|
Transfer-Encoding:
|
@@ -148,19 +148,19 @@ http_interactions:
|
|
148
148
|
Cache-Control:
|
149
149
|
- no-store
|
150
150
|
X-Request-Version:
|
151
|
-
- 1.16.9-
|
151
|
+
- 1.16.9-3941@c1d8236
|
152
152
|
X-Runtime:
|
153
|
-
- '0.
|
153
|
+
- '0.196614'
|
154
154
|
Pragma:
|
155
155
|
- no-cache
|
156
156
|
X-Request-Id:
|
157
|
-
-
|
157
|
+
- debb092cd237dce0cc37a9e0
|
158
158
|
X-Backend:
|
159
159
|
- sbox-priv-gateway-a
|
160
160
|
body:
|
161
161
|
encoding: UTF-8
|
162
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
163
|
-
Card","reference":"
|
162
|
+
string: '{"successful":true,"response":{"id":"071-PP-T5RYXDK4","customer":"071-C-A20E609V","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
163
|
+
Card","reference":"474a4758f3f466316e07f1b1155ba803","description":null,"status":"Suspended","status_reason":"Other","created_at":"2019-04-29T19:17:11+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
|
164
164
|
http_version:
|
165
|
-
recorded_at:
|
165
|
+
recorded_at: Mon, 29 Apr 2019 09:17:12 GMT
|
166
166
|
recorded_with: VCR 3.0.3
|
@@ -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":"c88bb12b679fca7af7d9cd1ae7dc9b6e","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
|
+
- Mon, 29 Apr 2019 09:17:12 GMT
|
29
29
|
Content-Type:
|
30
30
|
- application/json; charset=utf-8
|
31
31
|
Transfer-Encoding:
|
@@ -37,27 +37,27 @@ http_interactions:
|
|
37
37
|
Cache-Control:
|
38
38
|
- no-store
|
39
39
|
X-Request-Version:
|
40
|
-
- 1.16.9-
|
40
|
+
- 1.16.9-3941@c1d8236
|
41
41
|
X-Runtime:
|
42
|
-
- '0.
|
42
|
+
- '0.470425'
|
43
43
|
Pragma:
|
44
44
|
- no-cache
|
45
45
|
X-Request-Id:
|
46
|
-
-
|
46
|
+
- e8ad02d4305d78ab2caa3ddd
|
47
47
|
X-Backend:
|
48
48
|
- sbox-priv-gateway-a
|
49
49
|
body:
|
50
50
|
encoding: UTF-8
|
51
|
-
string: '{"successful":true,"response":{"id":"071-C-
|
52
|
-
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"
|
51
|
+
string: '{"successful":true,"response":{"id":"071-C-PCKV4X63","email":null,"reference":"c88bb12b679fca7af7d9cd1ae7dc9b6e","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:17:12+10:00","address":{"address":"1
|
52
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"vv1ypdx34cprtdg0bvsh","card_number":"512345XXXXXX2346","bank_account":null,"metadata":null},"errors":[],"test":true}'
|
53
53
|
http_version:
|
54
|
-
recorded_at:
|
54
|
+
recorded_at: Mon, 29 Apr 2019 09:17:12 GMT
|
55
55
|
- request:
|
56
56
|
method: post
|
57
57
|
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans
|
58
58
|
body:
|
59
59
|
encoding: UTF-8
|
60
|
-
string: '{"payment_method":"Credit Card","customer":"071-C-
|
60
|
+
string: '{"payment_method":"Credit Card","customer":"071-C-PCKV4X63","reference":"df3d4d491a04b7f892c7e91fb6a53325","setup_fee":0,"amount":100,"start_date":"2019-07-28","frequency":"Weekly","anniversary":5,"total_count":5,"total_amount":500,"test":true}'
|
61
61
|
headers:
|
62
62
|
Accept-Encoding:
|
63
63
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
@@ -75,7 +75,7 @@ http_interactions:
|
|
75
75
|
message: Created
|
76
76
|
headers:
|
77
77
|
Date:
|
78
|
-
-
|
78
|
+
- Mon, 29 Apr 2019 09:17:13 GMT
|
79
79
|
Content-Type:
|
80
80
|
- application/json; charset=utf-8
|
81
81
|
Transfer-Encoding:
|
@@ -87,37 +87,37 @@ http_interactions:
|
|
87
87
|
Cache-Control:
|
88
88
|
- no-store
|
89
89
|
X-Request-Version:
|
90
|
-
- 1.16.9-
|
90
|
+
- 1.16.9-3941@c1d8236
|
91
91
|
X-Runtime:
|
92
|
-
- '0.
|
92
|
+
- '0.283646'
|
93
93
|
Pragma:
|
94
94
|
- no-cache
|
95
95
|
X-Request-Id:
|
96
|
-
-
|
96
|
+
- c7863c447ad31848a824508c
|
97
97
|
X-Backend:
|
98
98
|
- sbox-priv-gateway-a
|
99
99
|
body:
|
100
100
|
encoding: UTF-8
|
101
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
102
|
-
Card","reference":"
|
103
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
104
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
105
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
106
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
101
|
+
string: '{"successful":true,"response":{"id":"071-PP-WHO5KPNI","customer":"071-C-PCKV4X63","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
102
|
+
Card","reference":"df3d4d491a04b7f892c7e91fb6a53325","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:12+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-5BGXEV7C","payment_plan":"071-PP-WHO5KPNI","reference":"df3d4d491a04b7f892c7e91fb6a53325-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
|
103
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-KIADZAMB","payment_plan":"071-PP-WHO5KPNI","reference":"df3d4d491a04b7f892c7e91fb6a53325-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
|
104
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-B8KK43CN","payment_plan":"071-PP-WHO5KPNI","reference":"df3d4d491a04b7f892c7e91fb6a53325-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
|
105
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-QC08X83P","payment_plan":"071-PP-WHO5KPNI","reference":"df3d4d491a04b7f892c7e91fb6a53325-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
|
106
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-55RNQABD","payment_plan":"071-PP-WHO5KPNI","reference":"df3d4d491a04b7f892c7e91fb6a53325-0005","amount":100,"currency":null,"scheduled_date":"2019-08-30","payment_method":"Credit
|
107
107
|
Card","status":"Scheduled","result":null,"records":[]}]},"errors":[],"test":true}'
|
108
108
|
http_version:
|
109
|
-
recorded_at:
|
109
|
+
recorded_at: Mon, 29 Apr 2019 09:17:13 GMT
|
110
110
|
- request:
|
111
111
|
method: put
|
112
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-
|
112
|
+
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/payment_plans/071-PP-WHO5KPNI
|
113
113
|
body:
|
114
114
|
encoding: UTF-8
|
115
|
-
string: '{"customer":"071-C-
|
116
|
-
Card","reference":"
|
117
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
118
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
119
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
120
|
-
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-
|
115
|
+
string: '{"customer":"071-C-PCKV4X63","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
116
|
+
Card","reference":"df3d4d491a04b7f892c7e91fb6a53325","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:12+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-5BGXEV7C","payment_plan":"071-PP-WHO5KPNI","reference":"df3d4d491a04b7f892c7e91fb6a53325-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
|
117
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-KIADZAMB","payment_plan":"071-PP-WHO5KPNI","reference":"df3d4d491a04b7f892c7e91fb6a53325-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
|
118
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-B8KK43CN","payment_plan":"071-PP-WHO5KPNI","reference":"df3d4d491a04b7f892c7e91fb6a53325-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
|
119
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-QC08X83P","payment_plan":"071-PP-WHO5KPNI","reference":"df3d4d491a04b7f892c7e91fb6a53325-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
|
120
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-55RNQABD","payment_plan":"071-PP-WHO5KPNI","reference":"df3d4d491a04b7f892c7e91fb6a53325-0005","amount":100,"currency":null,"scheduled_date":"2019-08-30","payment_method":"Credit
|
121
121
|
Card","status":"Scheduled","result":null,"records":[]}],"new_status":"Suspended","test":true}'
|
122
122
|
headers:
|
123
123
|
Accept-Encoding:
|
@@ -136,7 +136,7 @@ http_interactions:
|
|
136
136
|
message: OK
|
137
137
|
headers:
|
138
138
|
Date:
|
139
|
-
-
|
139
|
+
- Mon, 29 Apr 2019 09:17:13 GMT
|
140
140
|
Content-Type:
|
141
141
|
- application/json; charset=utf-8
|
142
142
|
Transfer-Encoding:
|
@@ -148,19 +148,19 @@ http_interactions:
|
|
148
148
|
Cache-Control:
|
149
149
|
- no-store
|
150
150
|
X-Request-Version:
|
151
|
-
- 1.16.9-
|
151
|
+
- 1.16.9-3941@c1d8236
|
152
152
|
X-Runtime:
|
153
|
-
- '0.
|
153
|
+
- '0.124886'
|
154
154
|
Pragma:
|
155
155
|
- no-cache
|
156
156
|
X-Request-Id:
|
157
|
-
-
|
157
|
+
- ba1b3b74e044591417626802
|
158
158
|
X-Backend:
|
159
159
|
- sbox-priv-gateway-a
|
160
160
|
body:
|
161
161
|
encoding: UTF-8
|
162
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
163
|
-
Card","reference":"
|
162
|
+
string: '{"successful":true,"response":{"id":"071-PP-WHO5KPNI","customer":"071-C-PCKV4X63","amount":100,"currency":null,"setup_fee":0,"frequency":"Weekly","anniversary":5,"start_date":"2019-07-28","end_date":null,"total_count":5,"total_amount":500,"payment_method":"Credit
|
163
|
+
Card","reference":"df3d4d491a04b7f892c7e91fb6a53325","description":null,"status":"Suspended","status_reason":"Other","created_at":"2019-04-29T19:17:12+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
|
164
164
|
http_version:
|
165
|
-
recorded_at:
|
165
|
+
recorded_at: Mon, 29 Apr 2019 09:17:13 GMT
|
166
166
|
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":"93b5b583ca93811c90b7c187a57344b0","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
|
+
- Mon, 29 Apr 2019 09:24:12 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -35,25 +35,19 @@ http_interactions:
|
|
35
35
|
Cache-Control:
|
36
36
|
- no-store
|
37
37
|
X-Request-Version:
|
38
|
-
- 1.16.9-
|
38
|
+
- 1.16.9-3941@c1d8236
|
39
|
+
X-Runtime:
|
40
|
+
- '0.560778'
|
39
41
|
Pragma:
|
40
42
|
- no-cache
|
41
|
-
X-Xss-Protection:
|
42
|
-
- 1; mode=block
|
43
43
|
X-Request-Id:
|
44
|
-
-
|
45
|
-
X-Runtime:
|
46
|
-
- '0.558264'
|
47
|
-
X-Frame-Options:
|
48
|
-
- SAMEORIGIN
|
49
|
-
X-Content-Type-Options:
|
50
|
-
- nosniff
|
44
|
+
- d1d34186adbe97ca036b8e67
|
51
45
|
X-Backend:
|
52
46
|
- sbox-priv-gateway-a
|
53
47
|
body:
|
54
48
|
encoding: UTF-8
|
55
|
-
string: '{"successful":true,"response":{"authorization":"
|
56
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
49
|
+
string: '{"successful":true,"response":{"authorization":"945272","id":"071-P-1VQZVNTX","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
50
|
+
Savage","card_expiry":"2030-02-28","card_token":"ybmdvs1611pq5l1gl8g4","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"93b5b583ca93811c90b7c187a57344b0","currency":"AUD","transaction_id":"071-P-1VQZVNTX","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:24:11+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P1VQZVNTX","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
|
57
51
|
http_version:
|
58
|
-
recorded_at:
|
52
|
+
recorded_at: Mon, 29 Apr 2019 09:24:12 GMT
|
59
53
|
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":"873bc623afb430116b41adf9295f1838","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
|
+
- Mon, 29 Apr 2019 09:24:18 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -35,25 +35,19 @@ http_interactions:
|
|
35
35
|
Cache-Control:
|
36
36
|
- no-store
|
37
37
|
X-Request-Version:
|
38
|
-
- 1.16.9-
|
38
|
+
- 1.16.9-3941@c1d8236
|
39
|
+
X-Runtime:
|
40
|
+
- '0.555540'
|
39
41
|
Pragma:
|
40
42
|
- no-cache
|
41
|
-
X-Xss-Protection:
|
42
|
-
- 1; mode=block
|
43
43
|
X-Request-Id:
|
44
|
-
-
|
45
|
-
X-Runtime:
|
46
|
-
- '0.498044'
|
47
|
-
X-Frame-Options:
|
48
|
-
- SAMEORIGIN
|
49
|
-
X-Content-Type-Options:
|
50
|
-
- nosniff
|
44
|
+
- f1a89f2218e0376d9ba4af81
|
51
45
|
X-Backend:
|
52
46
|
- sbox-priv-gateway-a
|
53
47
|
body:
|
54
48
|
encoding: UTF-8
|
55
|
-
string: '{"successful":true,"response":{"authorization":"
|
56
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
49
|
+
string: '{"successful":true,"response":{"authorization":"115804","id":"071-P-8MCMMO51","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
50
|
+
Savage","card_expiry":"2030-02-28","card_token":"rakijmcyp4ilzft5b10w","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"873bc623afb430116b41adf9295f1838","currency":"AUD","transaction_id":"071-P-8MCMMO51","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:24:17+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P8MCMMO51","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
|
57
51
|
http_version:
|
58
|
-
recorded_at:
|
52
|
+
recorded_at: Mon, 29 Apr 2019 09:24:18 GMT
|
59
53
|
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":"64e3214f884c96877f58cf93358924a0","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
|
+
- Mon, 29 Apr 2019 09:24:18 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -35,25 +35,19 @@ http_interactions:
|
|
35
35
|
Cache-Control:
|
36
36
|
- no-store
|
37
37
|
X-Request-Version:
|
38
|
-
- 1.16.9-
|
38
|
+
- 1.16.9-3941@c1d8236
|
39
|
+
X-Runtime:
|
40
|
+
- '0.541613'
|
39
41
|
Pragma:
|
40
42
|
- no-cache
|
41
|
-
X-Xss-Protection:
|
42
|
-
- 1; mode=block
|
43
43
|
X-Request-Id:
|
44
|
-
-
|
45
|
-
X-Runtime:
|
46
|
-
- '0.668878'
|
47
|
-
X-Frame-Options:
|
48
|
-
- SAMEORIGIN
|
49
|
-
X-Content-Type-Options:
|
50
|
-
- nosniff
|
44
|
+
- 10841c34dba885e079c976d0
|
51
45
|
X-Backend:
|
52
46
|
- sbox-priv-gateway-a
|
53
47
|
body:
|
54
48
|
encoding: UTF-8
|
55
|
-
string: '{"successful":true,"response":{"authorization":"
|
56
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
49
|
+
string: '{"successful":true,"response":{"authorization":"252620","id":"071-P-34BE0QT3","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
50
|
+
Savage","card_expiry":"2030-02-28","card_token":"n19mzoid6koayqw1b36h","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"64e3214f884c96877f58cf93358924a0","currency":"AUD","transaction_id":"071-P-34BE0QT3","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:24:18+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P34BE0QT3","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
|
57
51
|
http_version:
|
58
|
-
recorded_at:
|
52
|
+
recorded_at: Mon, 29 Apr 2019 09:24:18 GMT
|
59
53
|
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":"468f4a4e5b81dc4213e3e9acd2d190a5","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
|
+
- Mon, 29 Apr 2019 09:24:19 GMT
|
27
27
|
Content-Type:
|
28
28
|
- application/json; charset=utf-8
|
29
29
|
Transfer-Encoding:
|
@@ -35,25 +35,19 @@ http_interactions:
|
|
35
35
|
Cache-Control:
|
36
36
|
- no-store
|
37
37
|
X-Request-Version:
|
38
|
-
- 1.16.9-
|
38
|
+
- 1.16.9-3941@c1d8236
|
39
|
+
X-Runtime:
|
40
|
+
- '0.553527'
|
39
41
|
Pragma:
|
40
42
|
- no-cache
|
41
|
-
X-Xss-Protection:
|
42
|
-
- 1; mode=block
|
43
43
|
X-Request-Id:
|
44
|
-
-
|
45
|
-
X-Runtime:
|
46
|
-
- '0.491498'
|
47
|
-
X-Frame-Options:
|
48
|
-
- SAMEORIGIN
|
49
|
-
X-Content-Type-Options:
|
50
|
-
- nosniff
|
44
|
+
- 365d89deefda26a523beced7
|
51
45
|
X-Backend:
|
52
46
|
- sbox-priv-gateway-a
|
53
47
|
body:
|
54
48
|
encoding: UTF-8
|
55
|
-
string: '{"successful":true,"response":{"authorization":"
|
56
|
-
Savage","card_expiry":"2030-02-28","card_token":"
|
49
|
+
string: '{"successful":true,"response":{"authorization":"443496","id":"071-P-6QJGB52N","card_number":"512345XXXXXX2346","card_holder":"Matthew
|
50
|
+
Savage","card_expiry":"2030-02-28","card_token":"dt6amuap5lzhwpd15u89","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"468f4a4e5b81dc4213e3e9acd2d190a5","currency":"AUD","transaction_id":"071-P-6QJGB52N","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:24:19+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P6QJGB52N","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
|
57
51
|
http_version:
|
58
|
-
recorded_at:
|
52
|
+
recorded_at: Mon, 29 Apr 2019 09:24:19 GMT
|
59
53
|
recorded_with: VCR 3.0.3
|