--- http_interactions: - request: method: get uri: https://api.culqi.com/v2/customers/ body: encoding: US-ASCII string: '' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Host: - api.culqi.com Authorization: - Bearer sk_test_SpwICNI4YT0OSLHY Content-Type: - application/json Cache-Control: - no-cache response: status: code: 200 message: OK headers: Server: - ":" - nginx Date: - Thu, 12 Oct 2017 15:39:29 GMT Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: - chunked Connection: - keep-alive Set-Cookie: - JSESSIONID=C15581CEBFB36842F598B9E3208E0D63; Path=/api/; HttpOnly X-Culqi-Tracking-Id: - '1924571' X-Culqi-Environment: - test X-Culqi-Version: - 2.0.0 body: encoding: ASCII-8BIT string: !binary |- eyJkYXRhIjpbeyJvYmplY3QiOiJjdXN0b21lciIsImlkIjoiY3VzX3Rlc3RfQ0FjU3JDa0JsOFpSOWJwVCIsImNyZWF0aW9uX2RhdGUiOjE1MDc4MjE1MTMwMDAsImVtYWlsIjoiZGFuaWVsZV9oZXNzZWxAbWlsbHMuY2EiLCJhbnRpZnJhdWRfZGV0YWlscyI6eyJmaXJzdF9uYW1lIjoiSGFuIiwibGFzdF9uYW1lIjoiU29sbyIsImFkZHJlc3MiOiJZVC0xMzAwIiwiYWRkcmVzc19jaXR5IjoiQWxhYmFtYSIsImNvdW50cnlfY29kZSI6IlVTIiwicGhvbmUiOiI1NTU1NTU1NTU1Iiwib2JqZWN0IjoiY2xpZW50In0sImNhcmRzIjpbeyJvYmplY3QiOiJjYXJkIiwiaWQiOiJjcmRfdGVzdF9JUmhmSG5udmJ6cG4wZXMxIiwiYWN0aXZlIjp0cnVlLCJjcmVhdGlvbl9kYXRlIjoxNTA3ODIxNTE3MDAwLCJjdXN0b21lcl9pZCI6ImN1c190ZXN0X0NBY1NyQ2tCbDhaUjlicFQiLCJzb3VyY2UiOnsib2JqZWN0IjoidG9rZW4iLCJpZCI6InRrbl90ZXN0X2JaS0VORXR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l0PTUwJmFmdGVyPWN1c190ZXN0X2huZlFFWEVNWEpuUFpBNVUiLCJjdXJzb3JzIjp7ImJlZm9yZSI6ImN1c190ZXN0X0NBY1NyQ2tCbDhaUjlicFQiLCJhZnRlciI6ImN1c190ZXN0X2huZlFFWEVNWEpuUFpBNVUifX19 http_version: recorded_at: Thu, 12 Oct 2017 15:39:29 GMT - request: method: post uri: https://api.culqi.com/v2/cards/ body: encoding: UTF-8 string: '{"customer_id":"cus_test_5KekHsuSguEzjzh8","token_id":"tkn_test_c8ChvbzCYW2PG5fO"}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Host: - api.culqi.com Authorization: - Bearer sk_test_SpwICNI4YT0OSLHY Content-Type: - application/json Cache-Control: - no-cache response: status: code: 201 message: Created headers: Server: - ":" - nginx Date: - Thu, 12 Oct 2017 15:39:33 GMT Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: - chunked Connection: - keep-alive Set-Cookie: - JSESSIONID=D8393139F63A2525F6EBD0E5D9C65FC7; Path=/api/; HttpOnly X-Culqi-Tracking-Id: - '1924572' X-Culqi-Environment: - test X-Culqi-Version: - 2.0.0 body: encoding: ASCII-8BIT string: !binary |- eyJvYmplY3QiOiJjYXJkIiwiaWQiOiJjcmRfdGVzdF9MWWZQWmtOWTBvQzlaVno1IiwiYWN0aXZlIjp0cnVlLCJjcmVhdGlvbl9kYXRlIjoxNTA3Nzg5MzMzMDAwLCJjdXN0b21lcl9pZCI6ImN1c190ZXN0XzVLZWtIc3VTZ3VFemp6aDgiLCJzb3VyY2UiOnsib2JqZWN0IjoidG9rZW4iLCJpZCI6InRrbl90ZXN0X2M4Q2h2YnpDWVcyUEc1Zk8iLCJ0eXBlIjoiY2FyZCIsImNyZWF0aW9uX2RhdGUiOjE1MDc4MjI3NjMwMDAsImVtYWlsIjoiaGFuQGV4YW1wbGUuY29tIiwiY2FyZF9udW1iZXIiOiI0MTExMTEqKioqKioxMTExIiwibGFzdF9mb3VyIjoiMTExMSIsImFjdGl2ZSI6dHJ1ZSwiaWluIjp7Im9iamVjdCI6ImlpbiIsImJpbiI6IjQxMTExMSIsImNhcmRfYnJhbmQiOiJWaXNhIiwiY2FyZF90eXBlIjoiY3JlZGl0byIsImNhcmRfY2F0ZWdvcnkiOiJDbMOhc2ljYSIsImlzc3VlciI6eyJuYW1lIjoiSlBNT1JHQU4gQ0hBU0UgQkFOSywgTi5BLiIsImNvdW50cnkiOiJVTklURUQgU1RBVEVTIiwiY291bnRyeV9jb2RlIjoiVVMiLCJ3ZWJzaXRlIjpudWxsLCJwaG9uZV9udW1iZXIiOm51bGx9LCJpbnN0YWxsbWVudHNfYWxsb3dlZCI6WzIsNCw2LDgsMTAsMTJdfSwiY2xpZW50Ijp7ImlwIjoiMTc5LjcuMTUzLjIyNCIsImlwX2NvdW50cnkiOiJQZXLDuiIsImlwX2NvdW50cnlfY29kZSI6IlBFIiwiYnJvd3NlciI6bnVsbCwiZGV2aWNlX2ZpbmdlcnByaW50IjoiMTM0NzQwOTkzNSIsImRldmljZV90eXBlIjoiRXNjcml0b3JpbyJ9LCJtZXRhZGF0YSI6eyJjbGllbnRfaXAiOiIxNzkuNy4xNTMuMjI0In19LCJtZXRhZGF0YSI6e319 http_version: recorded_at: Thu, 12 Oct 2017 15:39:33 GMT - request: method: post uri: https://api.culqi.com/v2/charges/ body: encoding: UTF-8 string: '{"amount":1999,"capture":true,"currency_code":"PEN","description":null,"email":"han@example.com","installments":0,"source_id":"crd_test_LYfPZkNY0oC9ZVz5"}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Host: - api.culqi.com Authorization: - Bearer sk_test_SpwICNI4YT0OSLHY Content-Type: - application/json Cache-Control: - no-cache response: status: code: 201 message: Created headers: Server: - ":" - nginx Date: - Thu, 12 Oct 2017 15:39:39 GMT Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: - chunked Connection: - keep-alive Set-Cookie: - JSESSIONID=48FD9C44EE44322E01DEA895F5C84244; Path=/api/; HttpOnly X-Culqi-Tracking-Id: - '1924575' X-Culqi-Environment: - test X-Culqi-Version: - 2.0.0 body: encoding: ASCII-8BIT string: !binary |- eyJkdXBsaWNhdGVkIjpmYWxzZSwib2JqZWN0IjoiY2hhcmdlIiwiaWQiOiJjaHJfdGVzdF9FbzFLejREMEFKb2RBZDNQIiwiY3JlYXRpb25fZGF0ZSI6MTUwNzgyMjc3NzAwMCwiYW1vdW50IjoxOTk5LCJhbW91bnRfcmVmdW5kZWQiOjAsImN1cnJlbnRfYW1vdW50IjoxOTk5LCJpbnN0YWxsbWVudHMiOjAsImluc3RhbGxtZW50c19hbW91bnQiOm51bGwsImN1cnJlbmN5X2NvZGUiOiJQRU4iLCJlbWFpbCI6ImhhbkBleGFtcGxlLmNvbSIsImRlc2NyaXB0aW9uIjpudWxsLCJzb3VyY2UiOnsib2JqZWN0IjoiY2FyZCIsImlkIjoiY3JkX3Rlc3RfTFlmUFprTlkwb0M5WlZ6NSIsImFjdGl2ZSI6dHJ1ZSwiY3JlYXRpb25fZGF0ZSI6MTUwNzc4OTMzMzAwMCwiY3VzdG9tZXJfaWQiOiJjdXNfdGVzdF81S2VrSHN1U2d1RXpqemg4Iiwic291cmNlIjp7Im9iamVjdCI6InRva2VuIiwiaWQiOiJ0a25fdGVzdF9jOENodmJ6Q1lXMlBHNWZPIiwidHlwZSI6ImNhcmQiLCJjcmVhdGlvbl9kYXRlIjoxNTA3ODIyNzYzMDAwLCJlbWFpbCI6ImhhbkBleGFtcGxlLmNvbSIsImNhcmRfbnVtYmVyIjoiNDExMTExKioqKioqMTExMSIsImxhc3RfZm91ciI6IjExMTEiLCJhY3RpdmUiOnRydWUsImlpbiI6eyJvYmplY3QiOiJpaW4iLCJiaW4iOiI0MTExMTEiLCJjYXJkX2JyYW5kIjoiVmlzYSIsImNhcmRfdHlwZSI6ImNyZWRpdG8iLCJjYXJkX2Nh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5ZDZFVDhZYkMiLCJtZXRhZGF0YSI6e30sInRvdGFsX2ZlZSI6ODksImZlZV9kZXRhaWxzIjp7ImZpeGVkX2ZlZSI6e30sInZhcmlhYmxlX2ZlZSI6eyJjdXJyZW5jeV9jb2RlIjoiUEVOIiwiY29tbWlzaW9uIjowLjAzNzUsInRvdGFsIjo3NX19LCJ0b3RhbF9mZWVfdGF4ZXMiOjE0LCJ0cmFuc2Zlcl9hbW91bnQiOjE5MTAsInBhaWQiOmZhbHNlLCJzdGF0ZW1lbnRfZGVzY3JpcHRvciI6IkNVTFFJKiIsInRyYW5zZmVyX2lkIjpudWxsfQ== http_version: recorded_at: Thu, 12 Oct 2017 15:39:39 GMT - request: method: post uri: https://api.culqi.com/v2/refunds/ body: encoding: UTF-8 string: '{"amount":1999,"charge_id":"chr_test_Eo1Kz4D0AJodAd3P","reason":"solicitud_comprador"}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Host: - api.culqi.com Authorization: - Bearer sk_test_SpwICNI4YT0OSLHY Content-Type: - application/json Cache-Control: - no-cache response: status: code: 201 message: Created headers: Server: - ":" - nginx Date: - Thu, 12 Oct 2017 15:39:48 GMT Content-Type: - application/json;charset=UTF-8 Transfer-Encoding: - chunked Connection: - keep-alive Set-Cookie: - JSESSIONID=4661D318B2924EE812438CE5F2D075AF; Path=/api/; HttpOnly X-Culqi-Tracking-Id: - '1924578' X-Culqi-Environment: - test X-Culqi-Version: - 2.0.0 body: encoding: ASCII-8BIT string: !binary |- eyJvYmplY3QiOiJyZWZ1bmQiLCJpZCI6InJlZl90ZXN0X3VxTVM1aHZBTFZ5NkNOWGkiLCJjaGFyZ2VfaWQiOiJjaHJfdGVzdF9FbzFLejREMEFKb2RBZDNQIiwiY3JlYXRpb25fZGF0ZSI6MTUwNzgyMjc4NzAwMCwiYW1vdW50IjoxOTk5LCJyZWFzb24iOiJEZXZvbHVjacOzbiBzb2xpY2l0YWRhIHBvciBlbCBjb21lcmNpbyIsIm1ldGFkYXRhIjp7fX0= http_version: recorded_at: Thu, 12 Oct 2017 15:39:48 GMT recorded_with: VCR 3.0.3