order_payment_edit
Edit an existing order payment's amount, status, or paid_at timestamp. Returns success.
Instructions
Edit an existing order payment (amount/status/paid_at). Returns {success}.
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": {
"id": "<id>"
},
"name": "order_payment_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Lookup field | id |
| id | Yes | Payment ID (or externalId) to edit | |
| site | No | Site (store) symbolic code. Required on create/edit when the API key is scoped to multiple sites (see list_sites). | |
| amount | No | Updated amount | |
| status | No | Updated payment status code | |
| paid_at | No | Updated paid timestamp 'YYYY-MM-DD HH:MM:SS' |