Class: Filter

Filter

new Filter()

Specify a filter for payments.
Source:

Extends

Methods

card_type(card_type) → {Filter}

Add filtering by card_type
Parameters:
Name Type Description
card_type string e.g. "visa", "mastercard" etc.
Source:
Returns:
the same filter.
Type
Filter

created_at(from, to) → {Filter}

Add filtering by created_at
Parameters:
Name Type Description
from number | Date the start date of the filter, either as Date or Unix-time number.
to number | Date the end date of the filter, either as Date or Unix-time number.
Source:
Returns:
the same filter.
Type
Filter