Change recorded payment method
set_order_payment_methodCorrect the recorded payment method label on an existing order without moving money, so you can fix bookkeeping errors such as changing stripe to sales_channel.
Instructions
Change the recorded payment method on an order that already has a payment recorded (e.g. correct "stripe" to "sales_channel"). This is a bookkeeping label change; it does not move any money.
[#588a7f]
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_uuid": "<order_uuid>",
"payment_method": "<payment_method>"
},
"name": "set_order_payment_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No | Workspace uuid to scope to (agency accounts). Omit for the Default workspace. | |
| order_uuid | Yes | The order uuid to update. | |
| payment_method | Yes | The new payment method label (e.g. "sales_channel", "stripe"). |