--- http_interactions: - request: method: post uri: https://api-cert.payeezy.com/v1/transactions/tokens body: encoding: UTF-8 string: '{"transaction_type":"store","apikey":"78D9PJJDKnP52U1jwC4APpAsFdwxaphC","ta_token":"NOIW","type":"FDToken","credit_card":{"type":"Visa","cardholder_name":"Ben Crouse","card_number":"4111111111111111","exp_date":"0119","cvv":999},"auth":"false"}' headers: Content-Type: - application/json Apikey: - 78D9PJJDKnP52U1jwC4APpAsFdwxaphC Token: - fdoa-941fbaa7c83dd658684cfe1c31d6d61c941fbaa7c83dd658 Nonce: - '973711556.2886611' Timestamp: - '1523992681917' Authorization: - ODQwN2E2MTFiZGY4ODk5NGYwOTdlZWRkNjE3YTkyMzcxMTZiYWZkNWIzNTBmYTc5NjMxMzA3NzJhNTIxNWZmNQ== Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 201 message: Created headers: Content-Language: - en-US Content-Type: - application/json;charset=UTF-8 Correlation-Id: - '124.2399268242889' Date: - Tue, 17 Apr 2018 19:18:02 GMT Optr-Cxt: - 01000100004c3a16db-b0fa-46bb-90c6-2e6032d9e6da00000000-0000-0000-0000-000000000000-1 HTTP ; X-Archived-Client-Ip: - 10.174.197.250 X-Backside-Transport: - OK OK,OK OK X-Client-Ip: - 10.174.197.250,54.218.45.37 X-Global-Transaction-Id: - '3932677999' X-Powered-By: - Servlet/3.0 Content-Length: - '174' Connection: - keep-alive body: encoding: UTF-8 string: '{"correlation_id":"124.2399268242889","status":"success","type":"FDToken","token":{"type":"Visa","cardholder_name":"Ben Crouse","exp_date":"0119","value":"9495846215171111"}}' http_version: recorded_at: Tue, 17 Apr 2018 19:18:02 GMT - request: method: post uri: https://api-cert.payeezy.com/v1/transactions body: encoding: UTF-8 string: '{"transaction_type":"recurring","merchant_ref":null,"method":"token","token":{"token_type":"FDToken","token_data":{"type":"Visa","cardholder_name":"Ben Crouse","value":"9495846215171111","exp_date":"0119"}},"billing_address":{"street":"22 s. 3rd st.","city":"Philadelphia","state_province":"PA","zip_postal_code":"19106","country":"US"},"currency_code":"USD","amount":"500"}' headers: Content-Type: - application/json Apikey: - 78D9PJJDKnP52U1jwC4APpAsFdwxaphC Token: - fdoa-941fbaa7c83dd658684cfe1c31d6d61c941fbaa7c83dd658 Nonce: - '3918488525.2502356' Timestamp: - '1523992682604' Authorization: - OGFhZTYzN2RhMzNiYjBiNTlkM2Q2M2U0OTBhZGQzNzlkNjQ3Mjc2ZjQ1ZjRjYjQ0ZDRiY2M5MmZhZGIxNzQ3Mw== Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby response: status: code: 201 message: Created headers: Access-Control-Allow-Headers: - Content-Type, apikey, token Access-Control-Allow-Methods: - GET, PUT, POST, DELETE Access-Control-Allow-Origin: - http://localhost:8080 Access-Control-Max-Age: - '3628800' Access-Control-Request-Headers: - origin, x-requested-with, accept, content-type Content-Language: - en-US Content-Type: - application/json;charset=UTF-8 Date: - Tue, 17 Apr 2018 19:18:03 GMT Optr-Cxt: - 0100010000aedf5063-6540-47c5-b702-f4d9f0557a7000000000-0000-0000-0000-000000000000-1 HTTP ; X-Archived-Client-Ip: - 10.174.197.250 X-Backside-Transport: - OK OK,OK OK X-Client-Ip: - 10.174.197.250,54.201.0.49 X-Global-Transaction-Id: - '4145694295' X-Powered-By: - Servlet/3.0 Content-Length: - '511' Connection: - keep-alive body: encoding: UTF-8 string: '{"correlation_id":"124.2399268298090","transaction_status":"approved","validation_status":"success","transaction_type":"recurring","transaction_id":"ET140468","transaction_tag":"2251924301","method":"token","amount":"500","currency":"USD","avs":"2","cvv2":"I","token":{"token_type":"FDToken","token_data":{"type":"Visa","cardholder_name":"Ben Crouse","exp_date":"0119","value":"9495846215171111"}},"bank_resp_code":"100","bank_message":"Approved","gateway_resp_code":"00","gateway_message":"Transaction Normal"}' http_version: recorded_at: Tue, 17 Apr 2018 19:18:03 GMT recorded_with: VCR 2.9.3