> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vast.ai/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) -> str
```

## Parameters

<ParamField path="recipient" type="str" required>
  recipient
</ParamField>

<ParamField path="amount" type="float" required>
  amount
</ParamField>

## Returns

`str`, Result from the API call.

## Example

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

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