Skip to main content
GET
List Charge

List Charge

List all charges with optional filters.

Query Parameters

integer
Merchant id of the account that is creating the payin.Min: 2, Max: 10000
string
Your identification number.Max length: 255 characters
string
Payment method used in the payin.Allowed values: pix, boleto
integer
Filter by status ID.
string
Filter charges created after this date. Format: YYYY-MM-DD
string
Filter charges created before this date. Format: YYYY-MM-DD
string
Filter charges updated after this date. Format: YYYY-MM-DD
string
Filter charges updated before this date. Format: YYYY-MM-DD
integer
Page number for pagination.Default: 1
integer
Number of items per page.Default: 15, Max: 100
string
Field to sort by.Allowed values: id, created_at, updated_at, amountDefault: id
string
Sort order.Allowed values: asc, descDefault: desc

Response

Returns an array of charge objects with pagination metadata.
array
Array of charge objects.
object
Pagination metadata.
Pagination links.

Request Example

Use Cases

Retrieve all charges with pagination:
Get charges by specific status:
Find a specific charge by invoice number:
Generate a report for a specific date range:
Handle pagination to retrieve all charges:

Status IDs

Common status IDs for filtering:

Best Practices

Pagination: Always use pagination when listing charges to avoid performance issues. The default page size is 15, with a maximum of 100 items per page.
Date Filters: When using date range filters, ensure the range is not too large to avoid timeouts. For large date ranges, consider breaking them into smaller chunks.
Caching: Consider caching the results for frequently accessed pages to reduce API calls and improve performance.