Skip to main content
GET
/
compliance
/
funds
/
disposition
import cobo_waas2
from cobo_waas2.models.disposition_query_response import DispositionQueryResponse
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)
    transaction_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479"

    try:
        # Get disposition status
        api_response = api_instance.get_disposition_status(transaction_id)
        print("The response of ComplianceApi->get_disposition_status:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling ComplianceApi->get_disposition_status: %s\n" % e)

{
  "transaction_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
  "disposition_type": "Refund",
  "disposition_status": "Refunded",
  "disposition_transaction_id": "550e8400-e29b-41d4-a716-446655440000"
}
import cobo_waas2
from cobo_waas2.models.disposition_query_response import DispositionQueryResponse
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)
    transaction_id = "f47ac10b-58cc-4372-a567-0e02b2c3d479"

    try:
        # Get disposition status
        api_response = api_instance.get_disposition_status(transaction_id)
        print("The response of ComplianceApi->get_disposition_status:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling ComplianceApi->get_disposition_status: %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.

Query Parameters

transaction_id
string<uuid>
required

The UUID of the transaction to query for disposition status.

Response

Successfully retrieved disposition information.

The response for a disposition query request.

transaction_id
string<uuid>
required

The UUID of the transaction that the disposition applies to.

Example:

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

disposition_type
enum<string>
required

The type of a disposition operation.

Available options:
Unfreeze,
Refund,
Isolate
Example:

"Refund"

disposition_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"

disposition_transaction_id
string<uuid>

The UUID of the generated disposition transaction (if available).

Example:

"550e8400-e29b-41d4-a716-446655440000"