> This is Payabli documentation. For a complete page index, fetch https://docs.payabli.com/llms.txt — append .md to any page URL for lightweight markdown. For section-level indexes, query parameters, and other AI-optimized access methods, see https://docs.payabli.com/ai-agents.md

## v1.0.7

Added OAuth2 client-credentials support. Pass `client_id`/`client_secret` instead of `api_key` and the SDK handles the token exchange and refresh automatically:

```python
client = payabli(
    client_id="...",
    client_secret="...",
    environment=payabliEnvironment.SANDBOX,
)
```

The existing `api_key`-based constructor still works unchanged — no action needed if you're not switching auth methods. See the [Python SDK guide](/developers/platform-sdk-python-guide) and [Authentication](/developers/authentication) to compare both methods.