# getAccountBalance

> Function getAccountBalance in pulumi-namecheap.

<!-- Generated from the pulumi-namecheap SDK. -->

Function getAccountBalance in pulumi-namecheap.

Invoke token: `namecheap:index/getAccountBalance:getAccountBalance`.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as namecheap from "pulumi-namecheap"

const result = await namecheap.getAccountBalance()
```

`getAccountBalanceOutput` accepts Input values and returns `Output` of the same result.

## Arguments

| Property | Type     | Required | Description |
| -------- | -------- | -------- | ----------- |
| `id`     | `string` | no       |             |

## Result

| Property                    | Type     | Always present | Description |
| --------------------------- | -------- | -------------- | ----------- |
| `accountBalance`            | `string` | yes            |             |
| `availableBalance`          | `string` | yes            |             |
| `currency`                  | `string` | yes            |             |
| `earnedAmount`              | `string` | yes            |             |
| `fundsRequiredForAutoRenew` | `string` | yes            |             |
| `id`                        | `string` | yes            |             |
| `withdrawableAmount`        | `string` | yes            |             |
