Vielen Dank für deinen Besuch. Diese Seite ist nur in Englisch verfügbar.
 CloseAuthorization | Amazon Pay

CloseAuthorization

Closes an authorization.

Description

Call the CloseAuthorization operation only if the authorization is not going to be captured. If the authorization is captured Amazon will automatically close the authorization.

This operation has a maximum request quota of 10 and a restore rate of one request every second in the production environment. It has a maximum request quota of two and a restore rate of one request every two seconds in the sandbox environment. For definitions of throttling terminology and for a complete explanation of throttling, see Throttling: Limits to how often you can submit requests in the Amazon MWS Developer Guide.

Request parameters

For more information about the request parameters that are required for all Amazon MWS operations, see Required request parameters in the Amazon MWS Developer Guide.

Parameter name Required Type Description
AmazonAuthorizationId Yes xs:string The authorization identifier that was generated by Amazon in the earlier call to Authorize.
ClosureReason No xs:string A description for the closure that is shown in emails to the customer.

Maximum: 255 characters

Response elements

This operation returns only the standard response elements.

Examples

Sample query request


POST /OffAmazonPayments/2013-01-01 HTTP/1.1
Content-Type: x-www-form-urlencoded
Host: mws.amazonservices.com
User-Agent: <Your User Agent Header>

AWSAccessKeyId=AKIAFBM3LG5JEEXAMPLE
&Action=CloseAuthorization
&AmazonAuthorizationId=P01-1234567-1234567-0000001
&ClosureReason=Closing%20the%20auhorization%20transaction
&SellerId=YOUR_SELLER_ID_HERE
&SignatureMethod=HmacSHA256
&SignatureVersion=2
&Timestamp=2012-12-17T19%3A01%3A11Z
&Version=2013-01-01
&Signature=WlQ708aqyHXMkoUBk69Hjxj8qdh3aDcqpY71hVgEXAMPLE
    

Sample response


<CloseAuthorizationResponse xmlns="https://mws.amazonservices.com/schema/OffAmazonPayments/2013-01-01">
  <ResponseMetadata>
    <RequestId>a9aedsd6-a10y-11t8-9a3d-67gggwd565c6</RequestId>
  </ResponseMetadata>
</CloseAuthorizationResponse>
    

See also