fat_zebra 3.0.11 → 3.2.3
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 +5 -5
 - data/.gitignore +2 -0
 - data/.rubocop.yml +3 -5
 - data/.travis.yml +3 -3
 - data/README.md +5 -5
 - data/fat_zebra.gemspec +5 -7
 - data/lib/fat_zebra.rb +8 -0
 - data/lib/fat_zebra/api_operation/search.rb +1 -1
 - data/lib/fat_zebra/authenticate.rb +64 -0
 - data/lib/fat_zebra/card.rb +1 -0
 - data/lib/fat_zebra/direct_credit.rb +1 -1
 - data/lib/fat_zebra/direct_debit.rb +1 -1
 - data/lib/fat_zebra/paypal/authorization.rb +49 -0
 - data/lib/fat_zebra/paypal/billing_agreement.rb +56 -0
 - data/lib/fat_zebra/paypal/capture.rb +36 -0
 - data/lib/fat_zebra/paypal/order.rb +22 -0
 - data/lib/fat_zebra/paypal/refund.rb +22 -0
 - data/lib/fat_zebra/refund.rb +4 -0
 - data/lib/fat_zebra/util.rb +1 -1
 - data/lib/fat_zebra/validation.rb +4 -0
 - data/lib/fat_zebra/version.rb +1 -1
 - data/spec/cassettes/FatZebra_Authenticate/_authenticate/validations/1_3_5_1.yml +46 -0
 - data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_challenge_response/1_3_3_1.yml +90 -0
 - data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_challenge_response/1_3_3_2.yml +90 -0
 - data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_frictionless_response/1_3_2_1.yml +90 -0
 - data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_frictionless_response/1_3_2_2.yml +90 -0
 - data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_invalid_input/1_3_1_1.yml +90 -0
 - data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_invalid_input/1_3_1_2.yml +87 -0
 - data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_invalid_input/1_3_1_3.yml +92 -0
 - data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_invalid_input/1_3_1_4.yml +91 -0
 - data/spec/cassettes/FatZebra_Authenticate/_authenticate/with_type_validation/1_3_4_1.yml +46 -0
 - data/spec/cassettes/FatZebra_Authenticate/_decode_session/when_token_is_invalid/returns_error_when_invalid_token.yml +47 -0
 - data/spec/cassettes/FatZebra_Authenticate/_decode_session/when_token_is_valid/decodes_JWT.yml +87 -0
 - data/spec/cassettes/FatZebra_Authenticate/_session/returns_JWT_with_given_params.yml +44 -0
 - data/spec/cassettes/FatZebra_Authenticate/_session/returns_JWT_with_no_amount.yml +44 -0
 - data/spec/cassettes/FatZebra_Authenticate/_session/returns_error_when_amount_is_invalid.yml +44 -0
 - data/spec/cassettes/FatZebra_Authenticate/_session/returns_error_when_currency_is_invalid.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 +34 -52
 - data/spec/cassettes/FatZebra_BankAccount/_search/1_2_2.yml +34 -52
 - data/spec/cassettes/FatZebra_BankAccount/_search/1_2_3.yml +34 -52
 - 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 +8 -14
 - data/spec/cassettes/FatZebra_Batch/_search/1_3_2.yml +8 -14
 - data/spec/cassettes/FatZebra_Batch/_search/1_3_3.yml +8 -14
 - 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/_find/1_3_1.yml +111 -0
 - data/spec/cassettes/FatZebra_Card/_find/1_3_2.yml +111 -0
 - 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 +14 -24
 - data/spec/cassettes/FatZebra_Customer/_search/1_2_2.yml +14 -24
 - data/spec/cassettes/FatZebra_Customer/_search/1_2_3.yml +14 -24
 - 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 +103 -0
 - data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_1.yml +24 -42
 - data/spec/cassettes/FatZebra_DirectCredit/_search/1_3_2.yml +24 -42
 - 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 +103 -0
 - data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_1.yml +24 -42
 - data/spec/cassettes/FatZebra_DirectDebit/_search/1_3_2.yml +24 -42
 - 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 +52 -76
 - data/spec/cassettes/FatZebra_PaymentPlan/_active_/1_8_2.yml +52 -76
 - data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_1.yml +22 -34
 - data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_2.yml +22 -34
 - data/spec/cassettes/FatZebra_PaymentPlan/_create/1_1_3.yml +22 -34
 - data/spec/cassettes/FatZebra_PaymentPlan/_delete/1_5_1.yml +31 -49
 - data/spec/cassettes/FatZebra_PaymentPlan/_destroy/1_6_1.yml +31 -49
 - data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_1.yml +35 -53
 - data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_2.yml +35 -53
 - data/spec/cassettes/FatZebra_PaymentPlan/_find/1_2_3.yml +35 -53
 - data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_1.yml +37 -55
 - data/spec/cassettes/FatZebra_PaymentPlan/_suspend_/1_7_2.yml +37 -55
 - data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_1.yml +31 -49
 - data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_2.yml +31 -49
 - data/spec/cassettes/FatZebra_PaymentPlan/_update/1_3_3.yml +31 -49
 - data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_1.yml +37 -55
 - data/spec/cassettes/FatZebra_PaymentPlan/_update/1_4_2.yml +37 -55
 - data/spec/cassettes/FatZebra_Paypal_Authorization/_capture/returns_a_new_capture_record.yml +45 -0
 - data/spec/cassettes/FatZebra_Paypal_Authorization/_find/when_found/returns_authorization.yml +46 -0
 - data/spec/cassettes/FatZebra_Paypal_Authorization/_search/with_date_filter/returns_records_created_after_start_date.yml +46 -0
 - data/spec/cassettes/FatZebra_Paypal_Authorization/_void/returns_a_voided_capture_record.yml +44 -0
 - data/spec/cassettes/FatZebra_Paypal_BillingAgreement/_charge/Valid_payload/returns_a_new_order_record.yml +48 -0
 - data/spec/cassettes/FatZebra_Paypal_BillingAgreement/_find/when_found/returns_billing_agreement.yml +48 -0
 - data/spec/cassettes/FatZebra_Paypal_BillingAgreement/_search/with_date_filter/returns_records_created_after_start_date.yml +48 -0
 - data/spec/cassettes/FatZebra_Paypal_Capture/_find/when_found/returns_capture.yml +47 -0
 - data/spec/cassettes/FatZebra_Paypal_Capture/_refund/returns_a_new_refund_record.yml +45 -0
 - data/spec/cassettes/FatZebra_Paypal_Capture/_search/with_date_filter/returns_records_created_after_start_date.yml +49 -0
 - data/spec/cassettes/FatZebra_Paypal_Order/_find/when_found/returns_order.yml +48 -0
 - data/spec/cassettes/FatZebra_Paypal_Order/_search/with_date_filter/returns_orders_created_after_start_date.yml +55 -0
 - data/spec/cassettes/FatZebra_Paypal_Refund/_find/when_found/returns_refund.yml +47 -0
 - data/spec/cassettes/FatZebra_Paypal_Refund/_search/with_date_filter/returns_all_refund_records_created_after_start_date.yml +50 -0
 - 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/_search/1_3_1.yml +36 -54
 - data/spec/cassettes/FatZebra_Purchase/_search/1_3_2.yml +36 -54
 - data/spec/cassettes/FatZebra_Purchase/_search/1_3_3.yml +36 -54
 - 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 +18 -30
 - data/spec/cassettes/FatZebra_Refund/_create/1_1_10.yml +18 -30
 - data/spec/cassettes/FatZebra_Refund/_create/1_1_2.yml +18 -30
 - data/spec/cassettes/FatZebra_Refund/_create/1_1_3.yml +18 -30
 - data/spec/cassettes/FatZebra_Refund/_create/1_1_4.yml +18 -30
 - data/spec/cassettes/FatZebra_Refund/_create/1_1_5.yml +18 -30
 - data/spec/cassettes/FatZebra_Refund/_create/1_1_6.yml +18 -30
 - data/spec/cassettes/FatZebra_Refund/_create/1_1_7.yml +18 -30
 - data/spec/cassettes/FatZebra_Refund/_create/1_1_8.yml +18 -30
 - data/spec/cassettes/FatZebra_Refund/_create/1_1_9.yml +18 -30
 - data/spec/cassettes/FatZebra_Refund/_find/1_2_1.yml +27 -45
 - data/spec/cassettes/FatZebra_Refund/_find/1_2_2.yml +27 -45
 - data/spec/cassettes/FatZebra_Refund/_find/1_2_3.yml +27 -45
 - data/spec/cassettes/FatZebra_Refund/_search/responds_with_the_newly-created_refunds.yml +214 -0
 - data/spec/cassettes/FatZebra_Refund/_void/1_4_1.yml +27 -45
 - data/spec/cassettes/FatZebra_Refund/_void/1_4_2.yml +27 -45
 - data/spec/cassettes/FatZebra_Refund/_void/1_4_3.yml +27 -45
 - data/spec/cassettes/FatZebra_Refund/_void/1_4_4.yml +27 -45
 - 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 +115 -43
 - data/spec/cassettes/FatZebra_WebHook/_search/1_2_2.yml +115 -43
 - 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/authenticate_spec.rb +187 -0
 - data/spec/lib/fat_zebra/card_spec.rb +8 -0
 - data/spec/lib/fat_zebra/direct_credit_spec.rb +14 -1
 - data/spec/lib/fat_zebra/direct_debit_spec.rb +14 -1
 - data/spec/lib/fat_zebra/payment_plan_spec.rb +1 -1
 - data/spec/lib/fat_zebra/paypal/authorization_spec.rb +79 -0
 - data/spec/lib/fat_zebra/paypal/billing_agreement_spec.rb +62 -0
 - data/spec/lib/fat_zebra/paypal/capture_spec.rb +60 -0
 - data/spec/lib/fat_zebra/paypal/order_spec.rb +35 -0
 - data/spec/lib/fat_zebra/paypal/refund_spec.rb +36 -0
 - data/spec/lib/fat_zebra/purchase_spec.rb +3 -3
 - data/spec/lib/fat_zebra/refund_spec.rb +37 -17
 - data/spec/spec_helper.rb +0 -1
 - data/spec/support/payloads.rb +135 -0
 - metadata +59 -15
 - data/spec/cassettes/FatZebra_Refund/_search/1_3_1.yml +0 -295
 - data/spec/cassettes/FatZebra_Refund/_search/1_3_2.yml +0 -295
 
| 
         @@ -5,7 +5,7 @@ http_interactions: 
     | 
|
| 
       5 
5 
     | 
    
         
             
                uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
         
     | 
| 
       6 
6 
     | 
    
         
             
                body:
         
     | 
| 
       7 
7 
     | 
    
         
             
                  encoding: UTF-8
         
     | 
| 
       8 
     | 
    
         
            -
                  string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":" 
     | 
| 
      
 8 
     | 
    
         
            +
                  string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"fa60afcf8710014d2c816f4cae0af2d0","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
         
     | 
| 
       9 
9 
     | 
    
         
             
                headers:
         
     | 
| 
       10 
10 
     | 
    
         
             
                  Accept-Encoding:
         
     | 
| 
       11 
11 
     | 
    
         
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         
     | 
| 
         @@ -23,7 +23,7 @@ http_interactions: 
     | 
|
| 
       23 
23 
     | 
    
         
             
                  message: OK
         
     | 
| 
       24 
24 
     | 
    
         
             
                headers:
         
     | 
| 
       25 
25 
     | 
    
         
             
                  Date:
         
     | 
| 
       26 
     | 
    
         
            -
                  -  
     | 
| 
      
 26 
     | 
    
         
            +
                  - Mon, 29 Apr 2019 09:20:21 GMT
         
     | 
| 
       27 
27 
     | 
    
         
             
                  Content-Type:
         
     | 
| 
       28 
28 
     | 
    
         
             
                  - application/json; charset=utf-8
         
     | 
| 
       29 
29 
     | 
    
         
             
                  Transfer-Encoding:
         
     | 
| 
         @@ -35,33 +35,27 @@ http_interactions: 
     | 
|
| 
       35 
35 
     | 
    
         
             
                  Cache-Control:
         
     | 
| 
       36 
36 
     | 
    
         
             
                  - no-store
         
     | 
| 
       37 
37 
     | 
    
         
             
                  X-Request-Version:
         
     | 
| 
       38 
     | 
    
         
            -
                  - 1.16.9- 
     | 
| 
      
 38 
     | 
    
         
            +
                  - 1.16.9-3941@c1d8236
         
     | 
| 
      
 39 
     | 
    
         
            +
                  X-Runtime:
         
     | 
| 
      
 40 
     | 
    
         
            +
                  - '0.523259'
         
     | 
| 
       39 
41 
     | 
    
         
             
                  Pragma:
         
     | 
| 
       40 
42 
     | 
    
         
             
                  - no-cache
         
     | 
| 
       41 
     | 
    
         
            -
                  X-Xss-Protection:
         
     | 
| 
       42 
     | 
    
         
            -
                  - 1; mode=block
         
     | 
| 
       43 
43 
     | 
    
         
             
                  X-Request-Id:
         
     | 
| 
       44 
     | 
    
         
            -
                  -  
     | 
| 
       45 
     | 
    
         
            -
                  X-Runtime:
         
     | 
| 
       46 
     | 
    
         
            -
                  - '0.586796'
         
     | 
| 
       47 
     | 
    
         
            -
                  X-Frame-Options:
         
     | 
| 
       48 
     | 
    
         
            -
                  - SAMEORIGIN
         
     | 
| 
       49 
     | 
    
         
            -
                  X-Content-Type-Options:
         
     | 
| 
       50 
     | 
    
         
            -
                  - nosniff
         
     | 
| 
      
 44 
     | 
    
         
            +
                  - 5512ba38ada3d5bc6ef437c8
         
     | 
| 
       51 
45 
     | 
    
         
             
                  X-Backend:
         
     | 
| 
       52 
46 
     | 
    
         
             
                  - sbox-priv-gateway-a
         
     | 
| 
       53 
47 
     | 
    
         
             
                body:
         
     | 
| 
       54 
48 
     | 
    
         
             
                  encoding: UTF-8
         
     | 
| 
       55 
     | 
    
         
            -
                  string: '{"successful":true,"response":{"authorization":" 
     | 
| 
       56 
     | 
    
         
            -
                    Savage","card_expiry":"2030-02-28","card_token":" 
     | 
| 
      
 49 
     | 
    
         
            +
                  string: '{"successful":true,"response":{"authorization":"585834","id":"071-P-ITAIB6QA","card_number":"512345XXXXXX2346","card_holder":"Matthew
         
     | 
| 
      
 50 
     | 
    
         
            +
                    Savage","card_expiry":"2030-02-28","card_token":"u0cf2mzwi53go2qisot4","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"fa60afcf8710014d2c816f4cae0af2d0","currency":"AUD","transaction_id":"071-P-ITAIB6QA","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:20:21+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PITAIB6QA","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
         
     | 
| 
       57 
51 
     | 
    
         
             
                http_version: 
         
     | 
| 
       58 
     | 
    
         
            -
              recorded_at:  
     | 
| 
      
 52 
     | 
    
         
            +
              recorded_at: Mon, 29 Apr 2019 09:20:21 GMT
         
     | 
| 
       59 
53 
     | 
    
         
             
            - request:
         
     | 
| 
       60 
54 
     | 
    
         
             
                method: post
         
     | 
| 
       61 
55 
     | 
    
         
             
                uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
         
     | 
| 
       62 
56 
     | 
    
         
             
                body:
         
     | 
| 
       63 
57 
     | 
    
         
             
                  encoding: UTF-8
         
     | 
| 
       64 
     | 
    
         
            -
                  string: '{"transaction_id":"071-P- 
     | 
| 
      
 58 
     | 
    
         
            +
                  string: '{"transaction_id":"071-P-ITAIB6QA","amount":10000,"reference":"fa60afcf8710014d2c816f4cae0af2d0","test":true}'
         
     | 
| 
       65 
59 
     | 
    
         
             
                headers:
         
     | 
| 
       66 
60 
     | 
    
         
             
                  Accept-Encoding:
         
     | 
| 
       67 
61 
     | 
    
         
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         
     | 
| 
         @@ -79,7 +73,7 @@ http_interactions: 
     | 
|
| 
       79 
73 
     | 
    
         
             
                  message: OK
         
     | 
| 
       80 
74 
     | 
    
         
             
                headers:
         
     | 
| 
       81 
75 
     | 
    
         
             
                  Date:
         
     | 
| 
       82 
     | 
    
         
            -
                  -  
     | 
| 
      
 76 
     | 
    
         
            +
                  - Mon, 29 Apr 2019 09:20:21 GMT
         
     | 
| 
       83 
77 
     | 
    
         
             
                  Content-Type:
         
     | 
| 
       84 
78 
     | 
    
         
             
                  - application/json; charset=utf-8
         
     | 
| 
       85 
79 
     | 
    
         
             
                  Transfer-Encoding:
         
     | 
| 
         @@ -91,25 +85,19 @@ http_interactions: 
     | 
|
| 
       91 
85 
     | 
    
         
             
                  Cache-Control:
         
     | 
| 
       92 
86 
     | 
    
         
             
                  - no-store
         
     | 
| 
       93 
87 
     | 
    
         
             
                  X-Request-Version:
         
     | 
| 
       94 
     | 
    
         
            -
                  - 1.16.9- 
     | 
| 
      
 88 
     | 
    
         
            +
                  - 1.16.9-3941@c1d8236
         
     | 
| 
      
 89 
     | 
    
         
            +
                  X-Runtime:
         
     | 
| 
      
 90 
     | 
    
         
            +
                  - '0.169125'
         
     | 
| 
       95 
91 
     | 
    
         
             
                  Pragma:
         
     | 
| 
       96 
92 
     | 
    
         
             
                  - no-cache
         
     | 
| 
       97 
     | 
    
         
            -
                  X-Xss-Protection:
         
     | 
| 
       98 
     | 
    
         
            -
                  - 1; mode=block
         
     | 
| 
       99 
93 
     | 
    
         
             
                  X-Request-Id:
         
     | 
| 
       100 
     | 
    
         
            -
                  -  
     | 
| 
       101 
     | 
    
         
            -
                  X-Runtime:
         
     | 
| 
       102 
     | 
    
         
            -
                  - '0.127091'
         
     | 
| 
       103 
     | 
    
         
            -
                  X-Frame-Options:
         
     | 
| 
       104 
     | 
    
         
            -
                  - SAMEORIGIN
         
     | 
| 
       105 
     | 
    
         
            -
                  X-Content-Type-Options:
         
     | 
| 
       106 
     | 
    
         
            -
                  - nosniff
         
     | 
| 
      
 94 
     | 
    
         
            +
                  - 8bfc77b87989801089178f2c
         
     | 
| 
       107 
95 
     | 
    
         
             
                  X-Backend:
         
     | 
| 
       108 
96 
     | 
    
         
             
                  - sbox-priv-gateway-a
         
     | 
| 
       109 
97 
     | 
    
         
             
                body:
         
     | 
| 
       110 
98 
     | 
    
         
             
                  encoding: UTF-8
         
     | 
| 
       111 
     | 
    
         
            -
                  string: '{"successful":true,"response":{"authorization":" 
     | 
| 
       112 
     | 
    
         
            -
                    Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R- 
     | 
| 
      
 99 
     | 
    
         
            +
                  string: '{"successful":true,"response":{"authorization":"1556529621","id":"071-R-JH685HOS","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
         
     | 
| 
      
 100 
     | 
    
         
            +
                    Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-JH685HOS","reference":"fa60afcf8710014d2c816f4cae0af2d0","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:21+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071RJH685HOS"},"errors":[],"test":true}'
         
     | 
| 
       113 
101 
     | 
    
         
             
                http_version: 
         
     | 
| 
       114 
     | 
    
         
            -
              recorded_at:  
     | 
| 
      
 102 
     | 
    
         
            +
              recorded_at: Mon, 29 Apr 2019 09:20:21 GMT
         
     | 
| 
       115 
103 
     | 
    
         
             
            recorded_with: VCR 3.0.3
         
     | 
| 
         @@ -5,7 +5,7 @@ http_interactions: 
     | 
|
| 
       5 
5 
     | 
    
         
             
                uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
         
     | 
| 
       6 
6 
     | 
    
         
             
                body:
         
     | 
| 
       7 
7 
     | 
    
         
             
                  encoding: UTF-8
         
     | 
| 
       8 
     | 
    
         
            -
                  string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":" 
     | 
| 
      
 8 
     | 
    
         
            +
                  string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"e3b123d9855d054d5964871f53d4fe55","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
         
     | 
| 
       9 
9 
     | 
    
         
             
                headers:
         
     | 
| 
       10 
10 
     | 
    
         
             
                  Accept-Encoding:
         
     | 
| 
       11 
11 
     | 
    
         
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         
     | 
| 
         @@ -23,7 +23,7 @@ http_interactions: 
     | 
|
| 
       23 
23 
     | 
    
         
             
                  message: OK
         
     | 
| 
       24 
24 
     | 
    
         
             
                headers:
         
     | 
| 
       25 
25 
     | 
    
         
             
                  Date:
         
     | 
| 
       26 
     | 
    
         
            -
                  -  
     | 
| 
      
 26 
     | 
    
         
            +
                  - Mon, 29 Apr 2019 09:20:22 GMT
         
     | 
| 
       27 
27 
     | 
    
         
             
                  Content-Type:
         
     | 
| 
       28 
28 
     | 
    
         
             
                  - application/json; charset=utf-8
         
     | 
| 
       29 
29 
     | 
    
         
             
                  Transfer-Encoding:
         
     | 
| 
         @@ -35,33 +35,27 @@ http_interactions: 
     | 
|
| 
       35 
35 
     | 
    
         
             
                  Cache-Control:
         
     | 
| 
       36 
36 
     | 
    
         
             
                  - no-store
         
     | 
| 
       37 
37 
     | 
    
         
             
                  X-Request-Version:
         
     | 
| 
       38 
     | 
    
         
            -
                  - 1.16.9- 
     | 
| 
      
 38 
     | 
    
         
            +
                  - 1.16.9-3941@c1d8236
         
     | 
| 
      
 39 
     | 
    
         
            +
                  X-Runtime:
         
     | 
| 
      
 40 
     | 
    
         
            +
                  - '0.530868'
         
     | 
| 
       39 
41 
     | 
    
         
             
                  Pragma:
         
     | 
| 
       40 
42 
     | 
    
         
             
                  - no-cache
         
     | 
| 
       41 
     | 
    
         
            -
                  X-Xss-Protection:
         
     | 
| 
       42 
     | 
    
         
            -
                  - 1; mode=block
         
     | 
| 
       43 
43 
     | 
    
         
             
                  X-Request-Id:
         
     | 
| 
       44 
     | 
    
         
            -
                  -  
     | 
| 
       45 
     | 
    
         
            -
                  X-Runtime:
         
     | 
| 
       46 
     | 
    
         
            -
                  - '0.553891'
         
     | 
| 
       47 
     | 
    
         
            -
                  X-Frame-Options:
         
     | 
| 
       48 
     | 
    
         
            -
                  - SAMEORIGIN
         
     | 
| 
       49 
     | 
    
         
            -
                  X-Content-Type-Options:
         
     | 
| 
       50 
     | 
    
         
            -
                  - nosniff
         
     | 
| 
      
 44 
     | 
    
         
            +
                  - 87f4cace21efb28a88605053
         
     | 
| 
       51 
45 
     | 
    
         
             
                  X-Backend:
         
     | 
| 
       52 
46 
     | 
    
         
             
                  - sbox-priv-gateway-a
         
     | 
| 
       53 
47 
     | 
    
         
             
                body:
         
     | 
| 
       54 
48 
     | 
    
         
             
                  encoding: UTF-8
         
     | 
| 
       55 
     | 
    
         
            -
                  string: '{"successful":true,"response":{"authorization":" 
     | 
| 
       56 
     | 
    
         
            -
                    Savage","card_expiry":"2030-02-28","card_token":" 
     | 
| 
      
 49 
     | 
    
         
            +
                  string: '{"successful":true,"response":{"authorization":"465976","id":"071-P-745HAV6H","card_number":"512345XXXXXX2346","card_holder":"Matthew
         
     | 
| 
      
 50 
     | 
    
         
            +
                    Savage","card_expiry":"2030-02-28","card_token":"l5mvfv4267eq4hj5p74d","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"e3b123d9855d054d5964871f53d4fe55","currency":"AUD","transaction_id":"071-P-745HAV6H","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:20:22+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071P745HAV6H","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
         
     | 
| 
       57 
51 
     | 
    
         
             
                http_version: 
         
     | 
| 
       58 
     | 
    
         
            -
              recorded_at:  
     | 
| 
      
 52 
     | 
    
         
            +
              recorded_at: Mon, 29 Apr 2019 09:20:22 GMT
         
     | 
| 
       59 
53 
     | 
    
         
             
            - request:
         
     | 
| 
       60 
54 
     | 
    
         
             
                method: post
         
     | 
| 
       61 
55 
     | 
    
         
             
                uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
         
     | 
| 
       62 
56 
     | 
    
         
             
                body:
         
     | 
| 
       63 
57 
     | 
    
         
             
                  encoding: UTF-8
         
     | 
| 
       64 
     | 
    
         
            -
                  string: '{"transaction_id":"071-P- 
     | 
| 
      
 58 
     | 
    
         
            +
                  string: '{"transaction_id":"071-P-745HAV6H","amount":10000,"reference":"e3b123d9855d054d5964871f53d4fe55","test":true}'
         
     | 
| 
       65 
59 
     | 
    
         
             
                headers:
         
     | 
| 
       66 
60 
     | 
    
         
             
                  Accept-Encoding:
         
     | 
| 
       67 
61 
     | 
    
         
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         
     | 
| 
         @@ -79,7 +73,7 @@ http_interactions: 
     | 
|
| 
       79 
73 
     | 
    
         
             
                  message: OK
         
     | 
| 
       80 
74 
     | 
    
         
             
                headers:
         
     | 
| 
       81 
75 
     | 
    
         
             
                  Date:
         
     | 
| 
       82 
     | 
    
         
            -
                  -  
     | 
| 
      
 76 
     | 
    
         
            +
                  - Mon, 29 Apr 2019 09:20:22 GMT
         
     | 
| 
       83 
77 
     | 
    
         
             
                  Content-Type:
         
     | 
| 
       84 
78 
     | 
    
         
             
                  - application/json; charset=utf-8
         
     | 
| 
       85 
79 
     | 
    
         
             
                  Transfer-Encoding:
         
     | 
| 
         @@ -91,25 +85,19 @@ http_interactions: 
     | 
|
| 
       91 
85 
     | 
    
         
             
                  Cache-Control:
         
     | 
| 
       92 
86 
     | 
    
         
             
                  - no-store
         
     | 
| 
       93 
87 
     | 
    
         
             
                  X-Request-Version:
         
     | 
| 
       94 
     | 
    
         
            -
                  - 1.16.9- 
     | 
| 
      
 88 
     | 
    
         
            +
                  - 1.16.9-3941@c1d8236
         
     | 
| 
      
 89 
     | 
    
         
            +
                  X-Runtime:
         
     | 
| 
      
 90 
     | 
    
         
            +
                  - '0.147656'
         
     | 
| 
       95 
91 
     | 
    
         
             
                  Pragma:
         
     | 
| 
       96 
92 
     | 
    
         
             
                  - no-cache
         
     | 
| 
       97 
     | 
    
         
            -
                  X-Xss-Protection:
         
     | 
| 
       98 
     | 
    
         
            -
                  - 1; mode=block
         
     | 
| 
       99 
93 
     | 
    
         
             
                  X-Request-Id:
         
     | 
| 
       100 
     | 
    
         
            -
                  -  
     | 
| 
       101 
     | 
    
         
            -
                  X-Runtime:
         
     | 
| 
       102 
     | 
    
         
            -
                  - '0.145492'
         
     | 
| 
       103 
     | 
    
         
            -
                  X-Frame-Options:
         
     | 
| 
       104 
     | 
    
         
            -
                  - SAMEORIGIN
         
     | 
| 
       105 
     | 
    
         
            -
                  X-Content-Type-Options:
         
     | 
| 
       106 
     | 
    
         
            -
                  - nosniff
         
     | 
| 
      
 94 
     | 
    
         
            +
                  - 4e74c9385c526484ff06d3a4
         
     | 
| 
       107 
95 
     | 
    
         
             
                  X-Backend:
         
     | 
| 
       108 
96 
     | 
    
         
             
                  - sbox-priv-gateway-a
         
     | 
| 
       109 
97 
     | 
    
         
             
                body:
         
     | 
| 
       110 
98 
     | 
    
         
             
                  encoding: UTF-8
         
     | 
| 
       111 
     | 
    
         
            -
                  string: '{"successful":true,"response":{"authorization":" 
     | 
| 
       112 
     | 
    
         
            -
                    Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R- 
     | 
| 
      
 99 
     | 
    
         
            +
                  string: '{"successful":true,"response":{"authorization":"1556529622","id":"071-R-18F4TNQB","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
         
     | 
| 
      
 100 
     | 
    
         
            +
                    Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-18F4TNQB","reference":"e3b123d9855d054d5964871f53d4fe55","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:22+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071R18F4TNQB"},"errors":[],"test":true}'
         
     | 
| 
       113 
101 
     | 
    
         
             
                http_version: 
         
     | 
| 
       114 
     | 
    
         
            -
              recorded_at:  
     | 
| 
      
 102 
     | 
    
         
            +
              recorded_at: Mon, 29 Apr 2019 09:20:22 GMT
         
     | 
| 
       115 
103 
     | 
    
         
             
            recorded_with: VCR 3.0.3
         
     | 
| 
         @@ -5,7 +5,7 @@ http_interactions: 
     | 
|
| 
       5 
5 
     | 
    
         
             
                uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
         
     | 
| 
       6 
6 
     | 
    
         
             
                body:
         
     | 
| 
       7 
7 
     | 
    
         
             
                  encoding: UTF-8
         
     | 
| 
       8 
     | 
    
         
            -
                  string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":" 
     | 
