> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://ixopay.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://ixopay.ferndocs.com/_mcp/server.

# Python SDK

The IXOPAY Python library provides convenient access to the IXOPAY APIs from Python.

## Installation

```sh
pip install ixopay-sdk
```

## Usage

```python
from ixopay import IxopayApi

client = IxopayApi(
    username="<username>",
    password="<password>",
)

client.prepare_transaction.process_prepare_debit(
    api_key="apiKey",
    amount="amount",
    currency="AED",
)
```

See the [full reference](https://github.com/fern-demo/ixopay-python-sdk/blob/main/reference.md) for every resource and method, or browse the [source on GitHub](https://github.com/fern-demo/ixopay-python-sdk).