The GetAccountBalance operation retrieves the amount of money in your Amazon Mechanical Turk account.
The following example of a call to the GetAccountBalance operation retrieves the Requester's account balance.
http://mechanicalturk.amazonaws.com/?Service=AWSMechanicalTurkRequester &AWSAccessKeyId=[the Requester's Access Key ID]&Version=2007-06-21 &Operation=GetAccountBalance &Signature=[signature for this request]&Timestamp=[your system's local time]
A request to the Mechanical Turk Service includes parameters that control its behavior and the data it returns. Required parameters must be included for the request to succeed.
GetAccountBalance accepts parameters common to all operations. Some common parameters are required. See Common Parameters for more information.
The following parameters are specific to the GetAccountBalance operation:
| Name | Description | Type | Value |
|---|---|---|---|
Operation
|
The operation to call. To access the
| Required |
|
A successful request for the GetAccountBalance operation will have a GetAccountBalanceResult element in the response.
The GetAccountBalanceResult element contains the following elements:
| Name | Description | Value |
|---|---|---|
AvailableBalance |
The amount available to pay for assignments. This is your current balance minus any payments, fees, or bonuses you owe. The parameter type is a Price data structure. |
A Price data structure |
OnHoldBalance |
Not used. This value is always 0. The parameter type is a Price data structure. |
A Price data structure |