Skip to main content

Find OTC Order Rule By Token ID

Retrieves the OTC order rule configured for a specific token within a node.

Request

GET /v2/admin/otc-order-rules/nodes/{nodeID}/tokens/{tokenID}

Parameters

NameTypeInDescription
nodeIDstringpathRequired. Node ID
tokenIDstringpathRequired. Token ID

Headers

NameDescription
AuthorizationRequired. Bearer token for authentication

Example

curl --request GET \
--url '\{\{baseUrl\}\}/v2/admin/otc-order-rules/nodes/67d6c447f47ff3adafda700d/tokens/67d76014d9c4853c097bcf9a' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'

Response

Returns the OTC order rule record (shape matches the rule schema used by Find All By Node ID).

Status Codes

Status CodeDescription
200Success
400Bad Request - Invalid parameters
401Unauthorized - Invalid or missing authentication token
404Not Found - Rule not found for the given token
500Internal Server Error