Created
October 2, 2015 18:40
-
-
Save dbrent-amazon/cf98e3d1a3625c38ac2c to your computer and use it in GitHub Desktop.
Refund
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pay_with_amazon.client import PayWithAmazonClient | |
client = PayWithAmazonClient( | |
mws_access_key='YOUR_ACCESS_KEY', | |
mws_secret_key='YOUR_SECRET_KEY', | |
merchant_id='YOUR_MERCHANT_ID', | |
region='na', | |
currency_code='USD') | |
response = client.refund( | |
amazon_capture_id='AMAZON_CAPTURE_ID', | |
refund_reference_id='REFUND_REFERENCE_ID', | |
refund_amount='1.00', | |
seller_refund_note='Test order.') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment