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":"bde960bee46988f84762979c6ea38c08","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:01 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.482676'
|
43
43
|
Pragma:
|
44
44
|
- no-cache
|
45
45
|
X-Request-Id:
|
46
|
-
-
|
46
|
+
- '08ac1f840941a8f46b4b2df4'
|
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-XKVX8OXY","email":null,"reference":"bde960bee46988f84762979c6ea38c08","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:17:01+10:00","address":{"address":"1
|
52
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"16ky3acwlnmnyknjbxvv","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:01 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-XKVX8OXY","reference":"68880b2b652276e7bc53350d36e527d4","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:02 GMT
|
79
79
|
Content-Type:
|
80
80
|
- application/json; charset=utf-8
|
81
81
|
Transfer-Encoding:
|
@@ -87,24 +87,24 @@ 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.408907'
|
93
93
|
Pragma:
|
94
94
|
- no-cache
|
95
95
|
X-Request-Id:
|
96
|
-
-
|
96
|
+
- 873835c05c6e69cc1c81b7dc
|
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-KJWXTLMM","customer":"071-C-XKVX8OXY","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":"68880b2b652276e7bc53350d36e527d4","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:02+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-3DZDH1AQ","payment_plan":"071-PP-KJWXTLMM","reference":"68880b2b652276e7bc53350d36e527d4-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
|
103
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-E8JGL8NQ","payment_plan":"071-PP-KJWXTLMM","reference":"68880b2b652276e7bc53350d36e527d4-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
|
104
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-GAJ0YY2Q","payment_plan":"071-PP-KJWXTLMM","reference":"68880b2b652276e7bc53350d36e527d4-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
|
105
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-9EDG2MBJ","payment_plan":"071-PP-KJWXTLMM","reference":"68880b2b652276e7bc53350d36e527d4-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
|
106
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-F6C3NE19","payment_plan":"071-PP-KJWXTLMM","reference":"68880b2b652276e7bc53350d36e527d4-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:02 GMT
|
110
110
|
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":"ece85613df06e382370f4c1e5123cae1","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:02 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.449040'
|
43
43
|
Pragma:
|
44
44
|
- no-cache
|
45
45
|
X-Request-Id:
|
46
|
-
-
|
46
|
+
- fa4e5df09fb09518f024c96c
|
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-PQ3V8GOP","email":null,"reference":"ece85613df06e382370f4c1e5123cae1","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:17:02+10:00","address":{"address":"1
|
52
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"ul4wsmzja9pkg2vvia7p","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:02 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-PQ3V8GOP","reference":"82a36fe8722b07f52d27f0804b45ac01","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:03 GMT
|
79
79
|
Content-Type:
|
80
80
|
- application/json; charset=utf-8
|
81
81
|
Transfer-Encoding:
|
@@ -87,24 +87,24 @@ 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.307369'
|
93
93
|
Pragma:
|
94
94
|
- no-cache
|
95
95
|
X-Request-Id:
|
96
|
-
-
|
96
|
+
- 62d15ad1600f34fe7072a1f2
|
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-GABS3BTI","customer":"071-C-PQ3V8GOP","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":"82a36fe8722b07f52d27f0804b45ac01","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:03+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-Z4VYQB4Q","payment_plan":"071-PP-GABS3BTI","reference":"82a36fe8722b07f52d27f0804b45ac01-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
|
103
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-Y9FX5PI8","payment_plan":"071-PP-GABS3BTI","reference":"82a36fe8722b07f52d27f0804b45ac01-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
|
104
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-Z2P3QW5D","payment_plan":"071-PP-GABS3BTI","reference":"82a36fe8722b07f52d27f0804b45ac01-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
|
105
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-X12G77M2","payment_plan":"071-PP-GABS3BTI","reference":"82a36fe8722b07f52d27f0804b45ac01-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
|
106
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-14XJC0IH","payment_plan":"071-PP-GABS3BTI","reference":"82a36fe8722b07f52d27f0804b45ac01-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:03 GMT
|
110
110
|
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":"8764b94de6ffb91ff991dbaf742a3ffd","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:03 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.477211'
|
43
43
|
Pragma:
|
44
44
|
- no-cache
|
45
45
|
X-Request-Id:
|
46
|
-
-
|
46
|
+
- '05881a1aa483d0a4da86526b'
|
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-WYAHMOXT","email":null,"reference":"8764b94de6ffb91ff991dbaf742a3ffd","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:17:03+10:00","address":{"address":"1
|
52
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"5bsqzn0x32ltnl9zybct","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:03 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-WYAHMOXT","reference":"f9b7795e1c8b56a6e99ea48a009b2939","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:04 GMT
|
79
79
|
Content-Type:
|
80
80
|
- application/json; charset=utf-8
|
81
81
|
Transfer-Encoding:
|
@@ -87,24 +87,24 @@ 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.301254'
|
93
93
|
Pragma:
|
94
94
|
- no-cache
|
95
95
|
X-Request-Id:
|
96
|
-
-
|
96
|
+
- b6fdc4fbd38c2c872fa55dc7
|
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-WHR9BJ0H","customer":"071-C-WYAHMOXT","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":"f9b7795e1c8b56a6e99ea48a009b2939","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:03+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-SS0NWGYZ","payment_plan":"071-PP-WHR9BJ0H","reference":"f9b7795e1c8b56a6e99ea48a009b2939-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
|
103
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-947D24AA","payment_plan":"071-PP-WHR9BJ0H","reference":"f9b7795e1c8b56a6e99ea48a009b2939-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
|
104
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-VHRRRK6D","payment_plan":"071-PP-WHR9BJ0H","reference":"f9b7795e1c8b56a6e99ea48a009b2939-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
|
105
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-HBSDNYCX","payment_plan":"071-PP-WHR9BJ0H","reference":"f9b7795e1c8b56a6e99ea48a009b2939-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
|
106
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-ZWOGO77D","payment_plan":"071-PP-WHR9BJ0H","reference":"f9b7795e1c8b56a6e99ea48a009b2939-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:04 GMT
|
110
110
|
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":"3fe20db7f96271aeb553d1727bf4860a","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:13 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.462238'
|
43
43
|
Pragma:
|
44
44
|
- no-cache
|
45
45
|
X-Request-Id:
|
46
|
-
-
|
46
|
+
- cca320f56c86a52a59263694
|
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-I7CL08Z5","email":null,"reference":"3fe20db7f96271aeb553d1727bf4860a","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:17:13+10:00","address":{"address":"1
|
52
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"r9f8sn0e829yjsvfbyu4","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:13 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-I7CL08Z5","reference":"8808117fe2d1954b920f3807d014a9d2","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:14 GMT
|
79
79
|
Content-Type:
|
80
80
|
- application/json; charset=utf-8
|
81
81
|
Transfer-Encoding:
|
@@ -87,29 +87,29 @@ 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.293897'
|
93
93
|
Pragma:
|
94
94
|
- no-cache
|
95
95
|
X-Request-Id:
|
96
|
-
-
|
96
|
+
- 0164534b0c17ed4a52bd9407
|
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-EJOMRMB","customer":"071-C-I7CL08Z5","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":"8808117fe2d1954b920f3807d014a9d2","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:13+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-I4RC3XT7","payment_plan":"071-PP-EJOMRMB","reference":"8808117fe2d1954b920f3807d014a9d2-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
|
103
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-OGX48HX9","payment_plan":"071-PP-EJOMRMB","reference":"8808117fe2d1954b920f3807d014a9d2-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
|
104
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-DNQAPIZ","payment_plan":"071-PP-EJOMRMB","reference":"8808117fe2d1954b920f3807d014a9d2-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
|
105
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-CPZQR2SY","payment_plan":"071-PP-EJOMRMB","reference":"8808117fe2d1954b920f3807d014a9d2-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
|
106
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-O4UB9ZC3","payment_plan":"071-PP-EJOMRMB","reference":"8808117fe2d1954b920f3807d014a9d2-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:14 GMT
|
110
110
|
- request:
|
111
111
|
method: delete
|
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-EJOMRMB
|
113
113
|
body:
|
114
114
|
encoding: UTF-8
|
115
115
|
string: '{"test":true}'
|
@@ -128,7 +128,7 @@ http_interactions:
|
|
128
128
|
message: OK
|
129
129
|
headers:
|
130
130
|
Date:
|
131
|
-
-
|
131
|
+
- Mon, 29 Apr 2019 09:17:14 GMT
|
132
132
|
Content-Type:
|
133
133
|
- application/json; charset=utf-8
|
134
134
|
Transfer-Encoding:
|
@@ -140,19 +140,19 @@ http_interactions:
|
|
140
140
|
Cache-Control:
|
141
141
|
- no-store
|
142
142
|
X-Request-Version:
|
143
|
-
- 1.16.9-
|
143
|
+
- 1.16.9-3941@c1d8236
|
144
144
|
X-Runtime:
|
145
|
-
- '0.
|
145
|
+
- '0.115419'
|
146
146
|
Pragma:
|
147
147
|
- no-cache
|
148
148
|
X-Request-Id:
|
149
|
-
-
|
149
|
+
- ae7ca8dfb13588697f7ba931
|
150
150
|
X-Backend:
|
151
151
|
- sbox-priv-gateway-a
|
152
152
|
body:
|
153
153
|
encoding: UTF-8
|
154
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
155
|
-
Card","reference":"
|
154
|
+
string: '{"successful":true,"response":{"id":"071-PP-EJOMRMB","customer":"071-C-I7CL08Z5","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
|
155
|
+
Card","reference":"8808117fe2d1954b920f3807d014a9d2","description":null,"status":"Cancelled","status_reason":"Other","created_at":"2019-04-29T19:17:13+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
|
156
156
|
http_version:
|
157
|
-
recorded_at:
|
157
|
+
recorded_at: Mon, 29 Apr 2019 09:17:14 GMT
|
158
158
|
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":"a564f3e9b12670dc3951fd3455fd076c","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:14 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.515855'
|
43
43
|
Pragma:
|
44
44
|
- no-cache
|
45
45
|
X-Request-Id:
|
46
|
-
-
|
46
|
+
- 224d195cc9ef97986b4f29e8
|
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-EU27FFEL","email":null,"reference":"a564f3e9b12670dc3951fd3455fd076c","first_name":"Harrold","last_name":"Humphries","created_at":"2019-04-29T19:17:14+10:00","address":{"address":"1
|
52
|
+
Harriet Road","city":"Kooliablin","state":"NSW","postcode":"2222","country":"Australia"},"card_token":"mmyu3guswiw6joe5ry1y","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:14 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-EU27FFEL","reference":"787206d7f5aa4e061a00f6dc1c096a34","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:15 GMT
|
79
79
|
Content-Type:
|
80
80
|
- application/json; charset=utf-8
|
81
81
|
Transfer-Encoding:
|
@@ -87,29 +87,29 @@ 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.269001'
|
93
93
|
Pragma:
|
94
94
|
- no-cache
|
95
95
|
X-Request-Id:
|
96
|
-
-
|
96
|
+
- f53f1ec1f8566822c4944519
|
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-LKIEJT23","customer":"071-C-EU27FFEL","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":"787206d7f5aa4e061a00f6dc1c096a34","description":null,"status":"Active","status_reason":"None","created_at":"2019-04-29T19:17:15+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[{"id":"071-PT-3JC4FJRC","payment_plan":"071-PP-LKIEJT23","reference":"787206d7f5aa4e061a00f6dc1c096a34-0001","amount":100,"currency":null,"scheduled_date":"2019-08-02","payment_method":"Credit
|
103
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-ZH1E5WWF","payment_plan":"071-PP-LKIEJT23","reference":"787206d7f5aa4e061a00f6dc1c096a34-0002","amount":100,"currency":null,"scheduled_date":"2019-08-09","payment_method":"Credit
|
104
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-GLPMW5QS","payment_plan":"071-PP-LKIEJT23","reference":"787206d7f5aa4e061a00f6dc1c096a34-0003","amount":100,"currency":null,"scheduled_date":"2019-08-16","payment_method":"Credit
|
105
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-PTUTY7TQ","payment_plan":"071-PP-LKIEJT23","reference":"787206d7f5aa4e061a00f6dc1c096a34-0004","amount":100,"currency":null,"scheduled_date":"2019-08-23","payment_method":"Credit
|
106
|
+
Card","status":"Scheduled","result":null,"records":[]},{"id":"071-PT-J8JEDBSS","payment_plan":"071-PP-LKIEJT23","reference":"787206d7f5aa4e061a00f6dc1c096a34-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:15 GMT
|
110
110
|
- request:
|
111
111
|
method: delete
|
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-LKIEJT23
|
113
113
|
body:
|
114
114
|
encoding: UTF-8
|
115
115
|
string: '{"test":true}'
|
@@ -128,7 +128,7 @@ http_interactions:
|
|
128
128
|
message: OK
|
129
129
|
headers:
|
130
130
|
Date:
|
131
|
-
-
|
131
|
+
- Mon, 29 Apr 2019 09:17:15 GMT
|
132
132
|
Content-Type:
|
133
133
|
- application/json; charset=utf-8
|
134
134
|
Transfer-Encoding:
|
@@ -140,19 +140,19 @@ http_interactions:
|
|
140
140
|
Cache-Control:
|
141
141
|
- no-store
|
142
142
|
X-Request-Version:
|
143
|
-
- 1.16.9-
|
143
|
+
- 1.16.9-3941@c1d8236
|
144
144
|
X-Runtime:
|
145
|
-
- '0.
|
145
|
+
- '0.164423'
|
146
146
|
Pragma:
|
147
147
|
- no-cache
|
148
148
|
X-Request-Id:
|
149
|
-
-
|
149
|
+
- 28b7c0f0adec9780337642b8
|
150
150
|
X-Backend:
|
151
151
|
- sbox-priv-gateway-a
|
152
152
|
body:
|
153
153
|
encoding: UTF-8
|
154
|
-
string: '{"successful":true,"response":{"id":"071-PP-
|
155
|
-
Card","reference":"
|
154
|
+
string: '{"successful":true,"response":{"id":"071-PP-LKIEJT23","customer":"071-C-EU27FFEL","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
|
155
|
+
Card","reference":"787206d7f5aa4e061a00f6dc1c096a34","description":null,"status":"Cancelled","status_reason":"Other","created_at":"2019-04-29T19:17:15+10:00","failed_payment_fee":0,"retry_interval":3,"status_change_date":null,"payments":[]},"errors":[],"test":true}'
|
156
156
|
http_version:
|
157
|
-
recorded_at:
|
157
|
+
recorded_at: Mon, 29 Apr 2019 09:17:15 GMT
|
158
158
|
recorded_with: VCR 3.0.3
|