record_order
Report the merchant's order reference back after checkout, so the user can later reverse
(refund) the purchase. order_ref is the merchant's payment id (e.g. a Stripe PaymentIntent).
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": {
"charge_id": "<charge_id>",
"order_ref": "<order_ref>"
},
"name": "record_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| charge_id | Yes | ||
| order_ref | Yes |