> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corsa.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Python SDK - All Available API Namespaces & Endpoints

> Complete reference of all API namespaces and endpoint modules available through the Corsa Python SDK.

Each API tag is exposed as a module under `corsa_sdk.api.<namespace>`. Import the endpoint module and use its `_get_kwargs` function to build requests.

```python theme={null}
from corsa_sdk.api.alerts.create_alert import _get_kwargs
```

## Clients

Modules under `corsa_sdk.api.clients`

| Module                                     | Description                                                          |
| ------------------------------------------ | -------------------------------------------------------------------- |
| `create_individual_client`                 | Create or upsert an individual client.                               |
| `update_individual_client`                 | Update an individual client.                                         |
| `get_individual_client`                    | Get an individual client by ID.                                      |
| `enable_individual_client_auto_model_risk` | Enable automatic model-driven risk scoring for an individual client. |
| `bulk_update_individual_clients`           | Update multiple individual clients with the same fields (max 100).   |
| `create_corporate_client`                  | Create or upsert a corporate client.                                 |
| `update_corporate_client`                  | Update a corporate client.                                           |
| `get_corporate_client`                     | Get a corporate client by ID.                                        |
| `enable_corporate_client_auto_model_risk`  | Enable automatic model-driven risk scoring for a corporate client.   |
| `bulk_update_corporate_clients`            | Update multiple corporate clients with the same fields (max 100).    |

## Members

Modules under `corsa_sdk.api.members`

| Module                              | Description                                           |
| ----------------------------------- | ----------------------------------------------------- |
| `create_individual_member`          | Create an individual member (UBO/Director/Signatory). |
| `update_individual_member`          | Update an individual member.                          |
| `get_individual_member`             | Get an individual member by ID.                       |
| `add_individual_member_document`    | Add a document to a member.                           |
| `get_individual_member_documents`   | List member documents.                                |
| `update_individual_member_document` | Update a member document.                             |
| `delete_individual_member_document` | Delete a member document.                             |
| `create_corporate_member`           | Create a corporate member.                            |
| `update_corporate_member`           | Update a corporate member.                            |
| `get_corporate_member`              | Get a corporate member by ID.                         |

## Deposits

Modules under `corsa_sdk.api.deposits`

| Module           | Description                           |
| ---------------- | ------------------------------------- |
| `create_deposit` | Create or upsert a deposit operation. |
| `get_deposit`    | Get a deposit by ID or referenceId.   |

## Withdrawals

Modules under `corsa_sdk.api.withdrawals`

| Module              | Description                              |
| ------------------- | ---------------------------------------- |
| `create_withdrawal` | Create or upsert a withdrawal operation. |
| `get_withdrawal`    | Get a withdrawal by ID or referenceId.   |

## Transfers

Modules under `corsa_sdk.api.transfers`

| Module            | Description                                         |
| ----------------- | --------------------------------------------------- |
| `create_transfer` | Create or upsert a peer-to-peer transfer operation. |
| `get_transfer`    | Get a transfer by ID or referenceId.                |

## Trades

Modules under `corsa_sdk.api.trades`

| Module                | Description                             |
| --------------------- | --------------------------------------- |
| `create_trade`        | Create a trade or append fills.         |
| `update_trade_status` | Update a trade's status.                |
| `get_trade`           | Get a trade by ID or referenceId.       |
| `add_transaction`     | Add a transaction to an existing trade. |

## Transactions

Modules under `corsa_sdk.api.transactions`

| Module                      | Description                                                  |
| --------------------------- | ------------------------------------------------------------ |
| `get_transaction_by_id`     | Get a transaction by ID or referenceId.                      |
| `update_transaction`        | Update a transaction.                                        |
| `update_transaction_status` | Update a transaction's status.                               |
| `bulk_update_transactions`  | Update multiple transactions with the same fields (max 100). |
| `lookup_by_hash`            | Look up transactions by blockchain transaction hash.         |

## Alerts

Modules under `corsa_sdk.api.alerts`

