GetTotalPrepaidLiability

Description

The GetTotalPrepaidLiability action returns the recipient's total liability resulting from all of his or her prepaid instruments.

Request Parameters

GetTotalPrepaidLiability only uses parameters that are common to all requests (for a list, see Common Request Parameters). Amazon FPS uses your AWSAccessKeyId to retrieve the correct results.

Response Elements

ElementDescription

OutstandingPrepaidLiability

Specifies the sum of all the balances of all the prepaid instruments where you hold the prepaid liability.

Type: OutstandingPrepaidLiability

Responses also include elements common to all responses. For more information, see Common Response Elements.

Errors

This action can return the following errors:

Examples

Sample REST Request

https://fps.amazonaws.com/?
  Action=GetTotalPrepaidLiability&
  AWSAccessKeyId=0656Example83G2&
  SignatureVersion=1&
  Timestamp=2008-08-06T13%3A00%3A01Z&
  Version=2008-09-17&
  Signature=<URL-encoded signature value>

Sample SOAP Request

<SOAP-ENV:Body wsu:Id="body" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
   <ns2:GetTotalPrepaidLiability xmlns:ns2="http://fps.amazonaws.com/doc/2008-09-17/"/>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Sample Response to REST Request

<GetTotalPrepaidLiabilityResponse xmlns="http://fps.amazonaws.com/doc/2008-09-17/">
  <GetTotalPrepaidLiabilityResult>
    <OutstandingPrepaidLiability>
      <OutstandingBalance>
        <CurrencyCode>USD</CurrencyCode>
        <Value>50.000000</Value>
      </OutstandingBalance>
      <PendingInBalance>
        <CurrencyCode>USD</CurrencyCode>
        <Value>0.000000</Value>
      </PendingInBalance>
    </OutstandingPrepaidLiability>
  </GetTotalPrepaidLiabilityResult>
  <ResponseMetadata>
    <RequestId>16d69143-2542-4b8f-8642-8d96d8a3a8fb:0</RequestId>
  </ResponseMetadata>
</GetTotalPrepaidLiabilityResponse>

Sample Response to SOAP Request

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
 <SOAP-ENV:Header>
   <wsa:RelatesTo xmlns:wsa="http://www.w3.org/2005/08/addressing">MESSAGE123</wsa:RelatesTo>
   <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/anonymous</wsa:To>
   <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing">GetTotalPrepaidLiability:Response</wsa:Action>
   <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">urn:uuid:16d69143-2542-4b8f-8642-8d96d8a3a8fb</wsa:MessageID>
 </SOAP-ENV:Header>
 <SOAP-ENV:Body>
   <GetTotalPrepaidLiabilityResponse xmlns="http://fps.amazonaws.com/doc/2008-09-17/">
     <GetTotalPrepaidLiabilityResult>
       <OutstandingPrepaidLiability>
         <OutstandingBalance>
           <CurrencyCode>USD</CurrencyCode>
           <Value>50.000000</Value>
         </OutstandingBalance>
         <PendingInBalance>
           <CurrencyCode>USD</CurrencyCode>
           <Value>0.000000</Value>
         </PendingInBalance>
       </OutstandingPrepaidLiability>
     </GetTotalPrepaidLiabilityResult>
     <ResponseMetadata>
       <RequestId>16d69143-2542-4b8f-8642-8d96d8a3a8fb:0</RequestId>
     </ResponseMetadata>
   </GetTotalPrepaidLiabilityResponse>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Related Actions