Mark Payment As Paid
POST/api/v2/payments/:payment_id/mark-paid
Manually mark a payment as paid.
Record a payment received through manual methods (CASH, BANK_TRANSFER, CARD, or QURRAH).
Requirements:
- Payment must be in unpaid status (PENDING, UNDER_REVIEW, or FAILED)
- Payment method must be manual (CASH, BANK_TRANSFER, CARD, or QURRAH)
- For installment invoices, invoice must be in ACCEPTED status
Automatically completes the invoice if all payments are paid.
Request
Responses
- 200
- 422
Successful Response
Validation Error