| 
      
 8 
     | 
    
         
            +
                  string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"bfc6d7b303decc4a70d45640d732c814","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
         
     | 
| 
       9 
9 
     | 
    
         
             
                headers:
         
     | 
| 
       10 
10 
     | 
    
         
             
                  Accept-Encoding:
         
     | 
| 
       11 
11 
     | 
    
         
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         
     | 
| 
         @@ -23,7 +23,7 @@ http_interactions: 
     | 
|
| 
       23 
23 
     | 
    
         
             
                  message: OK
         
     | 
| 
       24 
24 
     | 
    
         
             
                headers:
         
     | 
| 
       25 
25 
     | 
    
         
             
                  Date:
         
     | 
| 
       26 
     | 
    
         
            -
                  -  
     | 
| 
      
 26 
     | 
    
         
            +
                  - Mon, 29 Apr 2019 09:20:23 GMT
         
     | 
| 
       27 
27 
     | 
    
         
             
                  Content-Type:
         
     | 
| 
       28 
28 
     | 
    
         
             
                  - application/json; charset=utf-8
         
     | 
| 
       29 
29 
     | 
    
         
             
                  Transfer-Encoding:
         
     | 
| 
         @@ -35,33 +35,27 @@ http_interactions: 
     | 
|
| 
       35 
35 
     | 
    
         
             
                  Cache-Control:
         
     | 
| 
       36 
36 
     | 
    
         
             
                  - no-store
         
     | 
| 
       37 
37 
     | 
    
         
             
                  X-Request-Version:
         
     | 
| 
       38 
     | 
    
         
            -
                  - 1.16.9- 
     | 
| 
      
 38 
     | 
    
         
            +
                  - 1.16.9-3941@c1d8236
         
     | 
| 
      
 39 
     | 
    
         
            +
                  X-Runtime:
         
     | 
| 
      
 40 
     | 
    
         
            +
                  - '0.675825'
         
     | 
| 
       39 
41 
     | 
    
         
             
                  Pragma:
         
     | 
| 
       40 
42 
     | 
    
         
             
                  - no-cache
         
     | 
| 
       41 
     | 
    
         
            -
                  X-Xss-Protection:
         
     | 
| 
       42 
     | 
    
         
            -
                  - 1; mode=block
         
     | 
| 
       43 
43 
     | 
    
         
             
                  X-Request-Id:
         
     | 
| 
       44 
     | 
    
         
            -
                  -  
     | 
| 
       45 
     | 
    
         
            -
                  X-Runtime:
         
     | 
| 
       46 
     | 
    
         
            -
                  - '0.555386'
         
     | 
| 
       47 
     | 
    
         
            -
                  X-Frame-Options:
         
     | 
| 
       48 
     | 
    
         
            -
                  - SAMEORIGIN
         
     | 
| 
       49 
     | 
    
         
            -
                  X-Content-Type-Options:
         
     | 
| 
       50 
     | 
    
         
            -
                  - nosniff
         
     | 
| 
      
 44 
     | 
    
         
            +
                  - c18f05a42e0199d80098fa6c
         
     | 
| 
       51 
45 
     | 
    
         
             
                  X-Backend:
         
     | 
| 
       52 
46 
     | 
    
         
             
                  - sbox-priv-gateway-a
         
     | 
| 
       53 
47 
     | 
    
         
             
                body:
         
     | 
| 
       54 
48 
     | 
    
         
             
                  encoding: UTF-8
         
     | 
| 
       55 
     | 
    
         
            -
                  string: '{"successful":true,"response":{"authorization":" 
     | 
| 
       56 
     | 
    
         
            -
                    Savage","card_expiry":"2030-02-28","card_token":" 
     | 
| 
      
 49 
     | 
    
         
            +
                  string: '{"successful":true,"response":{"authorization":"582169","id":"071-P-AGDFU04J","card_number":"512345XXXXXX2346","card_holder":"Matthew
         
     | 
| 
      
 50 
     | 
    
         
            +
                    Savage","card_expiry":"2030-02-28","card_token":"jr07j40kldzrxvj8nu3u","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"bfc6d7b303decc4a70d45640d732c814","currency":"AUD","transaction_id":"071-P-AGDFU04J","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:20:23+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PAGDFU04J","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
         
     | 
| 
       57 
51 
     | 
    
         
             
                http_version: 
         
     | 
| 
       58 
     | 
    
         
            -
              recorded_at:  
     | 
| 
      
 52 
     | 
    
         
            +
              recorded_at: Mon, 29 Apr 2019 09:20:23 GMT
         
     | 
| 
       59 
53 
     | 
    
         
             
            - request:
         
     | 
| 
       60 
54 
     | 
    
         
             
                method: post
         
     | 
| 
       61 
55 
     | 
    
         
             
                uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
         
     | 
| 
       62 
56 
     | 
    
         
             
                body:
         
     | 
| 
       63 
57 
     | 
    
         
             
                  encoding: UTF-8
         
     | 
| 
       64 
     | 
    
         
            -
                  string: '{"transaction_id":"071-P- 
     | 
| 
      
 58 
     | 
    
         
            +
                  string: '{"transaction_id":"071-P-AGDFU04J","amount":10000,"reference":"bfc6d7b303decc4a70d45640d732c814","test":true}'
         
     | 
| 
       65 
59 
     | 
    
         
             
                headers:
         
     | 
| 
       66 
60 
     | 
    
         
             
                  Accept-Encoding:
         
     | 
| 
       67 
61 
     | 
    
         
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         
     | 
| 
         @@ -79,7 +73,7 @@ http_interactions: 
     | 
|
| 
       79 
73 
     | 
    
         
             
                  message: OK
         
     | 
| 
       80 
74 
     | 
    
         
             
                headers:
         
     | 
| 
       81 
75 
     | 
    
         
             
                  Date:
         
     | 
| 
       82 
     | 
    
         
            -
                  -  
     | 
| 
      
 76 
     | 
    
         
            +
                  - Mon, 29 Apr 2019 09:20:23 GMT
         
     | 
| 
       83 
77 
     | 
    
         
             
                  Content-Type:
         
     | 
| 
       84 
78 
     | 
    
         
             
                  - application/json; charset=utf-8
         
     | 
| 
       85 
79 
     | 
    
         
             
                  Transfer-Encoding:
         
     | 
| 
         @@ -91,25 +85,19 @@ http_interactions: 
     | 
|
| 
       91 
85 
     | 
    
         
             
                  Cache-Control:
         
     | 
| 
       92 
86 
     | 
    
         
             
                  - no-store
         
     | 
| 
       93 
87 
     | 
    
         
             
                  X-Request-Version:
         
     | 
| 
       94 
     | 
    
         
            -
                  - 1.16.9- 
     | 
| 
      
 88 
     | 
    
         
            +
                  - 1.16.9-3941@c1d8236
         
     | 
| 
      
 89 
     | 
    
         
            +
                  X-Runtime:
         
     | 
| 
      
 90 
     | 
    
         
            +
                  - '0.155979'
         
     | 
| 
       95 
91 
     | 
    
         
             
                  Pragma:
         
     | 
| 
       96 
92 
     | 
    
         
             
                  - no-cache
         
     | 
| 
       97 
     | 
    
         
            -
                  X-Xss-Protection:
         
     | 
| 
       98 
     | 
    
         
            -
                  - 1; mode=block
         
     | 
| 
       99 
93 
     | 
    
         
             
                  X-Request-Id:
         
     | 
| 
       100 
     | 
    
         
            -
                  -  
     | 
| 
       101 
     | 
    
         
            -
                  X-Runtime:
         
     | 
| 
       102 
     | 
    
         
            -
                  - '0.136146'
         
     | 
