Filter the payment analytics by attribute(s).
Include the attribute name in the brackets followed by an equal sign and the value you want to filter by. You can use commas (,) to separate multiple values for the same attribute.
-
Allowed attributes: status, source
-
Example: ?filter[status]=CAPTURED,AUTHORIZED
-
Example: ?filter[source]=CARD_PRESENT (to filter card present payments only)
-
Example: ?filter[source]=INTERNET (to filter internet payments only)
Filter by specific conditions defined in the model.
NOTE: either merchantId or channelPartnerId must be provided in the query filters.
-
Allowed scopes: merchantId, channelPartnerId, successful, failed, refunded, inProgress
-
Example: ?filter[merchantId]=123456
-
Example: ?filter[merchantId]=123456,789012 (multiple merchant IDs)
-
Example: ?filter[channelPartnerId]=123456
-
Example: ?filter[successful]=true (to filter successful payments)
-
Example: ?filter[refunded]=false (to exclude refunded payments)