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
| Name | Type | In | Description |
|---|---|---|---|
nodeID | string | path | Required. Node ID |
tokenID | string | path | Required. Token ID |
Headers
| Name | Description |
|---|---|
Authorization | Required. 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 Code | Description |
|---|---|
| 200 | Success |
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Invalid or missing authentication token |
| 404 | Not Found - Rule not found for the given token |
| 500 | Internal Server Error |