Search charges
pinpayments_search_chargesSearch charges by free text (description, email, metadata, cardholder name, currency, exact amount in the currency's base unit, exact charge/card/refund/customer token) and/or a created-date range. GET /charges/search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, from 1 (default 1); 25 results per page. Pass the previous reply's next_page. | |
| sort | No | Sort field (default created_at). | |
| query | No | Text to match. | |
| end_date | No | Created before this date, yyyy-mm-dd. | |
| direction | No | Sort direction (default asc). | |
| start_date | No | Created on or after this date, yyyy-mm-dd. |