Skip to main content
GET
/
travel_rule
/
transaction
/
limitation
import cobo_waas2
from cobo_waas2.models.get_transaction_limitation200_response import (
    GetTransactionLimitation200Response,
)
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.TravelRuleApi(api_client)
    transaction_type = "DEPOSIT"
    transaction_id = "123e4567-e89b-12d3-a456-426614174000"

    try:
        # Retrieve transaction limitations
        api_response = api_instance.get_transaction_limitation(
            transaction_type, transaction_id
        )
        print("The response of TravelRuleApi->get_transaction_limitation:\n")
        pprint(api_response)
    except Exception as e:
        print(
            "Exception when calling TravelRuleApi->get_transaction_limitation: %s\n" % e
        )

{
  "vasp_list": [
    {
      "name": "ManyAges",
      "vendor_code": "NB",
      "vendor_vasp_id": "did:ethr:0x34414c8d5c8ed6f242aa6558ecb500283bab10f4"
    }
  ],
  "is_threshold_reached": true,
  "self_custody_wallet_challenge": "Hi, please sign this message to confirm that you are the owner of this wallet address.\nThe transfer can only proceed after signing.\n- Address: 0x1234567890abcdef1234567890abcdef12345678\n- Nonce: b2860f5c9f201a81bc76f33e991c1f24\n- Timestamp: 1732523887\n",
  "connect_wallet_list": [
    "metamask"
  ]
}
import cobo_waas2
from cobo_waas2.models.get_transaction_limitation200_response import (
    GetTransactionLimitation200Response,
)
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.TravelRuleApi(api_client)
    transaction_type = "DEPOSIT"
    transaction_id = "123e4567-e89b-12d3-a456-426614174000"

    try:
        # Retrieve transaction limitations
        api_response = api_instance.get_transaction_limitation(
            transaction_type, transaction_id
        )
        print("The response of TravelRuleApi->get_transaction_limitation:\n")
        pprint(api_response)
    except Exception as e:
        print(
            "Exception when calling TravelRuleApi->get_transaction_limitation: %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_type
enum<string>
required

The transaction type. Possible values include:

  • DEPOSIT: A deposit transaction.
  • WITHDRAW: A withdrawal transaction.
Available options:
DEPOSIT,
WITHDRAW
transaction_id
string<uuid>
required

The transaction ID.

Example:

"123e4567-e89b-12d3-a456-426614174000"

Response

The request was successful.

vasp_list
object[]

A list of virtual asset service providers (VASP) you can select as the transaction source or destination.

is_threshold_reached
boolean

Indicates whether the transaction amount exceeds a predefined threshold. If exceeded, additional information is required when filling Travel Rule details.

  • true: Threshold exceeded.
  • false: Threshold not exceeded.
Example:

true

self_custody_wallet_challenge
string

A human-readable, time-sensitive message to be signed by the wallet owner. The message contains key information including the wallet address, a unique nonce, and a timestamp. Signing this message confirms ownership of the wallet and allows the operation to proceed.

Example:

"Hi, please sign this message to confirm that you are the owner of this wallet address.\nThe transfer can only proceed after signing.\n- Address: 0x1234567890abcdef1234567890abcdef12345678\n- Nonce: b2860f5c9f201a81bc76f33e991c1f24\n- Timestamp: 1732523887\n"

connect_wallet_list
string[]

A list of self-custody wallet providers you can select as the transaction source or destination.

A supported wallet type or integration.