Yes, but only with the REDcard or GiftCards. Will not work with any other credit/debit card.
And don't even dare try loading a GiftCard in-store with your regular credit/debit card, then using that GiftCard to get your discount online. AP will know about it.