Revoke investment order
pionex_earn_dual_revoke_investCancel a pending Dual Investment order before it is matched, provided the order is still unmatched and Earn permission is granted.
Instructions
Revoke investment order
Revokes a pending Dual Investment order before it is matched. Requires Earn permission. Weight: 1.
Parameters are passed as a JSON request body, not query string. Only orders in a pending/unmatched state can be revoked.
Example request body:
{
"base": "BTC",
"productId": "BTC-USDXO-260402-68000-P-USDT",
"clientDualId": "my-order-001"
}Example response:
{
"result": true,
"data": {
"clientDualId": "my-order-001"
},
"timestamp": 1775027817297
}Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"base": "<base>",
"productId": "<productId>",
"clientDualId": "<clientDualId>"
},
"name": "pionex_earn_dual_revoke_invest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | Base currency | |
| productId | Yes | Product ID of the order to revoke | |
| clientDualId | Yes | Client-assigned dual investment order ID |