The Swiss Travel Pass is available at the Tirano station, and I think credit card payment shouldn't be a problem. You can ask the SBB to be sure.
However, it's even easier to buy your Swiss Travel Pass online as an e-ticket and print it at home. I'm not sure when you're leaving, but mind that you have to do this at least 3 days before your departure.
All you need to know about traveling by train, bus or car in Switzerland.
Hand picked Swiss hotels and other accommodations are right here.
Swiss Travel Pass promotion: 30% discountAvailable until 31 October 2022. Book 6 months ahead.https://shop.switzerlandtravelcentre.com/swisstravelpass