Skip to main content

Overview

The List One-Time Payments endpoint allows you to retrieve all payment links created by your organization. You can filter results by status and currency, and use pagination to handle large datasets. Common use cases:
  • View all payment links in a dashboard
  • Filter by payment status (PENDING, CONFIRMED, CANCELLED)
  • Generate reports and reconciliation data
  • Monitor payment activity across your organization

Authentication

This endpoint requires API key authentication using the x-api-key header.
Your API key can be found in your organization settings. Keep it secure and never expose it in client-side code.

Query Parameters

integer
default:1
Page number for pagination. Must be a positive integer.
integer
default:100
Number of items to return per page. Must be between 1 and 500.
string
Filter payments by status. Available values:
  • PENDING - Payment link is active and awaiting payment
  • CONFIRMED - Payment has been successfully completed
  • CANCELLED - Payment link has been cancelled
string
Filter payments by currency. Currently only MXN is supported.

Response Format

The endpoint returns a paginated response with the following structure:

Response Fields

  • count - Total number of payments matching your filter criteria
  • page - Current page number
  • pageSize - Number of items per page
  • items - Array of payment objects

Examples

List all payments

Filter by status

Pagination example

Filter by multiple parameters

Best Practices

Optimize page sizes - Use appropriate page sizes for your use case. Smaller pages (10-50 items) for UI display, larger pages (100-500 items) for batch processing.
Filter when possible - Use status and currency filters to reduce the dataset and improve query performance.
Handle pagination properly - Always check the count field to determine the total number of pages available.
The maximum page size is 500 items. Requests exceeding this limit will return a 400 error.

Common Use Cases

Dashboard View

Display recent payments with status filtering:

Reconciliation

Export all confirmed payments for a specific period:

Reporting

Generate payment statistics:

Error Responses

error
Invalid request parameters or missing organization context.
error
Unauthorized - missing or invalid API key.

Next Steps

Create Payment

Learn how to create new one-time payment links

Cancel Payment

Learn how to cancel active payment links