Mark payment as paid
Payments
Mark Payment Paid
Manually marks a payment as paid. Use for offline payments (check, wire transfer, cash).
POST
Mark payment as paid
Overview
Manually mark a payment as paid. Use this when payment was collected outside of automated billing (e.g., bank transfer, check, cash) or to reconcile payments manually.This endpoint is for manual reconciliation. Automated payments through integrated payment processors are marked paid automatically.
Common Use Cases
- Bank Transfers: Customer paid via wire transfer
- Checks: Payment received by check
- Cash: In-person cash payment
- External Systems: Payment collected through another system
- Reconciliation: Fix discrepancies between systems
Request Fields
| Field | Required | Description |
|---|---|---|
paidAt | No | When payment was received (default: now) |
notes | No | Notes about the payment |
reference | No | External reference (bank ref, check number) |
Example Request
What Happens
When you mark a payment as paid:- Payment status changes to
paid - paidAt timestamp recorded
- Subscription cost recovery metrics updated
- Customer lifetime value updated
Example: Process Bank Transfer
Example: Bulk Reconciliation
Error Handling
| Error Code | Cause | Solution |
|---|---|---|
NOT_FOUND | Payment doesn’t exist | Verify payment ID |
ALREADY_PAID | Payment already marked as paid | No action needed |
PAYMENT_CANCELLED | Cannot mark cancelled payment as paid | Payment is final |
Related Endpoints
- Get Payment - Check current status
- List Payments - Find payments to reconcile
- Cancel Payment - Cancel instead of paying
Authorizations
API key obtained from FlexPortal dashboard
Headers
Your tenant identifier
Path Parameters
The payment ID