| Module                               | Description                                                             |
| ------------------------------------ | ----------------------------------------------------------------------- |
| `create_alert`                       | Create an alert.                                                        |
| `create_alerts_batch`                | Batch create alerts (max 50).                                           |
| `get_alert`                          | Get an alert by ID.                                                     |
| `get_alerts_by_entity`               | Get all alerts linked to a specific entity (client, transaction, etc.). |
| `update_alert`                       | Update an alert.                                                        |
| `bulk_update_alert`                  | Update multiple alerts with the same fields (max 100).                  |
| `bulk_update_alert_status`           | Bulk update alert statuses (max 100).                                   |
| `bulk_assign_alert`                  | Bulk assign alerts (max 100).                                           |
| `bulk_escalate_alert`                | Bulk escalate alerts (max 100).                                         |
| `associate_alert_with_transactions`  | Associate an alert with transactions.                                   |
| `associate_alert_with_clients`       | Associate an alert with clients.                                        |
| `add_screening_matches`              | Attach 1–100 screening matches to an existing screening alert.          |
| `update_screening_match`             | Update a pending screening match before a decision is recorded.         |
| `delete_screening_match`             | Delete a pending screening match (recomputes client screening status).  |
| `make_screening_match_decision`      | Record a decision on a single screening match.                          |
| `bulk_decision_on_screening_matches` | Record decisions on multiple screening matches at once.                 |

## Cases

Modules under `corsa_sdk.api.cases`

| Module                             | Description                                           |
| ---------------------------------- | ----------------------------------------------------- |
| `create_case`                      | Create a case.                                        |
| `create_cases_batch`               | Batch create multiple cases in a single request.      |
| `get_case`                         | Get a case by ID.                                     |
| `update_case`                      | Update a case.                                        |
| `bulk_update_case`                 | Update multiple cases with the same fields (max 100). |
| `bulk_update_case_status`          | Bulk update case statuses (max 100).                  |
| `bulk_assign_case`                 | Bulk assign cases (max 100).                          |
| `bulk_update_case_reviewers`       | Bulk update case reviewers (max 100).                 |
| `associate_case_with_transactions` | Associate a case with transactions.                   |
| `associate_case_with_clients`      | Associate a case with clients.                        |
| `associate_case_with_alerts`       | Associate a case with alerts.                         |

## Bank Accounts

Modules under `corsa_sdk.api.bank_accounts`

| Module                                | Description                              |
| ------------------------------------- | ---------------------------------------- |
| `create_bank_account`                 | Create or upsert a bank account.         |
| `get_bank_account`                    | Get a bank account by ID or referenceId. |
| `update_bank_account`                 | Update a bank account.                   |
| `associate_bank_account_with_clients` | Associate with clients.                  |

## Blockchain Wallets

Modules under `corsa_sdk.api.blockchain_wallets`

| Module                                     | Description                           |
| ------------------------------------------ | ------------------------------------- |
| `create_blockchain_wallet`                 | Create or upsert a blockchain wallet. |
| `get_blockchain_wallet`                    | Get by ID, referenceId, or address.   |
| `update_blockchain_wallet`                 | Update a wallet.                      |
| `associate_blockchain_wallet_with_clients` | Associate with clients.               |

## Sessions

Modules under `corsa_sdk.api.sessions`

| Module                | Description                 |
| --------------------- | --------------------------- |
| `create_session`      | Create a session.           |
| `get_session`         | Get by ID or referenceId.   |
| `update_session`      | Update a session.           |
| `get_client_sessions` | List sessions for a client. |

## Rules

Modules under `corsa_sdk.api.rules`

| Module          | Description                               |
| --------------- | ----------------------------------------- |
| `create_rule`   | Create a rule (draft).                    |
| `list_rules`    | List rules with filtering and pagination. |
| `get_rule`      | Get a rule by ID.                         |
| `update_rule`   | Update a rule.                            |
| `activate_rule` | Activate a rule.                          |
| `disable_rule`  | Disable a rule.                           |
| `delete_rule`   | Soft delete a rule.                       |

## Rule Templates

Modules under `corsa_sdk.api.rule_templates`

| Module                | Description                                        |
| --------------------- | -------------------------------------------------- |
| `list_rule_templates` | List rule templates with filtering.                |
| `get_rule_template`   | Get a rule template by ID.                         |
| `copy_rule_template`  | Copy a template to your workspace as a draft rule. |

