Is UPI a protocol, an interface/set of messages, or is it an actual payment rail?
Like, could I use a credit card with UPI?
Like, could I use a credit card with UPI?
Thirdparty apps can also implement the API to provide services on top of UPI eg: bill pay, ticket booking for buses, trains, movies etc.,
Payment processors provide UPI as a payment method (in addition to debit cards/credit cards/netbanking/digital wallets etc.,).
To answer your question on credit cards usage with UPI: No, you only need a bank account. UPI is a p2p payment overlay over the banking network.
As it stands, it's common infra for a lot of instant settlements in the country, including payments for toll-booths at highways.