Skip to main content

Install the SDK

You can install the corsa-sdk package using pip:
pip install corsa-sdk

Requirements

  • Python 3.10 or later
  • A Corsa API key — see Authentication to create one

Quick Start

Once installed, initialize the client and make your first API call:
from corsa_sdk import CorsaClient
from corsa_sdk.api.clients.get_individual_client import _get_kwargs

client = CorsaClient(
    base_url="https://api.corsa.finance",
    token="your-api-token",
)

httpx_client = client.raw_client.get_httpx_client()
response = httpx_client.request(**_get_kwargs(client_id="client-123"))
print(response.json())

client.close()

What’s Included

The SDK is auto-generated from the Corsa OpenAPI specification using openapi-python-client. It provides:
  • Typed models for all request and response objects using Pydantic v2
  • Sync and async HTTP clients via httpx
  • Webhook verification utilities for HMAC-SHA256 signatures
  • Every API endpoint — clients, transactions, alerts, cases, rules, and more

Next Steps

Configuration

Configure the SDK with your API credentials, timeouts, and custom headers.

Available Services

Browse all API namespaces and endpoints exposed by the SDK.

Working Example

See a full working example that creates clients, alerts, and cases.

Authentication

Create API keys and learn about authentication, rate limiting, and base URLs.

Need help with your integration? Schedule a demo or contact us at support@corsa.finance.