List Payments​
Get a paginated list of payments with detailed information. Authenticated users see their own payments. Guest users with token see payments filtered by their email. Use the include parameter to fetch related data like payment method details for better performance and smaller responses.
Authorizations​
Session ID from Flowless authentication
Guest token for anonymous checkout
Parameters​
Query Parameters
Page number for pagination
11Number of items per page (max 50)
15020Filter by payment status
"pending""processing""succeeded""failed""canceled"Search by payment ID, email, or description
Filter payments created after this date
"date-time"Filter payments created before this date
"date-time"Field to order by
"created_at""amount_cents""status""updated_at""created_at"Order direction
"asc""desc""desc"Comma-separated list of related resources to include in the response. Available options: payment_method (includes card brand, last 4 digits, expiry date, wallet type, etc.). Example: ?include=payment_method. Performance: This parameter improves API efficiency by only fetching related data when explicitly requested, reducing response size and query time when payment method details are not needed.
"payment_method"Guest token for accessing guest payments
Responses​
List of payments retrieved successfully