Skip to main content
POST
/
compliance
/
funds
/
disposition
/
isolate
import cobo_waas2
from cobo_waas2.models.disposition_response import DispositionResponse
from cobo_waas2.models.isolate_disposition import IsolateDisposition
from cobo_waas2.rest import ApiException
from pprint import pprint

# See configuration.py for a list of all supported configurations.
configuration = cobo_waas2.Configuration(
    # Replace `<YOUR_PRIVATE_KEY>` with your private key
    api_private_key="<YOUR_PRIVATE_KEY>",
    # Select the development environment. To use the production environment, change the URL to https://api.cobo.com/v2.
    host="https://api.dev.cobo.com/v2",
)
# Enter a context with an instance of the API client
with cobo_waas2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cobo_waas2.ComplianceApi(api_client)
    isolate_disposition = cobo_waas2.IsolateDisposition()

    try:
        # Isolate funds
        api_response = api_instance.isolate_funds(
            isolate_disposition=isolate_disposition
        )
        print("The response of ComplianceApi->isolate_funds:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling ComplianceApi->isolate_funds: %s\n" % e)

{
  "transaction_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "status": "Submitted"
}
import cobo_waas2
from cobo_waas2.models.disposition_response import DispositionResponse
from cobo_waas2.models.isolate_disposition import IsolateDisposition
from cobo_waas2.rest import ApiException
from pprint import pprint

# See configuration.py for a list of all supported configurations.
configuration = cobo_waas2.Configuration(
    # Replace `<YOUR_PRIVATE_KEY>` with your private key
    api_private_key="<YOUR_PRIVATE_KEY>",
    # Select the development environment. To use the production environment, change the URL to https://api.cobo.com/v2.
    host="https://api.dev.cobo.com/v2",
)
# Enter a context with an instance of the API client
with cobo_waas2.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = cobo_waas2.ComplianceApi(api_client)
    isolate_disposition = cobo_waas2.IsolateDisposition()

    try:
        # Isolate funds
        api_response = api_instance.isolate_funds(
            isolate_disposition=isolate_disposition
        )
        print("The response of ComplianceApi->isolate_funds:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling ComplianceApi->isolate_funds: %s\n" % e)

Authorizations

BIZ-API-KEY
string
header
required

The API key. For more details, refer to API key.

In the API playground, enter your API secret, and your API key will be accordingly calculated.

Body

application/json

The request body to isolate funds.

The information about a request to isolate funds.

transaction_id
string<uuid>
required

The UUID of the transaction whose funds are to be isolated. This identifies the original transaction that requires fund isolation.

Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

destination_address
string
required

The blockchain address to receive the isolated funds.

Example:

"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb7"

disposition_amount
string
required

The amount to be isolated from the original transaction, specified as a numeric string. This value cannot exceed the total amount of the original transaction.

Example:

"1.5"

category_names
string[]

Custom categories to identify and track this isolation transaction. Used for transaction classification and reporting.

Example:
["Compliance", "Isolate", "AML"]
description
string

Additional notes or description for the isolation.

Maximum length: 200
Example:

"Isolate funds due to compliance requirements - Case #12345"

Response

Successfully created a disposition request.

The response for a disposition request.

transaction_id
string<uuid>
required

The UUID of the transaction being processed for disposition.

Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

status
enum<string>
required

The status of a disposition operation.

Available options:
Submitted,
Refunding,
Refunded,
RefundFailed,
Frozen,
Unfreezing,
Unfrozen,
UnfreezeFailed,
Isolating,
Isolated,
IsolateFailed,
CoboDisposition,
Normal
Example:

"Submitted"