Skip to main content
POST
/
compliance
/
funds
/
disposition
/
unfreeze
import cobo_waas2
from cobo_waas2.models.disposition_response import DispositionResponse
from cobo_waas2.models.unfreeze_disposition import UnfreezeDisposition
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)
    unfreeze_disposition = cobo_waas2.UnfreezeDisposition()

    try:
        # Unfreeze frozen funds
        api_response = api_instance.unfreeze_funds(
            unfreeze_disposition=unfreeze_disposition
        )
        print("The response of ComplianceApi->unfreeze_funds:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling ComplianceApi->unfreeze_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.unfreeze_disposition import UnfreezeDisposition
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)
    unfreeze_disposition = cobo_waas2.UnfreezeDisposition()

    try:
        # Unfreeze frozen funds
        api_response = api_instance.unfreeze_funds(
            unfreeze_disposition=unfreeze_disposition
        )
        print("The response of ComplianceApi->unfreeze_funds:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling ComplianceApi->unfreeze_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 unfreeze funds.

The information about a request to unfreeze funds.

transaction_id
string<uuid>
required

The UUID of the transaction whose funds are to be unfrozen.

Example:

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

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"