Retrieves the balance on a trust account.
| Name | Description | Default |
|---|---|---|
id
|
Unique trust account ID or 'primary'. | |
fileID
|
Unique file ID. Omit to get the balance on the entire account. |
|
date
|
Date to retrieve the balance for. Omit to get the current balance. |
|
forecast
|
Whether to include transactions currently pending processing. |
False
|
Content Type:
application/xml
or
application/json
Account balance or an error message.
| XML JSON |
|---|
<Response> <Result>decimal</Result> <!--Account balance--> <Message>string</Message> <!--Error message--> </Response> |
{
"Result": "decimal", // Account balance
"Message": "string" // Error message
}
|
| Code | Condition |
|---|---|
| 200 OK | The operation completed successfully. |
| 400 Bad Request | Invalid account or file ID. |
| 401 Unauthorized | Access token is invalid, expired or not specified. |
| 403 Forbidden | User does not have permission to view the balance. |
| 404 Not Found | Account not found. |
| 406 Not Acceptable | Content type specified in the Accept header isn't supported. |
| 500 Internal Server Error | An internal error occurred. |