# Update a payment (/api/payments/update-payment)

`POST https://api.comecero.com/api/v1/payments/{payment_id}`

Changes the `description`, `reference` or `meta` of a payment. Nothing else can change, and no money moves. Any token type may call it; a limited token only for a payment it is bound to.

## Parameters

- `payment_id` (path, required): The id of the payment.
- `expand` (query): Comma-separated child objects to return in full instead of as a URL, for example `customer,payments`. Use dot notation for nested objects (`items.product`), up to four levels deep. A single object takes up to 12 paths; a list takes up to 2, applied to every item. Extra paths are dropped without an error. See [Expanding objects](https://docs.comecero.com/docs/basic-concepts/expanding-objects).
- `formatted` (query): When `true`, the object also has a `formatted` child with amounts and dates as display text in the shopper's language and currency (for example `$19.99` or `November 7, 2026`). The default is `false`. See [Localized formatting](https://docs.comecero.com/docs/basic-concepts/localized-formatting).

Request body: the `payment_update_request` schema.

Responses: 200, 400, 401, 403, 404, 422, 500.

Full schemas: operation `update_payment` in /openapi.json.