Financeiro (Protected)

Liquidar parcialmente um movimento pendente

Settle part of a pending movement.

The whole concurrency story is one guarded UPDATE in the DB layer — see db/financials.py::settle_movement_partially. A losing race returns 409, not a silent double-settlement.

Plain def — synchronous pyodbc must not run on the event loop.

post/api/financeiro/movements/{movement_id}/settle-partial

Path parameters

movement_idinteger required

Headers

x-api-tokenstring nullable

Request body

amountnumber required

Valor a liquidar agora (positivo)

payment_method_idinteger required

Conta / método de pagamento usado

Response

Successful Response

{"stackTrail":"paths:/api/financeiro/movements/{movement_id}/settle-partial:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.