Pay invoice
POST/v1/invoices/:id/pay
Two modes: (a) when payment_method is provided, creates a gateway payment (pix, bank_slip or card) and returns the method artifacts (QR code, barcode or card status); (b) when omitted, marks the invoice as paid manually (reconciliation).
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Payment result or invoice marked as paid.
Request body failed validation.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation.
Resource not found in the current organization.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.