diff --git a/bin/masspay.py b/bin/masspay.py index 06a01649e9..b7ea3bd856 100755 --- a/bin/masspay.py +++ b/bin/masspay.py @@ -1,21 +1,9 @@ #!/usr/bin/env python """This is a script for managing MassPay each week. -Most of our payouts are handled by Balanced, but they're limited to people in -the U.S. We need to payout to people outside the U.S. (#126), and while we work -on a long-term solution, we are using PayPal. However, we've grown past the -point that PayPal's Instant Transfer feature is workable. This script is for -interfacing with PayPal's MassPay feature. +See documentation here: -This script provides for: - - 1. Computing an input CSV by hitting the Gratipay database directly. - 2. Computing two output CSVs (one to upload to PayPal, the second to use for POSTing - the exchanges back to Gratipay) - 3. POSTing the exchanges back to Gratipay via the HTTP API. - -The idea is that you run steps 1 and 2, then run through the MassPay UI on the -PayPal website using the appropriate CSV from step 2, then run step 3. + http://inside.gratipay.com/howto/run-masspay """ from __future__ import absolute_import, division, print_function, unicode_literals diff --git a/gratipay/billing/exchanges.py b/gratipay/billing/exchanges.py index 0b2ed6856d..28f0fde0b0 100644 --- a/gratipay/billing/exchanges.py +++ b/gratipay/billing/exchanges.py @@ -198,12 +198,20 @@ def get_ready_payout_routes_by_network(db, network): ) > 0 - OR -- Include green-lit Gratipay 1.0 balances + OR -- Include team members + + (SELECT count(*) + FROM current_takes ct + JOIN teams t ON ct.team_id = t.id + WHERE ct.participant_id = p.id + AND t.is_approved IS TRUE + AND t.is_closed IS NOT TRUE + ) > 0 - p.status_of_1_0_payout='pending-payout' + OR -- Include green-lit Gratipay 1.0 balances - ----- TODO: Include team members once process_takes is implemented + p.status_of_1_0_payout='pending-payout' ) """, (network,)) diff --git a/gratipay/testing/billing.py b/gratipay/testing/billing.py index 0fce8a769d..9fbe67d89f 100644 --- a/gratipay/testing/billing.py +++ b/gratipay/testing/billing.py @@ -19,6 +19,8 @@ class BillingHarness(Harness): _fixture_installed = False def setUp(self): + super(BillingHarness, self).setUp() + if not BillingHarness._fixture_installed: install_fixture() @@ -32,8 +34,8 @@ def setUp(self): braintree_customer_id=self.obama_bt_id) self.obama_route = ExchangeRoute.insert(self.obama, 'braintree-cc', self.obama_cc_token) # A customer with Paypal attached. - self.homer = self.make_participant('homer', is_suspicious=False, - claimed_time='now') + self.homer = self.make_participant('homer', is_suspicious=False, verified_in='US', + claimed_time='now', email_address='abcd@gmail.com') self.homer_route = ExchangeRoute.insert(self.homer, 'paypal', 'abcd@gmail.com') diff --git a/tests/py/fixtures/TestGetReadyPayoutRoutesByNetwork.yml b/tests/py/fixtures/TestGetReadyPayoutRoutesByNetwork.yml new file mode 100644 index 0000000000..f2f051033c --- /dev/null +++ b/tests/py/fixtures/TestGetReadyPayoutRoutesByNetwork.yml @@ -0,0 +1,193 @@ +interactions: +- request: + body: !!python/unicode bkhpqm103.311443524salefalse2 + headers: {} + method: POST + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions + response: + body: + string: !!binary | + H4sIAEltyFcAA9xYS2/jNhC+768IfGck2U7WWSgKWhQL9NBe9oG2lwVFjSzGEqklKcfeX9+hKMlS + RCXpoUDRmzXzccgZzuOj44dTVV4dQWkuxf0qug5XVyCYzLjY36++fP5IdquH5F1sFBWaMoOo5N3V + Vcyz5CYN7zREeRzgh5VpQ02jE9qYQir+A7I46ERWa841JJqWEAftTytjjVK425lwLQluCsmXT7/E + wVxswbSSjTBJFG6uN2EcdJ9WU4FiBRWGUMaskOCBtEnvDtv3P36kj2t1e/MYBz5Ue+wmJR7dleDl + /cqoBlaB24VqA+pNUKkyRHoUTAE1kBFqrmwQ7lcZfhpewSpZh9EtCe9IGH2Odh/C9Yft3V8YimFB + u76ps3+2/rKgC7g2Ej2wH+4Wo2i73dyst/0tojTnShsiaAXPz4/Kki7rmKxqKs4eDVSUlx75E6Sa + G5+tupDCJ8/paRbVYOxWnPKyxOy9uLh9+ned00YBYD5kmQKtfd6fDIjM3sIipJSMltz4zCvYY9X5 + QiSxvEpXIHfbKHwfB2NRf2zMUXVe9sqp7QpCy7qg6zehNq+hRIP3wdn8rkbXg67ljch8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28om425xpMQxpo7Sj + yBkYfAP2xGqq8t/NiF/7t59iZv8avBEOJxsA7M/Kfwz71sBMRW7nM9gw5qHPeCMLvlvP68aALzW6 + wUK4QLLWuPeKHaausXyzjSUOlkBTujNydMqKxoxnEfS6rZYjvWZrIFKmwBFKsLxs3gEePZfTiE2a + R/LubwAAAP//AwDsK9UolhIAAA== + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"44abb810aa271979e2abb3fb64553b64"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 201, message: Created} +- request: + body: 103.3 + headers: {} + method: PUT + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/5b09se1f/submit_for_settlement + response: + body: + string: !!binary | + H4sIAEptyFcAA9xYS2/cNhC+51cYe6cl7cNZG7KCFkWAHtpLkqLtxaCo0YpZiVRIau3Nr+9QlLSS + RdkGigJBb6uZj0POcB4fN/7wVJVXJ1CaS3G/iq7D1RUIJjMuDverL58/kv3qQ/IuNooKTZlBVPLu + 6irmWbJLw1sNUR4H+GFl2lDT6EQ3acWNgewhl+pBgzElVCBMHHQAizXnGhJNS4iD9qeVsUYp3PtM + uJYEjwDJl0+/xMFcbMG0ko0wSRRurjdhHHSfVlOBYgUVhlDGrJDg8bRJb4/b99+/p1/X6mb3NQ58 + qNaJJiUe3ZXg5f3KqAZWgduFagPqTVCpMkR6FEwBxTgRaq5sEO5XGX4aXsEqWYfRDQlvSRh9jvZ3 + 4fpue/s3hmJY0K5v6uzN63chrr8s6AKujUQP7Ie70yjabje79ba/U5TmXGlDBK3g+flRWdJlHZNV + TcXZo4GK8tIjf4RUc+OzVRdS+OQ5fZpFNRi7Fae8LDGXLy5uH/9b57RRAJgPWaZAa5/3TwZEZm9h + EVJKRktufOYVHLAGfSGSWF6lK5DbbRS+j4OxqD825qg6L3vl1HYFoWVd0PWbUJ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20/nZpkaRqNr/EtCvhQoe + 9G5U4rtewNwq3vnJzvYcYGkq223lI3G3OdNiGNJGafdWyMDgY7hnmFOV/25GDw3/9lPM7O+TN8Lh + yQYAB5XyH8M+ujBTkeT6DDaMed4ReCMLvlvP68aALzW6CUu4QNbauIebZRWuwz7YDhsHS6Ap7xs5 + OqWHY+q3CHrdVksWX7M1MEpTIJcgWF427wCPnstpxCbNI3n3DwAAAP//AwCmB6gHrRMAAA== + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"1ceb7b6f0aabdd53c55fbfcc7f9b9a09"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 200, message: OK} +- request: + body: !!python/unicode bkhpqm103.311443524salefalse2 + headers: {} + method: POST + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions + response: + body: + string: !!binary | + H4sIAEttyFcAA9xYTW/jNhC951cEvjOSbCfrBIqCAkXRHlqg3U0PvQQUNbYYS6RCUo69v75DUZKl + iErSQ4GiN2vmccgZzsej44djWVweQGkuxf0iugoXlyCYzLjY3S8ev/1ENouH5CI2igpNmUFUcnF5 + GfMsoeuX05c8vY0D/LAybaipdUJrk0vFv0MWB63Ias2pgkTTAuKg+WllrFYKdzsRriXBTSF5/Ppj + HEzFFkxLWQuTROHqahXGQftpNSUollNhCGXMCgkeSJv0dr/+8v17+rxUN9fPceBDNceuU+LRXQpe + 3C+MqmERuF2oNqA+BZUqQ6RHwRRQAxmh5tIG4X6R4afhJSySZRjdkPCWhNG3aHMXLu+uo78wFP2C + Zn1dZf9s/XlBG3BtJHpgP9wtRtF6vbperrtbROmWK22IoCW8PT8qCzqvY7KsqDh5NFBSXnjkr5Bq + bny2qlwKn3xLj5OoBkO34pQXBWbv2cX167/rnDYKAPMhyxRo7fP+aEBk9hZmIYVktODGZ17BDqvO + FyKJ5VW4ArldR+GX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ZfUKjXzOJ2+vdhMDnrICpVbzzgx1pW4C5YWS3la/E3eZEi2FIa6Ud + Rc7A4BuwI1Zjlf9uBvzav/0YM/nX4JNwONoAYH9W/mPYtwZmKnI7n8GaMQ99xhuZ8d16XtUGfKnR + DhbCBZK12r1X7DB1jeXJNpY4mAON6c7A0TErGjKeWdDHthqO9JGtnkiZHEcowfKyeQd49K0cR2zU + PJKLvwEAAP//AwCiokgilhIAAA== + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"d755fbdc031a99c4530e8b5c4e79c9e2"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 201, message: Created} +- request: + body: 103.3 + headers: {} + method: PUT + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/a4qy7hb9/submit_for_settlement + response: + body: + string: !!binary | + H4sIAExtyFcAA9xYTW/jNhC9768IfGck2U7WWShaFCiK9tAC7W566CWgqJHFtURqScqx99d3KEqy + FFFJelhg0Zs18zjkDOfj0fHHU1VeHUFpLsX9KroOV1cgmMy42N+vHj7/Qnarj8m72CgqNGUGUcm7 + q6uYZwndfj2/L9K7OMAPK9OGmkYnukkrbgxkj7lUjxqMKaECYeKgA1isOdeQaFpCHLQ/rYw1SuHe + Z8K1JHgESB4+/RwHc7EF00o2wiRRuLnehHHQfVpNBYoVVBhCGbNCgsfTJr07bN9/+5Z+Wavbmy9x + 4EO1TjQp8eiuBC/vV0Y1sArcLlQbUG+CSpUh0qNgCijGiVBzZYNwv8rw0/AKVsk6jG5JeEfC6HO0 + +xCuP9xE/2AohgXt+qbO/tv6y4Iu4NpI9MB+uDuNou12c7Pe9neK0pwrbYigFTw/PypLuqxjsqqp + OHs0UFFeeuRPkGpufLbqQgqfPKenWVSDsVtxyssSc/ni4vbp+zqnjQLAfMgyBVr7vD8ZEJm9hUVI + KRktufGZV7DHGvSFSGJ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+ 8VjKeLF45Gf72DlJcCR6yHTGdVvdXh04K7Ivt4XmvPQSxHY6P9vUKBJV+18C+rVQwYPejUp81wuY + W8U7P9rZngMsTWW7rXwi7jZnWgxD2ijt3goZGHwM9wxzqvLfzeih4d9+ipn9ffJGOJxsAHBQKf8x + 7KMLMxVJrs9gw5jnHYE3suC79bxuDPhSo5uwhAtkrY17uFlW4Trso+2wcbAEmvK+kaNTejimfoug + 1221ZPE1WwOjNAVyCYLlZfMO8Oi5nEZs0jySd/8CAAD//wMAjUJFwq0TAAA= + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"e550e9576e33f15fe0d64ab92995ebc8"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 200, message: OK} +- request: + body: !!python/unicode authorized + headers: {} + method: POST + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/advanced_search_ids + response: + body: + string: !!binary | + H4sIAExtyFcAA7IpTk0sSs7QLUotLs0pKbbjUlCwKUhMT9UtzqxKVSipLEi1VcrMK0lNTy1SsjM1 + sNGHS4KVZqYUQxUlFhUlViqBBfWBonZcNvroRgMAAAD//wMA9crnoGwAAAA= + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"50bae5c4f532d30f7087dd1b97d6d246"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 200, message: OK} +version: 1 diff --git a/tests/py/fixtures/TestsCardHolds.yml b/tests/py/fixtures/TestsCardHolds.yml new file mode 100644 index 0000000000..8863450391 --- /dev/null +++ b/tests/py/fixtures/TestsCardHolds.yml @@ -0,0 +1,853 @@ +interactions: +- request: + body: !!python/unicode bkhpqm20.9111443524salefalse2 + headers: {} + method: POST + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions + response: + body: + string: !!binary | + H4sIADZtyFcAA9xYTW/jNhC951cEvjOSbCfrLBQFLRZFe2gv2d3DXgKKGluMJVJLUo6dX9+hKMlS + RCXpoUDRmzXzOOQM5+PR8f2xLC4PoDSX4m4RXYWLSxBMZlzs7hbfvv5GNov75CI2igpNmUFUcnF5 + GfMs2adh+ExPWRzgh5VpQ02tE1qbXCr+AqhpRVZrThUkmhYQB81PK2O1UrjbiXAtCW4KybeHL3Ew + FVswLWUtTLIMr26jOGi/rKIExXIqDKGMWSHB82iT3u7Xn15e0qelurl+igMfqjl1nRKP7lLw4m5h + VA2LwO1CtQH1IahUGSI9CqaAGsgINZc2BneLDD8NL2GBbkU3JLwlYfQ12nwOl5+Xtz8wEv2CZn1d + Zf9s/XlBG29tJHpgP9wlRtF6vbperrtLROmWK22IoCW8Pj8qCzqvY7KsqDh5NFBSXnjkz5Bqbny2 + qlwKn3xLj5OoBkO34pQXBSbv2cX187/rnDYKAPMhyxRo7fP+aEBk9hZmIYVktODGZ17BDovOFyKJ + 1VW4+rhdR+GnOBiKumNjjqrTvFdObVcQWlQ5XX4ItXoPJWq8D86mdzW4HnRtW4vMVyi9RreJTpWi + p5ES4zloSj4jFVWGYzg0GFNACVis4xU+4+fu9Z75gdmUGpZ7MTmvqmE2+lL6f5mSbyTIfyYXh7fT + 9kay5VBkuvPHZhDjFXXjYokVNpYM2s9gZUwPmoBSUhEMbiWFBm9MGtwgZmN08idOuTcBnYnxdb8C + /eGsvIlp/D8cpiunQgvd4UzByY+aJ3DlgWNKTzMirpRkuBvGoSsr2sAbS99/fbj98juG9C3Q2Mr4 + KFEYhsPl04N6dAZTP/mlQs3BEpQ5RBPaLOP2JBj8KWzi60FyZi9oixePKzDpUlDTiNSWPuAujiPM + oAw9EkdwvCo4Qll1FCCVsgAqFsmWFtqSqx7QUQ70gjCquhFo5B5Eku7z6meJ8ObLaVIuknUYLTcb + 26fFsAWtk2izQdrVfrRVhkZJQ+a+c00xW/rvrstUXLnLLKUweRJhBU2EE+wJqEI+swxH4Eba7tvO + e2J7VENJvz2cWcBZej5lLosm3P7Ow0u6A1KrIsmNqfTnIKAau7u+ShXlwhZOm/FX2HKxBZxs038s + AbM1eyzkTgYH9P+qErt7EAeupLCAO01Flsojso/efttWFFQUu8df0iag++00OdDC5HhiZMJiL+Sz + iIOBzIEySLk5691nq6oVXhxm4a4uLPEboF5r+hliGS2OyTN0IOva4EnJYoDoBG34tK6xi+IUFPsz + ZiQdd2W5JVZLBYPEbjeVdnGSWc2aRnve+ixzoFrwnzW0lYRijDzHVqyS9Ypt1tE2Y2zFVtubm9XN + 9Rauo3DFYAMpwxyfXeosH0CUkuhsP1Npvb4dA+NKa59DJOeYluo0ohr9mG4QgIbaC7TliXQeFWX1 + QYrf43sLb77DGsTcU8oFVGMElMy5qWhd7LFkG0l/vgEr0hLbGSS04niOqdx5Gbx2s5e0oXGNsaB+ + llWnmilezbKwgb5vYw3FJBVOfZkRJDrEBtFT+K+QeCxlvFg88qt97HQgOAg8FDLjuslprw6cFdkl + 2UxLmnv/YBOZnm1sFOmZfUCjXzN52+vdgMDXrICpVbzzg51oW4C5WWS3lc/E3eZEi2FIa6UdQ87A + 4BOw41Vjlf9uBvTav/0YM/nP4INwONoAYHtW/mPYpwZmKlI7n8GaMQ97xhuZ8d16XtUGfKnRzhXC + BXK12j1X7Cx1feXR9pU4mAON2c7A0TEpGhKeWdD7thqK9J6tnkeZHCcowfKyeQd49K0cR2zUPJKL + vwEAAP//AwA+17SJlBIAAA== + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"b2b9a04fdd21a738be2485945c472059"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 201, message: Created} +- request: + body: 10.0 + headers: {} + method: PUT + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/kb00wayd/submit_for_settlement + response: + body: + string: !!binary | + H4sIADZtyFcAA9xYTW/jNhC9768IfGck2U7WWShatFgU7aG97GYPvQQUNbK4lkgtSTn2/voORUmW + IioJULQoerNmHoec4Xw8Ov54qsqrIyjNpbhfRdfh6goEkxkX+/vVw5dfyG71MXkXG0WFpswgKnl3 + dRXzLDmkYfhEz1kc4IeVaUNNoxPdpBU3BrLHXKpHDcaUUIEwcdABLNaca0g0LSEO2p9WxhqlcO8z + 4VoSPAIkD58/xcFcbMG0ko0wSRReh2EcdF9WUYFiBRWGUMaskODptEnvDtv3P36k39bq9uZbHPhQ + rQ9NSjy6K8HL+5VRDawCtwvVBtSboFJliPQomAKKYSLUXNkY3K8y/DS8glWyDqNbEt6RMPoS7T6E + 6w/ruz8xEsOCdn1TZ29evwlx/WVBF29tJHpgP9yVRtF2u7lZb/srRWnOlTZE0Aqenx+VJV3WMVnV + VJw9GqgoLz3yJ0g1Nz5bdSGFT57T0yyqwditOOVlial8cXH79M86p40CwHzIMgVa+7w/GRCZvYVF + SCkZLbnxmVewxxL0hUhidZWuPu62Ufg+Dsai/tiYo+q87JVT2xWElnVB129CbV5DiQbvg7P5XY2u + B13LG5H5CmXQ6C7RqVL0PFFiPEctymekpspwDMelIT1b4TNOG1NIxX+8bn5kNqWGFV5Mwet6nI2+ + lP5fpuQLCfKfycXx7XS9keQcykz3/tgMYrymblysscKmklH7Ga2M6VETUEoqgsGtpdDgjUmLG8Vs + ik5+xyn3IqA3Mb3uZ6DfnJUXMa3/x+N85VxooXucKcgDUPMNXHngmNLzjIhrJRnuhnHoy4q28NbS + 158/3336FUP6EmhqZXqUKLREYEm7sNJg6ic/1ag5QuZd3SLa0GYZtyfB4M9hM1+PkjN7QTlePK7A + pEtBzSPSWPqAuziOsIAy9EQcwfGq4ARV3VOAVMoSqFglOS21JVcDoKcc6AVhVPUj0MgDiCQ9FPX3 + CuHtl9OkXCTbMFrvdrZPi3EL2ibRbhfFQffRVRkaJS2Z+8o1xWwZvvsuU3PlLrOSwhRJhBU0E86w + Z6AK+cw6nIBbabdvN++J7VEtQX34fGEBF+nllIUs23D7Ow+v6B5Io8qkMKbWH4KAauzu+jpVlAtb + OF3GX2PLxRZwtk3/sQLM1uyxlHsZHNH/61rsP4I4ciWFBdxrKrJUnpB9DPa7tqKgptg9/pA2Ad1v + pymAlqbAEyMTFgchn0QcjGQOlEHKzUXvPjtVo/DiMAv3TWmJ3wj1XDPMEMtocUxeoCNZ3wbPSpYj + RC/owqd1g10Up6A4XDAT6bQry5xYLRUMErvdXNrHSWYNaxvtZeuLzIEawb830FUSijHyHFuxSrYb + tttGecbYhm3y29vN7U0ON1G4YbCDlGGOLy51lo8gKkl0dliotEHfjYFppXWPI1JwTEt1nlCNYUy3 + CEBD3QXa8kQ6j4qqfuMTYcAPFrpH14XJjN9hLaJ7PK3D67to/JRyAdUYASULbmralAcs2VYynG/E + irTEdgYJrTmeYy53XgZzN/+25+3jZtHzt7xHx3GYPSn/nTgMki5F3IAoqZ9tNqlmiteLbHSkH9p5 + S7VJjexHZgQJH7Eh9TTAZ0g8ljJeLB752T52ShIciB4qnXHd1rZXB86K7IttoTUvvQOxmc7PNjWK + NNX+kYB+LdTvoHeDEl/1AuZW8c6PdrLnAEsz2W4rn4i7zZkWw5A2SruXQgYGn8I9v5yq/Hczemb4 + t59iZv+dvBEOJxsAHFPKfwz75MJMRYrrM9gw5nlF4I0s+G49rxsDvtTo5ivhAjlr455tllO4/vpo + +2scLIGmrG/k6JQcjonfIuh1Wy1VfM3WwCdNgUyCYHnZvAM8ei6nEZs0j+TdXwAAAP//AwDjmL4j + qhMAAA== + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"8d1cb16671ed30359609412d3c022c38"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 200, message: OK} +- request: + body: !!python/unicode bkhpqm20.9111443524salefalse2 + headers: {} + method: POST + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions + response: + body: + string: !!binary | + H4sIADdtyFcAA9xYTW/jNhC951cEvjOybCfrBIoWBYoCLdBedrNo97KgqJHFtUQqJOXY++s7FCVZ + sqgkPRQoerNmHoec4Xw8Ovp4LIvrAyjNpXhchDfLxTUIJlMudo+Lp8+/kO3iY3wVGUWFpswgKr66 + vo54GufPavNc7rIowA8r04aaWse0NrlU/AekUdCKrNacKog1LSAKmp9WxmqlcLcT4VoS3BTip08/ + R8FUbMG0lLUw8Wp5cx9GQftlFSUollNhCGXMCgmeR5vkfr/58ONH8n2l7m6/R4EP1Zy6TohHdy14 + 8bgwqoZF4Hah2oB6F1SqFJEeBVNADaSEmmsbg8dFip+Gl7BAt8I7srwny/BzuH1Yrh7W4VeMRL+g + WV9X6T9bf17QxlsbiR7YD3eJYbjZrG9Xm+4SUZpxpQ0RtITL86OyoPM6JsuKipNHAyXlhUf+Aonm + xmeryqXwyTN6nEQ1GLoVJbwoMHnPLm5e/l3ntFEAmA9pqkBrn/dHAyK1tzALKSSjBTc+8wp2WHS+ + EEmsrsLVx/0mXH6IgqGoOzbmqDrNe+XUdgWhRZXT1btQ67dQosb74Gx6V4PrQdeyWqS+Quk1uk10 + qhQ9jZQYz0FT8hmpqDIcw6HBmAJKwGIdr/AZP3evt8wPzCbUsNyLyXlVDbPRl9L/y5R8JUH+M7k4 + vJ22N5KMQ5Hqzh+bQYxX1I2LFVbYWDJoP4OVET1oAkpJRTC4lRQavDFpcIOYjdHx7zjlXgV0JsbX + fQH61Vl5FdP4fzhMV06FFrrDmfJCT6j5Dq48cEzpaUZElZIMd8M4dGVFG3hj6a8/v96vf8OQvgYa + WxkfJVwul8Pl04N6dAZTP/6pQs3BEpQ5RBPaNOX2JBj8KWzi60FyZi8ow4vHFZh0CahpRGpLH3AX + xxFmUIYeiSM4XhUcoaw6CpBIWQAVizijhbbkqgd0lAO9IIyqbgQauQcRJ/u8ei4R3nw5TcJFvFmG + q+3W9mkxbEGbONxukXa1H22VoVHSkLkvXFPMlv676zIVV+4ySylMHodYQRPhBHsCqpDPrJYjcCNt + 923nPbE9qqGkT5/OLOAsPZ8yl0UTbn/n4SXdAalVEefGVPohCKjG7q5vEkW5sIXTZvwNtlxsASfb + 9L+VgNmafivkTgYH9P+mEruPIA5cSWEBj5qKNJFHZB+9/batKKgodo8/pE1A99tpcqCFyfHEyITF + XsgXEQUDmQOlkHBz1rvPVlUrvDjMwl1dWOI3QF1q+hliGS2OyTN0IOva4EnJYoDoBG34tK6xi+IU + FPszZiQdd2WZEaulgkFst5tKuzjJtGZNoz1vfZY5UC34cw1tJaEYI8+xFat4s2bbTZiljK3ZOru7 + W9/dZnAbLtcMtpAwzPHZpc7yAUQpiU73M5XW69sxMK609jlEco5pqU4jqtGP6QYBaKi9QFueSOdR + UVbvpPg9vrfw6jusQcw9pVxANUZAyZybitbFHku2kfTnG7AiLbGdQUwrjueYyp2XwaWbvaQNjWuM + BfWzrDrRTPFqloUN9H0baygmqXDqy5Qg0SE2iJ7Cv0DisZTxYvHIF/vY6UBwEHgoZMp1k9NeHTgr + skuymZY09/7BJjI929go0jP7gEa/ZvK217sBga9ZAVOreOcHO9EygLlZZLeVL8Td5kSLYUhqpR1D + TsHgE7DjVWOV/24G9Nq//Rgz+c/gnXA42gBge1b+Y9inBmYqUjufwZoxD3vGG5nx3Xpe1QZ8qdHO + FcIFcrXaPVfsLHV95ZvtK1EwBxqznYGjY1I0JDyzoLdtNRTpLVs9jzI5TlCC5WXzDvDomRxHbNQ8 + 4qu/AQAA//8DAOrWRw6UEgAA + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"7ba39893c1f927ad63f7c7007220df67"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 201, message: Created} +- request: + body: 20.91 + headers: {} + method: PUT + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/hqr4qmgf/submit_for_settlement + response: + body: + string: !!binary | + H4sIADhtyFcAA9xYTW/jNhC951cEvjOybCfrLBQtChQFWqC97KZo9xJQ1MhiLJEKSTl2fn2HoiRL + EZUEKAoserNmHoec4Xw8OvpyLIvLAyjNpbhbhFfLxSUIJlMudneL+2+/kO3iS3wRGUWFpswgKr64 + vIx4GudPavNU7rIowA8r04aaWse6TkpuDKQPmVQPGowpoARhoqAFWKw5VRBrWkAUND+tjNVK4d4n + wrUkeASI77/+HAVTsQXTUtbCxKvl1W0YBe2XVZSgWE6FIZQxKyR4Om2S2/3m08tL8rhSN9ePUeBD + NT7UCfHoLgUv7hZG1bAI3C5UG1AfgkqVItKjYAooholQc2ljcLdI8dPwEhboVnhDlrdkGX4Lt5+X + q8/r8DtGol/QrK+r9OPrV7j+vKCNtzYSPbAf7krDcLNZX6823ZWiNONKGyJoCa/Pj8qCzuuYLCsq + Th4NlJQXHvkzJJobn60ql8Inz+hxEtVg6FaU8KLAVD67uHn+b53TRgFgPqSpAq193h8NiNTewiyk + kIwW3PjMK9hhCfpCJLG6Clcft5tw+SkKhqLu2Jij6jTvlVPbFYQWVU5XH0Kt30OJGu+Ds+ldDa4H + XctqkfoKpdfoNtGpUvQ0UmI8By3KZ6SiynAMx7khvVrhM05rk0vFX943PzCbUMNyLybnVTXMRl9K + /y9T8o0E+WFycXg7bW8kGYci1Z0/NoMYr6gbFyussLFk0H4GKyN60ASUkopgcCspNHhj0uAGMRuj + 499xyr0J6EyMr/sV6Fdn5U1M4//hMF05FVroDmfKMz2h5hFceeCY0tOMiColGe6GcejKijbwxtLf + f32/Xf+GIX0LNLYyPkq4XC6Hy6cH9egMpn78U4WaA6Te1Q2iCW2acnsSDP4UNvH1IDmzF5ThxeMK + TLoE1DQitaUPuIvjCDMoQ4/EERyvCo5QVh0FSKQsgIpFnNFCW3LVAzrKgV4QRlU3Ao3cg4iTfV49 + lQhvvpwm4SLeLMPVdmv7tBi2oE0cbrdIu9qPtsrQKGnI3J9cU8yW/rvrMhVX7jJLKUweh1hBE+EE + ewKqkM+sliNwI233bec9sT2qIaj3X88s4Cw9nzKXRRNuf+fhJd0BqVUR58ZU+nMQUI3dXV8linJh + C6fN+CtsudgCTrbpP5SA2Zo+FHIngwP6f1WJ3RcQB66ksIA7TUWayCOyj95+21YUVBS7xx/SJqD7 + 7TQ50MLkeGJkwmIv5LOIgoHMgVJIuDnr3WerqhVeHGbhri4s8RugXmv6GWIZLY7JM3Qg69rgScli + gOgEbfi0rrGL4hQU+zNmJB13ZZkRq6WCQWy3m0q7OMm0Zk2jPW99ljlQLfhTDW0loRgjz7EVq3iz + ZttNmKWMrdk6u7lZ31xncB0u1wy2kDDM8dmlzvIBRCmJTvczldbr2zEwrrT2cURyjmmpTiOq0Y/p + BgFoqL1AW55I51FRVh98IvT43kL76DozmeE7rEHMPaVcQDVGQMmcm4rWxR5LtpH05xuwIi2xnUFM + K47nmMqdl8HUzX/v+eotzz/yHv0B4tBL2hRxA6KgfrZZJ5opXs2y0YG+b+cN1SYVsh+ZEiR8xIbU + 0wBfIfFYynixeORX+9gpSXAgeqh0ynVT214dOCuyK7aZ1jz3DsRmOj3b2CjSVPtHAvo1U7+93g1K + fNULmFrFOz/YyZ4BzM1ku618Ju42J1oMQ1Ir7V4KKRh8Cnf8cqzy383gmeHffoyZ/HfyQTgcbQBw + TCn/MeyTCzMVKa7PYM2Y5xWBNzLju/W8qg34UqOdr4QL5Ky1e7ZZTuH664Ptr1EwBxqzvoGjY3I4 + JH6zoPdtNVTxPVs9nzQ5MgmC5WXzDvDomRxHbNQ84ot/AAAA//8DAIVwyYyqEwAA + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"fc2a0d9a88fed52973dba0be40f7463a"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 200, message: OK} +- request: + body: null + headers: {} + method: GET + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/hqr4qmgf + response: + body: + string: !!binary | + H4sIADhtyFcAA9xYTW/jNhC951cEvjOybCfrLBQtChQFWqC97KZo9xJQ1MhiLJEKSTl2fn2HoiRL + EZUEKAoserNmHoec4Xw8OvpyLIvLAyjNpbhbhFfLxSUIJlMudneL+2+/kO3iS3wRGUWFpswgKr64 + vIx4GudPavNU7rIowA8r04aaWse6TkpuDKQPmVQPGowpoARhoqAFWKw5VRBrWkAUND+tjNVK4d4n + wrUkeASI77/+HAVTsQXTUtbCxKvl1W0YBe2XVZSgWE6FIZQxKyR4Om2S2/3m08tL8rhSN9ePUeBD + NT7UCfHoLgUv7hZG1bAI3C5UG1AfgkqVItKjYAooholQc2ljcLdI8dPwEhboVnhDlrdkGX4Lt5+X + q8/r8DtGol/QrK+r9OPrV7j+vKCNtzYSPbAf7krDcLNZX6823ZWiNONKGyJoCa/Pj8qCzuuYLCsq + Th4NlJQXHvkzJJobn60ql8Inz+hxEtVg6FaU8KLAVD67uHn+b53TRgFgPqSpAq193h8NiNTewiyk + kIwW3PjMK9hhCfpCJLG6Clcft5tw+SkKhqLu2Jij6jTvlVPbFYQWVU5XH0Kt30OJGu+Ds+ldDa4H + XctqkfoKpdfoNtGpUvQ0UmI8By3KZ6SiynAMx7khvVrhM05rk0vFX943PzCbUMNyLybnVTXMRl9K + /y9T8o0E+WFycXg7bW8kGYci1Z0/NoMYr6gbFyussLFk0H4GKyN60ASUkopgcCspNHhj0uAGMRuj + 499xyr0J6EyMr/sV6Fdn5U1M4//hMF05FVroDmfKMz2h5hFceeCY0tOMiColGe6GcejKijbwxtLf + f32/Xf+GIX0LNLYyPkq4XC6Hy6cH9egMpn78U4WaA6Te1Q2iCW2acnsSDP4UNvH1IDmzF5ThxeMK + TLoE1DQitaUPuIvjCDMoQ4/EERyvCo5QVh0FSKQsgIpFnNFCW3LVAzrKgV4QRlU3Ao3cg4iTfV49 + lQhvvpwm4SLeLMPVdmv7tBi2oE0cbrdIu9qPtsrQKGnI3J9cU8yW/rvrMhVX7jJLKUweh1hBE+EE + ewKqkM+sliNwI233bec9sT2qIaj3X88s4Cw9nzKXRRNuf+fhJd0BqVUR58ZU+nMQUI3dXV8linJh + C6fN+CtsudgCTrbpP5SA2Zo+FHIngwP6f1WJ3RcQB66ksIA7TUWayCOyj95+21YUVBS7xx/SJqD7 + 7TQ50MLkeGJkwmIv5LOIgoHMgVJIuDnr3WerqhVeHGbhri4s8RugXmv6GWIZLY7JM3Qg69rgScli + gOgEbfi0rrGL4hQU+zNmJB13ZZkRq6WCQWy3m0q7OMm0Zk2jPW99ljlQLfhTDW0loRgjz7EVq3iz + ZttNmKWMrdk6u7lZ31xncB0u1wy2kDDM8dmlzvIBRCmJTvczldbr2zEwrrT2cURyjmmpTiOq0Y/p + BgFoqL1AW55I51FRVh98IvT43kL76DozmeE7rEHMPaVcQDVGQMmcm4rWxR5LtpH05xuwIi2xnUFM + K47nmMqdl8HUzX/v+eotzz/yHv0B4tBL2hRxA6KgfrZZJ5opXs2y0YG+b+cN1SYVsh+ZEiR8xIbU + 0wBfIfFYynixeORX+9gpSXAgeqh0ynVT214dOCuyK7aZ1jz3DsRmOj3b2CjSVPtHAvo1U7+93g1K + fNULmFrFOz/YyZ4BzM1ku618Ju42J1oMQ1Ir7V4KKRh8Cnf8cqzy383gmeHffoyZ/HfyQTgcbQBw + TCn/MeyTCzMVKa7PYM2Y5xWBNzLju/W8qg34UqOdr4QL5Ky1e7ZZTuH664Ptr1EwBxqzvoGjY3I4 + JH6zoPdtNVTxPVs9nzQ5MgmC5WXzDvDomRxHbNQ84ot/AAAA//8DAIVwyYyqEwAA + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"fc2a0d9a88fed52973dba0be40f7463a"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 200, message: OK} +- request: + body: !!python/unicode bkhpqm20.9111443524salefalse2 + headers: {} + method: POST + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions + response: + body: + string: !!binary | + H4sIADltyFcAA9xYTW/jNhC951cEvjOSbCfrBIqCAkWLHrqH7qaHXgKKGluMJVJLUo6dX9+hKMlS + RCXpoUDRmzXzOOQM5+PR8cOxLC4PoDSX4n4RXYWLSxBMZlzs7heP338hm8VDchEbRYWmzCAqubi8 + jHmWLNe7fBdd7+MAP6xMG2pqndDa5FLxV8jioBVZrTlVkGhaQBw0P62M1UrhbifCtSS4KSSP336O + g6nYgmkpa2GSZXh1G8VB+2UVJSiWU2EIZcwKCZ5Hm/R2v/7y+po+L9XN9XMc+FDNqeuUeHSXghf3 + C6NqWARuF6oNqE9BpcoQ6VEwBdRARqi5tDG4X2T4aXgJC3QruiHhLQmj79HmLlzerVZ/YST6Bc36 + usr+2frzgjbe2kj0wH64S4yi9Xp1vVx3l4jSLVfaEEFLeHt+VBZ0XsdkWVFx8migpLzwyF8g1dz4 + bFW5FD75lh4nUQ2GbsUpLwpM3rOL65d/1zltFADmQ5Yp0Nrn/dGAyOwtzEIKyWjBjc+8gh0WnS9E + EqurcPVxu47CL3EwFHXHxhxVp3mvnNquILSocrr8FGr1EUrUeB+cTe9qcD3o2rYWma9Qeo1uE50q + RU8jJcZz0JR8RiqqDMdwaDCmgBKwWMcrfMbP3esj8wOzKTUs92JyXlXDbPSl9P8yJd9JkP9MLg5v + p+2NZMuhyHTnj80gxivqxsUSK2wsGbSfwcqYHjQBpaQiGNxKCg3emDS4QczG6OR3nHLvAjoT4+t+ + A/rNWXkX0/h/OExXToUWusOZ8kJPqHkGVx44pvQ0I+JKSYa7YRy6sqINvLH0x9fw5lf08V3Q2Mr4 + KFEYhsPl04N6dAZTP/mpQs3BEpQ5RBPaLOP2JBj8KWzi60FyZi9oixePKzDpUlDTiNSWPuAujiPM + oAw9EkdwvCo4Qll1FCCVsgAqFsmWFtqSqx7QUQ70gjCquhFo5B5Eku7z6keJ8ObLaVIuknUYLTcb + 26fFsAWtk2izQdrVfrRVhkZJQ+b+5JpitvTfXZepuHKXWUph8iTCCpoIJ9gTUIV8ZhmOwI203bed + 98T2qIaSPn47s4Cz9HzKXBZNuP2dh5d0B6RWRZIbU+m7IKAau7u+ShXlwhZOm/FX2HKxBZxs038q + AbM1eyrkTgYH9P+qErsHEAeupLCAe01Flsojso/efttWFFQUu8dXaRPQ/XaaHGhhcjwxMmGxF/JF + xMFA5kAZpNyc9e6zVdUKLw6zcFcXlvgNUG81/QyxjBbH5Bk6kHVt8KRkMUB0gjZ8WtfYRXEKiv0Z + M5KOu7LcEqulgkFit5tKuzjJrGZNoz1vfZY5UC34jxraSkIxRp5jK1bJesU262ibMbZiq+3Nzerm + egvXUbhisIGUYY7PLnWWDyBKSXS2n6m0Xt+OgXGltc8hknNMS3UaUY1+TDcIQEPtBdryRDqPirL6 + JMXv8b2Fd99hDWLuKeUCqjECSubcVLQu9liyjaQ/34AVaYntDBJacTzHVO68DN662Uva0LjGWFA/ + y6pTzRSvZlnYQN+3sYZikgqnvswIEh1ig+gp/DdIPJYyXiwe+c0+djoQHAQeCplx3eS0VwfOiuyS + bKYlzb1/sIlMzzY2ivTMPqDRr5m87fVuQOBrVsDUKt75wU60LcDcLLLbyhfibnOixTCktdKOIWdg + 8AnY8aqxyn83A3rt336Mmfxn8Ek4HG0AsD0r/zHsUwMzFamdz2DNmIc9443M+G49r2oDvtRo5wrh + Arla7Z4rdpa6vvJk+0oczIHGbGfg6JgUDQnPLOhjWw1F+shWz6NMjhOUYHnZvAM8+laOIzZqHsnF + 3wAAAP//AwBg5FA5lBIAAA== + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"202283733558b69ed48e351f694e2966"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 201, message: Created} +- request: + body: 15.76 + headers: {} + method: PUT + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/24ghg15k/submit_for_settlement + response: + body: + string: !!binary | + H4sIADptyFcAA9xYTW/jNhC9768IfGck2YrXWShaFCha9NA9dLs99BJQ1NjiWiK1JOXY++s7FCVZ + iqgkQNGi6M2aeRxyhvPx6OTjuSpvTqA0l+JhFd2GqxsQTOZcHB5WX37/iexWH9N3iVFUaMoMotJ3 + NzcJz9N1fCgO0d0xCfDDyrShptGpbrKKGwP5416qRw3GlFCBMEnQASzWXGpINS0hCdqfVsYapXDv + C+FaEjwCpF8+/5gEc7EF00o2wqTR3e37bRJ0X1ZRgWIFFYZQxqyQ4Om0ye6P8fvv37Ova7W9+5oE + PlTrQ5MRj+5G8PJhZVQDq8DtQrUB9SaoVDkiPQqmgGKYCDU3NgYPqxw/Da9gla7DaEvCexJGv0e7 + D+H6w2bzJ0ZiWNCub+r87etjXH9d0MVbG4ke2A93pVEUx5u7ddxfKUr3XGlDBK3g+flRWdJlHZNV + TcXFo4GK8tIjf4JMc+OzVRdS+OR7ep5FNRi7lWS8LDGVry7GT/+sc9ooAMyHPFegtc/7swGR21tY + hJSS0ZIbn3kFByxBX4gkVlfp6uM+jsL3STAW9cfGHFWXZa+c2q4gtKwLun4TavMaSjR4H5zN72p0 + PejavhG5r1AGje4SnSpFLxMlxnPUonxGaqoMx3BcG9KzFT7jtDGFVPz76+ZHZjNqWOHFFLyux9no + S+n/ZUq+kCD/mVwc307XG8meQ5nr3h+bQYzX1I2LNVbYVDJqP6OVCT1pAkpJRTC4tRQavDFpcaOY + TdHprzjlXgT0JqbX/Qz0i7PyIqb1/3Sar5wLLfSAM+WJXlDzFVx54JjS84xIaiUZ7oZx6MuKtvDW + 0m+fwu3P6OOLoKmV6VGiMAzHy+cH9egMpn76Q42aE+Te1S2iDW2ec3sSDP4cNvP1JDmzF7THi8cV + mHQZqHlEGksfcBfHERZQhp6JIzheFZyhqnsKkElZAhWrdE9LbcnVAOgpB3pBGFX9CDTyCCLNjkX9 + rUJ4++U0GRdpHEbr3c72aTFuQXEa7XZREnQfXZWhUdKSuT+4ppgtw3ffZWqu3GVWUpgijbCCZsIZ + 9gJUIZ9ZhxNwK+327eY9sT2qJahfPl9ZwFV6PWUhyzbc/s7DK3oA0qgyLYyp9YcgoBq7u77NFOXC + Fk6X8bfYcrEFXGzTf6wAszV/LOVBBif0/7YWh48gTlxJYQEPmoo8k2dkH4P9rq0oqCl2j0/SJqD7 + 7TQF0NIUeGJkwuIo5JNIgpHMgXLIuLnq3WenahReHGbhoSkt8RuhnmuGGWIZLY7JK3Qk69vgRcly + hOgFXfi0brCL4hQUxytmIp12ZbknVksFg9RuN5f2cZJ5w9pGe936KnOgRvBvDXSVhGKMPMdWrNJ4 + w3ZxtM8Z27DNfrvdbO/2cBeFGwY7yBjm+OJSZ/kEopJE58eFShv03RiYVlr3OCIFx7RUlwnVGMZ0 + iwA01F2gLU+k86io6jc+EQb8YKF7dF2ZzPgd1iK6x9M6vL2Pxk8pF1CNEVCy4KamTXnEkm0lw/lG + rEhLbGeQ0prjOeZy52Uwd/Pvex6/5Plb3qPjOMyelP9OHAZJlyJuQJTUzzabTDPF60U2OtIP7byl + 2qRG9iNzgoSP2JB6GuAzJB5LGS8Wj/xsHzslCQ5ED5XOuW5r26sDZ0X2xbbQmpfegdhM52ebGkWa + av9IQL8W6nfQu0GJr3oBc6t45yc72fcASzPZbiufiLvNmRbDkDVKu5dCDgafwj2/nKr8dzN6Zvi3 + n2Jm/528EQ5nGwAcU8p/DPvkwkxFiusz2DDmeUXgjSz4bj2vGwO+1OjmK+ECOWvjnm2WU7j++mj7 + axIsgaasb+TolByOid8i6HVbLVV8zdbAJ02BTIJgedm8Azz6Xk4jNmke6bu/AAAA//8DADotF6Cq + EwAA + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"98c8b194a0e0ffec8d198a761c3488c9"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 200, message: OK} +- request: + body: !!python/unicode bkhpqm20.9111443524salefalse2 + headers: {} + method: POST + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions + response: + body: + string: !!binary | + H4sIADttyFcAA9xYS2/jNhC+768IfGck2U7WCRQtChQFCrS97ANoLwuKGlmMJVIhKcfeX9+hKMlS + RCXpoUDRmzXzccgZzuOj40+nqrw6gtJciodVdB2urkAwmXGxf1h9/fIL2a0+JR9io6jQlBlEJR+u + rmKeJR+fnrdhXrM4wA8r04aaRie0MYVU/AdkcdCJrNaca0g0LSEO2p9WxhqlcLcz4VoS3BSSr59/ + joO52IJpJRthknV4fRfFQfdlFRUoVlBhCGXMCgmeR5v07rD9+ONH+rhWtzePceBDtaduUuLRXQle + PqyMamAVuF2oNqDeBZUqQ6RHwRRQAxmh5srG4GGV4afhFazQreiWhHckjL5Eu/twfb+5+QsjMSxo + 1zd19s/WXxZ08dZGogf2w11iFG23m5v1tr9ElOZcaUMEreDl+VFZ0mUdk1VNxdmjgYry0iN/hlRz + 47NVF1L45Dk9zaIajN2KU16WmLwXF7fP/65z2igAzIcsU6C1z/uTAZHZW1iElJLRkhufeQV7LDpf + iCRWV+nq424bhR/jYCzqj405qs7LXjm1XUFoWRd0/S7U5i2UaPA+OJvf1eh60LW8EZmvUAaN7hKd + KkXPEyXGc9SUfEZqqgzHcGgwpoQKsFinK3zGL93rLfMjsyk1rPBiCl7X42z0pfT/MiVfSZD/TC6O + b6frjSTnUGa698dmEOM1deNijRU2lYzaz2hlTI+agFJSEQxuLYUGb0xa3ChmU3TyO065VwG9iel1 + vwD96qy8imn9Px7nK+dCC93jTHmmZ9Q8gisPHFN6nhFxrSTD3TAOfVnRFt5aiv788m3zG4b0NdDU + yvQoURiG4+Xzg3p0BlM/+alGzdESlCVEG9os4/YkGPw5bObrUXJmLyjHi8cVmHQpqHlEGksfcBfH + ERZQhp6IIzheFZygqnsKkEpZAhWrJKeltuRqAPSUA70gjKp+BBp5AJGkh6J+qhDefjlNykWyDaP1 + bmf7tBi3oG0S7XZIu7qPrsrQKGnJ3DeuKWbL8N13mZord5mVFKZIIqygmXCGPQNVyGfW4QTcSrt9 + u3lPbI9qKenXzxcWcJFeTlnIsg23v/Pwiu6BNKpMCmNqfR8EVGN319epolzYwuky/hpbLraAs236 + 3yvAbM2+l3IvgyP6f12L/ScQR66ksIAHTUWWyhOyj8F+11YU1BS7xx/SJqD77TQF0NIUeGJkwuIg + 5LOIg5HMgTJIubno3WenahReHGbhvikt8RuhXmqGGWIZLY7JC3Qk69vgWclyhOgFXfi0brCL4hQU + hwtmIp12ZZkTq6WCQWK3m0v7OMmsYW2jvWx9kTlQI/hTA10loRgjz7EVq2S7YbttlGeMbdgmv73d + 3N7kcBOFGwY7SBnm+OJSZ/kIopJEZ4eFShv03RiYVlr3HCIFx7RU5wnVGMZ0iwA01F2gLU+k86io + 6ndS/AE/WHj1HdYilp5SLqAaI6BkwU1Nm/KAJdtKhvONWJGW2M4goTXHc8zlzsvgpZuDpAuNa4wl + 9bOsJtVM8XqRhY30QxtrKSapcerLjCDRITaInsJ/gcRjKePF4pFf7GOnA8FB4KGQGddtTnt14KzI + PskWWtLS+webyPxsU6NIz+wDGv1ayNtB7wYEvmYFzK3inR/tRMsBlmaR3VY+E3ebMy2GIW2Udgw5 + A4NPwJ5XTVX+uxnRa//2U8zsP4N3wuFkA4DtWfmPYZ8amKlI7XwGG8Y87BlvZMF363ndGPClRjdX + CBfI1Rr3XLGz1PWV77avxMESaMp2Ro5OSdGY8CyC3rbVUqS3bA08yhQ4QQmWl807wKPnchqxSfNI + PvwNAAD//wMA7PVPLZQSAAA= + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"0af77218ea6dd74cbfc514b50fd93754"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 201, message: Created} +- request: + body: 20.92 + headers: {} + method: PUT + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/7qw40fpc/submit_for_settlement + response: + body: + string: !!binary | + H4sIADxtyFcAA+RYS2/jNhC+768wfGdk2U7WWShaFCgKFGh72QewvQSUNLIYS6SWpPzYX9+hnpRM + OWkPRYHexJmPQ/LjvKjg47nIF0eQign+tPTvVssF8FgkjO+fll8+/0J2y4/hu4CWjICUQhIJqhRc + QfhusQhqkTKf/WChLyU8LamU9LL0WpWWlCsaa1ykkbjhna7TDmOU4KYgfPTv1+vAq79tJdVasqjS + 0NpTlyIS+TKkhai4DrxeP5pVgFJ0D+En0DqHArheNBMWDDcmxCKncg93gdcBh/15ow22w44Jb3Je + Wx2UVNJC3SCm2UK4Xt094lHbkdtwTQvXUuQ5yNBSKsNRr2iQ7TRVRQXTz6mQz6o/N65jGy1Axhnl + mrAkfHncn5L0JTmcL0WW7KVhY9A2ePx4//20XaVlHHiNNPCGg/4joq+5cS2DUqWprlRIK50JyX5A + EnitqOUYPSJUNAekz3y2vFVSoqdfCFOC1P705dPPyNqV+N30UvzJpfR00Dg2YkOL0tHjYfv+x4/o + ZS0f7l8s0ixUu/8qIg7tgrP8aallBX0YFVRpkG8EC5kg1qmKJVANCaG6DZcEh5oVsMQD+g9k9UhW + /md/92G1/rC5/xNZ6Se0Fqoy+XsWhgk9/0qLAoYQQj58f7vd3K+3w+WiPGVSacJpAdcnQXVOb2lj + UZSUX5w6KCjLnZoTRIppt8UyE9ytSenZwbU3PmgQsTzH5Gofe3v6dw6stARAr0kSTOLKzclZA0/M + Pd0A5SKmOdPuRSTsMWDd1AmMy7yJqsetv3qPOcISDUdAn5aXW2dsAGYWoXmZ0fUbcZvXcbzCu2Kx + 6yZHV4cHTSueuAOs17nLYaNGlq0U5zaEOV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jjLr6S/LmCXA2dGDSl3ObMU8j9GtsMN1Gqzh29vZ4U7NM + GB7KSoPbfdq6RRjHnrFqHlmmajf56dnkp8CbA027LevQ47bMbrhmQW+xVjdpr1mzOjmdYZ0mGJDG + LwEPkIope5Mfi5jXHP97/wIAAP//AwBfU/QsLBYAAA== + headers: + cache-control: [no-cache] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 422, message: Unprocessable Entity} +- request: + body: !!python/unicode 4 + headers: {} + method: POST + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/customers + response: + body: + string: !!binary | + H4sIAD1tyFcAA5SRzVKDMBSF930KJvsItPaHTqA7n6Bu3F1zL5BKApMEC28vwTp1RBcuzzn57l/E + adBN9E7WqdbkLH1IWERGtqhMlbPn8xM/sFOxErJ3vtVki1UUCYXFJtsmu3S7F/Ekgjdlsgbj+aQv + WXXF8oJvw6hrrKyIv6fhdams89yApsioJmfe9sTiOWrgr0S2ugMzLnzSoJqF29WtWdYoYVh4V3p1 + yv/SzxJ4Qg4+8mNHOcNJeqWJFesk3fEk40l6Tg/HZH3c7F9EfAdmvu/wf/wd+Ow/35yXihp0wQlb + gfVKqu52y0cR/3ACGC/IsAsqzyVYdLdpwFoYb6sCoiXnaJF91Qo//wEAAP//AwCGyHTfLAIAAA== + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"d876f8f006cba56c9c7b4570ac5cec32"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 201, message: Created} +- request: + body: !!python/unicode 39506157fake-valid-nonce + headers: {} + method: POST + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/payment_methods + response: + body: + string: !!binary | + H4sIAD5tyFcAA6xVTXfaMBC88yt4vgt/AXXyjHLrsZcmPfTSJ0trUJElR5JJ+PddGYMJgbR97Y2d + HWl3x7OifHht1HQH1kmjV1E6S6IpaG6E1OtV9PT4mRTRA52U3IKQnnBmBZ1Mp2UllUIKYUJYcC5g + iEpBa1fGUgwx75w3DViCSH63SJbp4lMZn6MHXi2t80SzBqZaqlXkbQdRPCQVu53jpmmZ3l/JOG8B + /LG/KwR49aAFiA8oynCmpL92vYU1CnYl0RrnmSKoINC7eZrgvOfQse1Oe7vvIcJUu2HZ1eEuWfnv + WLpDXSX/gHZLSAvMBzH81O9bWEUCQy8biGiWpEuS3JEkfUyL+yS7z4vv+BFPB4Ybulb83Q3jgd5R + 8RVLoc00nSdpVhQhr3sseJCEEvSbdAw7OcXH7MYogfa6NmpwDErEJVP0SW+1edF4w4hNzqQyNZHO + dUxzoIH0Hp38u3J/tiMjK3jSo/Xo09cz1gkNXAGV9ON0h/CQqFmnjn1WxihgOqJBnUDrkwdiZ1Ft + gibvVOj17LLLzKRfpVbavj5pjPYbmmZl/A68YO6BWVQoS95Qe/TEBHHZa82Ug+HEUH0DTPkNfncY + 2zzDAkU2bA2ks4puvG/dfRwz58C7WWWZ1OGlWOMwL2w/QyvELds3oP2PBvzGiB/KrE28Q6vNWr1+ + AL2T1uhAWDmmRWVe8cE73d9XQ3sEI1dMb8eW3qCT47s2p2lRpGU8BAHH8taoM3segT5poWXoiS8G + 8eH3ATei4z7YZTw3YoHiuspxK9ugsxt0Zday/bAZ3mxB059Z85yty/gQBbzT8rnrn5aq9yNOLmsJ + ls5zXszTWnCe87xeLvPlooZFmuQcCqg4ruzNo5P/8GDsQDeGOLG94ZFTfmBbLH3YknfT90s5/r/9 + AgAA//8DANhIIwMVBwAA + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"20f2f72405f4ec5493350b957a241ea7"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 201, message: Created} +- request: + body: !!python/unicode j2mq2g2062.11salefalse4 + headers: {} + method: POST + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions + response: + body: + string: !!binary | + H4sIAD9tyFcAA+RYy27rNhDd5ysM7xlZtuPrBIqCAkWBu2g3N+mim4CiRhYTidQlKcfO13coWU9T + jrspCnQnzRyOyHkeKng65NlsD0pzKR7n/u1iPgPBZMzF7nH+8vwb2c6fwpuAFpyAUlIRBbqQQkN4 + M5sFlUjbx/ZlZo4FPM6pUvQ49yqU18GCgiqaNyuMokJTZvDbtaQCHHMQhuRgUhkTI99BhG/L/Ody + F3hOZbOS5rIUJlwuNstb3w+803ujZqU2MgdFeDwTPHucG1VCvcN6M7jvUNMMAq96bOSysPvTzTtK + dBnl3JAEvaHBmAzsnsKEZhrXupWNMW9k7bQrknDI4v430E+GM15QPC2Pw7U9+0DSWnRYwBMMPVut + Pvk9yEFruoPwu9jTDJ3xTA+zXypfBV6ju3FFJ8DPLo/r5I2xt8Br9hBoQ02pw0JJhquleo2BZVxA + jM6oVTfTDkYHKIUZdyRcS4KJB+HLj1/tqcbimy+DjCdTLLX+oYxZsfWTNtH9+/rb52f0tlSbuzd7 + xnPUTRNY4tCep0uQU20wla4DSxVPpF3AFFADMaHmVDcxvhqewxyP6G/I4p4s/Gd/+7BYPqzu/0K/ + tAtOFsoi/mcWugVtBOrCaFMK/bG6v1ts/LtvXZhRnnClDRE0B2cBZfSSlskcU/fo1EFOeebUfECk + uXFbLFIp3JoEM/rc197woEHEM0zTXf/Yif53DqyNAsCsiWNsp9rtk4MBEds4XQBlkmEJG/dHFOyw + dN2uk1iZWV1X92t/gXHui7ojYE6r46Uz1gC7itCsSOnyStzqa5woMVacuSI5CB0eNClF7C6wVucY + TK0avdxrdm5DVftFB3VNfbTG/QFa4qRS/POaT/RMR9SwdAKV8qIY5q27CP4HyXsxif5zWTuMnHv0 + Xzn43WOf7vWIpU14qUL2/DjEh7/j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AP//AwAygHzU3hUAAA== + headers: + cache-control: [no-cache] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 422, message: Unprocessable Entity} +- request: + body: !!python/unicode 4 + headers: {} + method: POST + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/customers + response: + body: + string: !!binary | + H4sIAEFtyFcAA5SRzVKDMBSF930KJvvIj9ihnUB3PkHduLtyL5CWBCYJFt5egjh1RBcuzzn57l/E + aVRt8E7Gyk7nLH6IWEC67FDqOmcv52eesVOxE+VgXafIFLsgEBKLp/RxnyRpJsJZeG/Oyga047O+ + HOobVhe8jpNqsDYi/J7615U01nENigIt25w5MxALl6iFv5KyUz3oaeOTAtlu3L7p9LZGBePGu9Gb + le6XfobAEXJwgZt6yhnO0klFrEiieM+jA4/ic5wdo+SYRq8ivAMLP/T4P/4OfPZfbs4rSS1a7/it + wDhZyn69ZSrCH44Hww3pd0HpeAkG7ToNGAPTuiogGrKWNtlXLf/zHwAAAP//AwDVAnE2LAIAAA== + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"ffa0b104ed8f854134a48234876d7614"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 201, message: Created} +- request: + body: !!python/unicode 54362248fake-valid-nonce + headers: {} + method: POST + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/payment_methods + response: + body: + string: !!binary | + H4sIAEFtyFcAA6xVy3LbIBTd6ys82mM94yoZmey67KZJF910EFxZjBGogJzo7wuSbDmOnbbT7nzP + PdzH0QGXj6+tWB1AG67kNkzWcbgCSRXjcrcNn58+oyJ8xEFJNTBuESWa4WC1KisuhKMgwpgGYzzm + UM7w3acy4myOaW+sakEjn8izTZrmRRmdoxOv5tpYJEkLK8nFNrS6hzCak4LczlHVdkQOVzLGagB7 + nO8KAV4tSAbsA4pQlAhur5XXsHOCXUl0ylgikFMQ8H2exE6Oc+g4di+tHkYIEdE1JL263CUr+x1L + 9k5XTj+g3RJSA7FeDLuyQwfbkLnQ8hZCnMbJBsX3KE6ekuIhTh/y5Lv7iKcDc4W+Y39XYTkwOiq6 + YilnM4nzOEmLwufliHkPIt8Cf+OGuElO8THbKMGcva6t6h3jJKKcCPws91K9SFdhwYIzqVSNuDE9 + kRSwJ71Hg39X7s/uyMLynrTOevj56xnrhHoug4rbZbspnBI16cVxzkopAUSG2KvjaWNyIvbaqY2c + yXvhZz0rdpkJxqvUcT32R62StsFJWkbvwAvmAEQ7hdL4DXVET0xgl7PWRBiYT8zdGyDCNu67wzLm + GeYpvCU7QL0WuLG2Mw9RRIwBa9aVJlz6l2Lnlnkhw9pZIerI0IK0P1qwjWI/hNqp6OCstu7k7hHk + gWslPWFriGSVenUP3qn+2M3Zwxu5InK/jPQGDY7vWo6TokjKaA487tprJc7seQTGpIaOOE98UQ6f + f0+4Yj213i7LuQXzFNNXhmreeZ3NrCvRmgzzzbBqDxJXm0M26DKaIo/3kv/sx6elGv3oNuc1B43z + jBZ5UjNKM5rVm022uavhLokzCgVU1Ln45tHgPzwYB5CtQobtb3jklJ/Z2rWebsm77cdLufy//QIA + AP//AwCgc/CnFQcAAA== + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"6ceeb122743c1c016bcf129de76553b0"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 201, message: Created} +- request: + body: !!python/unicode 54362248fake-valid-nonce + headers: {} + method: POST + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/payment_methods + response: + body: + string: !!binary | + H4sIAEJtyFcAA6xVTXfbIBC8+1f46Y71GUfJk8mtx16a9NBLHoKVTY1ABZTE/fVdZNlyEjttX3vz + zgywOxpwdffSqvkTWCeNXkXpIonmoLkRUq9X0cP9J1JGd3RWcQtCesKZFXQ2n1e1VAolhAlhwbmA + ISoF/W6rWIqx5r3zpgVLELkq8mWWFWUVn6J7XSOt80SzFuZaqlXkbQ9RPJKKXea4aTumd2cY5y2A + P/R3RgAvHrQA8YFEGc6U9Oe2t7BGw84QnXGeKYIOAr0p0uS6ik+hQ9u99nY3QISpbsOys8O9VeW/ + U+kefZX8A9klIy0wH8zwc7/rYBUJLL1sIaJZki5JckOS9D4tb5Pstsi+4Uc8Lhh36DvxdztMC4ZE + xWcihTHTtEjSrCwDrwcsZJCEI+hX6Rh2cqwP7MYogfE6N2pIDFrEJVP0QW+1eda4w4TNTqwyDZHO + 9UxzoEH0Hp39u3N/dkcmVcikx+jRhy8nqiMatAJq6afp9uWeaFivDn3WxihgOqINUw6CbmD3yt6i + 3QRT3qvQ7Mlub5nZcJc6aYcGSGu039A0q+J34BvlDphFi7LklXRAj0oQF5od2UG5Aab8Bj88TG2e + YEEiW7YG0ltFN9537jaOmXPg3aK2TOrwVKxxmGe2W2AW4o7tWtD+sQW/MeJRmbWJnzBri06v70A/ + SWt0EKwc06I2L/jiHfcfTsN8hCTXTG+nll6hs8PDVtC0LNMqHouA4/HWqJN8HoCBtNAxDMVng/j4 + e48b0XMf8jKtm7AgcX3tuJVd8NmNvjJr2W68Gt5sQdPtz+syx8+3rwLea/mjH96WeggkTi4bCZYW + OS+LtBGc5zxvlst8edXAVZrkHEqoOcb44tLZf3gxnkC3hjixvZCRIz+qLR69vybvph9u5fQH9wsA + AP//AwCNQDulFgcAAA== + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"52a519e9283fc9f7404139434085ff4d"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 201, message: Created} +- request: + body: !!python/unicode kz7832103.3salefalse4 + headers: {} + method: POST + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions + response: + body: + string: !!binary | + H4sIAENtyFcAA9xYy27rNhDd5ysC7xnJjzhOoCgoUBToohcF7k0X3QQUNbYYS6RKUo6dr+9QlGTJ + opJ0UaDozpo5HHIenDl09HQs8usDKM2leJzNb8LZNQgmUy52j7PnH7+QzewpvoqMokJTZhAVX11f + RzyNWbZXsA/XUYAfVqYNNZWOaWUyqfg7pFHQiKzWnEqINc0hCuqfVsYqpXC3E+FaEtwU4ufvP0fB + WGzBtJCVMPE8XN4swyhoPq2mAMUyKgyhjFkhwQNpk9zvV3fv78nrQq1vX6PAh6qPXSXEo7sWPH+c + GVXBLHC7UG1AfQkqVYpIj4IpoAZSQs21DcLjLMVPwwuYxYtwvibhPQnnP+abh3DxsFr8iaHoFtTr + qzL9Z+vPC5qAayPRA/vhsni7Wq4Xi9WmzSJKt1xpQwQt4PL8qMzptI7JoqTi5NFAQXnukb9Bornx + 2SozKXzyLT2Oohr03YoSnudYvWcXX9W/65w2CgDrIU0VaO3z/mhApDYLk5BcMppz4zOvYIe3zhci + idcrdxfkfjUP76KgL2qPjTWqTtNeObVdQWheZnTxJdTyM5SoMB+cjXPVSw+6tq1E6rsonUY3hU6V + oqeBEuPZ60o+IyVVhmM4NBiTQwF4WYcrfMbP7esz8z2zCTUs82IyXpb9avSV9P+yJD8okP9MLfaz + 0/RGsuWQp7r1x1YQ4yV142KFN2wo6bWf3sqIHjQBpaQiGNxSCg3emNS4XsyG6Pg3nHIfAloTw3Rf + gH51Vj7E1P4fDuOVY6GF7nCmvNETal7BXQ8cU3pcEVGpJMPdMA7ttaI1vLb0+7fVeoPj/kPQ0Mrw + KPMwDPvLxwf16AyWfvxTiZqDZShTiDq0acrtSTD4Y9jI14PkzCZoi4nHFVh0CahxRCpLH3AXxxEm + UIYeiSM4XhUcoShbCpBImQMVs3hLc23ZVQdoKQd6QRhV7Qg0cg8i3r/fbZYLhNdfTpNwEa/C+WKz + sX1a9FvQKp5vNvMoaD6aW4ZGSc3m/uCaYrV0322XKblyySykMFk8xw1HwhH2BFQhn1mEA3AtbfZt + 5j2xParmpM/fzyzgLD2fMpN5HW5/5+EF3QGpVB5nxpT6IQioxu6ubxJFubAXp6n4G2y52AJOtum/ + FIDVmr7kcieDA/p/U4rdE4gDV1JYwKOmIk3kEdlHZ79pKwpKit3jm7QF6H47TQY0NxmeGKmw2Av5 + JqKgJ3OgFBJuznr32agqhYnDKtxVuSV+PdSlppshltHimDxDe7K2DZ6UzHuIVtCET+sKuyhOQbE/ + YwbSYVeWW2K1VDCI7XZjaRsnmVasbrTnrc8yB6oE/6uC5iahGCPPsRWreLVkm9V8mzK2ZMvter1c + 327hFt8PDDaQMKzxyaXO8gFEIYlO9xM3rdM3Y2B405r3EMk4lqU6DahGN6ZrBKChJoH2eiKdR0VR + fpHid/jOwocPsRox+ZZyEdUYAiUzbkpa5Xu8s7WkO2CPFmmJ/QxiWnI8yFju3Awu/ewkTWxcZ8yp + n2ZViWaKl5M0rKfv+ljNMUmJY1+mBJkOsVH03PwLJB5LGS8Wj3yxjx0PBCeBh0OmXNdF7dWBsyLb + KpvoSVMPIOwi47MNjSI/s09o9GuicDu9mxD4nBUwtoo5P9iRtgWYGkZ2W/lGXDZHWgxDUintKHIK + Bt+ALbEaqvy56fFr//ZDzOhfgy/C4WgDgP1Z+Y9h3xpYqcjtfAYrxjz0GTMy4bv1vKwM+EqjGSyE + CyRrlXuv2GHqGsuLbSxRMAUa0p2eo0NW1Gc8k6DPbdUc6TNbHZEyGY5QgtfL1h3g0bdyGLFB84iv + /gYAAP//AwAAHxQOlhIAAA== + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"45081b04651642605f5336e7ae11f4d9"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 201, message: Created} +- request: + body: !!python/unicode bkhpqm10.011443524salefalse2 + headers: {} + method: POST + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions + response: + body: + string: !!binary | + H4sIAERtyFcAA9xYS2/jNhC+51cEvjOybCfrXShaFCha9LB72UeBXhYUNbYYSySXpBw7v75DUZKl + iErSQ4GiN2vm45AznMdHJx9PVXl9BG24FPeL+Ga5uAbBZM7F/n7x7etvZLv4mF4lVlNhKLOISq+u + rxOep+qsnvKNNUmEH05mLLW1SWltC6n5E+RJ1Iqc1p4VpIaWkETNTydjtda425lwIwluCum3L78m + 0VTswLSStbBpvLxZLpOo/XKKCjQrqLCEMuaEBM9jbPb+sHn39JQ9rPTd7UMShVDNqeuMBHTXgpf3 + C6trWER+F2os6DdBpc4RGVAwDdRCTqi9djG4X+T4aXkFi3S1jO/I8j1Zxl/j7Yfl6sNm/RdGol/Q + rK9V/s/WXxa08TZWogfuw19iHG8269vVprtElO64NpYIWsHz86OypPM6JitFxTmggYryMiB/hMxw + G7KlCilC8h09TaIaDd1KMl6WmLwXFzeP/65zxmoAzIc812BMyPuTBZG7W5iFlJLRktuQeQ17LLpQ + iCRWV+nr4/0mXr5LoqGoOzbmqD7Pe+XVbgWhpSro6k2o9WsoUeN9cDa9q8H1oGu7WuShQuk1pk10 + qjU9j5QYz0FTChlRVFuO4TBgbQkVYLGOV4SMX7rXa+YHZjNqWRHEFFypYTaGUvp/mZIvJMh/JheH + t9P2RrLjUOam88dlEOOK+nGxwgobSwbtZ7AyoUdDQGupCQZXSWEgGJMGN4jZGJ1+win3IqAzMb7u + Z6A/vJUXMY3/x+N05VTooHucKY/0jJoH8OWBY8pMMyJRWjLcDePQlRVt4I2lr5/+/Hz7O4b0JdDY + yvgo8dIRgTntzEqLqZ/+olBzdARlDtGENs+5OwkGfwqb+HqUnLkL2uHF4wpMugz0NCK1ow+4i+cI + MyhLT8QTnKAKTlCpjgJkUpZAxSLd0dI4ctUDOsqBXhBGdTcCrTyASLNDoX5WCG++vCbjIt0s49V2 + 6/q0GLagTRpvt3EStR9tlaFR0pC579xQzJb+u+syimt/mZUUtkhjrKCJcII9A9XIZ1bLEbiRtvu2 + 8564HtVQ0m9fLizgIr2cspBlE+5w5+EV3QOpdZkW1irzIYqowe5ubjJNuXCF02b8DbZcbAFn1/R/ + VIDZmv8o5V5GR/T/Ron9RxBHrqVwgHtDRZ7JE7KP3n7bVjQoit3js3QJ6H97TQG0tAWeGJmwOAj5 + KJJoIPOgHDJuL3r/2apqjReHWbivS0f8Bqjnmn6GOEaLY/ICHci6NnjWshwgOkEbPmNq7KI4BcXh + ghlJx11Z7ojTUsEgddtNpV2cZF6zptFetr7IPKgW/GcNbSWhGCPPsRXrdLNm2028yxlbs/Xu7m59 + d7uD23i5ZrCFjGGOzy71lo8gKklMfpiptF7fjoFxpbXPIVJwTEt9HlGNfkw3CEBD7QW68kQ6j4pK + vZHi9/jewovvsAYx95TyATUYAS0LbhWtywOWbCPpzzdgRUZiO4OUKo7nmMq9l9FzN3tJGxrfGEsa + Zll1ZpjmapaFDfR9G2soJlE49WVOkOgQF8RA4T9D4rG0DWLxyM/2cdOB4CAIUMicmyangzrwVmSX + ZDMtae79g01keraxUaRn7gGNfs3kba/3AwJfswKmVvHOj26i7QDmZpHbVj4Sf5sTLYYhq7XxDDkH + i0/AjleNVeG7GdDr8PZjzOQ/gzfC4eQCgO1Zh4/hnhqYqUjtQgZrxgLsGW9kxnfnuaothFKjnSuE + C+RqtX+uuFnq+8oP11eSaA40ZjsDR8ekaEh4ZkGv22oo0mu2eh5lC5ygBMvL5R3g0XdyHLFR80iv + /gYAAP//AwDMxM/slBIAAA== + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"c74a8f5a20ebecd2a798de6430806ec2"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 201, message: Created} +- request: + body: !!python/unicode authorized + headers: {} + method: POST + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/advanced_search_ids + response: + body: + string: !!binary | + H4sIAERtyFcAA2yOsQ7CMAxEd74iyl4lQ4HF5F+ixLRRARnbqEq/nrZCVFTcdHfvhgPByKlvGOV1 + UwkHY4Bih42UCY1WwostD8UO2YajB/eF67Rk+Ywic6x2KRdBUbyH1A+Mgz+BW+MPOz/H1l8p/WNU + acqtysZml+dz4PZ33wAAAP//AwD/n4c1wAAAAA== + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"2b3969d6271871614e25be4b1d812c64"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 200, message: OK} +- request: + body: !!python/unicode authorizedchkrek067qw40fpcpypzd4ts + headers: {} + method: POST + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/advanced_search + response: + body: + string: !!binary | + H4sIAEVtyFcAA+xbW2/bNhR+768I/M5YNztO4agYUGwYsBYDlnbYXgqKoi3GEqmSlBPn1+9QN0sW + laTI1mat3qJzPt4ODw8/fnDWb+6y9GxPpWKCX83cc2d2RjkRMePbq9mH65/RavYmfLUmksZMI4Jl + jLTEXGGioYU604ecXs2ISFNaWmbhq7OzNSmkpFyjHG8p4kUWUVkjGdd0S+UsdNdzC6psXX4rdk9P + 2yyc9bx1llAtNE4R0zRTp2B/Pe94YQ2deZdtWRzmh/w+DrRaz+HD2JTGulAhLnQiJAwSr+e1qRwN + RggVTil0bf48LpUcEFMCQeBo+OGPt83aumYDxpkouA5d59yBpdRfxpFRSRIMscCEGCOC+SgdXe6C + i/v76MaTy8XNem5DlbMuImTxnXGWXs20LOhsXo2ClabySVAhY0BaHJAJWNMYYV0HPIZPzTI6Cz3H + XSLnEjnutbt67XivA/9viETboGxf5PGXtT82qOOttMiqTKk20XWDwF94QbOJYN0wqTTi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rHRbqDI1ta + 2vl1WJESUM5oiHMG8xjaq1XOT5fZWurQVIUxxXaWVUSKSJaPsrCOvy1jJcVEOdz6IkZAdJAJouXg + nyBhWlJbsTDlk3HM7YCOj/guhYyZKnPa6qNVL6JJspGSNPb+gSIynFu/U6Bn5gEN6xrJ29ZfXRDw + muV02Cvs+d7caBtKx+4iM6y4RdVuDrwQhqiQqmLIMdXwBGx4Vd9l35sOvbYP38cMNIMnwumdCQCU + Z2mfhnlqQKYCtbN1WBBiYc+wIyNrNyvPC01tqVHfK4hx4GpF9Vwxd2lVVz6ZurKej4H6bKez0D4p + 6hKeUdDjfZUU6bG+Wh6lE7hBERwvk3cUpr4R/Yj1ioddbCLJTtKds/zqYpN/7v8QapP3TLXJe4ra + tAj8pecFq+9YbbqRk9r0cl74k9o0qU0vJRe/VG0KJrWphP47atPv74Pl6u2kNn0btWl3f7HyvUlt + KsvypDZNatP/UW3ynqs2nb6lqohOctMkN01yU0PPJ7npJchNF59vA2eTk68sN3nO+aX7A6hN/uJ5 + alPZfvpt0/Tbppf1wp/Upklteim5OP226VuqTe5f1x/93ya1afpt0wl2UpsmtamO06Q2PUrxn6E2 + DZ5SVUAnsWkSmyaxqWHnk9j01cWm+dh/A4av/gEAAP//AwDMMaIQUDgAAA== + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"a721d28c18fad4b3b558c9b84eb227f8"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 200, message: OK} +- request: + body: null + headers: {} + method: PUT + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/pypzd4ts/void + response: + body: + string: !!binary | + H4sIAEZtyFcAA9xYTY/bNhC951csfOfKsr2OE2gVFCha9JBckrRALwFFjS3GEsmQlNfeX9+hKMnS + itpdoCgQ9GbNPA45w/l4dPLhXJU3J9CGS3G/iG+XixsQTOZcH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gzeUb20dtv24oGRbF7fJIuAf1vrymAlrbAEyMT + FkchH0QSDWQelEPG7VXvP1tVrfHiMAsPdemI3wD1VNPPEMdocUxeoQNZ1wYvWpYDRCdow2dMjV0U + p6A4XjEj6bgryz1xWioYpG67qbSLk8xr1jTa69ZXmQfVgv+ooa0kFGPkObZinW7WbLeJ9zlja7be + b7fr7d0e7uLlmsEOMoY5PrvUWz6BqCQx+XGm0np9OwbGldY+hUjBMS31ZUQ1+jHdIAANtRfoyhPp + PCoq9conQo/vLbSPriuTGb7DGsTcU8oH1GAEtCy4VbQuj1iyjaQ/34AVGYntDFKqOJ5jKvdeRlM3 + /73n2+c8n74+fwKve0mbEH4clDTMLevMMM3VLPcc6Pvm3RBropDryJwgvSMugIF29wSJx9I2iMUj + P9nHzUSC4y9AnHNumkoO6sBbkV1pzTTiuVcfts7p2cZGkZS6vw3Qr5lq7fV+LOIbXsDUKt75yc3x + PcDcBHbbygfib3OixTBktTb+XZCDxYdvxybHqvDdDB4V4e3HmMk/Ja+Ew9kFAIeSDh/DPbAwU5HQ + hgzWjAXeDHgjM747z1VtIZQa7TQlXCBDrf0jzTEI302/uW6aRHOgMccbODqmgkOaNwt62VZDDF+y + 1bNHWyBvIFheLu8Aj76X44iNmkf65h8AAAD//wMAqFmkEYYTAAA= + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"444601e09537c7cf5aea73dfbc679a69"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 200, message: OK} +- request: + body: null + headers: {} + method: PUT + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/chkrek06/void + response: + body: + string: !!binary | + H4sIAEdtyFcAA9xYS2/jNhC+768wfGckP+I4gaKgQFGghy4K7GYPvQQUNbYYS6RKUo6dX9+hKMlS + RCUBigKL3qyZj0POcB4fHT2cinx2BKW5FPfzxVU4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eaijSRJ2Qfnf2mrSgoKXaPr9ImoPvtNBnQ3GR4YqTC + 4iDki4iCnsyBUki4uejdZ6OqFF4cZuG+yi3x66HearoZYhktjskLtCdr2+BZybyHaAVN+LSusIvi + FBSHC2YgHXZluSNWSwWD2G43lrZxkmnF6kZ72foic6BK8L8raCoJxRh5jq1YxesV264Xu5SxFVvt + NpvV5noH1/h+YLCFhGGOTy51lo8gCkl0epiotE7fjIFhpTVvIZJxTEt1HlCNbkzXCEBDzQXa8kQ6 + j4qi/OQTocN3FppX14XJ9B9iNWLyLeUiqjEESmbclLTKD1iztaQ7YI8WaYn9DGJacjzIWO7cDMZ+ + /nvXb95zffz+/Bnc7iRNSriBkFM/u6wSzRQvJ9lnT9+175pakxLZjkwJEjxiI+hpeG+QeCxlvFg8 + 8pt97FQkOAA91Dnluq5lrw6cFdkW10Qrnnr3YfMcn21oFGmp/ecA/Zqo107vBiO+4gWMreKdH+0k + 3wFMzWC7rXwh7jZHWgxDUintXgYpGHz6tnxyqPLfTe9Z4d9+iBn9WfJJOJxsAHAsKf8x7BMLMxUp + rc9gxZjn1YA3MuG79bysDPhSo5mnhAvkqJV7plkO4frpk+2nUTAFGrK8nqNDMtgnepOgj23V1PAj + Wx1/NBkyB4LlZfMO8Og7OYzYoHnEX/4BAAD//wMA4nGS04kTAAA= + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"7dceee2749c24833e6c2ba4bfd42e969"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 200, message: OK} +- request: + body: null + headers: {} + method: PUT + uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/7qw40fpc/void + response: + body: + string: !!binary | + H4sIAEhtyFcAA9xYS2/jNhC+768IfGck2U7WWSgKChQFCrS97APYXhYUNbIYS6SWpBx7f32HoiRL + EZUEKAoserNmPg45w3l8dPxwqsq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9q2Uexkc0f/rWuwfQBy5ksIC7jUVWSpPyD4G+11bUVBT7B5/SZuA7rfTFEBLU+CJ + kQmLg5BPIg5GMgfKIOXmonefnapReHGYhfumtMRvhHquGWaIZbQ4Ji/Qkaxvg2clyxGiF3Th07rB + LopTUBwumIl02pVlTqyWCgaJ3W4u7eMks4a1jfay9UXmQI3g3xvoKgnFGHmOrVgl2w3bbaM8Y2zD + Nvnt7eb2JoebKNww2EHKMMcXlzrLRxCVJDo7LFTaoO/GwLTSuqcQKTimpTpPqMYwplsEoKHuAm15 + Ip1HRVW/8Ykw4AcL3aPrwmTG77AWsfSUcgHVGAElC25q2pQHLNlWMpxvxIq0xHYGCa05nmMud14G + czf/teft42bR8/nr8yfwepB0CeHGQUn93LJJNVO8XuSeI/3QvFtiTWrkOjIjSO+IDaCn3T1D4rGU + 8WLxyM/2sTOR4PjzEOeM67aSvTpwVmRfWguNeOnVh61zfrapUSSl9m8D9GuhWge9G4v4hhcwt4p3 + frRzPAdYmsB2W/lE3G3OtBiGtFHavQsyMPjw7dnkVOW/m9Gjwr/9FDP7p+SNcDjZAOBQUv5j2AcW + ZioSWp/BhjHPmwFvZMF363ndGPClRjdNCRfIUBv3SLMMwnXTb7abxsESaMrxRo5OqeCY5i2CXrfV + EsPXbA3s0RTIGwiWl807wKPnchqxSfNI3v0DAAD//wMAY8l+PYYTAAA= + headers: + cache-control: ['max-age=0, private, must-revalidate'] + content-encoding: [gzip] + content-type: [application/xml; charset=utf-8] + etag: [W/"2a495e8d9cdaacd734e220a5d66e5662"] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + status: {code: 200, message: OK} +version: 1 diff --git a/tests/py/fixtures/TestsWithBillingHarness.yml b/tests/py/fixtures/TestsWithBillingHarness.yml deleted file mode 100644 index dbf15390c7..0000000000 --- a/tests/py/fixtures/TestsWithBillingHarness.yml +++ /dev/null @@ -1,1104 +0,0 @@ -interactions: -- request: - body: !!python/unicode bkhpqm20.9111443524salefalse2 - headers: {} - method: POST - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions - response: - body: - string: !!binary | - H4sIALbrvlcAA9xYS2/jNhC+51cEvjOy/EicQFFQYLFAD+0luz3sJaCoscVYIhWScuz8+g5FSZYi - KkkPBYrerJmPQ85wHh8dPRyL/PIASnMp7mfh1Xx2CYLJlIvd/eznj+9kM3uILyKjqNCUGUTFF5eX - EU/jJby8LpKViQL8sDJtqKl0TCuTScXfII2CRmS15lRCrGkOUVD/tDJWKYW7nQjXkuCmEP98/BYF - Y7EF00JWwsSL+dVtGAXNl1UUoFhGhSGUMSskeB5tktv96ubtLXleqOv1cxT4UPWpq4R4dJeC5/cz - oyqYBW4Xqg2oL0GlShHpUTAF1EBKqLm0MbifpfhpeAEzdCu8JvMNWax/hIu79e3dcvULI9EtqNdX - ZfrP1p8XNPHWRqIH9sNdYhiuVsv1YtVeIkq3XGlDBC3g/flRmdNpHZNFScXJo4GC8twjf4VEc+Oz - VWZS+ORbehxFNei7FSU8zzF5zy6uXv9d57RRAJgPaapAa5/3RwMitbcwCcklozk3PvMKdlh0vhBJ - rK7c1cftKpzfREFf1B4bc1Sdpr1yaruC0LzM6OJLqOVnKFHhfXA2vqve9aBr20qkvkLpNLpJdKoU - PQ2UGM9eU/IZKakyHMOhwZgcCsBiHa7wGT93r8/M98wm1LDMi8l4Wfaz0ZfS/8uU/CBB/jO52L+d - pjeSLYc81a0/NoMYL6kbFwussKGk1356KyN60ASUkopgcEspNHhjUuN6MRui4z9wyn0IaE0Mr/sd - 6Hdn5UNM7f/hMF45FlroDmfKKz2h5hlceeCY0uOMiEolGe6GcWjLitbw2tL65tv3xw2G9CPQ0Mrw - KOF8Pu8vHx/UozOY+vFvJWoOlqBMIerQpim3J8Hgj2EjXw+SM3tBW7x4XIFJl4AaR6Sy9AF3cRxh - AmXokTiC41XBEYqypQCJlDlQMYu3NNeWXHWAlnKgF4RR1Y5AI/cg4mSflS8Fwusvp0m4iFfzcLHZ - 2D4t+i1oFYebDdKu5qOpMjRKajL3F9cUs6X7brtMyZW7zEIKk8UhVtBIOMKegCrkM4v5AFxLm32b - eU9sj6op6c/HMws4S8+nzGReh9vfeXhBd0AqlceZMaW+CwKqsbvrq0RRLmzhNBl/hS0XW8DJNv2n - AjBb06dc7mRwQP+vSrF7AHHgSgoLuNdUpIk8Ivvo7DdtRUFJsXv8KW0Cut9OkwHNTYYnRiYs9kK+ - iijoyRwohYSbs959NqpK4cVhFu6q3BK/Huq9ppshltHimDxDe7K2DZ6UzHuIVtCET+sKuyhOQbE/ - YwbSYVeWW2K1VDCI7XZjaRsnmVasbrTnrc8yB6oEf6mgqSQUY+Q5tmIVr5Zsswq3KWNLttxeXy+v - 11tYh/Mlgw0kDHN8cqmzfABRSKLT/USldfpmDAwrrXkOkYxjWqrTgGp0Y7pGABpqLtCWJ9J5VBTl - Fyl+h+8sfPgOqxFTTykXUI0RUDLjpqRVvseSrSXd+XqsSEtsZxDTkuM5xnLnZfDezU7ShMY1xpz6 - WVaVaKZ4OcnCevqujdUUk5Q49WVKkOgQG0RP4b9D4rGU8WLxyO/2sdOB4CDwUMiU6zqnvTpwVmSb - ZBMtaer9g01kfLahUaRn9gGNfk3kbad3AwJfswLGVvHOD3aibQGmZpHdVr4Sd5sjLYYhqZR2DDkF - g0/AllcNVf676dFr//ZDzOg/gy/C4WgDgO1Z+Y9hnxqYqUjtfAYrxjzsGW9kwnfreVkZ8KVGM1cI - F8jVKvdcsbPU9ZUn21eiYAo0ZDs9R4ekqE94JkGf26op0me2Oh5lMpygBMvL5h3g0bdyGLFB84gv - /gYAAP//AwA0YQC1lBIAAA== - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"5740cc902f879b423b693a439849295d"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 201, message: Created} -- request: - body: 10.0 - headers: {} - method: PUT - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/3eqw2b4t/submit_for_settlement - response: - body: - string: !!binary | - H4sIALbrvlcAA9xYS2/bOBC+91cEvjOy/EidQFGwQFFgD7uXtnvoJaCokcVYIlWScuz++h2KkixF - VJI9dLHYmzXzccgZzuOjo4dTWVwdQWkuxf0ivF4urkAwmXKxv198+/qZ7BYP8YfIKCo0ZQZR8Yer - q4in8Rp+PK+SjYkC/LAybaipdazrpOTGQPqYSfWowZgCShCIawEWa84VxJoWEAXNTytjtVK495lw - LQkeAeJvXz5FwVRswbSUtTBxuLxeLqOg/bKKEhTLqTCEMmaFBE+nTXJ72Hz8+TN5Wqmb7VMU+FCN - D3VCPLorwYv7hVE1LAK3C9UG1LugUqWI9CiYAophItRc2RjcL1L8NLyERbxahjdkuSOr7ddwdbe9 - vVtvvmMk+gXN+rpK/9n6y4I23tpI9MB+uCsNw81mvV1tuitFacaVNkTQEl6eH5UFndcxWVZUnD0a - KCkvPPJnSDQ3PltVLoVPntHTJKrB0K0o4UWBqXxxcfP8a53TRgFgPqSpAq193p8MiNTewiykkIwW - 3PjMK9hjCfpCJLG6Clcft5tw+TEKhqLu2Jij6jzvlVPbFYQWVU5X70Kt30KJGu+Ds+ldDa4HXctq - kfoKpdfoNtGpUvQ8UmI8By3KZ6SiynAMx6UhvVjhM05rk0vFf75tfmA2oYblXkzOq2qYjb6U/l+m - 5CsJ8p/JxeHttL2RZByKVHf+2AxivKJuXKywwsaSQfsZrIzoURNQSiqCwa2k0OCNSYMbxGyMjv/A - KfcqoDMxvu4XoN+dlVcxjf/H43TlVGihe5wpz/SMmidw5YFjSk8zIqqUZLgbxqErK9rAG0vbj58+ - f9lhSF8Dja2MjxIuLRGY086sNJj68W8Vao6Qelc3iCa0acrtSTD4U9jE16PkzF5QhhePKzDpElDT - iNSWPuAujiPMoAw9EUdwvCo4QVl1FCCRsgAqFnFGC23JVQ/oKAd6QRhV3Qg08gAiTg559aNEePPl - NAkX8WYZrnY726fFsAVt4nC3C6Og/WirDI2Shsz9xTXFbOm/uy5TceUus5TC5HGIFTQRTrBnoAr5 - zGo5AjfSdt923hPboxqC+u3LhQVcpJdT5rJowu3vPLykeyC1KuLcmErfBQHV2N31daIoF7Zw2oy/ - xpaLLeBsm/5jCZit6WMh9zI4ov/Xldg/gDhyJYUF3Gsq0kSekH309tu2oqCi2D3+lDYB3W+nyYEW - JscTIxMWByGfRRQMZA6UQsLNRe8+W1Wt8OIwC/d1YYnfAPVS088Qy2hxTF6gA1nXBs9KFgNEJ2jD - p3WNXRSnoDhcMCPpuCvLjFgtFQxiu91U2sVJpjVrGu1l64vMgWrBf9TQVhKKMfIcW7GKN2u224RZ - ytiarbObm/XNNoNtuFwz2EHCMMdnlzrLRxClJDo9zFRar2/HwLjS2scRyTmmpTqPqEY/phsEoKH2 - Am15Ip1HRVm9k+L3+N5C++i6MJnhO6xBtI+n1fL6Nhw+pVxANUZAyZybitbFAUu2kfTnG7AiLbGd - QUwrjueYyp2XwdTNX+z5e96jwzhMnpT/Thx6SZsibkAU1M8260QzxatZNjrQ9+28odqkQvYjU4KE - j9iQehrgCyQeSxkvFo/8Yh87JQkORA+VTrluaturA2dFdsU205rn3oHYTKdnGxtFmmr/SEC/Zuq3 - 17tBia96AVOreOdHO9kzgLmZbLeVz8Td5kSLYUhqpd1LIQWDT+GOX45V/rsZPDP8248xk/9O3gmH - kw0AjinlP4Z9cmGmIsX1GawZ87wi8EZmfLeeV7UBX2q085VwgZy1ds82yylcf320/TUK5kBj1jdw - dEwOh8RvFvS2rYYqvmWr55MmRyZBsLxs3gEePZPjiI2aR/zhbwAAAP//AwDqzvS8qhMAAA== - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"9e4f4efc9d0f254eb63cb806ff2b8d55"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 200, message: OK} -- request: - body: null - headers: {} - method: PUT - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/3eqw2b4t/void - response: - body: - string: !!binary | - H4sIALfrvlcAA9xYS2/bOBC+91cEvjOy/EidQFGwQFFgD7uXtnvoJaCokcVYIlWScuz++h2KkixF - VJJLge7erJmPQ85wHh8dPZzK4uoISnMp7hfh9XJxBYLJlIv9/eLb189kt3iIP0RGUaEpM4iKP1xd - RTyN1/DjeZVsTBTgh5VpQ02t46PkKaRR0H5ajTlXEGtaQBQ0P62M1UrhTmfCtSS4IcTfvnyKgqnY - gmkpa2HicHm9XEZB+2UVJSiWU2EIZcwKCZ5Fm+T2sPn482fytFI326co8KGaE9cJ8eiuBC/uF0bV - sAjcLlQbUO+CSpUi0qNgCqiBlFBzZWNwv0jx0/ASFvFqGd6Q5Y6stl/D1d329m69+Y6R6Bc06+sq - ff/6La6/LGjjrY1ED+yHu8Aw3GzW29Wmu0CUZlxpQwQt4eX5UVnQeR2TZUXF2aOBkvLCI3+GRHPj - s1XlUvjkGT1NohoM3YoSXhSYuBcXN8+/1jltFADmQ5oq0Nrn/cmASO0tzEIKyWjBjc+8gj0WnC9E - EqurcPVxuwmXH6NgKOqOjTmqzvNeObVdQWhR5XT1LtT6LZSo8T44m97V4HrQtawWqa9Qeo1uE50q - Rc8jJcZz0JB8RiqqDMdwaDCmgBKwWMcrfMZpbXKp+M+3zQ/MJtSw3IvJeVUNs9GX0v/LlHwlQX6b - XBzeTtsbScahSHXnj80gxivqxsUKK2wsGbSfwcqIHjUBpaQiGNxKCg3emDS4QczG6PgvnHKvAjoT - 4+t+AfrTWXkV0/h/PE5XToUWuseZ8kzPqHkCVx44pvQ0I6JKSYa7YRy6sqINvLG0/fjp85cdhvQ1 - 0NjK+Cjh0hKBOe3MSoOpH/9RoeZoCcocogltmnJ7Egz+FDbxFSkPsxeU4cXjCky6BNQ0IrWlD7iL - 4wgzKENPxBEcrwpOUFYdBUikLICKRZzRQlty1QM6yoFeEEZVNwKNPICIk0Ne/SgR3nw5TcJFvFmG - q93O9mkxbEGbONztwihoP9oqQ6OkIXP/cE0xW/rvrstUXLnLLKUweRxiBU2EE+wZqEI+s1qOwI20 - 3bed98T2qIaOfvtyYQEX6eWUuSyacPs7Dy/pHkitijg3ptJ3QUA1dnd9nSjKhS2cNuOvseViCzjb - pv9YAmZr+ljIvQyO6P91JfYPII5cSWEB95qKNJEnZB+9/batKKgodo+/pU1A99tpcqCFyfHEyITF - QchnEQUDmQOlkHBz0bvPVlUrvDjMwn1dWOI3QL3U9DPEMlockxfoQNa1wbOSxQDRCdrwaV1jF8Up - KA4XzEg67soyI1ZLBYPYbjeVdnGSac2aRnvZ+iJzoFrwHzW0lYRijDzHVqzizZrtNmGWMrZm6+zm - Zn2zzWAbLtcMdpAwzPHZpc7yEUQpiU4PM5XW69sxMK609ilEco5pqc4jqtGP6QYBaKi9QFueSOdR - UVbvfCL0+N5C++i6MJnhO6xBtI+n1fL6Nhw+pVxANUZAyZybitbFAUu2kfTnG7AiLbGdQUwrjueY - yp2XwdTNX+w5PulKbjDJHzOpHi88bS4OkyflfycO29fiMH2F/wZe95K2MNxYLKifY9eJZopXsxx8 - oO+HWPPAIBVyPpkSpLnEBtDT9l8g8VjKeLF45Bf7WG5AkAZ4HhAp101H8+rAWZFdi5kZSHOvXxwh - 07ONjSI5t3+foF8zXavXO3qQUyFgahXv/Gj5TAYwx0TstvKZuNucaDEMSa20ex+lYCgvOlY9Vvnv - ZvC48m8/xkz+MXonHE42ADiclf8Y9qGJmYrE3mewZszzdsIbmfHdel7VBnyp0bIKwgUy9do9Vi2T - clPl0U6VKJgDjbnuwNExJR7S3VnQ27YagvyWrZ5Fmxz5E8HysnkHePRMjiM2ah7xh38BAAD//wMA - 3ok0ko4UAAA= - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"357ec2f2b1c23b5e871ff7b02b5c2263"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 200, message: OK} -- request: - body: !!python/unicode bkhpqm20.9111443524salefalse2 - headers: {} - method: POST - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions - response: - body: - string: !!binary | - H4sIALjrvlcAA9xYS2/jNhC+51cEvjOy/FonUBQUKFoUaPeym0XRS0BRY4uxRGpJyrH313coSrIU - UUl6KFD0Zs18HHKG8/jo6OFU5NdHUJpLcT8Lb+azaxBMplzs72ePX38h29lDfBUZRYWmzCAqvrq+ - jngaF8f5fv1yOEYBfliZNtRUOqaVyaTiPyCNgkZkteZcQqxpDlFQ/7QyVimFu50J15LgphA/fvk5 - CsZiC6aFrISJF/Ob2zAKmi+rKECxjApDKGNWSPA82iS3h9WnHz+S54XarJ+jwIeqT10lxKO7Fjy/ - nxlVwSxwu1BtQH0IKlWKSI+CKaAGUkLNtY3B/SzFT8MLmKFb4YbMt2Sx/hou7ta3d8vNXxiJbkG9 - virTf7b+sqCJtzYSPbAf7hLDcLVarher9hJRuuNKGyJoAa/Pj8qcTuuYLEoqzh4NFJTnHvkLJJob - n60yk8In39HTKKpB360o4XmOyXtxcfXy7zqnjQLAfEhTBVr7vD8ZEKm9hUlILhnNufGZV7DHovOF - SGJ15a4+blfh/FMU9EXtsTFH1XnaK6e2KwjNy4wuPoRavocSFd4HZ+O76l0PurarROorlE6jm0Sn - StHzQInx7DUln5GSKsMxHBqMyaEALNbhCp/xS/d6z3zPbEINy7yYjJdlPxt9Kf2/TMk3EuQ/k4v9 - 22l6I9lxyFPd+mMziPGSunGxwAobSnrtp7cyokdNQCmpCAa3lEKDNyY1rhezITr+A6fcm4DWxPC6 - X4F+c1bexNT+H4/jlWOhhe5xprzQM2qewZUHjik9zoioVJLhbhiHtqxoDa8tfd78+fv8VwzpW6Ch - leFRwvl83l8+PqhHZzD1459K1BwtQZlC1KFNU25PgsEfw0a+HiVn9oJ2ePG4ApMuATWOSGXpA+7i - OMIEytATcQTHq4ITFGVLARIpc6BiFu9ori256gAt5UAvCKOqHYFGHkDEySErvxcIr7+cJuEiXs3D - xXZr+7Tot6BVHG63SLuaj6bK0Cipydw3rilmS/fddpmSK3eZhRQmi0OsoJFwhD0DVchnFvMBuJY2 - +zbzntgeVVPSxy8XFnCRXk6ZybwOt7/z8ILugVQqjzNjSn0XBFRjd9c3iaJc2MJpMv4GWy62gLNt - +k8FYLamT7ncy+CI/t+UYv8A4siVFBZwr6lIE3lC9tHZb9qKgpJi9/gsbQK6306TAc1NhidGJiwO - Qr6IKOjJHCiFhJuL3n02qkrhxWEW7qvcEr8e6rWmmyGW0eKYvEB7srYNnpXMe4hW0IRP6wq7KE5B - cbhgBtJhV5Y7YrVUMIjtdmNpGyeZVqxutJetLzIHqgT/XkFTSSjGyHNsxSpeLdl2Fe5SxpZsudts - lpv1DtbhfMlgCwnDHJ9c6iwfQRSS6PQwUWmdvhkDw0prnkMk45iW6jygGt2YrhGAhpoLtOWJdB4V - RflBit/hOwtvvsNqxNRTygVUYwSUzLgpaZUfsGRrSXe+HivSEtsZxLTkeI6x3HkZvHazkzShcY0x - p36WVSWaKV5OsrCevmtjNcUkJU59mRIkOsQG0VP4r5B4LGW8WDzyq33sdCA4CDwUMuW6zmmvDpwV - 2SbZREuaev9gExmfbWgU6Zl9QKNfE3nb6d2AwNesgLFVvPOjnWg7gKlZZLeVL8Td5kiLYUgqpR1D - TsHgE7DlVUOV/2569Nq//RAz+s/gg3A42QBge1b+Y9inBmYqUjufwYoxD3vGG5nw3XpeVgZ8qdHM - FcIFcrXKPVfsLHV95cn2lSiYAg3ZTs/RISnqE55J0Pu2aor0nq2OR5kMJyjB8rJ5B3j0nRxGbNA8 - 4qu/AQAA//8DAEyGkOSUEgAA - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"fb60adb3640fb1278d90281da51e5758"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 201, message: Created} -- request: - body: 20.91 - headers: {} - method: PUT - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/mv0g5wkv/submit_for_settlement - response: - body: - string: !!binary | - H4sIALnrvlcAA9xYS4/bNhC+51csfOfK8mu9gVZBgaJFgTaXJEXRy4KiRhZjiVRIymvn13coSrK0 - onYXKAoEvVkzH4ec4Tw+OvpwLoubEyjNpXhYhLfLxQ0IJlMuDg+LL59/IfvFh/hdZBQVmjKDqPjd - zU3E07g8LQ/bp+MpCvDDyrShptaxrpOSGwPpYybVowZjCihBmChoARZrLhXEmhYQBc1PK2O1Urj3 - hXAtCR4B4i+ffo6CqdiCaSlrYeLV8vY+jIL2yypKUCynwhDKmBUSPJ02yf1xc/f9e/J1pXbbr1Hg - QzU+1Anx6G4ELx4WRtWwCNwuVBtQb4JKlSLSo2AKKIaJUHNjY/CwSPHT8BIW6Fa4I8s9WW0/h6v3 - 2/v3693fGIl+QbO+rtK3r7/D9dcFbby1keiB/XBXGoabzXq72nRXitKMK22IoCU8Pz8qCzqvY7Ks - qLh4NFBSXnjkT5Bobny2qlwKnzyj50lUg6FbUcKLAlP56uLm6b91ThsFgPmQpgq09nl/NiBSewuz - kEIyWnDjM6/ggCXoC5HE6ipcfdxvwuVdFAxF3bExR9Vl3iuntisILaqcrt6EWr+GEjXeB2fTuxpc - D7qW1SL1FUqv0W2iU6XoZaTEeA5alM9IRZXhGI5rQ3q2wmec1iaXin9/3fzAbEINy72YnFfVMBt9 - Kf2/TMkXEuSHycXh7bS9kWQcilR3/tgMYryiblyssMLGkkH7GayM6EkTUEoqgsGtpNDgjUmDG8Rs - jI7/wCn3IqAzMb7uZ6DfnJUXMY3/p9N05VRooQecKU/0gpqv4MoDx5SeZkRUKclwN4xDV1a0gTeW - Pu7++n35K4b0JdDYyvgo4XK5HC6fHtSjM5j68U8Vak6Qelc3iCa0acrtSTD4U9jE15PkzF5QhheP - KzDpElDTiNSWPuAujiPMoAw9E0dwvCo4Q1l1FCCRsgAqFnFGC23JVQ/oKAd6QRhV3Qg08ggiTo55 - 9a1EePPlNAkX8WYZrvZ726fFsAVt4nC/R9rVfrRVhkZJQ+b+5JpitvTfXZepuHKXWUph8jjECpoI - J9gLUIV8ZrUcgRtpu28774ntUQ1B/fLpygKu0uspc1k04fZ3Hl7SA5BaFXFuTKXfBwHV2N31baIo - F7Zw2oy/xZaLLeBim/5jCZit6WMhDzI4of+3lTh8AHHiSgoLeNBUpIk8I/vo7bdtRUFFsXt8lDYB - 3W+nyYEWJscTIxMWRyGfRBQMZA6UQsLNVe8+W1Wt8OIwCw91YYnfAPVc088Qy2hxTF6hA1nXBi9K - FgNEJ2jDp3WNXRSnoDheMSPpuCvLjFgtFQxiu91U2sVJpjVrGu1166vMgWrBv9XQVhKKMfIcW7GK - N2u234RZytiarbPdbr3bZrANl2sGe0gY5vjsUmf5BKKURKfHmUrr9e0YGFda+zgiOce0VJcR1ejH - dIMANNReoC1PpPOoKKs3PhF6fG+hfXRdmczwHdYg5p5SLqAaI6Bkzk1F6+KIJdtI+vMNWJGW2M4g - phXHc0zlzstg6ua/9/zuJc/f8h79AeLQS9oUcQOioH62WSeaKV7NstGBvm/nDdUmFbIfmRIkfMSG - 1NMAnyHxWMp4sXjkZ/vYKUlwIHqodMp1U9teHTgrsiu2mdY89w7EZjo929go0lT7RwL6NVO/vd4N - SnzVC5haxTs/2cmeAczNZLutfCLuNidaDENSK+1eCikYfAp3/HKs8t/N4Jnh336Mmfx38kY4nG0A - cEwp/zHskwszFSmuz2DNmOcVgTcy47v1vKoN+FKjna+EC+SstXu2WU7h+uuj7a9RMAcas76Bo2Ny - OCR+s6DXbTVU8TVbPZ80OTIJguVl8w7w6JkcR2zUPOJ3/wAAAP//AwD70pB6qhMAAA== - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"3a7b6d7adcc0d27075a2b61e88077c5e"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 200, message: OK} -- request: - body: null - headers: {} - method: GET - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/mv0g5wkv - response: - body: - string: !!binary | - H4sIALrrvlcAA9xYS4/bNhC+51csfOfK8mu9gVZBgaJFgTaXJEXRy4KiRhZjiVRIymvn13coSrK0 - onYXKAoEvVkzH4ec4Tw+OvpwLoubEyjNpXhYhLfLxQ0IJlMuDg+LL59/IfvFh/hdZBQVmjKDqPjd - zU3E07g8LQ/bp+MpCvDDyrShptaxrpOSGwPpYybVowZjCihBmChoARZrLhXEmhYQBc1PK2O1Urj3 - hXAtCR4B4i+ffo6CqdiCaSlrYeLV8vY+jIL2yypKUCynwhDKmBUSPJ02yf1xc/f9e/J1pXbbr1Hg - QzU+1Anx6G4ELx4WRtWwCNwuVBtQb4JKlSLSo2AKKIaJUHNjY/CwSPHT8BIW6Fa4I8s9WW0/h6v3 - 2/v3693fGIl+QbO+rtK3r7/D9dcFbby1keiB/XBXGoabzXq72nRXitKMK22IoCU8Pz8qCzqvY7Ks - qLh4NFBSXnjkT5Bobny2qlwKnzyj50lUg6FbUcKLAlP56uLm6b91ThsFgPmQpgq09nl/NiBSewuz - kEIyWnDjM6/ggCXoC5HE6ipcfdxvwuVdFAxF3bExR9Vl3iuntisILaqcrt6EWr+GEjXeB2fTuxpc - D7qW1SL1FUqv0W2iU6XoZaTEeA5alM9IRZXhGI5rQ3q2wmec1iaXin9/3fzAbEINy72YnFfVMBt9 - Kf2/TMkXEuSHycXh7bS9kWQcilR3/tgMYryiblyssMLGkkH7GayM6EkTUEoqgsGtpNDgjUmDG8Rs - jI7/wCn3IqAzMb7uZ6DfnJUXMY3/p9N05VRooQecKU/0gpqv4MoDx5SeZkRUKclwN4xDV1a0gTeW - Pu7++n35K4b0JdDYyvgo4XK5HC6fHtSjM5j68U8Vak6Qelc3iCa0acrtSTD4U9jE15PkzF5QhheP - KzDpElDTiNSWPuAujiPMoAw9E0dwvCo4Q1l1FCCRsgAqFnFGC23JVQ/oKAd6QRhV3Qg08ggiTo55 - 9a1EePPlNAkX8WYZrvZ726fFsAVt4nC/R9rVfrRVhkZJQ+b+5JpitvTfXZepuHKXWUph8jjECpoI - J9gLUIV8ZrUcgRtpu28774ntUQ1B/fLpygKu0uspc1k04fZ3Hl7SA5BaFXFuTKXfBwHV2N31baIo - F7Zw2oy/xZaLLeBim/5jCZit6WMhDzI4of+3lTh8AHHiSgoLeNBUpIk8I/vo7bdtRUFFsXt8lDYB - 3W+nyYEWJscTIxMWRyGfRBQMZA6UQsLNVe8+W1Wt8OIwCw91YYnfAPVc088Qy2hxTF6hA1nXBi9K - FgNEJ2jDp3WNXRSnoDheMSPpuCvLjFgtFQxiu91U2sVJpjVrGu1166vMgWrBv9XQVhKKMfIcW7GK - N2u234RZytiarbPdbr3bZrANl2sGe0gY5vjsUmf5BKKURKfHmUrr9e0YGFda+zgiOce0VJcR1ejH - dIMANNReoC1PpPOoKKs3PhF6fG+hfXRdmczwHdYg5p5SLqAaI6Bkzk1F6+KIJdtI+vMNWJGW2M4g - phXHc0zlzstg6ua/9/zuJc/f8h79AeLQS9oUcQOioH62WSeaKV7NstGBvm/nDdUmFbIfmRIkfMSG - 1NMAnyHxWMp4sXjkZ/vYKUlwIHqodMp1U9teHTgrsiu2mdY89w7EZjo929go0lT7RwL6NVO/vd4N - SnzVC5haxTs/2cmeAczNZLutfCLuNidaDENSK+1eCikYfAp3/HKs8t/N4Jnh336Mmfx38kY4nG0A - cEwp/zHskwszFSmuz2DNmOcVgTcy47v1vKoN+FKjna+EC+SstXu2WU7h+uuj7a9RMAcas76Bo2Ny - OCR+s6DXbTVU8TVbPZ80OTIJguVl8w7w6JkcR2zUPOJ3/wAAAP//AwD70pB6qhMAAA== - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"dc8a40b50120c8734b985d0834901fd3"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 200, message: OK} -- request: - body: null - headers: {} - method: PUT - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/mv0g5wkv/void - response: - body: - string: !!binary | - H4sIALvrvlcAA9xYS4/bNhC+51csfOfK8iveQKugQNGiQJtLHih6WVDUyGIskQpJee38+g5FSZZW - 1O4CRYEgN2vm45AznMdHR+/PZXFzAqW5FPeL8Ha5uAHBZMrF4X7x+dNvZL94H7+JjKJCU2YQFb+5 - uYl4Gpen5WH7eDxFAX5YmTbU1Do+SZ5CGgXtp9WYSwWxpgVEQfPTylitFO50IVxLghtC/Pnjr1Ew - FVswLWUtTLxa3t6FUdB+WUUJiuVUGEIZs0KCZ9EmuTtu3n7/nnxdqd32axT4UM2J64R4dDeCF/cL - o2pYBG4Xqg2oV0GlShHpUTAF1EBKqLmxMbhfpPhpeAkLdCvckeWerLafwtW77d279e4fjES/oFlf - V+nr19/h+uuCNt7aSPTAfrgLDMPNZr1dbboLRGnGlTZE0BKenh+VBZ3XMVlWVFw8GigpLzzyR0g0 - Nz5bVS6FT57R8ySqwdCtKOFFgYl7dXHz+P86p40CwHxIUwVa+7w/GxCpvYVZSCEZLbjxmVdwwILz - hUhidRWuPu424fJtFAxF3bExR9Vl3iuntisILaqcrl6FWr+EEjXeB2fTuxpcD7qW1SL1FUqv0W2i - U6XoZaTEeA4aks9IRZXhGA4NxhRQAhbreIXPOK1NLhX//rL5gdmEGpZ7MTmvqmE2+lL6p0zJZxLk - h8nF4e20vZFkHIpUd/7YDGK8om5crLDCxpJB+xmsjOhJE1BKKoLBraTQ4I1JgxvEbIyO/8Ip9yyg - MzG+7iegP5yVZzGN/6fTdOVUaKEHnCmP9IKar+DKA8eUnmZEVCnJcDeMQ1dWtI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Rv/kXAAD//wMAowUFVI4U - AAA= - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"2631323777f7f7508c09bed687cc960c"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 200, message: OK} -- request: - body: !!python/unicode bkhpqm20.9111443524salefalse2 - headers: {} - method: POST - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions - response: - body: - string: !!binary | - H4sIALzrvlcAA9xYTW/jNhC9768IfGdk2U7WWShaFFgs0EN7yW4L9BJQ1NhiLJFcknLs/fUdipIs - RVSSHgoUvVkzj0POcD4enXw+VeXVEbThUtwv4uvl4goEkzkX+/vF929fyXbxOf2QWE2FocwiKv1w - dZXwPFVVXMRWL5MIP5zMWGprk9LaFlLzn5AnUStyWntWkBpaQhI1P52M1VrjbmfCjSS4KaTfH74k - 0VTswLSStbDpanl9FydR++UUFWhWUGEJZcwJCZ7H2OzusPn482f2tNK3N09JFEI1p64zEtBdCV7e - L6yuYRH5XaixoN8FlTpHZEDBNFALOaH2ysXgfpHjp+UVLNCt+JYst2R18y1efbq5+7RZ/oWR6Bc0 - 62uV/7P1lwVtvI2V6IH78JcYx5vN+ma16S4RpTuujSWCVvDy/Kgs6byOyUpRcQ5ooKK8DMifITPc - hmypQoqQfEdPk6hGQ7eSjJclJu/Fxc3zv+ucsRoA8yHPNRgT8v5kQeTuFmYhpWS05DZkXsMeiy4U - IonVVfr6uNvEy49JNBR1x8Yc1ed5r7zarSC0VAVdvQu1fgslarwPzqZ3NbgedG1XizxUKL3GtIlO - tabnkRLjOWhKISOKassxHAasLaECLNbxipDxS/d6y/zAbEYtK4KYgis1zMZQSv8vU/KVBPnP5OLw - dtreSHYcytx0/rgMYlxRPy5WWGFjyaD9DFYm9GgIaC01weAqKQwEY9LgBjEbo9PfcMq9CuhMjK/7 - BehXb+VVTOP/8ThdORU66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JQSAAA= - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"9dc35e05ac0c4b9722a31d165e3eb11a"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 201, message: Created} -- request: - body: 15.76 - headers: {} - method: PUT - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/pm1h1tr0/submit_for_settlement - response: - body: - string: !!binary | - H4sIAL3rvlcAA9xYS4/bNhC+51csfOdK8mPjDbQKCgQBemgvaVqglwVFjSzGEqmQlNfOr+9QlGRp - Re0uULQoerNmPg45w3l8dPzxXJU3J1CaS/Gwim7D1Q0IJjMuDg+rr799JvvVx+RdbBQVmjKDqOTd - zU3Ms6SuoiIyKowD/LAybahpdKKbtOLGQPaYS/WowZgSKhAmDjqAxZpLDYmmJcRB+9PKWKMU7n0h - XEuCR4Dk65dPcTAXWzCtZCNMEu1u39/FQfdlFRUoVlBhCGXMCgmeTpv0/rh9/+NH+m2t7nbf4sCH - an1oUuLR3QhePqyMamAVuF2oNqDeBJUqQ6RHwRRQDBOh5sbG4GGV4afhFaySdRjdkXBP1rvfovWH - 3f2HbfgnRmJY0K5v6uzt6yNcf13QxVsbiR7YD3elUbTdbnbrbX+lKM250oYIWsHz86OypMs6Jqua - iotHAxXlpUf+BKnmxmerLqTwyXN6nkU1GLsVp7wsMZWvLm6f/lnntFEAmA9ZpkBrn/dnAyKzt7AI - KSWjJTc+8woOWIK+EEmsrtLVx/02Ct/HwVjUHxtzVF2WvXJqu4LQsi7o+k2ozWso0eB9cDa/q9H1 - oGt5IzJfoQwa3SU6VYpeJkqM56hF+YzUVBmO4bg2pGcrfMZpYwqp+I/XzY/MptSwwospeF2Ps9GX - 0v/LlHwhQf4zuTi+na43kpxDmeneH5tBjNfUjYs1VthUMmo/o5UxPWkCSklFMLi1FBq8MWlxo5hN - 0ckvOOVeBPQmpt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3GwBJqyvpGjU3I4Jn6LoNdttVTxNVsDnzQFMgmC5WXzDvDouZxGbNI8knd/AQAA//8DALxgA66q - EwAA - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"5aef82c605c630f496819fc0d4379a6a"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 200, message: OK} -- request: - body: null - headers: {} - method: PUT - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/pm1h1tr0/void - response: - body: - string: !!binary | - H4sIAL3rvlcAA9xYS2/bOBC+91cEvjOy/EidQFGwQFFgD7uXtrvAXgKKGlmMJVIlKcfur9+hKMlS - RCUBFgsUvVkzH4ec4Tw+Ono4lcXVEZTmUtwvwuvl4goEkykX+/vFt6+fyW7xEH+IjKJCU2YQFX+4 - uop4GldlmIdGLaMAP6xMG2pqHR8lTyGNgvbTasy5gljTAqKg+WllrFYKdzoTriXBDSH+9uVTFEzF - FkxLWQsTh9vrjzdR0H5ZRQmK5VQYQhmzQoJn0Sa5PWw+/viRPK3UzfYpCnyo5sR1Qjy6K8GL+4VR - NSwCtwvVBtS7oFKliPQomAJqICXUXNkY3C9S/DS8hEW8WoY3ZLkjq+3XcHW3vb3bLP/BSPQLmvV1 - lb5/fYjrLwvaeGsj0QP74S4wDDeb9Xa16S4QpRlX2hBBS3h5flQWdF7HZFlRcfZooKS88MifIdHc - +GxVuRQ+eUZPk6gGQ7eihBcFJu7Fxc3z/+ucNgoA8yFNFWjt8/5kQKT2FmYhhWS04MZnXsEeC84X - IonVVbj6uN2Ey49RMBR1x8YcVed5r5zariC0qHK6ehdq/RZK1HgfnE3vanA96FpWi9RXKL1Gt4lO - laLnkRLjOWhIPiMVVYZjODQYU0AJWKzjFT7jtDa5VPzH2+YHZhNqWO7F5LyqhtnoS+lfMiVfSZCf - JheHt9P2RpJxKFLd+WMziPGKunGxw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mmfxj9E44nGwAcDgr/zHsQxMzFYm9z2DNmOfthDcy47v1vKoN+FKjZRWEC2TqtXus - WiblpsqjnSpRMAcac92Bo2NKPKS7s6C3bTUE+S1bPYs2OfInguVl8w7w6JkcR2zUPOIP/wIAAP// - AwA/nrQrjhQAAA== - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"9884eea7cf9f9b88a8240207a19414eb"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 200, message: OK} -- request: - body: !!python/unicode bkhpqm20.9111443524salefalse2 - headers: {} - method: POST - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions - response: - body: - string: !!binary | - H4sIAL7rvlcAA9xYTW/jNhC9768IfGdk2U7WCRQtChQtWqBF0U166GVBUSOLa4nUkpRj59fvUJRk - yaKS9FCg6M2aeRxyhvPx6OjTsSyuDqA0l+JhEV4vF1cgmEy52D0snh5/ItvFp/hDZBQVmjKDqPjD - 1VXE03h7fLktsz1EAX5YmTbU1Dqmtcml4i+QRkErslpzqiDWtEB889PKWK0U7nYiXEuCm0L89PnH - KJiKLZiWshYmXi2v78IoaL+sogTFcioMoYxZIcHzaJPc7TcfX16Sryt1e/M1Cnyo5tR1Qjy6K8GL - h4VRNSwCtwvVBtS7oFKliPQomAJqICXUXNkYPCxS/DS8hAW6Fd6S5Zasbh7D1f3N3f1m9TdGol/Q - rK+r9J+tPy9o462NRA/sh7vEMNxs1jerTXeJKM240oYIWsLl+VFZ0Hkdk2VFxcmjgZLywiN/hkRz - 47NV5VL45Bk9TqIaDN2KEl4UmLxnFzfP/65z2igAzIc0VaC1z/ujAZHaW5iFFJLRghufeQU7LDpf - iCRWV+Hq424TLj9GwVDUHRtzVJ3mvXJqu4LQosrp6l2o9VsoUeN9cDa9q8H1oGtZLVJfofQa3SY6 - VYqeRkqM56Ap+YxUVBmO4dBg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vGqs8t/NgF77tx9jJv8ZvBMORxsAbM/Kfwz71MBMRWrnM1gz5mHPeCMzvlvPq9qALzXa - uUK4QK5Wu+eKnaWur3yxfSUK5kBjtjNwdEyKhoRnFvS2rYYivWWr51EmxwlKsLxs3gEePZPjiI2a - R/zhOwAAAP//AwCkHVGolBIAAA== - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"f3050875f3e1625c4e9b04b260a35b36"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 201, message: Created} -- request: - body: 20.92 - headers: {} - method: PUT - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/8xz6mfke/submit_for_settlement - response: - body: - string: !!binary | - H4sIAL/rvlcAA+RYS2/jNhC+768wfGdk2U7WWShaFChatECLotntoZeAkkYWY4nUkpRj59d3qCcl - U07aQ1GgN3Hm45D8OC8q+Hwq8sURpGKCPyz9m9VyATwWCeP7h+XXLz+Q3fJz+CGgJSMgpZBEgioF - VxB+WCyCWqTMZz9Y6HMJD0sqJT0vvValJeWKxhoXaSRueKfrtMMYJbgpCO/92/U68OpvW0m1liyq - NLT21LmIRL4MaSEqrgOv149mFaAU3UP4CFrnUADXi2bCguHGhFjkVO7hJvA64LA/b7TBdtgx4U3O - a6uDkkpaqCvENFsI16ubezxqO3IbrmnhWoo8BxlaSmU46hUNsp2mqqhg+ikV8kn158Z1bKMFyDij - XBOWhM/3+5ckfU4Op3ORJXtp2Bi0DR4/dqfXuyI9QOA10sAbDvqPiL7kxrUMSpWmulIhrXQmJHuF - JPBaUcsxekSoaI5z6s+Wt0pK9PQzYUqQ2p++Pn6PrF2IP0wvxZ9cSk8HjWMjNrQoHd0fth9fX6Pn - tby7fbZIs1Dt/quIOLQLzvKHpZYV9GFUUKVBvhMsZIJYpyqWQDUkhOo2XBIcalbAEg/o35HVjqxv - v/jrT7f3n7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zPj4QFVRvvNB0uMtG2+8JJu8OPsQbAhWyIgUGdMlrfIDhnctsfZp9WNKYDKEkJZs9LLv5P3Phcsj - 97KWqi655nSuy6siFUtWXukDLYSVBuuWl5TYXYiEYHtFDLHOZDHB4galnkHj9i9WMxWHYHFxNrQJ - U7X3z2ihsWX9kJlNafPvN0xDrp1OjWOTaH4S4Eln/LzXd6UH3+ocXLbRM46maqYA87XOLC9eSHPf - Dj1SE1VSNR18AhoftUNfN1bO3Zz1BJjbxhh18Zfk3RPgZOjApC/nNmOeRujX2GC6jVZx7Ozt8aZm - mTA8lJUGt/u0dYswjj1j1TyyTNVu8tOTyU+BNweadlvWocdtmd1wzYLeY61u0t6yZnVyOsM6TTAg - jV8CHiAVU/YmPxYxrzn+9/4FAAD//wMAl9h0ICwWAAA= - headers: - cache-control: [no-cache] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 422, message: Unprocessable Entity} -- request: - body: null - headers: {} - method: PUT - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/8xz6mfke/void - response: - body: - string: !!binary | - H4sIAL/rvlcAA9xYTW/jNhC9768wfGdk2U7WCRQtChQtWqBF0U166GVBUSOLa4nUkpRj59d3KEqy - FFFJgKLAojdr5nHIGc7Ho6NPp7JYHEFpLsX9MrxaLRcgmEy52N8vHx9+Irvlp/hDZBQVmjKDqPjD - YhHxNN6dnm/K7ABRgB9Wpg01tY6PkqeQRkH7aTXmXEGsaYHY5qeVsVop3OlMuJYEN4T48fOPUTAV - WzAtZS1MvF5d3YZR0H5ZRQmK5VQYQhmzQoJn0Sa5PWw/Pj8nX9fq5vprFPhQzYnrhHh0C8GL+6VR - NSwDtwvVBtS7oFKliPQomAJqICXULGwM7pcpfhpewhLdCm/IakfW1w/h+u769m67/hsj0S9o1tdV - +v71G1x/WdDGWxuJHtgPd4FhuN1urtf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qjICSOTcVrYsDlmwj6c83YEVaYjuDmFYczzGVOy+D - qZv/3vPNa55PX5/fgde9pE0INw4K6ueWdaKZ4tUs9xzo++bdEGtSIdeRKUF6R2wAPe3uBRKPpYwX - i0d+sY+diQTHn4c4p1w3lezVgbMiu9KaacRzrz5sndOzjY0iKbV/G6BfM9Xa691YxDe8gKlVvPOj - neMZwNwEttvKJ+Juc6LFMCS10u5dkILBh2/HJscq/90MHhX+7ceYyT8l74TDyQYAh5LyH8M+sDBT - kdD6DNaMed4MeCMzvlvPq9qALzXaaUq4QIZau0eaZRCum36x3TQK5kBjjjdwdEwFhzRvFvS2rYYY - vmWrZ48mR95AsLxs3gEePZPjiI2aR/zhHwAAAP//AwC4/+S8hhMAAA== - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"89576f654a5b4782d90f64867af29787"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 200, message: OK} -- request: - body: !!python/unicode 4 - headers: {} - method: POST - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/customers - response: - body: - string: !!binary | - H4sIAMDrvlcAA5SRPXKDMBCFe5+CUa9gMHhsj8BdTuA06TbsArKRYCQRw+2DCBlnQlKkfO/p2z+J - 86Ca4J2Mla3OWPS0ZQHpokWpq4y9XJ75gZ3zjSh661pFJt8EgZCYR7s0Snf7WIST8N6UFTVoxyd9 - PVZ3LK94G0ZVY2VE+D31r0tprOMaFAVaNhlzpicWzlEDfyVFqzrQ48onBbJZuV3d6nWNEoaVd6c3 - K90v/QyBI+TgAjd2lDGcpJOKWB5voz3fHnicXqL4lB5PSfIqwgcw832H/+MfwGf/+ea8lNSg9Y7f - CoyTheyWWyYi/OF4MFyRfheUjhdg0C7TgDEwLqsCoiFraZV91fI//wEAAP//AwAt4ce3LAIAAA== - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"7a29ac2ad012d9228773a9019150799f"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 201, message: Created} -- request: - body: !!python/unicode 13515362fake-valid-nonce - headers: {} - method: POST - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/payment_methods - response: - body: - string: !!binary | - H4sIAMHrvlcAA6xVwXLaMBC98xWM78IYA3EyRrn12EuTHnrJyNIaa5AlV5JJ/PddGYMJgbSd9sa+ - fdLuPr8V+eNbraZ7sE4avYmS2TyaguZGSL3dRM9PX0gWPdJJzi0I6QlnVtDJdJoXUimkECaEBecC - hqgUdCXyWIoh5q3zpgZLEEnSVbJK14s8PkcPvFJa54lmNUy1VJvI2xaieEgqdjvHTd0w3V3JOG8B - /LG/KwR486AFiE8oynCmpL92vYUtCnYl0RjnmSKoIND7ZTK/y+Nz6Nh2q73teogw1VRscXW4S1b6 - O5ZuUVfJP6HdEtIC80EMP/VdA5tIYOhlDRFdzJM1mWdksXpKFg+r+4fl8gd+xNOB4Ya2EX93w3ig - d1R8xVJoM02X82SRZSGveyx4kIQS9Lt0DDs5xcdsZZRAe10bNTgGJeKSKfqsd9q8arxhxCZnUpmS - SOdapjnQQPqITv5duT/bkZEVPOnRevT52xnrhAaugEL6cbpDeEiUrFXHPgtjFDAd0aBOoPXJA7G1 - qDZBk7cq9Hp22WVm0q9SI21fn9RG+4omOMEH8ILZAbOo0GL+jtqjJyaIy15LphwMJ4bqFTDlK/zu - MLZ5hgWKrNkWSGsVrbxv3EMcM+fAu1lhmdThpdjiMK+sm6EV4oZ1NWj/UoOvjHhRZmviPVpt1ujt - I+i9tEYHwsYxLQrzhg/e6f6+GtojGLlgeje29A6dHN+1JU2yLMnjIQg4lrdGndnzCPRJCw1DT3w1 - iA+/D7gRLffBLuO5EQsU1xaOW9kEnd2gK7OWdcNmeLMDTdfuznbrPD5EAW+1/Nn2T0vR+xEnl6UE - S5cpz5ZJKThPeVqu1+l6VcIqmaccMig4ruzNo5P/8GDsQdeGOLG74ZFTfmBbLH3Ykg/T90s5/r/9 - AgAA//8DAHkKGt0VBwAA - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"7b0b8896e115bf0381687001c9aea5bb"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 201, message: Created} -- request: - body: !!python/unicode 6s7ry62062.11salefalse4 - headers: {} - method: POST - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions - response: - body: - string: !!binary | - H4sIAMHrvlcAA+RYS2/jNhC+51cYvjOy/Io3ULQoUBTYQ3vpbg+9BBQ5tphIpEpSjr2/vkPJepry - upeiQG/SzMcROZzHN4o+n/JsdgRthJIv8/BxMZ+BZIoLeXiZf/v6C9nNP8cPES0EAa2VJhpMoaSB - +GE2iyqRcY/ty8yeC3iZU63peR5UqKCDRQXVNG9WWE2loczit2tJBTjnIC3JwaaKE6veQcZb86TP - 2yjwKpuVNFeltPFysV0+hmEUXN4bNSuNVTloIvhMiuxlbnUJ9Q7rzeC+Y0MziILqsZGrwu3PNO8o - MWWSC0v26A0D1mbg9hTvaWZwrV/ZGAtG1i67InsBGe9/A/1kBRMFxdMKHq/d2QeS1qLHAp5g6Nlq - 9cXvUQ7G0APEX+SRZuiMr/Q0+6nyVRQ0ugff7UT42bezlHr19BYFzR4iY6ktTVxoxXC10q8cWCYk - cHRGrXqYdjA6QGuMuDMRRhEMPIi//f6zO9VY/PDDS8aTaZY6/1DGnNj5ydjk0/v66fv35G2pt5s3 - d8Zr1ENzscSjvQ6XKKfGYijdB1aaT4RdxDRQC5xQe8kbjq9W5DDHI4ZbstiR5eZruHzefHpeb/5E - v7QLLhbKgv8zC92C9gbqxGhDCv0RrjbhZrVddteM8r3QxhJJc/AmUEZvaZ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6jtBLr6sTH6mmtUBFuLl/hy - Yao8mNBCbUt1YTlZ3KbnPCxIvp2OjSOZdL8T8KQTEd/qmyaEM70En22MjKPrn3uA6a7nPq8+SH3f - Hj26Jim1qZk+B4vDb8f/hsqpm+uNClPbGKKu/qfcvQBOzh1Y/vXUZtwIhXGNRNRvtGTMOwPgTU16 - wvmhKC34w6f5DygkcsuyHsZc/64r1aurVN3PwjFoTNd6hx7yuj5PmwTdY63idj+y1iOANsWOTTAh - XVwCHmCvxt4b/eLDuub5Q/s3AAAA//8DAJMwj0reFQAA - headers: - cache-control: [no-cache] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 422, message: Unprocessable Entity} -- request: - body: !!python/unicode 4 - headers: {} - method: POST - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/customers - response: - body: - string: !!binary | - H4sIAMLrvlcAA5SRzXKCMBSF9z5FJvsUZEDRCbjrE9hNd7fci0RJYJJQ5e1LLB07pV10ec7Jd/8i - DzfdsneyTnWm4OunmDMyVYfKnAr+cnwWOT+UK1kNzneabLliTCos822cJWm2ldEkgjdlVQPGi0mf - d6cr1me83Ebd4MnK6HsaXtfKOi8MaGJGtQX3diAe3aMW/kqqTvdgxoVPGlS7cPumM8saNdwW3pXe - nPK/9LMEnlCAZ37sqeA4Sa808TKJ1xsR5yLJjutkn+326eZVRg/gzg89/o9/AJ/97zcXtaIWXXDC - VmC9qlQ/3zKV0Q8ngNGCDLug8qICi26eBqyFcV4VEC05R4vsq1b4+Q8AAAD//wMAGHwjviwCAAA= - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"323ed0b14ea44185d9e863e99d1d1a4d"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 201, message: Created} -- request: - body: !!python/unicode 87052457fake-valid-nonce - headers: {} - method: POST - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/payment_methods - response: - body: - string: !!binary | - H4sIAMPrvlcAA6xVTXPaMBC98ysY34U/gMTJGOXWYy9NeuglI0tro0GWXEkm8O+7MgYTAmk77Y19 - +6TdfX4riqddo6ZbsE4avYrSWRJNQXMjpK5X0cvzF5JHT3RScAtCesKZFXQynRalVAophAlhwbmA - ISoFnVdFLMUQ885504AliOT3yTJbLO+L+Bw98CppnSeaNTDVUq0ibzuI4iGp2O0cN03L9P5KxnkL - 4I/9XSHAzoMWID6hKMOZkv7a9RZqFOxKojXOM0VQQaAPizTBec+hY9ud9nbfQ4Spds2yq8Ndsua/ - Y+kOdZX8E9otIS0wH8TwU79vYRUJDL1sIKJZkt6RJCfZ8jnNHpcPj4v7H/gRTweGG7pW/N0N44He - UfEVS6HNNF0kaZbnIa97LHiQhBL0u3QMOznFx+zaKIH2ujZqcAxKxCVT9EVvtHnTeMOITc6kMhWR - znVMc6CB9BGd/Ltyf7YjIyt40qP16Mu3M9YJDVwBpfTjdIfwkKhYp459lsYoYDqiQZ1A65MHYmdR - bYIm71To9eyyy8ykX6VW2r4+aYz2a5pmRfwBvGDugVlUKEveUXv0xARx2WvFlIPhxFB9DUz5NX53 - GNs8wwJFNqwG0llF19637jGOmXPg3ay0TOrwUtQ4zBvbz9AKccv2DWj/2oBfG/GqTG3iLVpt1ur6 - CfRWWqMDYeWYFqXZ4YN3ur+vhvYIRi6Z3owtvUMnx3dtQdM8T4t4CAKO5a1RZ/Y8An3SQsvQE18N - 4sPvA25Ex32wy3huxALFdaXjVrZBZzfoyqxl+2EzvNmApvVms8vqIj5EAe+0/Nn1T0vZ+xEnl5UE - Sxdzni/SSnA+5/Pq7m5+t6xgmSZzDjmUHFf25tHJf3gwtqAbQ5zY3PDIKT+wLZY+bMmH6fulHP/f - fgEAAP//AwAscWuaFQcAAA== - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"6adb40bb32b41027f8cc9ba4e45bdffc"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 201, message: Created} -- request: - body: !!python/unicode 87052457fake-valid-nonce - headers: {} - method: POST - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/payment_methods - response: - body: - string: !!binary | - H4sIAMTrvlcAA6xVTXPaMBC98ysY34U/MMTJGOXWYy9NeuglI0tr0CBLriQT+PddGYNJAmk77Y19 - 72m1u34rysd9o6Y7sE4avYrSWRJNQXMjpF6vouenL6SIHumk5BaE9IQzK+hkOi0rqRRKCBPCgnMB - Q1QKWudlLMUQ885504AliBR3ySLLF3dlfIkedbW0zhPNGphqqVaRtx1E8UAqdpvjpmmZPlxhnLcA - /lTfFQHsPWgB4hOJMpwp6a+lt7DGgV0hWuM8UwQnCPQ+TxPs9xI6ld1pbw89RJhqNyy72tx71fx3 - Kt3hXCX/RHZrkBaYD8PwU39oYRUJDL1sIKJZki5JUpBs8ZRmD4v7h7z4gR/xfGDI0LXi7zKMB3pH - xVcshTbTNE/SrCgCr3sseJCEK+h36RhWco5P7MYogfa61mpwDI6IS6bos95q86oxw4hNLkZlaiKd - 65jmQIPoIzr598n92Y6MquBJj9ajz98uVGc0aAVU0o/dHcMjUbNOneqsjFHAdERrphwEXc8elZ3F - cRN0eadCsRfZ3jOTfpdaafsCSGO039A0K+MP4DvlAZjFEWXJG2mPnpUgbhQ7sL1yA0z5DX54GMu8 - wIJENmwNpLOKbrxv3UMcM+fAu1llmdThqVhjM6/sMEMvxC07NKD9SwN+Y8SLMmsT79Brs1avH0Hv - pDU6CFaOaVGZPb545/z9beiP4OSK6e1Y0ht0cnrYcpoWRVrGQxBwvN4adeHPE9CTFlqGpvhqEB9+ - H3EjOu6DX8ZzIxYkrqsct7INc3bDXJm17DCshjdbwHXz+m7flPExCnin5c+uf1uq3pDYuawlWJrP - eZGnteB8zuf1cjlfLmpYpMmcQwEVx529eXTyH16MHejGECe2Nzxy5ge1xauPa/Kh+34rxz+4XwAA - AP//AwCsv9FEFgcAAA== - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"2d24100dce76f4926ed4b5d8369ed22b"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 201, message: Created} -- request: - body: !!python/unicode 4tn7xm103.3salefalse4 - headers: {} - method: POST - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions - response: - body: - string: !!binary | - H4sIAMXrvlcAA9xYS2/jNhC+768wfGfkZ+IEioICRYse2stuFoteAooaWUwkUiUpx86v71CUZMmi - kvRQoOjNmvk45Dw489Hhw7HIZwdQmktxP19eLeYzEEwmXOzv54/ffiG7+UP0JTSKCk2ZQVT0ZTYL - eRLRbaFpWZzCAD+sTBtqKh3RymRS8TdIwqARWa05lRBpmkMY1D+tjFVK4W4nwrUkuClEj19/DoOx - 2IJpISthouVifbVehEHzaTUFKJZRYQhlzAoJHkib+PZlc/P2Fj+v1PX2OQx8qPrYVUw8upng+f3c - qArmgduFagPqU1CpEkR6FEwBNZAQamY2CPfzBD8NL2AerRbLa7LYkdX223J1t72929z+iaHoFtTr - qzL5Z+vPC5qAayPRA/vhsri7WWxXm+1Nm0WUplxpQwQt4PL8qMzptI7JoqTi5NFAQXnukb9CrLnx - 2SozKXzylB5HUQ36boUxz3Os3rOL6ebfdU4bBYD1kCQKtPZ5fzQgEpuFSUguGc258ZlXsMdb5wuR - xOuVuwtyu1kuMId9UXtsrFF1mvbKqe0KQvMyo6tPodYfoUSF+eBsnKteetC1tBKJ76J0Gt0UOlWK - ngZKjGevK/mMlFQZjuHQYEwOBeBlHa7wGT+3r4/M98zG1LDMi8l4Wfar0VfS/8uSfKdA/jO12M9O - 0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EC6Q - rFXuvWKHqWssT7axhMEUaEh3eo4OWVGf8UyCPrZVc6SPbHVEymQ4QgleL1t3gEdP5TBig+YRffkb - AAD//wMASJk0OpYSAAA= - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"78f2c51f8ecd7c49786aebab0d0841ed"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 201, message: Created} -- request: - body: null - headers: {} - method: PUT - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/a5msapmy/void - response: - body: - string: !!binary | - H4sIAMbrvlcAA9xYS2/jNhC+768IfGckvxInUBQUKFr00F52syh6CShqZDGRSJWkHDu/vkNRkqWI - SgIUBRa9WTMfh5wHZz46uj+WxcUBlOZS3C2Wl+HiAgSTKRf7u8XDt1/IbnEff4mMokJTZhAVf7m4 - iHga022paVWeogA/rEwbamodHyRPIY2C9tNqzKmCWNMCoqD5aWWsVgp3OhGuJcENIX74+nMUTMUW - TEtZCxMvw/XlOoyC9tNqSlAsp8IQypgVEjyMNsnN8+b69TV5Wqmr7VMU+FDNkeuEeHQXghd3C6Nq - WARuF6oNqE9BpUoR6VEwBdRASqi5sEG4W6T4aXgJi3gVLq9IuCOr7bfl6nZ7c7u5+QtD0S9o1tdV - +un12xDXnxe0AddGogf2w2Vwdx1uV5vtdZdBlGZcaUMELeHt+VFZ0Hkdk2VFxcmjgZLywiN/gURz - 47NV5VL45Bk9TqIaDN2KEl4UWLlnF7PNf+ucNgoA6yFNFWjt8/5oQKQ2C7OQQjJacOMzr2CPN84X - IonXq3AX5GazDDGHQ1F3bKxRdZr3yqntCkKLKqerT6HWH6FEjfngbJqrQXrQtawWqe+i9BrdFjpV - ip5GSoznoCP5jFRUGY7h0GBMASXgZR2v8Bmntcml4q8fmx+YTahhuReT86oaVqOvpP+XJflOgfww - tTjMTtsbScahSHXnj60gxivqxg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yCNdPH20/jYI50JjlDRwdk8Eh0ZsFfWyroYYf - 2er5o8mRORC8XrbuAI+eyXHERs0j/vIPAAAA//8DANwgi1GJEwAA - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"1e479974433bed9340c9887248a0d096"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 200, message: OK} -- request: - body: !!python/unicode bkhpqm10.011443524salefalse2 - headers: {} - method: POST - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions - response: - body: - string: !!binary | - H4sIAMfrvlcAA9xYS2/jNhC+768IfGdk+ZF1AkVBi0WBHtrLboqil4CixhZjiVRIyrHz6zsUJVmy - qCQ9FCh6s2Y+DjnDeXx09HAs8qsDKM2luJ+F1/PZFQgmUy5297PHH7+Qzewh/hIZRYWmzCAq/nJ1 - FfE0fhHLXZHcbqIAP6xMG2oqHdPKZFLxN0ijoBFZrTmVEGuaQxTUP62MVUrhbifCtSS4KcSP379F - wVhswbSQlTBxOL+ez6Og+bKKAhTLqDCEMmaFBM+jTXK7X319e0ueF+pm/RwFPlR96iohHt2V4Pn9 - zKgKZoHbhWoD6lNQqVJEehRMATWQEmqubAzuZyl+Gl7ALF7Mwxsy35DF+ke4uFvf3q3DvzAS3YJ6 - fVWm/2z9eUETb20kemA/3CWG4Wq1XC9W7SWidMuVNkTQAi7Pj8qcTuuYLEoqTh4NFJTnHvkrJJob - n60yk8In39LjKKpB360o4XmOyXt2cfX67zqnjQLAfEhTBVr7vD8aEKm9hUlILhnNufGZV7DDovOF - SGJ15a4+blfh/GsU9EXtsTFH1WnaK6e2KwjNy4wuPoVafoQSFd4HZ+O76l0PuratROorlE6jm0Sn - StHTQInx7DUln5GSKsMxHBqMyaEALNbhCp/xc/f6yHzPbEINy7yYjJdlPxt9Kf2/TMl3EuQ/k4v9 - 22l6I9lyyFPd+mMziP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vJk+0oUTIGGbKfn6JAU9QnPJOhjWzVF+shWx6NMhhOUYHnZvAM8+lYOIzZoHvGX - vwEAAP//AwDTHcOBlBIAAA== - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"2600c2a291c787cf6032b530cf6f0106"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 201, message: Created} -- request: - body: null - headers: {} - method: PUT - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/qn3gmb98/void - response: - body: - string: !!binary | - H4sIAMfrvlcAA9xYS2/jNhC+51cEvjOy/Mg6gaKgxaJAD+1lN0XRS0BRY4uxRCok5dj59R2KkixF - VJIeFlj0Zs18HHKG8/jo6P5Y5JcHUJpLcTcLr+azSxBMplzs7mYP338jm9l9fBEZRYWmzCAqvri8 - jHgaP4vlrkhuNlGAH1amDTWVjg+Sp5BGQfNpNeZUQqxpDlFQ/7QyVimFO50I15LghhA/fPsaBWOx - BdNCVsLE4fxqPo+C5ssqClAso8IQypgVEjyLNsnNfvXl9TV5Wqjr9VMU+FD1iauEeHSXgud3M6Mq - mAVuF6oNqE9BpUoR6VEwBdRASqi5tDG4m6X4aXgBs3gxD6/JfEMW6+/h4nZ9c7sO/8FIdAvq9VWZ - /rf15wVNvLWR6IH9cBcYhqvVcr1YtReI0i1X2hBBC3h7flTmdFrHZFFScfJooKA898hfINHc+GyV - mRQ++ZYeR1EN+m5FCc9zTNyzi6uXH+ucNgoA8yFNFWjt8/5oQKT2FiYhuWQ058ZnXsEOC84XIonV - lbv6uFmF8y9R0Be1x8YcVadpr5zariA0LzO6+BRq+RFKVHgfnI3vqnc96Nq2EqmvUDqNbhKdKkVP - AyXGs9eQfEZKqgzHcGgwJocCsFiHK3zGaWUyqfjrx+Z7ZhNqWObFZLws+9noS+n/ZUq+kyA/TS72 - b6fpjWTLIU9164/NIMZL6sb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QK/dIswzCddNH202jYAo05Hg9R4dUsE/zJkEf26qJ4Ue2OvZoMuQN - BMvL5h3g0bdyGLFB84gv/gUAAP//AwB0w4gUhhMAAA== - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"582652cd4b21073cef099af834d22390"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 200, message: OK} -- request: - body: !!python/unicode bkhpqm103.311443524salefalse2 - headers: {} - method: POST - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions - response: - body: - string: !!binary | - H4sIAMjrvlcAA9xYS2/jNhC+51cEvjOy/Mg6gaKgQFGgLbaX3SyKXgKKGluMJVJLUo69v75DUZIl - i0rSQ4GiN2vm45AznMdHR4/HIr8+gNJciodZeDOfXYNgMuVi9zB7+voL2cwe46vIKCo0ZQZR8dX1 - dcTTeLPcmbV4gSjADyvThppKx7QymVT8B6RR0Iis1pxKiDXNEV//tDJWKYW7nQjXkuCmED99+TkK - xmILpoWshInD+fJmOY+C5tNqClAso8IQypgVEjyQNsndfvXpx4/kZaFu1y9R4EPVx64S4tFdC54/ - zIyqYBa4Xag2oD4ElSpFpEfBFFADKaHm2gbhYZbip+EFzOLFPLwl8w1ZrL+Gi/v13f168ReGoltQ - r6/K9J+tPy9oAq6NRA/sh7vFMFytluvFqr1FlG650oYIWsDl+VGZ02kdk0VJxcmjgYLy3CN/hURz - 47NVZlL45Ft6HEU16LsVJTzPMXvPLq5e/13ntFEAmA9pqkBrn/dHAyK1tzAJySWjOTc+8wp2WHW+ - EEksr9wVyN0qnH+Kgr6oPTbmqDpNe+XUdgWheZnRxYdQy/dQosL74Gx8V73rQde2lUh9hdJpdJPo - VCl6Gigxnr2u5DNSUmU4hkODMTkUgMU6XOEzfm5f75nvmU2oYZkXk/Gy7GejL6X/lyn5RoL8Z3Kx - fztNbyRbDnmqW39sBjF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cIFmr3HvFDlPXWJ5tY4mCKdCQ7vQcHbKiPuOZBL1vq+ZI79nqiJTJcIQSLC+bd4BH38phxAbN - I776GwAA//8DAJXko6GWEgAA - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"e27725f330f3bf0b7889bd0f16a895bd"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 201, message: Created} -- request: - body: 103.3 - headers: {} - method: PUT - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/83gt5nje/submit_for_settlement - response: - body: - string: !!binary | - H4sIAMnrvlcAA9xYS2/jNhC+51cEvjOy/Mh6F4qCAkWBtthedlMUvQQUNbIYS6SWpBx7f32HoiRL - EZUEKAoserNmPg45w3l8dHR/KovrIyjNpbhbhDfLxTUIJlMu9neLh6+/kN3iPr6KjKJCU2YQFV9d - X0c8jXfrvdmKJ4gC/LAybaipdazrpOTGQPqYSfWowZgCShAmClqAxZpzBbGmBa5ufloZq5XCvc+E - a0nwCBA/fPk5CqZiC6alrIWJw+X6Zr2MgvbTakpQLKfCEMqYFRI8njbJx8Pmw/fvydNK3W6fosCH - apyoE+LRXQte3C2MqmERuF2oNqDeBZUqRaRHwRRQjBOh5toG4W6R4qfhJSzi1TK8JcsdWW2/hqtP - 24+ftqu/MRT9gmZ9XaXvX7/G9ZcFbcC1keiB/XB3GoabzXq72nR3itKMK22IoCW8PD8qCzqvY7Ks - qDh7NFBSXnjkz5Bobny2qlwKnzyjp0lUg6FbUcKLAnP54uLm+b91ThsFgPmQpgq09nl/MiBSewuz - kEIyWnDjM69gjzXoC5HE8ipcgXzchMsPUTAUdcfGHFXnea+c2q4gtKhyunoXav0WStR4H5xN72pw - PehaVovUVyi9RreJTpWi55ES4znoUT4jFVWGYzguHenFCp9xWptcKv79bfMDswk1LPdicl5Vw2z0 - pfT/MiVfSZAfJheHt9P2R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oM1Y553BN7IjO/W86o24EuNdsISLpC11u7hZlmF67CPtsNGwRxozPsGjo7p - 4ZD6zYLettWQxbds9YzS5MglCJaXzTvAo2dyHLFR84iv/gEAAP//AwB26TrRrRMAAA== - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"7cb64f141f92e7e4924c36a4a4ef49d9"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 200, message: OK} -- request: - body: !!python/unicode bkhpqm103.311443524salefalse2 - headers: {} - method: POST - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions - response: - body: - string: !!binary | - H4sIAMrrvlcAA9xYS4/bNhC+51csfOfK8mPjDbQKChR9HFqgSNIWvQQUNbYYSyRDUl47v75DUZKl - FbW7PRQoerNmPg45w3l8dPL+XJU3J9CGS/GwiG+XixsQTOZcHB4Wnz7+QHaL9+mbxGoqDGUWUemb - m5uE5+m90oqyJUsi/HAyY6mtTUprW0jNv0GeRK3Iae1FQWpoCUnU/HQyVmuNu10IN5LgppB++vB9 - Ek3FDkwrWQubxsv17XqZRO2n01SgWUGFJZQxJyR4IGOz++Pm7bdv2ZeVvtt+SaIQqjl2nZGA7kbw - 8mFhdQ2LyO9CjQX9KqjUOSIDCqaBWsgJtTcuCA+LHD8tr2CRrpbxHVnuyGr7MV69296/227+wlD0 - C5r1tcr/2frrgjbgxkr0wH34W4zjzWa9XW26W0TpnmtjiaAVPD0/Kks6r2OyUlRcAhqoKC8D8kfI - DLchW6qQIiTf0/MkqtHQrSTjZYnZe3Vx8/jvOmesBsB8yHMNxoS8P1sQubuFWUgpGS25DZnXcMCq - C4VIYnmVvkDuN/HybRINRd2xMUf1Zd4rr3YrCC1VQVevQq1fQoka74Oz6V0Nrgdd29ciDxVKrzFt - olOt6WWkxHgOulLIiKLacgyHAWtLqACLdbwiZPzavl4yPzCbUcuKIKbgS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ZixAn/FGZnx3nqvaQig1 - 2sFCuECyVvv3ihumvrF8do0lieZAY7ozcHTMioaMZxb0sq2GI71kqydStsARSrC8XN4BHn0vxxEb - NY/0zd8AAAD//wMA9x2lo5YSAAA= - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"cb343497a6cc291a46c6155a17d2ddcd"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 201, message: Created} -- request: - body: 103.3 - headers: {} - method: PUT - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/9prpac0c/submit_for_settlement - response: - body: - string: !!binary | - H4sIAMvrvlcAA9xYS2/jNhC+768IfGdk+ZF1FoqCAkUfhxYodrctegkoamQxlkguSTn2/vod6mUp - opIARYFFb9bMxyFnOI+Pju5PZXF1BG24FHeL8Hq5uALBZMrF/m7x+dNPZLe4j99FVlNhKLOIit9d - XUU8jW+VVpQtWRTgh5MZS21lYlMlJbcW0odM6gcD1hZQgrBR0AIc1p4VxIYWEAX1Tydjlda495lw - IwkeAeLPH3+MgqnYgWkpK2HjcLm+Xi+joP10mhI0y6mwhDLmhASPZ2xye9i8//o1eVzpm+1jFPhQ - tRNVQjy6K8GLu4XVFSyCZhdqLOg3QaVOEelRMA0U40SovXJBuFuk+Gl5CYt4tQxvyHJHVttP4erD - 9vbDdvMPhqJfUK+vVPr29Vtcf1nQBtxYiR64j+ZOw3CzWW9Xm+5OUZpxbSwRtITn50dlQed1TJaK - irNHAyXlhUf+BInh1mdL5VL45Bk9TaIaDN2KEl4UmMsXFzdP/61zxmoAzIc01WCMz/uTBZG6W5iF - FJLRglufeQ17rEFfiCSWV9EUyO0mXL6PgqGoOzbmqD7Pe9Wo3QpCC5XT1ZtQ69dQosL74Gx6V4Pr - QdeySqS+Quk1pk10qjU9j5QYz0GP8hlRVFuO4bh0pGcrfMZpZXOp+dfXzQ/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IKFh/DHcMcq/x3M3ho+LcfYyZ/n7wRDicX - ABxU2n8M9+jCTEWS6zNYMeZ5R+CNzPjuPFeVBV9qtBOWcIGstWoebo5VNB32wXXYKJgDjXnfwNEx - PRxSv1nQ67ZqsviarZ5R2hy5BMHycnkHePRMjiM2ah7xu28AAAD//wMACy3hGK0TAAA= - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"86adc37103689831be79637e5a54eafb"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 200, message: OK} -- request: - body: !!python/unicode authorized - headers: {} - method: POST - uri: https://api.sandbox.braintreegateway.com:443/merchants/j9gwdfjdkxymhdgr/transactions/advanced_search_ids - response: - body: - string: !!binary | - H4sIAMzrvlcAA7IpTk0sSs7QLUotLs0pKbbjUlCwKUhMT9UtzqxKVSipLEi1VcrMK0lNTy1SsjM1 - sNGHS4KVZqYUQxUlFhUlViqBBfWBonZcNvroRgMAAAD//wMA9crnoGwAAAA= - headers: - cache-control: ['max-age=0, private, must-revalidate'] - content-encoding: [gzip] - content-type: [application/xml; charset=utf-8] - etag: [W/"f4876b1035d87cfa93b901005fd050c0"] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - status: {code: 200, message: OK} -version: 1 diff --git a/tests/py/test_billing_exchanges.py b/tests/py/test_billing_exchanges.py index d5ec2bdf1a..721a8b7ccd 100644 --- a/tests/py/test_billing_exchanges.py +++ b/tests/py/test_billing_exchanges.py @@ -8,51 +8,42 @@ from aspen.utils import typecheck from gratipay.billing.exchanges import ( _prep_hit, - cancel_card_hold, capture_card_hold, create_card_hold, record_exchange, - record_exchange_result + record_exchange_result, + get_ready_payout_routes_by_network ) +from gratipay.billing.payday import Payday from gratipay.exceptions import NegativeBalance, NotWhitelisted from gratipay.models.exchange_route import ExchangeRoute from gratipay.testing import Foobar, Harness, D,P from gratipay.testing.billing import BillingHarness -class TestsWithBillingHarness(BillingHarness): +class TestsCardHolds(BillingHarness): - def setUp(self): - super(TestsWithBillingHarness, self).setUp() - self.hold = None + # create - create_card_hold - def tearDown(self): - if self.hold: - cancel_card_hold(self.hold) - super(TestsWithBillingHarness, self).tearDown() - - - # cch - create_card_hold - - def test_cch_success(self): - self.hold, error = create_card_hold(self.db, self.obama, D('1.00')) - assert isinstance(self.hold, braintree.Transaction) - assert self.hold.status == 'authorized' - assert self.hold.amount == D('10.00') + def test_create_success(self): + hold, error = create_card_hold(self.db, self.obama, D('1.00')) + assert isinstance(hold, braintree.Transaction) + assert hold.status == 'authorized' + assert hold.amount == D('10.00') assert error == '' assert self.obama.balance == P('obama').balance == 0 - def test_cch_for_suspicious_raises_NotWhitelisted(self): + def test_create_for_suspicious_raises_NotWhitelisted(self): bob = self.make_participant('bob', is_suspicious=True, balanced_customer_href='fake_href') with self.assertRaises(NotWhitelisted): create_card_hold(self.db, bob, D('1.00')) @mock.patch('braintree.Transaction.sale') - def test_cch_failure(self, btsale): + def test_create_failure(self, btsale): btsale.side_effect = Foobar - self.hold, error = create_card_hold(self.db, self.obama, D('1.00')) - assert self.hold is None + hold, error = create_card_hold(self.db, self.obama, D('1.00')) + assert hold is None assert error == "Foobar()" exchange = self.db.one("SELECT * FROM exchanges") assert exchange @@ -62,7 +53,7 @@ def test_cch_failure(self, btsale): assert self.obama.get_credit_card_error() == 'Foobar()' assert self.obama.balance == P('obama').balance == 0 - def test_cch_bad_card(self): + def test_create_bad_card(self): bob = self.make_participant('bob', is_suspicious=False) customer_id = bob.get_braintree_account().id result = braintree.PaymentMethod.create({ @@ -74,11 +65,11 @@ def test_cch_bad_card(self): # https://developers.braintreepayments.com/ios+python/reference/general/testing#test-amounts # $2002 is upcharged to $2062, which corresponds to 'Invalid Tax Amount' - self.hold, error = create_card_hold(self.db, bob, D('2002.00')) - assert self.hold is None + hold, error = create_card_hold(self.db, bob, D('2002.00')) + assert hold is None assert error.startswith('Invalid Tax Amount') - def test_cch_multiple_cards(self): + def test_create_multiple_cards(self): bob = self.make_participant('bob', is_suspicious=False) customer_id = bob.get_braintree_account().id @@ -90,61 +81,145 @@ def test_cch_multiple_cards(self): assert result.is_success ExchangeRoute.insert(bob, 'braintree-cc', result.payment_method.token) - self.hold, error = create_card_hold(self.db, bob, D('100.00')) + hold, error = create_card_hold(self.db, bob, D('100.00')) assert error == '' - def test_cch_no_card(self): + def test_create_no_card(self): bob = self.make_participant('bob', is_suspicious=False) - self.hold, error = create_card_hold(self.db, bob, D('10.00')) + hold, error = create_card_hold(self.db, bob, D('10.00')) assert error == 'No credit card' - def test_cch_invalidated_card(self): + def test_create_invalidated_card(self): bob = self.make_participant('bob', is_suspicious=False) ExchangeRoute.insert(bob, 'braintree-cc', 'foo', error='invalidated') - self.hold, error = create_card_hold(self.db, bob, D('10.00')) + hold, error = create_card_hold(self.db, bob, D('10.00')) assert error == 'No credit card' - # capch - capture_card_hold + # capture - capture_card_hold - def test_capch_full_amount(self): - self.hold, error = create_card_hold(self.db, self.obama, D('20.00')) + def test_capture_full_amount(self): + hold, error = create_card_hold(self.db, self.obama, D('20.00')) assert error == '' # sanity check - assert self.hold.status == 'authorized' + assert hold.status == 'authorized' - capture_card_hold(self.db, self.obama, D('20.00'), self.hold) - hold = braintree.Transaction.find(self.hold.id) + capture_card_hold(self.db, self.obama, D('20.00'), hold) + hold = braintree.Transaction.find(hold.id) assert self.obama.balance == P('obama').balance == D('20.00') assert self.obama.get_credit_card_error() == '' assert hold.status == 'submitted_for_settlement' - def test_capch_partial_amount(self): - self.hold, error = create_card_hold(self.db, self.obama, D('20.00')) + def test_capture_partial_amount(self): + hold, error = create_card_hold(self.db, self.obama, D('20.00')) assert error == '' # sanity check - capture_card_hold(self.db, self.obama, D('15.00'), self.hold) + capture_card_hold(self.db, self.obama, D('15.00'), hold) assert self.obama.balance == P('obama').balance == D('15.00') assert self.obama.get_credit_card_error() == '' - def test_capch_too_high_amount(self): - self.hold, error = create_card_hold(self.db, self.obama, D('20.00')) + def test_capture_too_high_amount(self): + hold, error = create_card_hold(self.db, self.obama, D('20.00')) assert error == '' # sanity check with self.assertRaises(Exception): # How do I check the exception's msg here? - capture_card_hold(self.db, self.obama, D('20.01'), self.hold) + capture_card_hold(self.db, self.obama, D('20.01'), hold) assert self.obama.balance == P('obama').balance == 0 - def test_capch_amount_under_minimum(self): - self.hold, error = create_card_hold(self.db, self.obama, D('20.00')) + def test_capture_amount_under_minimum(self): + hold, error = create_card_hold(self.db, self.obama, D('20.00')) assert error == '' # sanity check - capture_card_hold(self.db, self.obama, D('0.01'), self.hold) + capture_card_hold(self.db, self.obama, D('0.01'), hold) assert self.obama.balance == P('obama').balance == D('9.41') assert self.obama.get_credit_card_error() == '' +class TestGetReadyPayoutRoutesByNetwork(BillingHarness): + + @mock.patch.object(Payday, 'fetch_card_holds') + def run_payday(self, fch): + fch.return_value = {} + Payday.start().run() + + def test_includes_team_owners(self): + enterprise = self.make_team(is_approved=True) + self.obama.set_payment_instruction(enterprise, 100) + self.run_payday() + routes = get_ready_payout_routes_by_network(self.db, 'paypal') + assert [r.participant.username for r in routes] == ['picard'] + + + def run_payday_with_member(self): + enterprise = self.make_team(is_approved=True, available=50) + enterprise.add_member(self.homer, P('picard')) + self.obama.set_payment_instruction(enterprise, 100) + self.run_payday() + return enterprise + + def test_includes_team_members(self): + self.run_payday_with_member() + routes = get_ready_payout_routes_by_network(self.db, 'paypal') + assert list(sorted([r.participant.username for r in routes])) == ['homer', 'picard'] + + def test_includes_former_team_members(self): + enterprise = self.run_payday_with_member() + enterprise.remove_member(self.homer, P('picard')) + routes = get_ready_payout_routes_by_network(self.db, 'paypal') + assert list(sorted([r.participant.username for r in routes])) == ['homer', 'picard'] + + +class estGetReadyPayoutRoutesByNetwork(BillingHarness): + + @mock.patch.object(Payday, 'fetch_card_holds') + def run_payday(self, fch): + fch.return_value = {} + Payday.start().run() + + def test_that_its_empty_to_start_with(self): + assert get_ready_payout_routes_by_network(self.db, 'paypal') == [] + + def test_includes_team_owners(self): + enterprise = self.make_team(is_approved=True) + self.obama.set_payment_instruction(enterprise, 100) + self.run_payday() + routes = get_ready_payout_routes_by_network(self.db, 'paypal') + assert [r.participant.username for r in routes] == ['picard'] + + + def run_payday_with_member(self): + enterprise = self.make_team(is_approved=True, available=50) + enterprise.add_member(self.homer, P('picard')) + self.obama.set_payment_instruction(enterprise, 100) + self.run_payday() + return enterprise + + def test_includes_team_members(self): + self.run_payday_with_member() + routes = get_ready_payout_routes_by_network(self.db, 'paypal') + assert list(sorted([r.participant.username for r in routes])) == ['homer', 'picard'] + + def test_includes_former_team_members(self): + enterprise = self.run_payday_with_member() + enterprise.remove_member(self.homer, P('picard')) + routes = get_ready_payout_routes_by_network(self.db, 'paypal') + assert list(sorted([r.participant.username for r in routes])) == ['homer', 'picard'] + + def test_excludes_member_with_no_verified_identity(self): + self.run_payday_with_member() + self.homer.clear_identity(self.homer.list_identity_metadata()[0].country.id) + routes = get_ready_payout_routes_by_network(self.db, 'paypal') + assert [r.participant.username for r in routes] == ['picard'] + + + def test_includes_1_0_payouts(self): + alice = self.make_participant('alice', balance=24, status_of_1_0_payout='pending-payout') + ExchangeRoute.insert(alice, 'paypal', 'alice@example.com') + routes = get_ready_payout_routes_by_network(self.db, 'paypal') + assert [r.participant.username for r in routes] == ['alice'] + + class TestsWithoutBillingHarness(Harness): def prep(self, amount):