--- http_interactions: - request: method: post uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions body: encoding: UTF-8 string: | 40 fake-valid-nonce true sale headers: Accept-Encoding: - gzip Accept: - application/xml User-Agent: - Braintree Ruby Gem 2.98.0 X-Apiversion: - '5' Content-Type: - application/xml Authorization: - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: Date: - Fri, 13 Sep 2019 14:27:25 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Authentication: - basic_auth X-User: - 3v249hqtptsg744y Vary: - Accept-Encoding Content-Encoding: - gzip Etag: - W/"b26a56ec4f2cf92cc1cbb9eab1b86d42" Cache-Control: - max-age=0, private, must-revalidate X-Runtime: - '0.406919' X-Request-Id: - 02-1568384845.030-92.223.152.178-13020506 Content-Security-Policy: - frame-ancestors 'self' X-Broxyid: - 02-1568384845.030-92.223.152.178-13020506 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- H4sIAE2ne10AA+RYS2/jNhC+51cYvjOyHadxFoq2LYp2W6AB2n10t5eAksYWNxSpkpRj76/vUNTTopz00GKB3mzOx+FwOI9vFL4+5Hy2B6WZFHfz5eViPgORyJSJ3d38/bsfyWb+OroIjaJC08QgKrqYzUKWRlRsFOhvsjDAP3ZNG2pKHekyzpkxkD5spXrQYAyHHIQJgxpgseZYQKQphzCoftq1pFQKzz4SpiVBEyB6//aHMBgvWzDNZSlMtF5cLhZhUP+zghxUklFhCE0Su0jQOm0gjyVHE3zSyvYyJh7ZTDB+NzeqhHngtFPUpV4ElSpFpEeQKKDoHkLNzN79bp7iX8NymEerxfKWLG7J8urdcv1qdfNqdf0neqDdUO0vi/Sf7e821H7WRuIN7J/qKU8txMUtU9oQQXPwCDmd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FAolnKeLFo8sk5tpkS7Jse4pwyXSWoVwZOi2yK/0QNnxr9sOqObRsqRVJqPxngvSayupW7fopzvICxVnzzvSUAW4Cp1m2PlU/EveZIim6IS6XdXJCCwelXN3V9IPK/TW+o8B8/xIy+krwQDgfrAOxnym+GHbAwUpEK+xSWSeKZGfBFJu5ub16UBs7NW44f0PQzEgC734etmzZhAmlw6QY6S1RchX6wFToMpkBDItlzypBv9rnkJOh5XRX7fE5XS1EFmCepHk9O+fgxDPwS755Km8ZayfFFnXDW0lwr9GhrLTAZFkCCxcBmCaDzttI7zGqyVTglnRn02pl3Kn+aQjElb4wcjt/RwnaIxe3yarle3ayuu8uc4KYGBhsD9OzA0ETJMCQr9gr63He31aLfs6a29z9stETHH+Znv1uc3ev9NjJJq6a+dkxvaCVR+uaXLBb32aer34t4db399Md6neQfvtznuzDoYBeDHhld/A0AAP//AwBh2/FTexYAAA== http_version: recorded_at: Fri, 13 Sep 2019 14:27:25 GMT - request: method: put uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/an8res6h/settle body: encoding: UTF-8 string: '' headers: Accept-Encoding: - gzip Accept: - application/xml User-Agent: - Braintree Ruby Gem 2.98.0 X-Apiversion: - '5' Content-Type: - application/xml Authorization: - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 200 message: OK headers: Date: - Fri, 13 Sep 2019 14:27:27 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Authentication: - basic_auth X-User: - 3v249hqtptsg744y Vary: - Accept-Encoding Content-Encoding: - gzip Etag: - W/"89e6f65c0e25e72e5dd533132532109e" Cache-Control: - max-age=0, private, must-revalidate X-Runtime: - '0.553441' X-Request-Id: - 02-1568384846.298-92.223.152.178-13020777 Content-Security-Policy: - frame-ancestors 'self' X-Broxyid: - 02-1568384846.298-92.223.152.178-13020777 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- H4sIAE+ne10AA+RYS2/jNhC+51cYvjOSHWc3WSjatij6ArpAu4/u9mJQ4tjiRiJVknLs/fUdinpGlJMeWhTtzeZ8HA6H8/hG0etjkS8OoDSX4m65ugyXCxCpZFzs75bv331Hbpav44vIKCo0TQ2i4ovFIuIspuJGgX6RRQH+sWvaUFPpWIMxObAoaP5bkTmVEGuaQxTUP+1aWimFR50I15LgiRC/f/ttFEyXLZgWshIm3oSXYRgFzT8rKEClGRWG0DS1iwSN0QaKROYmCnzS2tQqIR7ZQvD8bmlUBcvAaaeoSz0LKhVDpEeQKqAGGKFmYe9+t2T41/AClvE6XN2S8Jasrt6tNq/WL1+tr39HD3Qb6v1VyZ6//wXu7zc0ftZG4g3sn/rlHluIizuutCGCFuAR5nRelsqipOLkkUBBee5Zf4BEc+PTVWZS+NZ39DhxajC8VZTwPMeA/YdvqI0CwJhgDPNA+1xwNCCYfYlZSC5TmnPjU69gj9nm85PEzMpdbtxuVuHLKBgutWZjnKrT/K2c2O4gNC8zun4W6uoplKjwUXg6fbDBG+HVdpVgvmTpJLoJdqoUPY2E6M9BNfIpKakyHN3hKlEBmLDjHT7ltDKZVPzL0+oHahNq0swWlT4Tt2312YZXh8/ZtbjCSujZUWvKeFn+LwP3TBj9ayJ2+DpNFSU7DjnTTcQcNAGlpCLoo1IKDd6r1bjB1cfo+GdsZ2cBrYrxqz0C/ei0nMXU1zgcpudPFy10j03kgZ5Q8hlcLmBf0tOHjUolUzwN/dDmEK3htaYfvvn4/S8rrFDnQGMtY1NWoe34c9KZnQYjOP66RMnBMpE5RO1axri1BJ0/hU3uepA8tQ+0w4fHHRg7CaipRyrLF/AURwpmUIYeiWMyXhEcoSjbnp9ImQMVy3hHc21ZVAdoOQbegqRUsSbEjbwHXw4mXCCLWq1vbmxJFsM6solXNzf4VM2fJlVQJak52weuKcZK978t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XPsWUXAAA= http_version: recorded_at: Fri, 13 Sep 2019 14:27:27 GMT - request: method: post uri: https://api.sandbox.braintreegateway.com/merchants/7rdg92j7bm7fk5h3/transactions/an8res6h/refund body: encoding: UTF-8 string: | 20.00 headers: Accept-Encoding: - gzip Accept: - application/xml User-Agent: - Braintree Ruby Gem 2.98.0 X-Apiversion: - '5' Content-Type: - application/xml Authorization: - Basic bXdqa2t4d2NwMzJja2huZjphOTI5OGY0M2IzMGM2OTlkYjMwNzJjYzRhMDBmN2Y0OQ== response: status: code: 201 message: Created headers: Date: - Fri, 13 Sep 2019 14:27:28 GMT Content-Type: - application/xml; charset=utf-8 Transfer-Encoding: - chunked X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Authentication: - basic_auth X-User: - 3v249hqtptsg744y Vary: - Accept-Encoding Content-Encoding: - gzip Etag: - W/"068f4b326f929d71169f4ef9c3b9e5fb" Cache-Control: - max-age=0, private, must-revalidate X-Runtime: - '0.310492' X-Request-Id: - 02-1568384847.892-92.223.152.178-13021078 Content-Security-Policy: - frame-ancestors 'self' X-Broxyid: - 02-1568384847.892-92.223.152.178-13021078 Strict-Transport-Security: - max-age=31536000; includeSubDomains body: encoding: ASCII-8BIT string: !binary |- H4sIAFCne10AA+RYS2/jNhC+51cYvjOyHafrBIrSAoui6CEoupuk6SWgxJHFtUSqJOXY+fU71FsR5WQvRYHerJmPjxnO4xv7t4csne1BaS7FzXx5vpjPQESScbG9md9//ZVs5rfBmW8UFZpGBlHB2WzmcxZcLg+XRyqU7+GHlWlDTaEDXYQZNwbYcyzVswZjUshAGN+rARZrjjkEkQLGUV5+WGlUKIWnHwnXkuAlILj/8tn3xmILppkshAlWi/PFwvfqL6vIQEUJFYbQKLJCgvfTBrJQpniYS1vevgiJQzcTPL2ZG1XA3Kt2p7iX+hBUKoZIhwINp+ggQs3M2n4zZ/hpeAZzNGd5RRZXZHnxdbm+Xn26Xm3+Rg+0C8r1Rc5+b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