## Evaluation

Modules under `corsa_sdk.api.evaluation`

| Module                        | Description                           |
| ----------------------------- | ------------------------------------- |
| `evaluate`                    | Evaluate rules against a transaction. |
| `get_transaction_evaluations` | Get evaluations for a transaction.    |
| `get_rule_evaluations`        | Get evaluations for a rule.           |

## Checklists

Modules under `corsa_sdk.api.checklists`

| Module                                | Description                                    |
| ------------------------------------- | ---------------------------------------------- |
| `get_entity_checklist`                | Get the newest active checklist for an entity. |
| `update_checklist_item`               | Update a checklist item.                       |
| `create_checklist_template`           | Create a checklist template.                   |
| `get_checklist_templates_by_platform` | List checklist templates.                      |
| `get_checklist_template_by_id`        | Get a template by ID.                          |
| `update_checklist_template`           | Update a template.                             |
| `delete_checklist_template`           | Delete a template.                             |
| `add_item_to_template`                | Add an item to a template.                     |
| `update_template_item`                | Update a template item.                        |
| `delete_template_item`                | Delete a template item.                        |

## Attachments

Modules under `corsa_sdk.api.attachments`

| Module                      | Description                             |
| --------------------------- | --------------------------------------- |
| `get_attachments_by_entity` | Get attachments for an entity.          |
| `upload_attachments`        | Upload files.                           |
| `get_download_urls_by_ids`  | Get download URLs.                      |
| `update_attachment`         | Update attachment metadata.             |
| `delete_attachment`         | Delete an attachment.                   |
| `relate_attachments`        | Relate attachments to an entity.        |
| `create_external_document`  | Create an external document attachment. |

## Payment Accounts

Modules under `corsa_sdk.api.payment_accounts`

| Module                                   | Description                                                          |
| ---------------------------------------- | -------------------------------------------------------------------- |
| `create_payment_account`                 | Create or upsert a payment account (PIX, mobile money, CLABE, etc.). |
| `get_payment_account`                    | Get a payment account by ID or referenceId.                          |
| `update_payment_account`                 | Update a payment account.                                            |
| `associate_payment_account_with_clients` | Associate with clients.                                              |

## Sub-Dispositions

Modules under `corsa_sdk.api.sub_dispositions`

| Module                   | Description                                                     |
| ------------------------ | --------------------------------------------------------------- |
| `list_sub_dispositions`  | List all sub-dispositions (preset and custom) for the platform. |
| `create_sub_disposition` | Create a custom sub-disposition.                                |
| `get_sub_disposition`    | Get a sub-disposition by ID.                                    |
| `update_sub_disposition` | Update a sub-disposition's display name or active state.        |
| `delete_sub_disposition` | Soft-delete a custom sub-disposition.                           |

## External Rules

Modules under `corsa_sdk.api.external_rules`

| Module                      | Description                                                   |
| --------------------------- | ------------------------------------------------------------- |
| `create_external_rule`      | Register a vendor rule (e.g. Chainalysis, TRM Labs) in Corsa. |
| `list_external_rules`       | List external rules with pagination.                          |
| `get_external_rule`         | Get an external rule by ID.                                   |
| `update_external_rule`      | Update an external rule.                                      |
| `delete_external_rule`      | Soft-delete an external rule.                                 |
| `get_external_rule_vendors` | Get distinct vendor names from registered external rules.     |

## Verifications

Modules under `corsa_sdk.api.verifications`

| Module                | Description                                          |
| --------------------- | ---------------------------------------------------- |
| `create_verification` | Create a KYC/KYB verification for a client.          |
| `update_verification` | Update an existing verification's status or details. |
| `lookup_verification` | Look up a verification by provider and provider ID.  |

## Platform

Modules under `corsa_sdk.api.platform`

| Module                         | Description                                  |
| ------------------------------ | -------------------------------------------- |
| `get_encryption_configuration` | Get the platform's encryption configuration. |

***

Refer to the model classes exported from `corsa_sdk.models` for detailed request and response structures.
