set_refund_preference
For USDC orders: receive refunds as 'usdc' (sent to the paying wallet) or 'credit' (account credit).
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": {
"order_id": "<order_id>",
"method": "<method>"
},
"name": "set_refund_preference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | 'usdc' sends refunds to the paying wallet; 'credit' adds them to account credit | |
| order_id | Yes | Order id (ord_...) from list_orders or the paid quote |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||