get https://api.digitalfemsa.io/charges
Smart Filtering
The smart filter search allows you to search for charges based on different criteria, including "order_id", "customer_id", "details.email", "payment_method.reference", "reference_id", and "id".
Additionally, if no matches are found in these fields, the filter will also search for text matches in the fields "description", "details.email", "details.name", "details.phone", "payment_method.name", "payment_method.reference", "reference_id", and "searchable_tags".
Advanced Filtering
In addition to having smart filters, we can filter by specific fields using an advanced filter type that helps us obtain more precise data.
You can learn about our advanced filters in Advanced Filters.
To use these filters, they are only allowed in the following fields:
Field | Description |
---|---|
id | Filters by ID |
amount | Filters by amount |
subscription_id | Filters by subscription id |
reference_id | Filters by reference id |
created_at | Filters by creation date |
status | Filters by status |
order_id | Filters by order |
customer_info.id | Filters by customer ID |
failure_code | Filters by failure code |
customer_id | Filters by customer id |
plan_id | Filters by plan id |
payment_method.auth_code | Filters by payment method auth code |
payment_method.description | Filters by description |
payment_method.issuer | Filters by payment method issuer |
payment_method.brand | Filters by payment method brand |