| 
       103 
     | 
    
         
            -
                  X-Frame-Options:
         
     | 
| 
       104 
     | 
    
         
            -
                  - SAMEORIGIN
         
     | 
| 
       105 
     | 
    
         
            -
                  X-Content-Type-Options:
         
     | 
| 
       106 
     | 
    
         
            -
                  - nosniff
         
     | 
| 
      
 94 
     | 
    
         
            +
                  - a791a02c4fa2c27c687d2074
         
     | 
| 
       107 
95 
     | 
    
         
             
                  X-Backend:
         
     | 
| 
       108 
96 
     | 
    
         
             
                  - sbox-priv-gateway-a
         
     | 
| 
       109 
97 
     | 
    
         
             
                body:
         
     | 
| 
       110 
98 
     | 
    
         
             
                  encoding: UTF-8
         
     | 
| 
       111 
     | 
    
         
            -
                  string: '{"successful":true,"response":{"authorization":" 
     | 
| 
       112 
     | 
    
         
            -
                    Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R- 
     | 
| 
      
 99 
     | 
    
         
            +
                  string: '{"successful":true,"response":{"authorization":"1556529623","id":"071-R-WFAEJUX6","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
         
     | 
| 
      
 100 
     | 
    
         
            +
                    Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-WFAEJUX6","reference":"bfc6d7b303decc4a70d45640d732c814","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:23+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071RWFAEJUX6"},"errors":[],"test":true}'
         
     | 
| 
       113 
101 
     | 
    
         
             
                http_version: 
         
     | 
| 
       114 
     | 
    
         
            -
              recorded_at:  
     | 
| 
      
 102 
     | 
    
         
            +
              recorded_at: Mon, 29 Apr 2019 09:20:23 GMT
         
     | 
| 
       115 
103 
     | 
    
         
             
            recorded_with: VCR 3.0.3
         
     | 
| 
         @@ -5,7 +5,7 @@ http_interactions: 
     | 
|
| 
       5 
5 
     | 
    
         
             
                uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
         
     | 
| 
       6 
6 
     | 
    
         
             
                body:
         
     | 
| 
       7 
7 
     | 
    
         
             
                  encoding: UTF-8
         
     | 
| 
       8 
     | 
    
         
            -
                  string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":" 
     | 
| 
      
 8 
     | 
    
         
            +
                  string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"c09de3d5e9ee5c1af6db11a939eb0df6","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
         
     | 
| 
       9 
9 
     | 
    
         
             
                headers:
         
     | 
| 
       10 
10 
     | 
    
         
             
                  Accept-Encoding:
         
     | 
| 
       11 
11 
     | 
    
         
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         
     | 
| 
         @@ -23,7 +23,7 @@ http_interactions: 
     | 
|
| 
       23 
23 
     | 
    
         
             
                  message: OK
         
     | 
| 
       24 
24 
     | 
    
         
             
                headers:
         
     | 
| 
       25 
25 
     | 
    
         
             
                  Date:
         
     | 
| 
       26 
     | 
    
         
            -
                  -  
     | 
| 
      
 26 
     | 
    
         
            +
                  - Mon, 29 Apr 2019 09:20:24 GMT
         
     | 
| 
       27 
27 
     | 
    
         
             
                  Content-Type:
         
     | 
| 
       28 
28 
     | 
    
         
             
                  - application/json; charset=utf-8
         
     | 
| 
       29 
29 
     | 
    
         
             
                  Transfer-Encoding:
         
     | 
| 
         @@ -35,33 +35,27 @@ http_interactions: 
     | 
|
| 
       35 
35 
     | 
    
         
             
                  Cache-Control:
         
     | 
| 
       36 
36 
     | 
    
         
             
                  - no-store
         
     | 
| 
       37 
37 
     | 
    
         
             
                  X-Request-Version:
         
     | 
| 
       38 
     | 
    
         
            -
                  - 1.16.9- 
     | 
| 
      
 38 
     | 
    
         
            +
                  - 1.16.9-3941@c1d8236
         
     | 
| 
      
 39 
     | 
    
         
            +
                  X-Runtime:
         
     | 
| 
      
 40 
     | 
    
         
            +
                  - '0.550149'
         
     | 
| 
       39 
41 
     | 
    
         
             
                  Pragma:
         
     | 
| 
       40 
42 
     | 
    
         
             
                  - no-cache
         
     | 
| 
       41 
     | 
    
         
            -
                  X-Xss-Protection:
         
     | 
| 
       42 
     | 
    
         
            -
                  - 1; mode=block
         
     | 
| 
       43 
43 
     | 
    
         
             
                  X-Request-Id:
         
     | 
| 
       44 
     | 
    
         
            -
                  -  
     | 
| 
       45 
     | 
    
         
            -
                  X-Runtime:
         
     | 
| 
       46 
     | 
    
         
            -
                  - '0.522967'
         
     | 
| 
       47 
     | 
    
         
            -
                  X-Frame-Options:
         
     | 
| 
       48 
     | 
    
         
            -
                  - SAMEORIGIN
         
     | 
| 
       49 
     | 
    
         
            -
                  X-Content-Type-Options:
         
     | 
| 
       50 
     | 
    
         
            -
                  - nosniff
         
     | 
| 
      
 44 
     | 
    
         
            +
                  - 75d5cfa8ee0dc2307820f490
         
     | 
| 
       51 
45 
     | 
    
         
             
                  X-Backend:
         
     | 
| 
       52 
46 
     | 
    
         
             
                  - sbox-priv-gateway-a
         
     | 
| 
       53 
47 
     | 
    
         
             
                body:
         
     | 
| 
       54 
48 
     | 
    
         
             
                  encoding: UTF-8
         
     | 
| 
       55 
     | 
    
         
            -
                  string: '{"successful":true,"response":{"authorization":" 
     | 
| 
       56 
     | 
    
         
            -
                    Savage","card_expiry":"2030-02-28","card_token":" 
     | 
| 
      
 49 
     | 
    
         
            +
                  string: '{"successful":true,"response":{"authorization":"540827","id":"071-P-IJMPSAXE","card_number":"512345XXXXXX2346","card_holder":"Matthew
         
     | 
| 
      
 50 
     | 
    
         
            +
                    Savage","card_expiry":"2030-02-28","card_token":"35980qomhprxu3yuhayl","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"c09de3d5e9ee5c1af6db11a939eb0df6","currency":"AUD","transaction_id":"071-P-IJMPSAXE","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:20:24+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PIJMPSAXE","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
         
     | 
| 
       57 
51 
     | 
    
         
             
                http_version: 
         
     | 
| 
       58 
     | 
    
         
            -
              recorded_at:  
     | 
| 
      
 52 
     | 
    
         
            +
              recorded_at: Mon, 29 Apr 2019 09:20:24 GMT
         
     | 
| 
       59 
53 
     | 
    
         
             
            - request:
         
     | 
| 
       60 
54 
     | 
    
         
             
                method: post
         
     | 
| 
       61 
55 
     | 
    
         
             
                uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
         
     | 
| 
       62 
56 
     | 
    
         
             
                body:
         
     | 
| 
       63 
57 
     | 
    
         
             
                  encoding: UTF-8
         
     | 
| 
       64 
     | 
    
         
            -
                  string: '{"transaction_id":"071-P- 
     | 
| 
      
 58 
     | 
    
         
            +
                  string: '{"transaction_id":"071-P-IJMPSAXE","amount":10000,"reference":"c09de3d5e9ee5c1af6db11a939eb0df6","test":true}'
         
     | 
| 
       65 
59 
     | 
    
         
             
                headers:
         
     | 
| 
       66 
