fat_zebra 3.2.8 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -9
- data/fat_zebra.gemspec +9 -9
- data/lib/fat_zebra/api_resource.rb +0 -1
- data/lib/fat_zebra/object_helper.rb +2 -2
- data/lib/fat_zebra/request.rb +5 -9
- data/lib/fat_zebra/util.rb +3 -3
- data/lib/fat_zebra/utilities/apple_pay/domain.rb +23 -8
- data/lib/fat_zebra/validation.rb +1 -1
- data/lib/fat_zebra/version.rb +1 -2
- data/lib/fat_zebra.rb +0 -1
- metadata +20 -246
- data/.buildkite/pipeline.yml +0 -34
- data/.gitignore +0 -8
- data/.rspec +0 -0
- data/.rubocop.yml +0 -42
- data/.tool-versions +0 -1
- data/.travis.yml +0 -8
- data/Gemfile +0 -6
- data/Rakefile +0 -10
- data/spec/cassettes/FatZebra_Authenticate/_authenticate/validations/1_3_5_1.yml +0 -46
- data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_challenge_response/1_3_3_1.yml +0 -90
- data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_challenge_response/1_3_3_2.yml +0 -90
- data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_frictionless_response/1_3_2_1.yml +0 -90
- data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_frictionless_response/1_3_2_2.yml +0 -90
- data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_invalid_input/1_3_1_1.yml +0 -90
- data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_invalid_input/1_3_1_2.yml +0 -87
- data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_invalid_input/1_3_1_3.yml +0 -92
- data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_invalid_input/1_3_1_4.yml +0 -91
- data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_type_validation/1_3_4_1.yml +0 -46
- data/spec/cassettes/FatZebra_Authenticate/_decode_session/when_token_is_invalid/returns_error_when_invalid_token.yml +0 -47
- data/spec/cassettes/FatZebra_Authenticate/_decode_session/when_token_is_valid/decodes_JWT.yml +0 -87
- data/spec/cassettes/FatZebra_Authenticate/_session/returns_JWT_with_given_params.yml +0 -44
- data/spec/cassettes/FatZebra_Authenticate/_session/returns_JWT_with_no_amount.yml +0 -44
- data/spec/cassettes/FatZebra_Authenticate/_session/returns_error_when_amount_is_invalid.yml +0 -44
- data/spec/cassettes/FatZebra_Authenticate/_session/returns_error_when_currency_is_invalid.yml +0 -46
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_1.yml +0 -53
- data/spec/cassettes/FatZebra_BankAccount/_create/1_1_2.yml +0 -53
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_1.yml +0 -164
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_2.yml +0 -164
- data/spec/cassettes/FatZebra_BankAccount/_search/1_2_3.yml +0 -164
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_1.yml +0 -61
- data/spec/cassettes/FatZebra_Batch/_create/with_file/1_1_1_2.yml +0 -61
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_1.yml +0 -61
- data/spec/cassettes/FatZebra_Batch/_create/with_path/1_1_2_2.yml +0 -61
- data/spec/cassettes/FatZebra_Batch/_find/1_2_1.yml +0 -112
- data/spec/cassettes/FatZebra_Batch/_find/1_2_2.yml +0 -112
- data/spec/cassettes/FatZebra_Batch/_result/1_4_1.yml +0 -163
- data/spec/cassettes/FatZebra_Batch/_search/1_3_1.yml +0 -54
- data/spec/cassettes/FatZebra_Batch/_search/1_3_2.yml +0 -54
- data/spec/cassettes/FatZebra_Batch/_search/1_3_3.yml +0 -54
- data/spec/cassettes/FatZebra_Card/_create/1_1_1.yml +0 -54
- data/spec/cassettes/FatZebra_Card/_create/1_1_2.yml +0 -54
- data/spec/cassettes/FatZebra_Card/_create/1_1_3.yml +0 -54
- data/spec/cassettes/FatZebra_Card/_create/1_1_4.yml +0 -54
- data/spec/cassettes/FatZebra_Card/_create/1_1_5.yml +0 -54
- data/spec/cassettes/FatZebra_Card/_create/1_1_6.yml +0 -54
- data/spec/cassettes/FatZebra_Card/_find/1_3_1.yml +0 -111
- data/spec/cassettes/FatZebra_Card/_find/1_3_2.yml +0 -111
- data/spec/cassettes/FatZebra_Card/_update/1_2_1.yml +0 -105
- data/spec/cassettes/FatZebra_Card/_update/1_2_2.yml +0 -105
- data/spec/cassettes/FatZebra_Card/_update/1_2_3.yml +0 -105
- data/spec/cassettes/FatZebra_Card/_update/validations/1_2_4_1.yml +0 -54
- data/spec/cassettes/FatZebra_Customer/_create/1_1_1.yml +0 -55
- data/spec/cassettes/FatZebra_Customer/_create/1_1_2.yml +0 -55
- data/spec/cassettes/FatZebra_Customer/_create/1_1_3.yml +0 -55
- data/spec/cassettes/FatZebra_Customer/_create/1_1_4.yml +0 -55
- data/spec/cassettes/FatZebra_Customer/_create/1_1_5.yml +0 -55
- data/spec/cassettes/FatZebra_Customer/_create/1_1_6.yml +0 -55
- data/spec/cassettes/FatZebra_Customer/_delete/1_5_1.yml +0 -103
- data/spec/cassettes/FatZebra_Customer/_find/1_3_1.yml +0 -107
- data/spec/cassettes/FatZebra_Customer/_find/1_3_2.yml +0 -107
- data/spec/cassettes/FatZebra_Customer/_search/1_2_1.yml +0 -60
- data/spec/cassettes/FatZebra_Customer/_search/1_2_2.yml +0 -60
- data/spec/cassettes/FatZebra_Customer/_search/1_2_3.yml +0 -60
- data/spec/cassettes/FatZebra_Customer/_update/1_4_1.yml +0 -106
- data/spec/cassettes/FatZebra_Customer/_update/1_4_2.yml +0 -106
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_1.yml +0 -52
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_2.yml +0 -52
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_3.yml +0 -52
- data/spec/cassettes/FatZebra_DirectCredit/_create/1_1_4.yml +0 -52
- data/spec/cassettes/FatZebra_DirectCredit/_create/validations/valid/1_1_5_1_1.yml +0 -52
- data/spec/cassettes/FatZebra_DirectCredit/_delete/1_4_1.yml +0 -99
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_1.yml +0 -103
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_2.yml +0 -103
- data/spec/cassettes/FatZebra_DirectCredit/_find/1_2_3.yml +0 -103
- data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_1.yml +0 -152
- data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_2.yml +0 -152
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_1.yml +0 -52
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_2.yml +0 -52
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_3.yml +0 -52
- data/spec/cassettes/FatZebra_DirectDebit/_create/1_1_4.yml +0 -52
- data/spec/cassettes/FatZebra_DirectDebit/_create/validations/valid/1_1_5_1_1.yml +0 -52
- data/spec/cassettes/FatZebra_DirectDebit/_delete/1_4_1.yml +0 -99
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_1.yml +0 -103
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_2.yml +0 -103
- data/spec/cassettes/FatZebra_DirectDebit/_find/1_2_3.yml +0 -103
- data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_1.yml +0 -152
- data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_2.yml +0 -152
- data/spec/cassettes/FatZebra_Information/_ping/1_1_1.yml +0 -54
- data/spec/cassettes/FatZebra_Information/_ping/1_1_2.yml +0 -54
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_1.yml +0 -222
- data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_2.yml +0 -222
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_1.yml +0 -110
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_2.yml +0 -110
- data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_3.yml +0 -110
- data/spec/cassettes/FatZebra_PaymentPlan/_create/perpetual_subscription/1_1_4_1.yml +0 -183
- data/spec/cassettes/FatZebra_PaymentPlan/_create/perpetual_subscription/1_1_4_2.yml +0 -183
- data/spec/cassettes/FatZebra_PaymentPlan/_create/perpetual_subscription/1_1_4_3.yml +0 -183
- data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_1.yml +0 -158
- data/spec/cassettes/FatZebra_PaymentPlan/_destroy/1_6_1.yml +0 -158
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_1.yml +0 -167
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_2.yml +0 -167
- data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_3.yml +0 -167
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_1.yml +0 -166
- data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_2.yml +0 -166
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_1.yml +0 -160
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_2.yml +0 -160
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_3.yml +0 -160
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_1.yml +0 -166
- data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_2.yml +0 -166
- data/spec/cassettes/FatZebra_Paypal_Authorization/_capture/returns_a_new_capture_record.yml +0 -45
- data/spec/cassettes/FatZebra_Paypal_Authorization/_find/when_found/returns_authorization.yml +0 -46
- data/spec/cassettes/FatZebra_Paypal_Authorization/_search/with_date_filter/returns_records_created_after_start_date.yml +0 -46
- data/spec/cassettes/FatZebra_Paypal_Authorization/_void/returns_a_voided_capture_record.yml +0 -44
- data/spec/cassettes/FatZebra_Paypal_BillingAgreement/_charge/Valid_payload/returns_a_new_order_record.yml +0 -48
- data/spec/cassettes/FatZebra_Paypal_BillingAgreement/_find/when_found/returns_billing_agreement.yml +0 -48
- data/spec/cassettes/FatZebra_Paypal_BillingAgreement/_search/with_date_filter/returns_records_created_after_start_date.yml +0 -48
- data/spec/cassettes/FatZebra_Paypal_Capture/_find/when_found/returns_capture.yml +0 -47
- data/spec/cassettes/FatZebra_Paypal_Capture/_refund/returns_a_new_refund_record.yml +0 -45
- data/spec/cassettes/FatZebra_Paypal_Capture/_search/with_date_filter/returns_records_created_after_start_date.yml +0 -49
- data/spec/cassettes/FatZebra_Paypal_Order/_find/when_found/returns_order.yml +0 -48
- data/spec/cassettes/FatZebra_Paypal_Order/_search/with_date_filter/returns_orders_created_after_start_date.yml +0 -55
- data/spec/cassettes/FatZebra_Paypal_Refund/_find/when_found/returns_refund.yml +0 -47
- data/spec/cassettes/FatZebra_Paypal_Refund/_search/with_date_filter/returns_all_refund_records_created_after_start_date.yml +0 -50
- data/spec/cassettes/FatZebra_Purchase/_capture/1_5_1.yml +0 -115
- data/spec/cassettes/FatZebra_Purchase/_capture/1_5_2.yml +0 -115
- data/spec/cassettes/FatZebra_Purchase/_capture/1_5_3.yml +0 -115
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_1.yml +0 -53
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_10.yml +0 -53
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_11.yml +0 -53
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_12.yml +0 -53
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_13.yml +0 -53
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_2.yml +0 -53
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_3.yml +0 -53
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_4.yml +0 -53
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_5.yml +0 -53
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_6.yml +0 -53
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_7.yml +0 -53
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_8.yml +0 -53
- data/spec/cassettes/FatZebra_Purchase/_create/1_1_9.yml +0 -53
- data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_1.yml +0 -55
- data/spec/cassettes/FatZebra_Purchase/_create/bad_request/1_1_14_2.yml +0 -55
- data/spec/cassettes/FatZebra_Purchase/_extend_/1_9_1.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_extend_/1_9_2.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_extend_/1_9_3.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_1.yml +0 -117
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_2.yml +0 -117
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_3.yml +0 -117
- data/spec/cassettes/FatZebra_Purchase/_find/1_2_4.yml +0 -117
- data/spec/cassettes/FatZebra_Purchase/_increment/1_10_1.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_increment/1_10_2.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_increment/1_10_3.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_increment/1_10_4.yml +0 -109
- data/spec/cassettes/FatZebra_Purchase/_refund/1_4_1.yml +0 -115
- data/spec/cassettes/FatZebra_Purchase/_refund/1_4_2.yml +0 -115
- data/spec/cassettes/FatZebra_Purchase/_refund/1_4_3.yml +0 -115
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_1.yml +0 -164
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_2.yml +0 -164
- data/spec/cassettes/FatZebra_Purchase/_search/1_3_3.yml +0 -164
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_1.yml +0 -652
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_2.yml +0 -652
- data/spec/cassettes/FatZebra_Purchase/_settlement/1_8_3.yml +0 -652
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_1.yml +0 -103
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_2.yml +0 -103
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_3.yml +0 -103
- data/spec/cassettes/FatZebra_Purchase/_void/1_6_4.yml +0 -103
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_1.yml +0 -103
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_2.yml +0 -103
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_3.yml +0 -103
- data/spec/cassettes/FatZebra_Purchase/_void/1_7_4.yml +0 -103
- data/spec/cassettes/FatZebra_Refund/_create/1_1_1.yml +0 -103
- data/spec/cassettes/FatZebra_Refund/_create/1_1_10.yml +0 -103
- data/spec/cassettes/FatZebra_Refund/_create/1_1_2.yml +0 -103
- data/spec/cassettes/FatZebra_Refund/_create/1_1_3.yml +0 -103
- data/spec/cassettes/FatZebra_Refund/_create/1_1_4.yml +0 -103
- data/spec/cassettes/FatZebra_Refund/_create/1_1_5.yml +0 -103
- data/spec/cassettes/FatZebra_Refund/_create/1_1_6.yml +0 -103
- data/spec/cassettes/FatZebra_Refund/_create/1_1_7.yml +0 -103
- data/spec/cassettes/FatZebra_Refund/_create/1_1_8.yml +0 -103
- data/spec/cassettes/FatZebra_Refund/_create/1_1_9.yml +0 -103
- data/spec/cassettes/FatZebra_Refund/_find/1_2_1.yml +0 -155
- data/spec/cassettes/FatZebra_Refund/_find/1_2_2.yml +0 -155
- data/spec/cassettes/FatZebra_Refund/_find/1_2_3.yml +0 -155
- data/spec/cassettes/FatZebra_Refund/_search/responds_with_the_newly-created_refunds.yml +0 -214
- data/spec/cassettes/FatZebra_Refund/_void/1_4_1.yml +0 -153
- data/spec/cassettes/FatZebra_Refund/_void/1_4_2.yml +0 -153
- data/spec/cassettes/FatZebra_Refund/_void/1_4_3.yml +0 -153
- data/spec/cassettes/FatZebra_Refund/_void/1_4_4.yml +0 -153
- data/spec/cassettes/FatZebra_Utilities_ApplePay_Domain/_delete_/deletes_the_domain.yml +0 -52
- data/spec/cassettes/FatZebra_Utilities_ApplePay_Domain/_find_/fetches_the_domain.yml +0 -86
- data/spec/cassettes/FatZebra_Utilities_ApplePay_Domain/_list/fetches_the_merchant_domains.yml +0 -86
- data/spec/cassettes/FatZebra_Utilities_ApplePay_Domain/_register_/creates_the_domain.yml +0 -84
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_1.yml +0 -53
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_2.yml +0 -53
- data/spec/cassettes/FatZebra_WebHook/_create/1_1_3.yml +0 -53
- data/spec/cassettes/FatZebra_WebHook/_delete/1_4_1.yml +0 -101
- data/spec/cassettes/FatZebra_WebHook/_search/1_2_1.yml +0 -298
- data/spec/cassettes/FatZebra_WebHook/_search/1_2_2.yml +0 -300
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_1.yml +0 -104
- data/spec/cassettes/FatZebra_WebHook/_update/1_3_2.yml +0 -104
- data/spec/fixtures/batch_test.csv +0 -4
- data/spec/lib/fat_zebra/api_resource_spec.rb +0 -25
- data/spec/lib/fat_zebra/authenticate_spec.rb +0 -187
- data/spec/lib/fat_zebra/bank_account_spec.rb +0 -34
- data/spec/lib/fat_zebra/batch_spec.rb +0 -59
- data/spec/lib/fat_zebra/card_spec.rb +0 -49
- data/spec/lib/fat_zebra/config_spec.rb +0 -69
- data/spec/lib/fat_zebra/customer_spec.rb +0 -53
- data/spec/lib/fat_zebra/direct_credit_spec.rb +0 -74
- data/spec/lib/fat_zebra/direct_debit_spec.rb +0 -74
- data/spec/lib/fat_zebra/fat_zebra_object_spec.rb +0 -117
- data/spec/lib/fat_zebra/information_spec.rb +0 -13
- data/spec/lib/fat_zebra/payment_plan_spec.rb +0 -117
- data/spec/lib/fat_zebra/paypal/authorization_spec.rb +0 -79
- data/spec/lib/fat_zebra/paypal/billing_agreement_spec.rb +0 -62
- data/spec/lib/fat_zebra/paypal/capture_spec.rb +0 -60
- data/spec/lib/fat_zebra/paypal/order_spec.rb +0 -35
- data/spec/lib/fat_zebra/paypal/refund_spec.rb +0 -36
- data/spec/lib/fat_zebra/purchase_spec.rb +0 -123
- data/spec/lib/fat_zebra/refund_spec.rb +0 -95
- data/spec/lib/fat_zebra/request_spec.rb +0 -59
- data/spec/lib/fat_zebra/util_spec.rb +0 -29
- data/spec/lib/fat_zebra/utilities/apple_pay/domain_spec.rb +0 -60
- data/spec/lib/fat_zebra/validation_spec.rb +0 -22
- data/spec/lib/fat_zebra/web_hook_spec.rb +0 -50
- data/spec/spec_helper.rb +0 -53
- data/spec/support/payloads.rb +0 -178
- data/vendor/cacert.pem +0 -3390
@@ -1,48 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0//paypal/orders/071-PPO-U7RRMGM3OY3V2ZMN?test=true
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- application/json
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
Host:
|
17
|
-
- gateway.sandbox.fatzebra.com.au
|
18
|
-
Authorization:
|
19
|
-
- Basic VEVTVDpURVNU
|
20
|
-
Content-Type:
|
21
|
-
- application/json
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 200
|
25
|
-
message: OK
|
26
|
-
headers:
|
27
|
-
Cache-Control:
|
28
|
-
- no-store
|
29
|
-
Pragma:
|
30
|
-
- no-cache
|
31
|
-
Content-Type:
|
32
|
-
- application/json; charset=utf-8
|
33
|
-
X-Request-Version:
|
34
|
-
- 1.21.8
|
35
|
-
X-Request-Id:
|
36
|
-
- 3b84871376becb04242c5c5eed2befcb
|
37
|
-
X-Runtime:
|
38
|
-
- '0.037029'
|
39
|
-
Transfer-Encoding:
|
40
|
-
- chunked
|
41
|
-
body:
|
42
|
-
encoding: UTF-8
|
43
|
-
string: '{"successful":true,"response":{"id":"071-PPO-U7RRMGM3OY3V2ZMN","reference":"ref_12345_771673","amount":11900,"decimal_amount":119.0,"successful":true,"message":"Approved","currency":"AUD","transaction_id":"071-PPO-U7RRMGM3OY3V2ZMN","transaction_date":"2020-08-06T23:19:37+10:00","intent":"CAPTURE","paypal_reference":"ref_12345_771673","invoice_id":"ref_12345_771673","status":"COMPLETED","authorized_amount":0.0,"captured_amount":120.0,"refunded_amount":1.0,"authorizations":[],"captures":[{"id":"071-PPC-TUOHT8YJHBY7SBJU","amount":12000,"decimal_amount":120.0,"captured_amount":12000,"successful":true,"message":"Approved","reference":"ref_12345_771673","captured":true,"currency":"AUD","transaction_id":"071-PPC-TUOHT8YJHBY7SBJU","transaction_date":"2020-08-06T23:19:37+10:00","response_code":"00","invoice_id":"ref_12345_771673","paypal_fee":318,"seller_receivable_net_amount":11682,"note_to_payer":"Sporting
|
44
|
-
Goods","is_final_capture":true,"refunded_amount":100,"balance_available_for_refund":11900,"order":"071-PPO-U7RRMGM3OY3V2ZMN"}],"refunds":[{"id":"071-PPR-SRR9FP7ZKXT9IXU3","amount":100,"refunded":"Approved","message":"Approved","transaction_id":"071-PPR-SRR9FP7ZKXT9IXU3","currency":"AUD","successful":true,"transaction_date":"2020-08-06T23:26:56+10:00","response_code":"00","standalone":false,"note_to_payer":"test
|
45
|
-
note","invoice_id":"071-PPR-SRR9FP7ZKXT9IXU3","decimal_amount":1.0,"paypal_fee":2,"seller_payable_net_amount":98,"balance_available_for_refund":11900,"capture":"071-PPC-TUOHT8YJHBY7SBJU","order":"071-PPO-U7RRMGM3OY3V2ZMN"}],"payer":{"id":"CV5LBGRHGTXHY","email":"sb-qxxvi1315481@personal.example.com","address":{"country_code":"AU"}},"payee":{"id":"GE53HS375QX4J","email":"test-seller@example.com"}},"errors":[],"test":true}'
|
46
|
-
http_version:
|
47
|
-
recorded_at: Fri, 07 Aug 2020 00:03:08 GMT
|
48
|
-
recorded_with: VCR 3.0.3
|
@@ -1,55 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0//paypal/orders?from=2020/08/05&limit=10&offset=0&test=true
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- application/json
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
Host:
|
17
|
-
- gateway.sandbox.fatzebra.com.au
|
18
|
-
Authorization:
|
19
|
-
- Basic VEVTVDpURVNU
|
20
|
-
Content-Type:
|
21
|
-
- application/json
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 200
|
25
|
-
message: OK
|
26
|
-
headers:
|
27
|
-
Cache-Control:
|
28
|
-
- no-store
|
29
|
-
Pragma:
|
30
|
-
- no-cache
|
31
|
-
Content-Type:
|
32
|
-
- application/json; charset=utf-8
|
33
|
-
X-Request-Version:
|
34
|
-
- 1.21.8
|
35
|
-
X-Request-Id:
|
36
|
-
- bc019811b9c6e7d6522c2fd383a7d12c
|
37
|
-
X-Runtime:
|
38
|
-
- '0.141446'
|
39
|
-
Transfer-Encoding:
|
40
|
-
- chunked
|
41
|
-
body:
|
42
|
-
encoding: UTF-8
|
43
|
-
string: '{"successful":true,"response":[{"id":"071-PPO-RXFR2E6ILCIE6HKI","reference":"82a8bc984e1dda3d10780a1c10eb5cb4","amount":0,"decimal_amount":0.0,"successful":true,"message":"Approved","currency":"AUD","transaction_id":"071-PPO-RXFR2E6ILCIE6HKI","transaction_date":"2020-08-05T06:27:55+10:00","intent":"CAPTURE","paypal_reference":"82a8bc984e1dda3d10780a1c10eb5cb4","invoice_id":"82a8bc984e1dda3d10780a1c10eb5cb4","status":"COMPLETED","authorized_amount":0.0,"captured_amount":110.0,"refunded_amount":110.0,"authorizations":[],"captures":[{"id":"071-PPC-JUNNKEGCHIOL1CFR","amount":11000,"decimal_amount":110.0,"captured_amount":11000,"successful":true,"message":"Approved","reference":"82a8bc984e1dda3d10780a1c10eb5cb4","captured":true,"currency":"AUD","transaction_id":"071-PPC-JUNNKEGCHIOL1CFR","transaction_date":"2020-08-05T06:27:55+10:00","response_code":"00","invoice_id":"82a8bc984e1dda3d10780a1c10eb5cb4","paypal_fee":294,"seller_receivable_net_amount":10706,"note_to_payer":"Sporting
|
44
|
-
Goods","is_final_capture":true,"refunded_amount":11000,"balance_available_for_refund":0,"order":"071-PPO-RXFR2E6ILCIE6HKI"}],"refunds":[{"id":"071-PPR-7BIDZCFHPCCBUSJH","amount":100,"refunded":"Approved","message":"Approved","transaction_id":"071-PPR-7BIDZCFHPCCBUSJH","currency":"AUD","successful":true,"transaction_date":"2020-08-05T11:24:24+10:00","response_code":"00","standalone":false,"note_to_payer":"refund
|
45
|
-
the rest","invoice_id":"071-PPR-7BIDZCFHPCCBUSJH","decimal_amount":1.0,"paypal_fee":2,"seller_payable_net_amount":98,"balance_available_for_refund":0,"capture":"071-PPC-JUNNKEGCHIOL1CFR","order":"071-PPO-RXFR2E6ILCIE6HKI"},{"id":"071-PPR-10HDHDI4QRHVDOGV","amount":10900,"refunded":"Approved","message":"Approved","transaction_id":"071-PPR-10HDHDI4QRHVDOGV","currency":"AUD","successful":true,"transaction_date":"2020-08-05T16:54:15+10:00","response_code":"00","standalone":false,"invoice_id":"071-PPR-10HDHDI4QRHVDOGV","decimal_amount":109.0,"paypal_fee":262,"seller_payable_net_amount":10638,"balance_available_for_refund":0,"capture":"071-PPC-JUNNKEGCHIOL1CFR","order":"071-PPO-RXFR2E6ILCIE6HKI"}],"payer":{"id":"CV5LBGRHGTXHY","email":"sb-qxxvi1315481@personal.example.com","address":{"country_code":"AU"}},"payee":{"id":"GE53HS375QX4J","email":"test-seller@example.com"}},{"id":"071-PPO-5ICGTHBIMG9T7D4I","reference":"f551972b-e61e-4403-bab1-dc2cdc99c7ff","amount":0,"decimal_amount":0.0,"successful":true,"message":"Approved","currency":"AUD","transaction_id":"071-PPO-5ICGTHBIMG9T7D4I","transaction_date":"2020-08-05T10:38:47+10:00","intent":"CAPTURE","paypal_reference":"f551972b-e61e-4403-bab1-dc2cdc99c7ff","invoice_id":"f551972b-e61e-4403-bab1-dc2cdc99c7ff","billing_agreement_token":"pb-dba1bbi7chtnpdrj2hbo","status":"COMPLETED","payment_source":"BILLING_AGREEMENT","authorized_amount":0.0,"captured_amount":11.0,"refunded_amount":11.0,"authorizations":[],"captures":[{"id":"071-PPC-RBJV9SSA7PWXVXFB","amount":1100,"decimal_amount":11.0,"captured_amount":1100,"successful":true,"message":"Approved","reference":"f551972b-e61e-4403-bab1-dc2cdc99c7ff","captured":true,"currency":"AUD","transaction_id":"071-PPC-RBJV9SSA7PWXVXFB","transaction_date":"2020-08-05T10:38:47+10:00","response_code":"00","invoice_id":"f551972b-e61e-4403-bab1-dc2cdc99c7ff","paypal_fee":56,"seller_receivable_net_amount":1044,"note_to_payer":"Sporting
|
46
|
-
Goods","is_final_capture":true,"refunded_amount":1100,"balance_available_for_refund":0,"order":"071-PPO-5ICGTHBIMG9T7D4I"}],"refunds":[{"id":"071-PPR-6FOW2YDJYBPSDBNB","amount":100,"refunded":"Approved","message":"Approved","transaction_id":"071-PPR-6FOW2YDJYBPSDBNB","currency":"AUD","successful":true,"transaction_date":"2020-08-05T10:40:07+10:00","response_code":"00","standalone":false,"note_to_payer":"refund
|
47
|
-
billing agreement","invoice_id":"071-PPR-6FOW2YDJYBPSDBNB","decimal_amount":1.0,"paypal_fee":2,"seller_payable_net_amount":98,"balance_available_for_refund":0,"capture":"071-PPC-RBJV9SSA7PWXVXFB","order":"071-PPO-5ICGTHBIMG9T7D4I"},{"id":"071-PPR-WXEAYHCGZY7DJYZ2","amount":1000,"refunded":"Approved","message":"Approved","transaction_id":"071-PPR-WXEAYHCGZY7DJYZ2","currency":"AUD","successful":true,"transaction_date":"2020-08-05T10:46:21+10:00","response_code":"00","standalone":false,"note_to_payer":"refund
|
48
|
-
the rest","invoice_id":"071-PPR-WXEAYHCGZY7DJYZ2","decimal_amount":10.0,"paypal_fee":24,"seller_payable_net_amount":976,"balance_available_for_refund":0,"capture":"071-PPC-RBJV9SSA7PWXVXFB","order":"071-PPO-5ICGTHBIMG9T7D4I"}],"payer":{"id":"CV5LBGRHGTXHY","email":"sb-qxxvi1315481@personal.example.com","address":{"country_code":"AU"}},"payee":{"id":"GE53HS375QX4J","email":"test-seller@example.com"}},{"id":"071-PPO-U7RRMGM3OY3V2ZMN","reference":"ref_12345_771673","amount":11900,"decimal_amount":119.0,"successful":true,"message":"Approved","currency":"AUD","transaction_id":"071-PPO-U7RRMGM3OY3V2ZMN","transaction_date":"2020-08-06T23:19:37+10:00","intent":"CAPTURE","paypal_reference":"ref_12345_771673","invoice_id":"ref_12345_771673","status":"COMPLETED","authorized_amount":0.0,"captured_amount":120.0,"refunded_amount":1.0,"authorizations":[],"captures":[{"id":"071-PPC-TUOHT8YJHBY7SBJU","amount":12000,"decimal_amount":120.0,"captured_amount":12000,"successful":true,"message":"Approved","reference":"ref_12345_771673","captured":true,"currency":"AUD","transaction_id":"071-PPC-TUOHT8YJHBY7SBJU","transaction_date":"2020-08-06T23:19:37+10:00","response_code":"00","invoice_id":"ref_12345_771673","paypal_fee":318,"seller_receivable_net_amount":11682,"note_to_payer":"Sporting
|
49
|
-
Goods","is_final_capture":true,"refunded_amount":100,"balance_available_for_refund":11900,"order":"071-PPO-U7RRMGM3OY3V2ZMN"}],"refunds":[{"id":"071-PPR-SRR9FP7ZKXT9IXU3","amount":100,"refunded":"Approved","message":"Approved","transaction_id":"071-PPR-SRR9FP7ZKXT9IXU3","currency":"AUD","successful":true,"transaction_date":"2020-08-06T23:26:56+10:00","response_code":"00","standalone":false,"note_to_payer":"test
|
50
|
-
note","invoice_id":"071-PPR-SRR9FP7ZKXT9IXU3","decimal_amount":1.0,"paypal_fee":2,"seller_payable_net_amount":98,"balance_available_for_refund":11900,"capture":"071-PPC-TUOHT8YJHBY7SBJU","order":"071-PPO-U7RRMGM3OY3V2ZMN"}],"payer":{"id":"CV5LBGRHGTXHY","email":"sb-qxxvi1315481@personal.example.com","address":{"country_code":"AU"}},"payee":{"id":"GE53HS375QX4J","email":"test-seller@example.com"}},{"id":"071-PPO-QMNDDIFZMCX0LA0G","reference":"ref_12345_420768","amount":200,"decimal_amount":2.0,"successful":true,"message":"Approved","currency":"AUD","transaction_id":"071-PPO-QMNDDIFZMCX0LA0G","transaction_date":"2020-08-06T23:17:27+10:00","intent":"AUTHORIZE","paypal_reference":"ref_12345_420768","invoice_id":"ref_12345_420768","status":"COMPLETED","authorized_amount":120.0,"captured_amount":2.0,"refunded_amount":0.0,"authorizations":[{"id":"071-PPA-3AM3CXFFKMFYI3QM","amount":12000,"decimal_amount":120.0,"captured_amount":200,"successful":true,"captured":false,"currency":"AUD","transaction_id":"071-PPA-3AM3CXFFKMFYI3QM","transaction_date":"2020-08-06T23:17:27+10:00","message":"Approved","response_code":"00","reference":"ref_12345_420768","refunded_amount":0,"balance_available_for_capture":13600,"order":"071-PPO-QMNDDIFZMCX0LA0G"}],"captures":[{"id":"071-PPC-J78XU85CJEZWO1GM","amount":200,"decimal_amount":2.0,"captured_amount":200,"successful":true,"message":"Approved","reference":"ref_12345_420768","captured":true,"currency":"AUD","transaction_id":"071-PPC-J78XU85CJEZWO1GM","transaction_date":"2020-08-06T23:39:51+10:00","response_code":"00","invoice_id":"071-PPC-J78XU85CJEZWO1GM","paypal_fee":35,"seller_receivable_net_amount":165,"note_to_payer":"test
|
51
|
-
capture $2","is_final_capture":false,"refunded_amount":0,"balance_available_for_refund":200,"balance_available_for_capture":13600,"authorization":"071-PPA-3AM3CXFFKMFYI3QM","order":"071-PPO-QMNDDIFZMCX0LA0G"}],"refunds":[],"payer":{"id":"CV5LBGRHGTXHY","email":"sb-qxxvi1315481@personal.example.com","address":{"country_code":"AU"}},"payee":{"id":"GE53HS375QX4J","email":"test-seller@example.com"}},{"id":"071-PPO-TKJOIWAQBL0FUXIY","reference":"ref_12345_108143","amount":12000,"decimal_amount":120.0,"successful":true,"message":"Approved","currency":"AUD","transaction_id":"071-PPO-TKJOIWAQBL0FUXIY","transaction_date":"2020-08-06T23:40:58+10:00","intent":"AUTHORIZE","paypal_reference":"ref_12345_108143","invoice_id":"ref_12345_108143","status":"COMPLETED","authorized_amount":120.0,"captured_amount":120.0,"refunded_amount":0.0,"authorizations":[{"id":"071-PPA-QPIVKACDAHBNH3LO","amount":12000,"decimal_amount":120.0,"captured_amount":12000,"successful":true,"captured":true,"currency":"AUD","transaction_id":"071-PPA-QPIVKACDAHBNH3LO","transaction_date":"2020-08-06T23:40:58+10:00","message":"Approved","response_code":"00","reference":"ref_12345_108143","refunded_amount":0,"balance_available_for_capture":0,"order":"071-PPO-TKJOIWAQBL0FUXIY"}],"captures":[{"id":"071-PPC-CJEJFDYDGVANRLT2","amount":12000,"decimal_amount":120.0,"captured_amount":12000,"successful":true,"message":"Approved","reference":"ref_12345_108143","captured":true,"currency":"AUD","transaction_id":"071-PPC-CJEJFDYDGVANRLT2","transaction_date":"2020-08-06T23:53:12+10:00","response_code":"00","invoice_id":"071-PPC-CJEJFDYDGVANRLT2","paypal_fee":318,"seller_receivable_net_amount":12000,"is_final_capture":true,"refunded_amount":0,"balance_available_for_refund":12000,"balance_available_for_capture":0,"authorization":"071-PPA-QPIVKACDAHBNH3LO","order":"071-PPO-TKJOIWAQBL0FUXIY"}],"refunds":[],"payer":{"id":"CV5LBGRHGTXHY","email":"sb-qxxvi1315481@personal.example.com","address":{"country_code":"AU"}},"payee":{"id":"GE53HS375QX4J","email":"test-seller@example.com"}},{"id":"071-PPO-9RTUTZIBA391BSDD","reference":"ref_12345_730288","amount":12000,"decimal_amount":120.0,"successful":true,"message":"Approved","currency":"AUD","transaction_id":"071-PPO-9RTUTZIBA391BSDD","transaction_date":"2020-08-06T23:59:05+10:00","intent":"AUTHORIZE","paypal_reference":"ref_12345_730288","invoice_id":"ref_12345_730288","status":"COMPLETED","authorized_amount":120.0,"captured_amount":0.0,"refunded_amount":0.0,"authorizations":[{"id":"071-PPA-SBABZAXAMF38JQMP","amount":12000,"decimal_amount":120.0,"captured_amount":0,"successful":true,"captured":false,"currency":"AUD","transaction_id":"071-PPA-SBABZAXAMF38JQMP","transaction_date":"2020-08-06T23:59:05+10:00","message":"Approved","response_code":"00","reference":"ref_12345_730288","refunded_amount":0,"balance_available_for_capture":0,"order":"071-PPO-9RTUTZIBA391BSDD"}],"captures":[],"refunds":[],"payer":{"id":"CV5LBGRHGTXHY","email":"sb-qxxvi1315481@personal.example.com","address":{"country_code":"AU"}},"payee":{"id":"GE53HS375QX4J","email":"test-seller@example.com"}},{"id":"071-PPO-AQT7Z9AXY48KUSQA","reference":"d71cb7a9-ff8b-4206-9800-91c01eb2dfba","amount":1100,"decimal_amount":11.0,"successful":true,"message":"Approved","currency":"AUD","transaction_id":"071-PPO-AQT7Z9AXY48KUSQA","transaction_date":"2020-08-07T09:51:21+10:00","intent":"CAPTURE","paypal_reference":"d71cb7a9-ff8b-4206-9800-91c01eb2dfba","invoice_id":"d71cb7a9-ff8b-4206-9800-91c01eb2dfba","billing_agreement_id":"071-PBA-PYG1L6M4CV4DYHTZ","status":"COMPLETED","payment_source":"BILLING_AGREEMENT","authorized_amount":0.0,"captured_amount":11.0,"refunded_amount":0.0,"authorizations":[],"captures":[{"id":"071-PPC-XNH6TBLSBKY36TXA","amount":1100,"decimal_amount":11.0,"captured_amount":1100,"successful":true,"message":"Approved","reference":"d71cb7a9-ff8b-4206-9800-91c01eb2dfba","captured":true,"currency":"AUD","transaction_id":"071-PPC-XNH6TBLSBKY36TXA","transaction_date":"2020-08-07T09:51:21+10:00","response_code":"00","invoice_id":"d71cb7a9-ff8b-4206-9800-91c01eb2dfba","paypal_fee":56,"seller_receivable_net_amount":1044,"note_to_payer":"Sporting
|
52
|
-
Goods","is_final_capture":true,"refunded_amount":0,"balance_available_for_refund":1100,"order":"071-PPO-AQT7Z9AXY48KUSQA"}],"refunds":[],"payer":{"id":"CV5LBGRHGTXHY","email":"sb-qxxvi1315481@personal.example.com","address":{"country_code":"AU"}},"payee":{"id":"GE53HS375QX4J","email":"test-seller@example.com"}}],"errors":[],"test":true,"records":7,"total_records":7,"page":1,"total_pages":1}'
|
53
|
-
http_version:
|
54
|
-
recorded_at: Fri, 07 Aug 2020 00:03:08 GMT
|
55
|
-
recorded_with: VCR 3.0.3
|
@@ -1,47 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0//paypal/refunds/071-PPR-SRR9FP7ZKXT9IXU3?test=true
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- application/json
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
Host:
|
17
|
-
- gateway.sandbox.fatzebra.com.au
|
18
|
-
Authorization:
|
19
|
-
- Basic VEVTVDpURVNU
|
20
|
-
Content-Type:
|
21
|
-
- application/json
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 200
|
25
|
-
message: OK
|
26
|
-
headers:
|
27
|
-
Cache-Control:
|
28
|
-
- no-store
|
29
|
-
Pragma:
|
30
|
-
- no-cache
|
31
|
-
Content-Type:
|
32
|
-
- application/json; charset=utf-8
|
33
|
-
X-Request-Version:
|
34
|
-
- 1.21.8
|
35
|
-
X-Request-Id:
|
36
|
-
- 81ed057ef02e3ab46dab74f50b58e581
|
37
|
-
X-Runtime:
|
38
|
-
- '0.060300'
|
39
|
-
Transfer-Encoding:
|
40
|
-
- chunked
|
41
|
-
body:
|
42
|
-
encoding: UTF-8
|
43
|
-
string: '{"successful":true,"response":{"id":"071-PPR-SRR9FP7ZKXT9IXU3","amount":100,"refunded":"Approved","message":"Approved","transaction_id":"071-PPR-SRR9FP7ZKXT9IXU3","currency":"AUD","successful":true,"transaction_date":"2020-08-06T23:26:56+10:00","response_code":"00","standalone":false,"note_to_payer":"test
|
44
|
-
note","invoice_id":"071-PPR-SRR9FP7ZKXT9IXU3","decimal_amount":1.0,"paypal_fee":2,"seller_payable_net_amount":98,"balance_available_for_refund":11900,"capture":"071-PPC-TUOHT8YJHBY7SBJU","order":"071-PPO-U7RRMGM3OY3V2ZMN"},"errors":[],"test":true}'
|
45
|
-
http_version:
|
46
|
-
recorded_at: Fri, 07 Aug 2020 00:03:14 GMT
|
47
|
-
recorded_with: VCR 3.0.3
|
@@ -1,50 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: get
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0//paypal/refunds?from=2020/08/05&limit=10&offset=0&test=true
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- application/json
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
Host:
|
17
|
-
- gateway.sandbox.fatzebra.com.au
|
18
|
-
Authorization:
|
19
|
-
- Basic VEVTVDpURVNU
|
20
|
-
Content-Type:
|
21
|
-
- application/json
|
22
|
-
response:
|
23
|
-
status:
|
24
|
-
code: 200
|
25
|
-
message: OK
|
26
|
-
headers:
|
27
|
-
Cache-Control:
|
28
|
-
- no-store
|
29
|
-
Pragma:
|
30
|
-
- no-cache
|
31
|
-
Content-Type:
|
32
|
-
- application/json; charset=utf-8
|
33
|
-
X-Request-Version:
|
34
|
-
- 1.21.8
|
35
|
-
X-Request-Id:
|
36
|
-
- f9e0e746bb7c4611132605c0fefbd352
|
37
|
-
X-Runtime:
|
38
|
-
- '0.086558'
|
39
|
-
Transfer-Encoding:
|
40
|
-
- chunked
|
41
|
-
body:
|
42
|
-
encoding: UTF-8
|
43
|
-
string: '{"successful":true,"response":[{"id":"071-PPR-SRR9FP7ZKXT9IXU3","amount":100,"refunded":"Approved","message":"Approved","transaction_id":"071-PPR-SRR9FP7ZKXT9IXU3","currency":"AUD","successful":true,"transaction_date":"2020-08-06T23:26:56+10:00","response_code":"00","standalone":false,"note_to_payer":"test
|
44
|
-
note","invoice_id":"071-PPR-SRR9FP7ZKXT9IXU3","decimal_amount":1.0,"paypal_fee":2,"seller_payable_net_amount":98,"balance_available_for_refund":11900,"capture":"071-PPC-TUOHT8YJHBY7SBJU","order":"071-PPO-U7RRMGM3OY3V2ZMN"},{"id":"071-PPR-10HDHDI4QRHVDOGV","amount":10900,"refunded":"Approved","message":"Approved","transaction_id":"071-PPR-10HDHDI4QRHVDOGV","currency":"AUD","successful":true,"transaction_date":"2020-08-05T16:54:15+10:00","response_code":"00","standalone":false,"invoice_id":"071-PPR-10HDHDI4QRHVDOGV","decimal_amount":109.0,"paypal_fee":262,"seller_payable_net_amount":10638,"balance_available_for_refund":0,"capture":"071-PPC-JUNNKEGCHIOL1CFR","order":"071-PPO-RXFR2E6ILCIE6HKI"},{"id":"071-PPR-7BIDZCFHPCCBUSJH","amount":100,"refunded":"Approved","message":"Approved","transaction_id":"071-PPR-7BIDZCFHPCCBUSJH","currency":"AUD","successful":true,"transaction_date":"2020-08-05T11:24:24+10:00","response_code":"00","standalone":false,"note_to_payer":"refund
|
45
|
-
the rest","invoice_id":"071-PPR-7BIDZCFHPCCBUSJH","decimal_amount":1.0,"paypal_fee":2,"seller_payable_net_amount":98,"balance_available_for_refund":0,"capture":"071-PPC-JUNNKEGCHIOL1CFR","order":"071-PPO-RXFR2E6ILCIE6HKI"},{"id":"071-PPR-WXEAYHCGZY7DJYZ2","amount":1000,"refunded":"Approved","message":"Approved","transaction_id":"071-PPR-WXEAYHCGZY7DJYZ2","currency":"AUD","successful":true,"transaction_date":"2020-08-05T10:46:21+10:00","response_code":"00","standalone":false,"note_to_payer":"refund
|
46
|
-
the rest","invoice_id":"071-PPR-WXEAYHCGZY7DJYZ2","decimal_amount":10.0,"paypal_fee":24,"seller_payable_net_amount":976,"balance_available_for_refund":0,"capture":"071-PPC-RBJV9SSA7PWXVXFB","order":"071-PPO-5ICGTHBIMG9T7D4I"},{"id":"071-PPR-6FOW2YDJYBPSDBNB","amount":100,"refunded":"Approved","message":"Approved","transaction_id":"071-PPR-6FOW2YDJYBPSDBNB","currency":"AUD","successful":true,"transaction_date":"2020-08-05T10:40:07+10:00","response_code":"00","standalone":false,"note_to_payer":"refund
|
47
|
-
billing agreement","invoice_id":"071-PPR-6FOW2YDJYBPSDBNB","decimal_amount":1.0,"paypal_fee":2,"seller_payable_net_amount":98,"balance_available_for_refund":0,"capture":"071-PPC-RBJV9SSA7PWXVXFB","order":"071-PPO-5ICGTHBIMG9T7D4I"}],"errors":[],"test":true,"records":5,"total_records":5,"page":1,"total_pages":1}'
|
48
|
-
http_version:
|
49
|
-
recorded_at: Fri, 07 Aug 2020 00:03:14 GMT
|
50
|
-
recorded_with: VCR 3.0.3
|
@@ -1,115 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"4a395a60de25bccd8ee9f884178b2e4f","customer_ip":"1.2.3.4","capture":false,"currency":"AUD","test":true}'
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- application/json
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
Authorization:
|
17
|
-
- Basic VEVTVDpURVNU
|
18
|
-
Content-Type:
|
19
|
-
- application/json
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Tue, 08 May 2018 11:07:31 GMT
|
27
|
-
Content-Type:
|
28
|
-
- application/json; charset=utf-8
|
29
|
-
Transfer-Encoding:
|
30
|
-
- chunked
|
31
|
-
Connection:
|
32
|
-
- keep-alive
|
33
|
-
Status:
|
34
|
-
- 200 OK
|
35
|
-
Cache-Control:
|
36
|
-
- no-store
|
37
|
-
X-Request-Version:
|
38
|
-
- 1.16.9-3186@7b619da
|
39
|
-
Pragma:
|
40
|
-
- no-cache
|
41
|
-
X-Xss-Protection:
|
42
|
-
- 1; mode=block
|
43
|
-
X-Request-Id:
|
44
|
-
- 27efad845a3e26a69c2ec666
|
45
|
-
X-Runtime:
|
46
|
-
- '0.553949'
|
47
|
-
X-Frame-Options:
|
48
|
-
- SAMEORIGIN
|
49
|
-
X-Content-Type-Options:
|
50
|
-
- nosniff
|
51
|
-
X-Backend:
|
52
|
-
- sbox-priv-gateway-a
|
53
|
-
body:
|
54
|
-
encoding: UTF-8
|
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}'
|
57
|
-
http_version:
|
58
|
-
recorded_at: Tue, 08 May 2018 11:07:31 GMT
|
59
|
-
- request:
|
60
|
-
method: post
|
61
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/071-P-OLIA44E1/capture
|
62
|
-
body:
|
63
|
-
encoding: UTF-8
|
64
|
-
string: '{"amount":10000,"test":true}'
|
65
|
-
headers:
|
66
|
-
Accept-Encoding:
|
67
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
68
|
-
Accept:
|
69
|
-
- application/json
|
70
|
-
User-Agent:
|
71
|
-
- Ruby
|
72
|
-
Authorization:
|
73
|
-
- Basic VEVTVDpURVNU
|
74
|
-
Content-Type:
|
75
|
-
- application/json
|
76
|
-
response:
|
77
|
-
status:
|
78
|
-
code: 200
|
79
|
-
message: OK
|
80
|
-
headers:
|
81
|
-
Date:
|
82
|
-
- Tue, 08 May 2018 11:07:31 GMT
|
83
|
-
Content-Type:
|
84
|
-
- application/json; charset=utf-8
|
85
|
-
Transfer-Encoding:
|
86
|
-
- chunked
|
87
|
-
Connection:
|
88
|
-
- keep-alive
|
89
|
-
Status:
|
90
|
-
- 200 OK
|
91
|
-
Cache-Control:
|
92
|
-
- no-store
|
93
|
-
X-Request-Version:
|
94
|
-
- 1.16.9-3186@7b619da
|
95
|
-
Pragma:
|
96
|
-
- no-cache
|
97
|
-
X-Xss-Protection:
|
98
|
-
- 1; mode=block
|
99
|
-
X-Request-Id:
|
100
|
-
- fb53c099ca52835396a29bdb
|
101
|
-
X-Runtime:
|
102
|
-
- '0.076073'
|
103
|
-
X-Frame-Options:
|
104
|
-
- SAMEORIGIN
|
105
|
-
X-Content-Type-Options:
|
106
|
-
- nosniff
|
107
|
-
X-Backend:
|
108
|
-
- sbox-priv-gateway-a
|
109
|
-
body:
|
110
|
-
encoding: UTF-8
|
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}'
|
113
|
-
http_version:
|
114
|
-
recorded_at: Tue, 08 May 2018 11:07:31 GMT
|
115
|
-
recorded_with: VCR 3.0.3
|
@@ -1,115 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"a2f6c6bca64464346c963aca68d240d7","customer_ip":"1.2.3.4","capture":false,"currency":"AUD","test":true}'
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- application/json
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
Authorization:
|
17
|
-
- Basic VEVTVDpURVNU
|
18
|
-
Content-Type:
|
19
|
-
- application/json
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Tue, 08 May 2018 11:07:32 GMT
|
27
|
-
Content-Type:
|
28
|
-
- application/json; charset=utf-8
|
29
|
-
Transfer-Encoding:
|
30
|
-
- chunked
|
31
|
-
Connection:
|
32
|
-
- keep-alive
|
33
|
-
Status:
|
34
|
-
- 200 OK
|
35
|
-
Cache-Control:
|
36
|
-
- no-store
|
37
|
-
X-Request-Version:
|
38
|
-
- 1.16.9-3186@7b619da
|
39
|
-
Pragma:
|
40
|
-
- no-cache
|
41
|
-
X-Xss-Protection:
|
42
|
-
- 1; mode=block
|
43
|
-
X-Request-Id:
|
44
|
-
- 6e9d1aead68999847357f116
|
45
|
-
X-Runtime:
|
46
|
-
- '0.546269'
|
47
|
-
X-Frame-Options:
|
48
|
-
- SAMEORIGIN
|
49
|
-
X-Content-Type-Options:
|
50
|
-
- nosniff
|
51
|
-
X-Backend:
|
52
|
-
- sbox-priv-gateway-a
|
53
|
-
body:
|
54
|
-
encoding: UTF-8
|
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}'
|
57
|
-
http_version:
|
58
|
-
recorded_at: Tue, 08 May 2018 11:07:32 GMT
|
59
|
-
- request:
|
60
|
-
method: post
|
61
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/071-P-Q4RSPIL8/capture
|
62
|
-
body:
|
63
|
-
encoding: UTF-8
|
64
|
-
string: '{"amount":10000,"test":true}'
|
65
|
-
headers:
|
66
|
-
Accept-Encoding:
|
67
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
68
|
-
Accept:
|
69
|
-
- application/json
|
70
|
-
User-Agent:
|
71
|
-
- Ruby
|
72
|
-
Authorization:
|
73
|
-
- Basic VEVTVDpURVNU
|
74
|
-
Content-Type:
|
75
|
-
- application/json
|
76
|
-
response:
|
77
|
-
status:
|
78
|
-
code: 200
|
79
|
-
message: OK
|
80
|
-
headers:
|
81
|
-
Date:
|
82
|
-
- Tue, 08 May 2018 11:07:32 GMT
|
83
|
-
Content-Type:
|
84
|
-
- application/json; charset=utf-8
|
85
|
-
Transfer-Encoding:
|
86
|
-
- chunked
|
87
|
-
Connection:
|
88
|
-
- keep-alive
|
89
|
-
Status:
|
90
|
-
- 200 OK
|
91
|
-
Cache-Control:
|
92
|
-
- no-store
|
93
|
-
X-Request-Version:
|
94
|
-
- 1.16.9-3186@7b619da
|
95
|
-
Pragma:
|
96
|
-
- no-cache
|
97
|
-
X-Xss-Protection:
|
98
|
-
- 1; mode=block
|
99
|
-
X-Request-Id:
|
100
|
-
- 714a2940879f45b0f9e3eee8
|
101
|
-
X-Runtime:
|
102
|
-
- '0.073930'
|
103
|
-
X-Frame-Options:
|
104
|
-
- SAMEORIGIN
|
105
|
-
X-Content-Type-Options:
|
106
|
-
- nosniff
|
107
|
-
X-Backend:
|
108
|
-
- sbox-priv-gateway-a
|
109
|
-
body:
|
110
|
-
encoding: UTF-8
|
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}'
|
113
|
-
http_version:
|
114
|
-
recorded_at: Tue, 08 May 2018 11:07:32 GMT
|
115
|
-
recorded_with: VCR 3.0.3
|
@@ -1,115 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"9ed8e5971280b7afb120d9ef3677de71","customer_ip":"1.2.3.4","capture":false,"currency":"AUD","test":true}'
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- application/json
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
Authorization:
|
17
|
-
- Basic VEVTVDpURVNU
|
18
|
-
Content-Type:
|
19
|
-
- application/json
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Tue, 08 May 2018 11:07:33 GMT
|
27
|
-
Content-Type:
|
28
|
-
- application/json; charset=utf-8
|
29
|
-
Transfer-Encoding:
|
30
|
-
- chunked
|
31
|
-
Connection:
|
32
|
-
- keep-alive
|
33
|
-
Status:
|
34
|
-
- 200 OK
|
35
|
-
Cache-Control:
|
36
|
-
- no-store
|
37
|
-
X-Request-Version:
|
38
|
-
- 1.16.9-3186@7b619da
|
39
|
-
Pragma:
|
40
|
-
- no-cache
|
41
|
-
X-Xss-Protection:
|
42
|
-
- 1; mode=block
|
43
|
-
X-Request-Id:
|
44
|
-
- 5006f27718d0508c34a2cb2c
|
45
|
-
X-Runtime:
|
46
|
-
- '0.513197'
|
47
|
-
X-Frame-Options:
|
48
|
-
- SAMEORIGIN
|
49
|
-
X-Content-Type-Options:
|
50
|
-
- nosniff
|
51
|
-
X-Backend:
|
52
|
-
- sbox-priv-gateway-a
|
53
|
-
body:
|
54
|
-
encoding: UTF-8
|
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}'
|
57
|
-
http_version:
|
58
|
-
recorded_at: Tue, 08 May 2018 11:07:33 GMT
|
59
|
-
- request:
|
60
|
-
method: post
|
61
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases/071-P-2V6990H7/capture
|
62
|
-
body:
|
63
|
-
encoding: UTF-8
|
64
|
-
string: '{"amount":10000,"test":true}'
|
65
|
-
headers:
|
66
|
-
Accept-Encoding:
|
67
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
68
|
-
Accept:
|
69
|
-
- application/json
|
70
|
-
User-Agent:
|
71
|
-
- Ruby
|
72
|
-
Authorization:
|
73
|
-
- Basic VEVTVDpURVNU
|
74
|
-
Content-Type:
|
75
|
-
- application/json
|
76
|
-
response:
|
77
|
-
status:
|
78
|
-
code: 200
|
79
|
-
message: OK
|
80
|
-
headers:
|
81
|
-
Date:
|
82
|
-
- Tue, 08 May 2018 11:07:33 GMT
|
83
|
-
Content-Type:
|
84
|
-
- application/json; charset=utf-8
|
85
|
-
Transfer-Encoding:
|
86
|
-
- chunked
|
87
|
-
Connection:
|
88
|
-
- keep-alive
|
89
|
-
Status:
|
90
|
-
- 200 OK
|
91
|
-
Cache-Control:
|
92
|
-
- no-store
|
93
|
-
X-Request-Version:
|
94
|
-
- 1.16.9-3186@7b619da
|
95
|
-
Pragma:
|
96
|
-
- no-cache
|
97
|
-
X-Xss-Protection:
|
98
|
-
- 1; mode=block
|
99
|
-
X-Request-Id:
|
100
|
-
- 40eca60ca06be99812188ffe
|
101
|
-
X-Runtime:
|
102
|
-
- '0.084060'
|
103
|
-
X-Frame-Options:
|
104
|
-
- SAMEORIGIN
|
105
|
-
X-Content-Type-Options:
|
106
|
-
- nosniff
|
107
|
-
X-Backend:
|
108
|
-
- sbox-priv-gateway-a
|
109
|
-
body:
|
110
|
-
encoding: UTF-8
|
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}'
|
113
|
-
http_version:
|
114
|
-
recorded_at: Tue, 08 May 2018 11:07:33 GMT
|
115
|
-
recorded_with: VCR 3.0.3
|
@@ -1,53 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"93b5b583ca93811c90b7c187a57344b0","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- application/json
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
Authorization:
|
17
|
-
- Basic VEVTVDpURVNU
|
18
|
-
Content-Type:
|
19
|
-
- application/json
|
20
|
-
response:
|
21
|
-
status:
|
22
|
-
code: 200
|
23
|
-
message: OK
|
24
|
-
headers:
|
25
|
-
Date:
|
26
|
-
- Mon, 29 Apr 2019 09:24:12 GMT
|
27
|
-
Content-Type:
|
28
|
-
- application/json; charset=utf-8
|
29
|
-
Transfer-Encoding:
|
30
|
-
- chunked
|
31
|
-
Connection:
|
32
|
-
- keep-alive
|
33
|
-
Status:
|
34
|
-
- 200 OK
|
35
|
-
Cache-Control:
|
36
|
-
- no-store
|
37
|
-
X-Request-Version:
|
38
|
-
- 1.16.9-3941@c1d8236
|
39
|
-
X-Runtime:
|
40
|
-
- '0.560778'
|
41
|
-
Pragma:
|
42
|
-
- no-cache
|
43
|
-
X-Request-Id:
|
44
|
-
- d1d34186adbe97ca036b8e67
|
45
|
-
X-Backend:
|
46
|
-
- sbox-priv-gateway-a
|
47
|
-
body:
|
48
|
-
encoding: UTF-8
|
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}'
|
51
|
-
http_version:
|
52
|
-
recorded_at: Mon, 29 Apr 2019 09:24:12 GMT
|
53
|
-
recorded_with: VCR 3.0.3
|