Created
October 2, 2015 18:38
-
-
Save dbrent-amazon/8894041c86f04f8dcda3 to your computer and use it in GitHub Desktop.
Capture
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') | |
# authorization ID returned from 'Authorize' call. | |
response = client.capture( | |
amazon_authorization_id='MY_ATHORIZATION_ID', | |
capture_reference_id='MY_UNIQUE_CAPTURE_ID', | |
capture_amount='1.00', | |
seller_capture_note='Capture note.') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment