> ## Documentation Index
> Fetch the complete documentation index at: https://vastai-80aa3a82-auto-cli-sdk-preview-pr-398.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# VastAI.transfer_credit

Transfer credit to another account.

## Signature

```python theme={null}
VastAI.transfer_credit(
    recipient: str,
    amount: float
) -> dict
```

## Parameters

<ParamField path="recipient" type="str" required>
  email (or id) of recipient account
</ParamField>

<ParamField path="amount" type="float" required>
  dollars of credit to transfer
</ParamField>

## Returns

`dict`

## Example

```python theme={null}
from vastai import VastAI

client = VastAI(api_key="YOUR_API_KEY")
result = client.transfer_credit(recipient="value", amount=1.0)
print(result)
```
