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}.
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' |