With this functionality you can query previously the Credit Cards Token.

        Args:
            payer_id:
            credit_card_token_id:
            start_date:
            end_date:

        Returns:

def get_tokens(self, *, payer_id, credit_card_token_id, start_date, end_date):
        """
        With this functionality you can query previously the Credit Cards Token.

        Args:
            payer_id:
            credit_card_token_id:
            start_date:
            end_date:

        Returns:

        """
        payload = {
            "language": self.client.language.value,
            "command": PaymentCommand.GET_TOKENS.value,
            "merchant": {
                "apiLogin": self.client.api_login,
                "apiKey": self.client.api_key
            },
            "creditCardTokenInformation": {
                "payerId": payer_id,
                "creditCardTokenId": credit_card_token_id,
                "startDate": start_date.strftime('%Y-%m-%dT%H:%M:%S'),
                "endDate": end_date.strftime('%Y-%m-%dT%H:%M:%S')
            },
            "test": self.client.is_test
        }
        return self.client._post(self.url, json=payload)