--- http_interactions: - request: method: post uri: https://api.sandbox.checkout.com/payments body: encoding: UTF-8 string: '{"capture":false,"amount":"0","reference":null,"currency":"USD","metadata":{"udf5":"ActiveMerchant"},"source":{"type":"card","name":"Ben Crouse","number":"4242424242424242","cvv":100,"expiry_year":"2020","expiry_month":"01"},"customer":{"email":"user@workarea.com"}}' headers: Content-Type: - application/json;charset=UTF-8 Authorization: - sk_test_f4c1d728-928c-4381-bc6b-03c0888fb877 Connection: - close 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: Cache-Control: - no-cache Pragma: - no-cache Content-Length: - '1166' Content-Type: - application/json; charset=utf-8 Expires: - "-1" Location: - https://api.sandbox.checkout.com/payments/pay_fgnnndfiyquunaubppr3jxfofq Product: - Gateway Cko-Version: - 3.31.11 Cko-Request-Id: - 510824d8-13d6-4fcf-b3f8-85aacafede04 Access-Control-Allow-Origin: - "*" Access-Control-Allow-Headers: - Origin,X-Requested-With,Content-Type,Accept,X-AuthToken,Access-Control-Request-Method,Access-Control-Allow-Methods,Access-Control-Request-Headers,authorization,X_Auth_Credentials Access-Control-Allow-Methods: - OPTIONS,POST,GET,PUT,DELETE Access-Control-Request-Method: - OPTIONS,POST,GET,PUT,DELETE Access-Control-Request-Headers: - authorization Date: - Tue, 10 Sep 2019 18:10:46 GMT Connection: - close body: encoding: UTF-8 string: '{"id":"pay_fgnnndfiyquunaubppr3jxfofq","action_id":"act_fgnnndfiyquunaubppr3jxfofq","amount":0,"currency":"USD","approved":true,"status":"Card Verified","auth_code":"085870","eci":"05","scheme_id":"638500575273231","response_code":"10000","response_summary":"Approved","risk":{"flagged":false},"source":{"id":"src_22walxx34p4utlilnus4rlm4l4","type":"card","expiry_month":1,"expiry_year":2020,"name":"Ben Crouse","scheme":"Visa","last4":"4242","fingerprint":"A24ADA27CDDFF03B3607A0E4EA30E189F84B198ABDB346E39C3619982E7474AD","bin":"424242","card_type":"Credit","card_category":"Consumer","issuer":"JPMORGAN CHASE BANK NA","issuer_country":"US","product_id":"A","product_type":"Visa Traditional","avs_check":"S","cvv_check":"Y"},"customer":{"id":"cus_pc5upvoxfcte5fvqushqkksf7i","email":"user@workarea.com","name":"Ben Crouse"},"processed_on":"2019-09-10T18:10:46Z","processing":{"acquirer_transaction_id":"1434678100","retrieval_reference_number":"221719408493"},"_links":{"self":{"href":"https://api.sandbox.checkout.com/payments/pay_fgnnndfiyquunaubppr3jxfofq"},"actions":{"href":"https://api.sandbox.checkout.com/payments/pay_fgnnndfiyquunaubppr3jxfofq/actions"}}}' http_version: recorded_at: Tue, 10 Sep 2019 18:10:46 GMT - request: method: post uri: https://api.sandbox.checkout.com/payments body: encoding: UTF-8 string: '{"capture":false,"amount":"500","reference":"2B2EFCF4F1","currency":"USD","metadata":{"udf5":"ActiveMerchant"},"source":{"type":"id","id":"src_22walxx34p4utlilnus4rlm4l4","billing_address":{"address_line1":"22 s. 3rd st.","city":"Philadelphia","state":"PA","country":"US","zip":"19106"}},"customer":{"email":"user@workarea.com"}}' headers: Content-Type: - application/json;charset=UTF-8 Authorization: - sk_test_f4c1d728-928c-4381-bc6b-03c0888fb877 Connection: - close 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: Cache-Control: - no-cache Pragma: - no-cache Content-Length: - '1390' Content-Type: - application/json; charset=utf-8 Expires: - "-1" Location: - https://api.sandbox.checkout.com/payments/pay_z4mhqgzybogudjb4x4jo6tf6ha Product: - Gateway Cko-Version: - 3.31.11 Cko-Request-Id: - ed379e26-63c3-4bf7-af29-b6bda895ee64 Access-Control-Allow-Origin: - "*" Access-Control-Allow-Headers: - Origin,X-Requested-With,Content-Type,Accept,X-AuthToken,Access-Control-Request-Method,Access-Control-Allow-Methods,Access-Control-Request-Headers,authorization,X_Auth_Credentials Access-Control-Allow-Methods: - OPTIONS,POST,GET,PUT,DELETE Access-Control-Request-Method: - OPTIONS,POST,GET,PUT,DELETE Access-Control-Request-Headers: - authorization Date: - Tue, 10 Sep 2019 18:10:47 GMT Connection: - close body: encoding: UTF-8 string: '{"id":"pay_z4mhqgzybogudjb4x4jo6tf6ha","action_id":"act_z4mhqgzybogudjb4x4jo6tf6ha","amount":500,"currency":"USD","approved":true,"status":"Authorized","auth_code":"180212","eci":"05","scheme_id":"768193587887811","response_code":"10000","response_summary":"Approved","risk":{"flagged":false},"source":{"id":"src_22walxx34p4utlilnus4rlm4l4","type":"card","expiry_month":1,"expiry_year":2020,"name":"Ben Crouse","scheme":"Visa","last4":"4242","fingerprint":"A24ADA27CDDFF03B3607A0E4EA30E189F84B198ABDB346E39C3619982E7474AD","bin":"424242","card_type":"Credit","card_category":"Consumer","issuer":"JPMORGAN CHASE BANK NA","issuer_country":"US","product_id":"A","product_type":"Visa Traditional","avs_check":"S","cvv_check":"Y"},"customer":{"id":"cus_pc5upvoxfcte5fvqushqkksf7i","email":"user@workarea.com","name":"Ben Crouse"},"processed_on":"2019-09-10T18:10:47Z","reference":"2B2EFCF4F1","processing":{"acquirer_transaction_id":"1579683508","retrieval_reference_number":"726563618060"},"_links":{"self":{"href":"https://api.sandbox.checkout.com/payments/pay_z4mhqgzybogudjb4x4jo6tf6ha"},"actions":{"href":"https://api.sandbox.checkout.com/payments/pay_z4mhqgzybogudjb4x4jo6tf6ha/actions"},"capture":{"href":"https://api.sandbox.checkout.com/payments/pay_z4mhqgzybogudjb4x4jo6tf6ha/captures"},"void":{"href":"https://api.sandbox.checkout.com/payments/pay_z4mhqgzybogudjb4x4jo6tf6ha/voids"}}}' http_version: recorded_at: Tue, 10 Sep 2019 18:10:47 GMT recorded_with: VCR 2.9.3