Skip to content

Instantly share code, notes, and snippets.

@dbrent-amazon
Last active October 2, 2015 19:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbrent-amazon/2db6efa2bd6eb1b256d0 to your computer and use it in GitHub Desktop.
Save dbrent-amazon/2db6efa2bd6eb1b256d0 to your computer and use it in GitHub Desktop.
CloseAuthorization
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.close_authorization(
amazon_authorization_id='AMAZON_AUTHORIZATION_ID',
closure_reason='My closure reason.')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment