Business: cancel an order
cancel_business_orderFor a company with a Pay2GPT business API key: cancel one of its orders that no ChatGPT account has been connected to yet; the credit goes back to the company's balance. A cancelled order cannot be reopened.
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_number": "<order_number>"
},
"name": "cancel_business_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_number | Yes | The order number |