create_refund
Process refunds for Conekta orders by specifying order ID, amount in cents, and refund reason to manage payment reversals.
Instructions
Create a refund for an order.
Args: order_id: The Conekta order ID to refund amount: Refund amount in cents reason: Reason for the refund
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>",
"amount": "<amount>",
"reason": "<reason>"
},
"name": "create_refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | ||
| amount | Yes | ||
| reason | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |