The GetAccountBalance
operation retrieves the amount of money in
your Amazon Mechanical Turk account.
The GetAccountBalance
operation accepts parameters common to all
operations. Some common parameters are required. See Common Parameters for more
information.
The following parameter is specific to the GetAccountBalance
operation:
Name | Description | Required |
---|---|---|
|
The name of the operation Type: String Valid Values: GetAccountBalance Default: None |
Yes |
A successful request for the GetAccountBalance
operation returns
with a GetAccountBalanceResult
element in the response.
The GetAccountBalanceResult
element contains the following
elements:
The following example shows how to use the GetAccountBalance
operation.
The following example retrieves the Requester's account balance.
http://mechanicalturk.amazonaws.com/?Service=AWSMechanicalTurkRequester &AWSAccessKeyId=[the Requester's Access Key ID]
&Version=2008-08-02 &Operation=GetAccountBalance &Signature=[signature for this request]
&Timestamp=[your system's local time]
The following is an example response.
<GetAccountBalanceResult> <Request> <IsValid>True</IsValid> </Request> <AvailableBalance> <Amount>10000.000</Amount> <CurrencyCode>USD</CurrencyCode> <FormattedPrice>$10,000.00</FormattedPrice> </AvailableBalance> </GetAccountBalanceResult>