60 
     | 
    
         
             
                  Accept-Encoding:
         
     | 
| 
       67 
61 
     | 
    
         
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         
     | 
| 
         @@ -79,7 +73,7 @@ http_interactions: 
     | 
|
| 
       79 
73 
     | 
    
         
             
                  message: OK
         
     | 
| 
       80 
74 
     | 
    
         
             
                headers:
         
     | 
| 
       81 
75 
     | 
    
         
             
                  Date:
         
     | 
| 
       82 
     | 
    
         
            -
                  -  
     | 
| 
      
 76 
     | 
    
         
            +
                  - Mon, 29 Apr 2019 09:20:24 GMT
         
     | 
| 
       83 
77 
     | 
    
         
             
                  Content-Type:
         
     | 
| 
       84 
78 
     | 
    
         
             
                  - application/json; charset=utf-8
         
     | 
| 
       85 
79 
     | 
    
         
             
                  Transfer-Encoding:
         
     | 
| 
         @@ -91,25 +85,19 @@ http_interactions: 
     | 
|
| 
       91 
85 
     | 
    
         
             
                  Cache-Control:
         
     | 
| 
       92 
86 
     | 
    
         
             
                  - no-store
         
     | 
| 
       93 
87 
     | 
    
         
             
                  X-Request-Version:
         
     | 
| 
       94 
     | 
    
         
            -
                  - 1.16.9- 
     | 
| 
      
 88 
     | 
    
         
            +
                  - 1.16.9-3941@c1d8236
         
     | 
| 
      
 89 
     | 
    
         
            +
                  X-Runtime:
         
     | 
| 
      
 90 
     | 
    
         
            +
                  - '0.119875'
         
     | 
| 
       95 
91 
     | 
    
         
             
                  Pragma:
         
     | 
| 
       96 
92 
     | 
    
         
             
                  - no-cache
         
     | 
| 
       97 
     | 
    
         
            -
                  X-Xss-Protection:
         
     | 
| 
       98 
     | 
    
         
            -
                  - 1; mode=block
         
     | 
| 
       99 
93 
     | 
    
         
             
                  X-Request-Id:
         
     | 
| 
       100 
     | 
    
         
            -
                  -  
     | 
| 
       101 
     | 
    
         
            -
                  X-Runtime:
         
     | 
| 
       102 
     | 
    
         
            -
                  - '0.146651'
         
     | 
| 
       103 
     | 
    
         
            -
                  X-Frame-Options:
         
     | 
| 
       104 
     | 
    
         
            -
                  - SAMEORIGIN
         
     | 
| 
       105 
     | 
    
         
            -
                  X-Content-Type-Options:
         
     | 
| 
       106 
     | 
    
         
            -
                  - nosniff
         
     | 
| 
      
 94 
     | 
    
         
            +
                  - 4e91b330e180c540d682289c
         
     | 
| 
       107 
95 
     | 
    
         
             
                  X-Backend:
         
     | 
| 
       108 
96 
     | 
    
         
             
                  - sbox-priv-gateway-a
         
     | 
| 
       109 
97 
     | 
    
         
             
                body:
         
     | 
| 
       110 
98 
     | 
    
         
             
                  encoding: UTF-8
         
     | 
| 
       111 
     | 
    
         
            -
                  string: '{"successful":true,"response":{"authorization":" 
     | 
| 
       112 
     | 
    
         
            -
                    Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R- 
     | 
| 
      
 99 
     | 
    
         
            +
                  string: '{"successful":true,"response":{"authorization":"1556529624","id":"071-R-JD5H87UF","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
         
     | 
| 
      
 100 
     | 
    
         
            +
                    Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-JD5H87UF","reference":"c09de3d5e9ee5c1af6db11a939eb0df6","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:24+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071RJD5H87UF"},"errors":[],"test":true}'
         
     | 
| 
       113 
101 
     | 
    
         
             
                http_version: 
         
     | 
| 
       114 
     | 
    
         
            -
              recorded_at:  
     | 
| 
      
 102 
     | 
    
         
            +
              recorded_at: Mon, 29 Apr 2019 09:20:24 GMT
         
     | 
| 
       115 
103 
     | 
    
         
             
            recorded_with: VCR 3.0.3
         
     | 
| 
         @@ -5,7 +5,7 @@ http_interactions: 
     | 
|
| 
       5 
5 
     | 
    
         
             
                uri: https://gateway.sandbox.fatzebra.com.au/v1.0/purchases
         
     | 
| 
       6 
6 
     | 
    
         
             
                body:
         
     | 
| 
       7 
7 
     | 
    
         
             
                  encoding: UTF-8
         
     | 
| 
       8 
     | 
    
         
            -
                  string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":" 
     | 
| 
      
 8 
     | 
    
         
            +
                  string: '{"amount":10000,"card_holder":"Matthew Savage","card_number":"5123456789012346","card_expiry":"02/2030","cvv":123,"reference":"f5f8d5cd684941f35c5c456b1e3070dd","customer_ip":"1.2.3.4","currency":"AUD","test":true}'
         
     | 
| 
       9 
9 
     | 
    
         
             
                headers:
         
     | 
| 
       10 
10 
     | 
    
         
             
                  Accept-Encoding:
         
     | 
| 
       11 
11 
     | 
    
         
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         
     | 
| 
         @@ -23,7 +23,7 @@ http_interactions: 
     | 
|
| 
       23 
23 
     | 
    
         
             
                  message: OK
         
     | 
| 
       24 
24 
     | 
    
         
             
                headers:
         
     | 
| 
       25 
25 
     | 
    
         
             
                  Date:
         
     | 
| 
       26 
     | 
    
         
            -
                  -  
     | 
| 
      
 26 
     | 
    
         
            +
                  - Mon, 29 Apr 2019 09:20:25 GMT
         
     | 
| 
       27 
27 
     | 
    
         
             
                  Content-Type:
         
     | 
| 
       28 
28 
     | 
    
         
             
                  - application/json; charset=utf-8
         
     | 
| 
       29 
29 
     | 
    
         
             
                  Transfer-Encoding:
         
     | 
| 
         @@ -35,33 +35,27 @@ http_interactions: 
     | 
|
| 
       35 
35 
     | 
    
         
             
                  Cache-Control:
         
     | 
| 
       36 
36 
     | 
    
         
             
                  - no-store
         
     | 
| 
       37 
37 
     | 
    
         
             
                  X-Request-Version:
         
     | 
| 
       38 
     | 
    
         
            -
                  - 1.16.9- 
     | 
| 
      
 38 
     | 
    
         
            +
                  - 1.16.9-3941@c1d8236
         
     | 
| 
      
 39 
     | 
    
         
            +
                  X-Runtime:
         
     | 
| 
      
 40 
     | 
    
         
            +
                  - '0.583814'
         
     | 
| 
       39 
41 
     | 
    
         
             
                  Pragma:
         
     | 
| 
       40 
42 
     | 
    
         
             
                  - no-cache
         
     | 
| 
       41 
     | 
    
         
            -
                  X-Xss-Protection:
         
     | 
| 
       42 
     | 
    
         
            -
                  - 1; mode=block
         
     | 
| 
       43 
43 
     | 
    
         
             
                  X-Request-Id:
         
     | 
| 
       44 
     | 
    
         
            -
                  -  
     | 
| 
       45 
     | 
    
         
            -
                  X-Runtime:
         
     | 
| 
       46 
     | 
    
         
            -
                  - '0.541651'
         
     | 
| 
       47 
     | 
    
         
            -
                  X-Frame-Options:
         
     | 
| 
       48 
     | 
    
         
            -
                  - SAMEORIGIN
         
     | 
| 
       49 
     | 
    
         
            -
                  X-Content-Type-Options:
         
     | 
| 
       50 
     | 
    
         
            -
                  - nosniff
         
     | 
| 
      
 44 
     | 
    
         
            +
                  - 9fe8f604df7d9570921c5af8
         
     | 
| 
       51 
45 
     | 
    
         
             
                  X-Backend:
         
     | 
| 
       52 
46 
     | 
    
         
             
                  - sbox-priv-gateway-a
         
     | 
| 
       53 
47 
     | 
    
         
             
                body:
         
     | 
| 
       54 
48 
     | 
    
         
             
                  encoding: UTF-8
         
     | 
| 
       55 
     | 
    
         
            -
                  string: '{"successful":true,"response":{"authorization":" 
     | 
| 
       56 
     | 
    
         
            -
                    Savage","card_expiry":"2030-02-28","card_token":" 
     | 
| 
      
 49 
     | 
    
         
            +
                  string: '{"successful":true,"response":{"authorization":"234106","id":"071-P-GZ3O5O2I","card_number":"512345XXXXXX2346","card_holder":"Matthew
         
     | 
| 
      
 50 
     | 
    
         
            +
                    Savage","card_expiry":"2030-02-28","card_token":"izbufp5bmixaislq4fgx","card_type":"MasterCard","card_category":"Credit","card_subcategory":"Standard","amount":10000,"decimal_amount":100.0,"successful":true,"message":"Approved","reference":"f5f8d5cd684941f35c5c456b1e3070dd","currency":"AUD","transaction_id":"071-P-GZ3O5O2I","settlement_date":"2019-04-29","transaction_date":"2019-04-29T19:20:25+10:00","response_code":"00","captured":true,"captured_amount":10000,"rrn":"071PGZ3O5O2I","cvv_match":"M","metadata":{"authorization_tracking_id":"","original_transaction_reference":""},"addendum_data":{}},"errors":[],"test":true}'
         
     | 
| 
       57 
51 
     | 
    
         
             
                http_version: 
         
     | 
| 
       58 
     | 
    
         
            -
              recorded_at:  
     | 
| 
      
 52 
     | 
    
         
            +
              recorded_at: Mon, 29 Apr 2019 09:20:25 GMT
         
     | 
| 
       59 
53 
     | 
    
         
             
            - request:
         
     | 
| 
       60 
54 
     | 
    
         
             
                method: post
         
     | 
| 
       61 
55 
     | 
    
         
             
                uri: https://gateway.sandbox.fatzebra.com.au/v1.0/refunds
         
     | 
| 
       62 
56 
     | 
    
         
             
                body:
         
     | 
| 
       63 
57 
     | 
    
         
             
                  encoding: UTF-8
         
     | 
| 
       64 
     | 
    
         
            -
                  string: '{"transaction_id":"071-P- 
     | 
| 
      
 58 
     | 
    
         
            +
                  string: '{"transaction_id":"071-P-GZ3O5O2I","amount":10000,"reference":"f5f8d5cd684941f35c5c456b1e3070dd","test":true}'
         
     | 
| 
       65 
59 
     | 
    
         
             
                headers:
         
     | 
| 
       66 
60 
     | 
    
         
             
                  Accept-Encoding:
         
     | 
| 
       67 
61 
     | 
    
         
             
                  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
         
     | 
| 
         @@ -79,7 +73,7 @@ http_interactions: 
     | 
|
| 
       79 
73 
     | 
    
         
             
                  message: OK
         
     | 
| 
       80 
74 
     | 
    
         
             
                headers:
         
     | 
| 
       81 
75 
     | 
    
         
             
                  Date:
         
     | 
| 
       82 
     | 
    
         
            -
                  -  
     | 
| 
      
 76 
     | 
    
         
            +
                  - Mon, 29 Apr 2019 09:20:25 GMT
         
     | 
| 
       83 
77 
     | 
    
         
             
                  Content-Type:
         
     | 
| 
       84 
78 
     | 
    
         
             
                  - application/json; charset=utf-8
         
     | 
| 
       85 
79 
     | 
    
         
             
                  Transfer-Encoding:
         
     | 
| 
         @@ -91,25 +85,19 @@ http_interactions: 
     | 
|
| 
       91 
85 
     | 
    
         
             
                  Cache-Control:
         
     | 
| 
       92 
86 
     | 
    
         
             
                  - no-store
         
     | 
| 
       93 
87 
     | 
    
         
             
                  X-Request-Version:
         
     | 
| 
       94 
     | 
    
         
            -
                  - 1.16.9- 
     | 
| 
      
 88 
     | 
    
         
            +
                  - 1.16.9-3941@c1d8236
         
     | 
| 
      
 89 
     | 
    
         
            +
                  X-Runtime:
         
     | 
| 
      
 90 
     | 
    
         
            +
                  - '0.208919'
         
     | 
| 
       95 
91 
     | 
    
         
             
                  Pragma:
         
     | 
| 
       96 
92 
     | 
    
         
             
                  - no-cache
         
     | 
| 
       97 
     | 
    
         
            -
                  X-Xss-Protection:
         
     | 
| 
       98 
     | 
    
         
            -
                  - 1; mode=block
         
     | 
| 
       99 
93 
     | 
    
         
             
                  X-Request-Id:
         
     | 
| 
       100 
     | 
    
         
            -
                  -  
     | 
| 
       101 
     | 
    
         
            -
                  X-Runtime:
         
     | 
| 
       102 
     | 
    
         
            -
                  - '0.138287'
         
     | 
| 
       103 
     | 
    
         
            -
                  X-Frame-Options:
         
     | 
| 
       104 
     | 
    
         
            -
                  - SAMEORIGIN
         
     | 
| 
       105 
     | 
    
         
            -
                  X-Content-Type-Options:
         
     | 
| 
       106 
     | 
    
         
            -
                  - nosniff
         
     | 
| 
      
 94 
     | 
    
         
            +
                  - c4a3db708c3dc3780dbcfa7c
         
     | 
| 
       107 
95 
     | 
    
         
             
                  X-Backend:
         
     | 
| 
       108 
96 
     | 
    
         
             
                  - sbox-priv-gateway-a
         
     | 
| 
       109 
97 
     | 
    
         
             
                body:
         
     | 
| 
       110 
98 
     | 
    
         
             
                  encoding: UTF-8
         
     | 
| 
       111 
     | 
    
         
            -
                  string: '{"successful":true,"response":{"authorization":" 
     | 
| 
       112 
     | 
    
         
            -
                    Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R- 
     | 
| 
      
 99 
     | 
    
         
            +
                  string: '{"successful":true,"response":{"authorization":"1556529625","id":"071-R-NLCR7NM7","amount":10000,"refunded":"Approved","message":"Approved","card_holder":"Matthew
         
     | 
| 
      
 100 
     | 
    
         
            +
                    Savage","card_number":"512345XXXXXX2346","card_expiry":"2030-02-28","card_type":"MasterCard","transaction_id":"071-R-NLCR7NM7","reference":"f5f8d5cd684941f35c5c456b1e3070dd","currency":"AUD","successful":true,"transaction_date":"2019-04-29T19:20:25+10:00","response_code":"00","settlement_date":"2019-04-30","metadata":{},"standalone":false,"rrn":"071RNLCR7NM7"},"errors":[],"test":true}'
         
     | 
| 
       113 
101 
     | 
    
         
             
                http_version: 
         
     | 
| 
       114 
     | 
    
         
            -
              recorded_at:  
     | 
| 
      
 102 
     | 
    
         
            +
              recorded_at: Mon, 29 Apr 2019 09:20:25 GMT
         
     | 
| 
       115 
103 
     | 
    
         
             
            recorded_with: VCR 3.0.3
         
     |