Commit payment
POST/payments/:id/commit
Commits a pending payment, creating a ledger transaction (debit Cash, credit AR) and finalizing the document.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Payment committed successfully
Payment cannot be committed
Unauthorized
Forbidden
Payment not found
Internal Server Error