List payments
Payments
List Payments
Returns a paginated list of payments with optional filtering by status, customer, or rental.
GET
List payments
Overview
Retrieve a paginated list of payments with optional filtering and sorting. Payments represent scheduled or completed billing transactions for subscriptions—they track when payments are due, their status, and when they were collected.Payment Lifecycle
| Status | Description |
|---|---|
pending | Payment scheduled, not yet attempted |
processing | Payment attempt in progress |
paid | Payment successfully collected |
failed | Payment attempt failed |
cancelled | Payment was cancelled |
Common Use Cases
Accounts Receivable
Track pending payments and outstanding balances
Collection Dashboard
Monitor failed payments that need attention
Cash Flow Forecasting
Project upcoming revenue from scheduled payments
Customer Billing History
View payment history for specific customers
Filtering Payments
Response Fields
Key fields in each payment object:| Field | Description |
|---|---|
paymentId | Unique payment identifier |
status | Current payment status |
customerId | Customer ID |
rentalId | Associated subscription ID |
billingGroupId | Billing group (if applicable) |
amount | Payment amount |
currency | Currency code (EUR, USD, etc.) |
dueDate | When payment is due |
paidAt | When payment was collected (if paid) |
createdAt | ISO 8601 timestamp |
Example: Get Outstanding Balance
Example: Upcoming Revenue Forecast
Related Endpoints
- Get Payment - Get payment details
- Mark Paid - Manually mark as paid
- Cancel Payment - Cancel a payment
- List Subscriptions - View related subscriptions
Authorizations
API key obtained from FlexPortal dashboard
Headers
Your tenant identifier
Query Parameters
Items per page (default: 50, max: 100)
Cursor for pagination
Filter by status (pending, processing, paid, failed, cancelled)
Filter by customer ID
Filter by rental ID
Filter by billing group ID
Filter by due date from (ISO 8601)
Filter by due date to (ISO 8601)