Skip to main content
GET
List Payments

Endpoint

Overview

Use this endpoint to retrieve a paginated list of payment transactions for a specific merchant account.

Authentication

Query Parameters

string
required
Merchant ID to retrieve payments for
integer
Number of results per page (default: 25, max: 100)
integer
Number of results to skip for pagination (default: 0)
string
Filter payments created after this date (ISO 8601 format)
string
Filter payments created before this date (ISO 8601 format)
string
Filter by payment status: pending, completed, failed, refunded, voided

Response

Success Response (200 OK)

array
Array of payment objects (see GET /payments/ for full object structure)
object
Pagination metadata

Code Examples

Pagination Example

Filtering Best Practices

Always specify both startDate and endDate for better performance:
Filter by status to reduce response size:
Use maximum limit (100) to minimize API calls when retrieving large datasets:

Error Responses

Common Use Cases

  1. Transaction History: Display payment history in merchant dashboard
  2. Reporting: Generate financial reports for specific date ranges
  3. Reconciliation: Match payments with bank deposits
  4. Analytics: Analyze payment trends and patterns
  5. Customer Support: Search for specific transactions by invoice or date

Performance Tips

Optimize Queries: Use date ranges and status filters to reduce result set size and improve response times.
Caching: Consider caching results for completed payments as they won’t change (except for potential refunds).

Next Steps

Get Payment Details

View complete details for a specific payment

Create Payment

Process a new payment transaction